Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Our current module has everything unfulfilled and attention is required on the geometry step. Each cell must be "Up to Date" before starting the next step. If "Update Required" ever appears, simply press "Update Project".

0.1) Double Right click on geometry to open the Geometry Modeller (not Space Claim)


Geometry

In this step we will load in the car model and build our "wind tunnel". Additionally, since the car is symmetrical, we will slice and simulate with only half the car model and wind tunnel in half. This reduces our calculation time by over 50%!

...

Expand
titleBoolean Subtract Screenshot


Image Removed


Check the workbench to confirm our Geometry stage is "Up to Date".

Image Added

The geometery is ready to be meshed.

...

Expand
titleMeshing and CFD Intuition

Meshing Intuition: In general, all finite element techniques looks to break down a difficult problem into smaller simpler parts (each part is a "finite element"). Instead of analyzing flow on the entire tunnel at once, the problem is divided into a network of many air parcels. Each air parcel is represented as a node on the mesh, and every connection between parcels is an edge between nodes. Notice no nodes inside the car shaped cavity; this forces air flow to goes through edges around the car (which is why the car model is subtracted from the fluid model).

Later we will define some nodes to have boundary conditions (ie. the wind tunnel inlet nodes have set velocity and car surface nodes are static walls). When solving begins every node will send/receive information (such as pressure, velocity, volume or momentum) to/from adjacent nodes through the edges and update itself. For example, if a high pressure parcel is connected to a low pressure parcel, it is not in equilibrium; thus, there must be some movement (mass flow or velocity change) from the high to low pressure nodes. ANSYS will solve hundreds-thousands of these equations between nodes for thousands of iterations until a steady state is acheived. (Note: This is NOT the full story, but an easy way to imagine what's happening inside the simulation)

For the CFD technician, this means we want few nodes in locations where accuracy is insignificant and more nodes in important areas (orientated and positioned in a way to accurately simulate reality). As with all FEA, it is easy to get an accurate simulation (simply make the densest mesh possible and have it solve for three weeks); however, being proficient at CFD means being able to create a minimal mesh which keep computational time low and providing meaningful and accurate results.

You can click "Generate Mesh" and mesh based on default properties (click Show Mesh to view the mesh). This gives us a very poor mesh.

The current mesh is unacceptable: the top surface of the car only has a handful of nodes, the bottom of the car to the ground only has one row of cells and the mesh has no nodes to represent the boundary layer.



...

Expand
titleInflation Layer Screenshot

Or Highlight Surface of Car

Create Named Selection → label "car"

Use "All Faces in Chosen Name Selection" (vs Program Controlled) → select "car"

2.3) Click Generate Mesh.

...

Click Create > Drag. Highlight car and click "OK". Ensure the force vector is pointing in same direction of the car.


Solution > Report Definitions > Drag 

Expand
titleDrag Monitor Screenshot

...

Graphical or plots are availible for airflow, pressure, forces, etc.

Results → Reports → Forces → Direction Vector (in direction of air movement) → Print


Graphics → Pathlines → More Steps = Longer Line (500 - 2000) → Make sure to start with some path skips (i.e. 20) and lower as needed

Select Options → Draw Mesh (to see mesh) with path lines (select car)

You can view pathlines for entire car or for a specific line

Line/Rake → select endpoints for line


If you ever lose track of the model, use this button to zoom back to default.

...