Aerodynamics Splitters, spoilers, and all the aero advice you can handle.
Sponsored by:
Sponsored by:

Flowsquare: Baby's First CFD Software

Thread Tools
 
Search this Thread
 
Old 03-02-2021, 08:59 AM
  #1  
Elite Member
Thread Starter
iTrader: (1)
 
Full_Tilt_Boogie's Avatar
 
Join Date: May 2009
Location: Jacksonville, FL
Posts: 5,155
Total Cats: 406
Default Flowsquare: Baby's First CFD Software

Flowsquare is an easy to use 2D CFD program that is free/cheap. It was developed by one guy (Yuki Minamoto) for educational purposes.
What makes it especially accessible is that the boundary layer conditions are just a bitmap. So you can set up your simulations in mspaint. Everything else is configured through a text document.

I figured with how much interest there is in miata aero, that some of you may get some use out of this. Its obviously nowhere near as capable as professional CFD software, but those packages are pretty challenging to use. This is a good way to make pretty pictures and maybe learn something along the way.

Download and read documentation here:
Flowsquare | The free, handy, integrated, Computational Fluid Dynamics software

Here is a little sim I ran recently
Full_Tilt_Boogie is offline  
Old 03-02-2021, 08:35 PM
  #2  
Elite Member
Thread Starter
iTrader: (1)
 
Full_Tilt_Boogie's Avatar
 
Join Date: May 2009
Location: Jacksonville, FL
Posts: 5,155
Total Cats: 406
Default

Almost forgot, heres the miata bmp and the config file (grid.txt). For some reason I cant upload a bmp, so its a png. Just open it in paint and save it as a bmp and it should work (it must be called bc.bmp)

Attached Files
File Type: txt
grid.txt (5.7 KB, 60 views)
Full_Tilt_Boogie is offline  
Old 04-08-2021, 04:15 PM
  #3  
JD8
Junior Member
iTrader: (2)
 
JD8's Avatar
 
Join Date: May 2016
Location: Maryland
Posts: 237
Total Cats: 25
Default

This is really cool, thank you!

I made .bmp files based on yours for hardtop and no hardtop, but when I try to use your grid file I get the attached error. Not sure what is going on there because there is nothing in the grid file called fname1 and there are no differences between your grid file and the default grid file aside from parameter values.

I am learning about the parameters in the grid file now. I did not pay enough attention to the aero work when I was on a formula SAE team, I am regretting that now!




JD8 is offline  
Old 04-08-2021, 04:35 PM
  #4  
Elite Member
Thread Starter
iTrader: (1)
 
Full_Tilt_Boogie's Avatar
 
Join Date: May 2009
Location: Jacksonville, FL
Posts: 5,155
Total Cats: 406
Default

Thats strange, are you creating a new simulation with a new name? It looks like its looking for a file in the dump folder, which is created in a simulation folder.

Can you screenshot (or cmd dir) the directory everything is in?
Full_Tilt_Boogie is offline  
Old 04-08-2021, 09:06 PM
  #5  
JD8
Junior Member
iTrader: (2)
 
JD8's Avatar
 
Join Date: May 2016
Location: Maryland
Posts: 237
Total Cats: 25
Default

Originally Posted by Full_Tilt_Boogie
Thats strange, are you creating a new simulation with a new name? It looks like its looking for a file in the dump folder, which is created in a simulation folder.

Can you screenshot (or cmd dir) the directory everything is in?
Definitely strange, I had the same thought though. It's like the program is looking for an already existing project even though I am starting one from scratch. I run it, it fails with that error, then when I go back to the directory there is a folder with my project name. But nothing I found in that folder led me to getting it working. The strangest thing to me is that it works fine with the default grid.txt values.

Here is the directory before running the program...




EDIT...
So by process of elimination (changing params from defaults to your values until it broke) that the param causing the issue is the 06:sts (start time step). No clue why, because the error it gives doesn't really seem related to that, but that is the one that is breaking things.

EDIT 2...
I found out why 06:sts is causing an issue and why. The description on the site for sts is "Start or restart time step of the simulation. New simulation always starts from sts=0. You can restart the simulation from the point you output the simulation results in dump folder". So in your grid.txt file, sts is a positive number (not 0), so the program thinks that it is picking up at the sts time on an existing simulation. So I guess the error now makes sense too. I should have noticed this earlier but didn't have time to dig into the documentation. Either way, awesome program and I am going to keep messing with it!

Last edited by JD8; 04-08-2021 at 09:21 PM. Reason: new info
JD8 is offline  
Old 04-09-2021, 07:43 AM
  #6  
Elite Member
Thread Starter
iTrader: (1)
 
Full_Tilt_Boogie's Avatar
 
Join Date: May 2009
Location: Jacksonville, FL
Posts: 5,155
Total Cats: 406
Default

Oops that was my bad. I last used that grid file to continue a simulation.

Glad you got it working though. Ill be curious to what kind of stuff you make
Full_Tilt_Boogie is offline  
Old 04-09-2021, 02:53 PM
  #7  
JD8
Junior Member
iTrader: (2)
 
JD8's Avatar
 
Join Date: May 2016
Location: Maryland
Posts: 237
Total Cats: 25
Default

Miata with hardtop vs top down...





Not sure what I have learned so far, but I had fun. lol

Am I right in thinking that pressure is the important thing to visualize if I am trying to see the aerodynamic penalty for running with the top down?
JD8 is offline  
Old 04-26-2021, 06:20 PM
  #8  
Elite Member
iTrader: (2)
 
cordycord's Avatar
 
Join Date: Dec 2011
Location: SoCal
Posts: 2,453
Total Cats: 479
Default

I was lucky enough to get a Canadian company named Creaform to do the CFD for my Catfish. They used the same program that's used by several F1 teams and needed a server farm for the results. That said, it seems like your setup gives much of the general data that you'd need to make aero decisions. Open top is definitely bad for aero. If I remember, it might be as high as 0.48 Cd in top-down form.






cordycord is offline  
Old 04-30-2021, 12:06 PM
  #9  
JD8
Junior Member
iTrader: (2)
 
JD8's Avatar
 
Join Date: May 2016
Location: Maryland
Posts: 237
Total Cats: 25
Default

Originally Posted by cordycord
I was lucky enough to get a Canadian company named Creaform to do the CFD for my Catfish. They used the same program that's used by several F1 teams and needed a server farm for the results. That said, it seems like your setup gives much of the general data that you'd need to make aero decisions. Open top is definitely bad for aero. If I remember, it might be as high as 0.48 Cd in top-down form.
That is really cool, when I was in school and on the formula team the aero guys had really nice CFD software with perfect models of our car like what you are showing.

The flowsquare software is really cool but I don't know to use it well enough yet to do 3D models that would be needed to know the aero impact of hardtop vs soft-top vs top down. I really wish I had paid more attention to the aero work back when I was in school.
JD8 is offline  
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Spei
Media
3
01-19-2021 09:31 PM
3rdCarMX5
Fabulous Fabrication
1
04-02-2014 07:37 PM
lieske
Media
5
09-13-2013 10:38 PM
Enginerd
Media
4
06-29-2013 05:16 PM



Quick Reply: Flowsquare: Baby's First CFD Software



All times are GMT -4. The time now is 04:54 AM.