In 1984, S.R. Ahmed created a generic car body that has a simple geometric shape called the Ahmed body. Since then, it has been a benchmark for aerodynamic simulations. When air flows around the Ahmed body, it displays the characteristic features that are displayed when flow happens over various designs of automobiles. In this project, we will be simulating flow over an Ahmed body and check the accuracy of the results with experimental data.
The main objective of this project is to perform external flow simulation over an Ahmed Body using Opensource Software Like OpenFOAM. The results obtained from the simulation are then compared with the experimental data.
You can find the dimensions used to design the Ahmed body below:
We will now design a wind tunnel in which the Ahmed body will be placed. You can find the dimensions of the wind tunnel in the below diagram:
(All Dimensions are in mm)
The Wind tunnel and the entire geometry was created using Commercial CAD Modelling software.
Before we can simulate the flow, we must mesh the entire geometry into tiny elements and specify the right solver. The solver will solve the necessary equations for every element and provide us with an approximated value of the answer. Every solver has its own settings and it is important that we choose the solver whose settings match the geometry we have designed. A wrong solver will result in wrong solutions. In this project, we select the below mentioned solver and meshing algorithm:
The snappyHexMesh is an iterative process. It is a hexahedron dominant meshing tool, meaning that it will divide the entire geometry into tiny, hexahedral elements. For doing so, it needs a base mesh to work on. The BlockMesh utility from OpenFOAM can provide the base mesh that snappyHexMesh is able to work on.
The snappyHexMesh process happens in 3 phases:
The Final Mesh output from Openfoam looks like this:
Since we are interested in capturing the velocity profile, we use a turbulence model for that purpose. A turbulence model is a (function) that solves a set of navier stokes equations to calculate the turbulence happening in the area.
The turbulence model chosen for this particular simulation is K-OmegaSST. Wall function was utilized on all the walls to capture the velocity profiles accurately.
This Particular turbulence model gives good results when the y+ is lesser than one. Since the Boundary layer coverage in snappyHexMesh is not 100%. It is hard to get the desired boundary y+ in all the regions. So, we try to get the desired y+ in the region where flow separation happens. This will maintain the proper wake size (the size of the area where recirculation happens) and we can get good results.
|Inlet||ZeroGradient||Freestream velocity -40m/s||inletOutlet||inletOutlet||Calculated||inletOutlet||calculated|
The final velocity profile after steady state with steam tracer plots give us the velocity distribution and the re-circulation over the entire Ahmed Body.
The following plots are made in excel sheets using the simulation and experimental data. The Experimental Data was acquired from Ercoftac. The charts represent the velocity values at various points in the wind tunnel.
At x = 13 and y = 0
At x = 37 and y = 0
At X = 63 & Y = 0
At X = 113 & Y = 0
At X = 187 & Y = 0
From the above graphs we can see that deviation that we have is acceptable and the results are good to be trusted.
|Boundary Layer coverage||94.1%|
|Desired 1st layer thickness||0.000242m|
|1st Layer thickness variation||0.000242m to 0.00154m|
We can see that the boundary layer coverage is not 100%. Since the we have y+ variation from 18 to 100 all over the body the turbulence model was able to provide us with good results. OpenFOAM code has proven to be effective that even when the Y+ was 100 in the flow separation region we are able to get good results.
By comparing the velocity profiles obtained numerically and experimentally, we have determined that the numerical simulation is approximately similar to the experimental data, save a few minor deviations that are negligible. Hence, we can determine that the model of Ahmed Body used is good for us to further determine the values of various parameters like lift co-efficient, drag-coefficient etc.
The Computational Combustion using Python and Cantera from Skill-Lyc is an essential course for mechanical engineering students who are interested in the combustion and CFD domain. In this course, students will learn the fundamentals of thermodynamics, equilibrium chemistry, and elementary reactions. With Python and Cantera, students will learn Ignition delay calculation, flame speed calculation and more advanced topics in combustion.
If you have a keen interest in Aviation and Thermal Industries and have been meaning to dig deep and understand a powerful Computational Fluid Dynamics (CFD) tool like ANSYS Fluent, this is the course for you
Internal Combustion Engine Analyst
ANSA is an advanced multidisciplinary CAE pre-processing tool that provides all the necessary functionality for full-model build-up, from CAD data to ready-to-run solver input file, in a single integrated environment
Learn CFD by writing code from scratch in Matlab or Octave
Advanced Turbomachinery Simulations for Mechanical Engineers
In this project, you will analyse the head impact on the car hood. You will learn how to set-up the case study by giving the required geometry transformations, boundary conditions, material models, contact definitions. Stress, strain, head impact coefficient(HIC) values will be calculated and studied in post-processing.
In this project, you will learn how to validate the elasto-plastic material model with the given stress-strain data. You will learn the extraction and cleaning of the stress-strain data point from the given curve. Then you will study how to evaluate the hardening curve and give material parameters input to the LS-DYNA software. Finally, you will understand how to extract the stress-strain results from the simulation and compare it with the given data.
This project deals with simulating the flow around a Mercedes Benz Actros truck with and without the trailer attachment, We will be studying the production of wake and how the trailer attachment affects the wake produced by the tractor and the effect this has on the production of drag on the vehicle. Suitable reports and plots will be used to measure the drag coefficient and to assess convergence. Various post processing techniques can be used to provide animations that clearly show the flow patterns.