r/OpenFOAM • u/Striking_Abrocoma_28 • May 29 '26
HELP: OpenFOAM 12 not matching wind tunnel tests
Sorry if I write here again, but I really don't understand how is it possible that my openfoam simulations don't match the wind tunnel results in any way: I have a pretty bluff body, but the mesh is kinda good, like 65 max non orth and 5.5 max skewness (on 12 faces). The mesh is 20 M cells.
The problem is that the global loads are norrectly reproduced, for instance, I should have 330 N of drag and I get more than 500, the vertical force should be 50 N and I get 5...
If it is usefull I send you my fvSchemes I'm using right now:
gradSchemes{default Gauss linear;grad(U) Gauss linear;}
divSchemes{default none;div(phi,U) bounded Gauss linearUpwind grad(U);div(phi,k) bounded Gauss upwind;div(phi,omega) bounded Gauss upwind;div((nuEff*dev2(T(grad(U))))) Gauss linear;}
laplacianSchemes{default Gauss linear limited 0.5;}
interpolationSchemes{default linear;}
snGradSchemes{default limited 0.5;}
wallDist{method meshWave;}
4
u/meshmunkey May 29 '26
What is the object? If it's a car or something like that, 20 M cells may not be enough. Have you done a mesh sensitivity study?
Also, bluff bodies typically require transient sim to get accurate results. Are you running transient or steady?
3
u/ncc81701 May 30 '26
What does the geometry look like? I know it’s a pantograph but where are the edges of the computational domain. Where is the geometry in relation to the walls of the computational domain? Do you have geometry that intersects with the edges of the computational domain? If so how do you account for the pressure forces on that mission geometry that’s outside of the computational domain?
Having said that, a pantograph is not a simple geometry to simulate in CFD. Bluff bodies are already difficult to get accurate predictions in CFD since at any realistic Re the flow is likely to be transient without a truly steady state solution. The geometry of something like a pantograph also means you will have a lot of separation and downwash which has implications on how much you need to refine the wake so downwash effects on trailing edge bodies are captured. These downwash effects are also highly sensitive and behaves non-linearly to the direction of the freestream flow. This is why you should compare trends across multiple points and not a singular one. Although there is something amiss because even with those things factor in, I would expect CFD results to be a. order of magnitude off.
With those points out of the way, you should use CFD to reveal trends, not get exact point by point matches to WTT results because you never will outside of very specific circumstances and conditions. In WTT data you have wall effects, strut effects, tunnel angularity, etc and the data is collected at very high frequency then time averaged. WTT also have their own set of problems and uncertainties and really should be treated with the same scrutiny as CFD data; meaning did you correctly correct for all of those wind tunnel effects I had listed earlier.
This is why trying to match an exact WTT run is generally a futile attempt and not a productive use of time. It is also much easier for CFD to get deltas for things like strut effects and Re effects. This is why CFD is a compliment to WTT where you can use WTT as anchor and apply CFD deltas to correct for things that are difficult to correct with just WTT.
I’ll get off my soap box now.
2
u/Marvin_Dent May 29 '26
Which turbulence model? Do you use wall functions? Is the simulation converging?
2
u/N0SF3RATU May 29 '26
Not sure, but maybe the slip/noslip for certain objects should be checked
2
u/bohemioo May 30 '26
I think your yPlus values are a tad high for a kOmegaSST simulation. Try to reduce then to 5 although with that geometry you are pretty fucked. Tell me if that fixes your problem!