Crosswind Simulations
I’m going to start this off with just some equations that are useful for variables that are important to us.
A = Reference Area (usually frontal projected area)
L = Reference Length (vehicle length)
V = Reference Velocity (V in zero yaw)
Additionally, here is a picture of yaw, pitch and roll since its easy to confuse the 3. Here are also some more equations that shows how you calculate the coefficients of them.
To calculate the total wind velocity of the wind with crosswind, you do Vmag = sqrt(Vcw^2+Vx^2) where Vx acts as the velocity in the inlet and Vcw is the crosswind velocity.
To find the angle of attack of this type of wind, you do B = arctan(Vcw/Vx).
This is a picture of my general setup for a crosswind simulation.
Alright, that's everything setup-wise.
Here are the general steps now.
Workbench
Geometry
Import file
Edit in space claim
Space claim
Repair
Stitch
Gaps
Missing faces
Split edges
Extra edges
Duplicates
Small faces
Design → Planes
100.95 mm below car (or make plane on origin)
Down middle
Prepare → enclosure (length:190in, width:61in, height:44in)
Uncheck symmetric dimensions
Front: 4 x length
Back: 12 x length
top / bottom: 5 x height
Inlet 2 side: 6 x width
Outlet 2 side: 18 x width
Check mark
Structure tab (left)
Suppress for physics (car file)
Hide enclosure
Your goal is to make 3 bodies of influence that will look like this. The first body of influence will have the dimensions above, and then each boimedfine and boinearfine will have dimensions that increase in 50 mm increments for length and width, and the distance from the origin to a point will increase by 25 mm.
Sketch
boinearfine:
Rectangle around car (positive axis)
No merge
Pull from both sides
Width +250 mm
boinearmedfine:
Rectangle around car (positive axis)
No merge
Pull from both sides
Width + 300 mm
boinearcoarse:
Rectangle around car (positive axis)
No merge
Pull from both sides
Width + 350 mm
boifarmedfine:
Taller Rectangle Behind
No merge
Pull from both sides
Width + 350 mm
boifarcoarse:
Another rectangle same size
No merge
Pull from both sides
Width + 350 mm
Select face of back boi, extend up to back face of enclosure
Click on xz plane in top view and sketch
Length: 3.5 x length
Width: 6 x width
3000 mm in front of front line of boinearcoarse
Pull no merge and height: 2 x height
Create a new plane in the middle of this solid by control clicking on the left and right face and make a plane
Design → split body
Split along middle plane and then click escape, now it is 2 solids
Design → split body
Split along bottom plane so the bottom plane is the ground
Groups → create ns (ORDER MATTERS)
inletmain
inletside
sky
outletmain
outletside
ground
boinearcoarse
boinearmedfine
boinearfine
boifarmedfine
boicwmedfine
boicwcoarse
bulk
Hide groups
Save file (ctrl+s)
Close space claim
Workbench
Duplicate geometry
Edit in design modeler
Design Modeler
Right click import
Generate
Change all body types to fluid
Change name → boinearfine for example
Save and close
Workbench
Fluent with fluent meshing
Drag duplicate geometry to mesh
Properties → m to mm
Mesh → edit
Double precision
8
Start
Fluent meshing
Import geometry
Add local sizing
Body of influence x 2
Rename
Select option
Target mesh
boinearfine 24mm
boinearmedfine 32mm
boinearcoarse 50mm
boifarmedfine 60mm
boicwmedfine 60mm
boifarcoarse 70mm
boicwcoarse 70mm
Curvature
Rename
Select option
bulk
Local 1
Max 8
Angle 14
Generate surface mesh
Min 0.5
Max 250
Cells per gap 3
Generate mesh
Geometry types
Consist of only fluid regions with no voids
Describe geometry
sky → symmetry
Add boundary layers
Offset → last-ratio
Layers 8
https://plnkr.co/edit/IWnRIQ8HCvnD4if901F9?preview
Target y+ 1
Velocity 9
Length of car (check units)
Calculate
Copy mm number
First height: calculated (0.0861902 mm)
Add boundary layers
Generate volume mesh
Fill with: poly-hexcore
Generate volume mesh
Right click volume mesh and click improve mesh
Improve mesh
Save and quit