Car Tutorial (External Aerodynamics) - SimFlow CFD Software
Car Tutorial (External Aerodynamics) - SimFlow CFD Software
Car Tutorial (External Aerodynamics) - SimFlow CFD Software
Download
Pricing
Tutorials
About
Contact
Docs
1. Create Case
1. Go to New panel
2. Provide name car
3. Click Create Case
2. Import Geometry
Base Mesh is a domain mesh of our simulation from which the final mesh will be
created by carving out the geometry of the car.
1. Go to Base tab
2. Define base mesh parameters accordingly
Min [m] -6 0 0
Max [m] 14 6 8
48
6. Base Mesh Boundaries
We need to assign individual names to each side of the base mesh in order to be
later able to define different conditions on each side.
X- inlet
X+ outlet
Y- bottom
Y+ top
Z- symmetry
Z+ right
Y- wall
Z- symmetry
7. Material Point
Material Point tells the meshing algorithm on which side of the geometry the mesh
is to be retained. We are modeling car aerodynamics so our material point needs to
be located inside the Base Mesh but outside the car body.
1. Go to Point tab
2. Specify location inside base mesh but outside car geometry
Material Point 0 3 2
8. Meshing
1. Go to Mesh tab
2. Press Mesh button to start meshing process
9. Mesh
After meshing is finished, the new mesh will be displayed in the graphics window.
To show the mesh of the car body we can use the Graphics Object List.
1. Click Graphics Object List icon
2. Select Mesh to show meshes list
You can hide domain boundaries to inspect the mesh on the car body.
We want to analyze incompressible turbulent flow around the car body. For this
purpose, we will use the SIMPLE (simpleFoam) solver.
1. Go to Setup panel
2. Enable Steady State filter
3. Enable Incompressible filter
4. Select SIMPLE (simpleFoam) solver
5. Select solver
12. Turbulence
We are going to use the standard k-ω SST model to handle turbulence. This model
gives very good agreement with experimental data and is commonly used for
aerodynamics applications.
1. Go to Turbulence panel
2. Select RANS modeling
3. Select k-ω SST model
13. Boundary Conditions – Bottom (Flow)
We are simulating a car moving on a road. In this reference frame, the road has to
move with respect to the car. We can achieve this by applying fixed velocity
boundary condition on the bottom of the domain.
Value [m/s] 20 0 0
14. Boundary Conditions – Inlet (Flow)
On the inlet, we are going to apply constant velocity, similarly to the bottom .
On the right and top boundary, we are going to force velocity to be tangent to the
boundary.
1. Go to Turbulence tab
2. Change turbulent kinetic energy Type to Zero Gradient
3. Change turbulent frequency Type to Zero Gradient
18. Boundary Conditions - Top (Flow)
1. Go to Turbulence tab
2. Change turbulent kinetic energy Type to Zero Gradient
3. Change turbulent frequency Type to Zero Gradient
20. Monitors - Forces
1. Go to Monitors panel
2. Go to Forces tab
3. For Monitored Boundaries select car_body
21. Run Simulation
1. Go to Run panel
2. Set Number of Iterations to at least 200
3. Click Run Calculation
22. Monitor Forces
During the simulation, we can observe whether forces on the car body stabilize
which will mean that our simulation converges
1. Go to Postprocessing panel
2. Start ParaView
24. ParaView - Load Results
After loading results, we have to rotate the domain or change view direction to see
the car.
1. Click Edit Color Map from the menu placed on the left side, if the panel is
not already shown.
2. Select Choose Preset from the Color Map Editor placed by default on the
right side of the ParaView
28. ParaView - Coloring (II)
Now we can see the results with the new preset applied. We can also modify the
number of displayed colors to see the results better.
To display results on the original geometry, we can import the geometry directly
into ParaView.
Now we can see the final results with the original geometry.