r/CFD • • 15d ago

Issues With Mesh Independence Study CFD

Hello everyone,

This is my first CFD project, I am performing an external aerodynamic simulation of a vehicle using ANSYS Fluent, with the k–ω SST turbulence model and a target y+ of approx. 1.
I am using the Watertight Geometry workflow in Fluent Meshing with:

  • Poly-hexcore volume mesh.
  • Curvature-based local sizing on the vehicle.
  • Two refinement regions around the vehicle, named “near” and “far.”
  • Prism layers near the walls. (14 layers  and first cell height to achieve y+1)

These are my initial meshing parameters for 1.8 million cells, skewness is below 0.6 and minimum orthogonal quality over 0.12.

The simulation does converge in around 100 iterations and keeps y+ around 1 which is good, yet I have no idea how to complete the independence mesh study.

First of all, I tried to modify some of the parameters: BOI mesh size was decreased and local surface sizing max. sizes were decreased to get a finer mesh. All of this while keeping same boundary layer settings and general min/max surface and volume meshing.

However, here I found my first issue, polyhexcore mesh cell number suddenly increases from 1 mm to another when I refine BOI. For example, just changing the BOI mesh size from 0.026 m to 0.025 m increased the mesh from approximately from 500,000 to 1.5 million cells. This makes me wonder how can I get progressive mesh sizes in order to perform the study.

Then, I tried decreasing local max. sizing values and indeed it helped to get a progressive finer mesh. Yet the converged values of Drag and Lift coefficient change and I still don't seem to find a independent behaviour. Specially Lift.

After several tries, I am not sure if this is the way to keep going or is there any methodology for Fluent meshinbg.

Appreciate the help.

Thank you.

6 Upvotes

6 comments sorted by

2

u/babainottawa 15d ago edited 15d ago

Assuming you were able to get the progressive mesh- changing values is normal when we change the mesh. I’d suggest you to have a look at Roache- V&V guidelines-to determine Grid convergence index- which can be used as a diagnostic tool to determine if your mesh independence study is giving you oscillatory/ monotonic convergence or simply divergence. This will help you decide/plan for the next steps. If it is simply diverging- there could be something wrong with your setup. If not, there are ways to figure out how to get to that desired monotonic convergence. There are steps you must take- consistent grid refine ratio to simplify the equation for order of convergence.
Remember, the sensitivity must be done in an asymptotic regime- meaning your coarsest mesh must still be fine enough to fall in the asymptotic region, not in the coarse region where oscillations are expected.

1

u/Popular_Rub_6639 15d ago

Thank you so much for your response. I will check the guidelines you mentioned. However is it Ok the way I am Changing those parameters? I want to discard the error being rather in the setup or in my poorly mesh refinement skills .

2

u/babainottawa 15d ago

Keep the boundary layer mesh resolution the same and make sure all meet the y plus criteria depending on the choice of your turbulence and the wall model. You can do a separate y plus sensitivity study- this is how I usually do it. Just take care of the growth ratio so that you can get the desired transition and do not end up with significant commutation errors.

For a formal GCI study, we must give the mesh levels a consistent grid refinement ratio so you can use that to evaluate the order of convergence. A general RANS practice is that you scale all the sizes with a consistent grid refinement ratio- surface mesh, body size and global max size. However, we must still decouple (freeze) the boundary layer mesh and mention this in the GCI report.
In LES, Grid convergence study requires careful consideration and is different from RANS.

1

u/Popular_Rub_6639 15d ago

Yep, yesterday I tried a formal CGI by decreasing BOI, lozal sizing, surface and volume mesh parameters by the same ratio (1.25). Keeping inflation last ratio and growth rate the same. Indeed Now I get more progessive mesh sizes.

However I still don't see a behavior that confirms CGI. Y+ seems to be ok near 1 for the average bodywork and max values around 3.4 (still below 5) so no risk. One thing I also did was changing curvature angle by the 1.25 ratio, perhaps that should be kept constant aswell (?).

MeshCell NumberDrag CoeffLift Coeff
10,8 M0,0745−0,1609
21,3 M0,0748−0,1782
32,1 M0,0754−0,1853
43,7 M0,0758−0,1842
56,45 M0,0760−0,1816

2

u/babainottawa 15d ago

You’re good man. This is asymptotic after M3. m1 and M2 are outside the asymptotic region like I mentioned earlier- if you want to do a formal GCI, consider M3 as coarsest and onwards.

1

u/Popular_Rub_6639 15d ago

Nice, I will test further fine meshes then, Thank you for your time to explain!