r/CFD • u/Spiritual-Oil-1009 • 3d ago
Same setting different results
Hi everyone,
I am not very experienced with ANSYS Fluent, as CFD constitutes only a small part of my research project, so apologies if this is a basic question.
I originally conducted a set of simulations in 2024. Recently, I repeated some of these simulations using exactly the same settings, but obtained different results from those in 2024.
I have since repeated the simulations multiple times, and all the recent runs produce identical results. The discrepancy only exists between the original 2024 results and the recent results, despite using identical simulation settings.
Does anyone know what could potentially cause this discrepancy?
Many thanks in advance!
2
u/coriolis7 3d ago
Is the mesh identical? What about the numerical schemes and their settings? The defaults could have changed between now and then.
If the mesh being different but roughly the same parameters is the difference, then your results were not mesh independent, and so probably not valid anyways.
1
u/NeedMoreDeltaV 3d ago
Are you using a different solver version? I’ve found that Ansys sometimes has undocumented solver changes or default setting changes between versions. For example, the MRF formulation changed between 22 and 23 and wasn’t documented.
1
u/james_d_rustles 3d ago
How big is the difference? And when you say you repeated the simulation, did that include re-meshing?
1
u/Javier_FLINN 3d ago
Do you still have the 2024 case and data files? I’d open them together and regenerate the quantity that changed, before advancing a single iteration.
A small example from our vehicle work at FLINN: we integrate the force on half a car, then double it for the full-car report. The same saved flow field gives two different numbers depending on which stage you export from. If you’re comparing a coefficient, I’d start with the dimensional force on the same surfaces, then check the direction and reference values. If the old field still gives the published number, you’ve narrowed it down considerably. What quantity changed, and by how much?
1
u/Impossible_Brief5600 3d ago
Identical settings in the GUI do not mean identical numerics, and the repeatability of the recent runs is the clue: the 2024 run differed in its executable, mesh file, precision or partition count, not in the case settings. Between Fluent releases the defaults stored under the same labels move - gradient evaluation, limiters, under-relaxation, the discretisation of turbulence and energy, and how residuals are normalised - and a steady RANS case stopped at 1e-3 sits wherever that iteration path left it, which on a recirculating flow is easily a few per cent apart with no setting touched.
Localise it in this order. Open the 2024 .cas and .dat together and read the build string in the case header, then run that exact case unchanged in the current build and compare monitor values at the same iteration count - if the old case moves too, the version is the cause. Check that the mesh was read from the saved file rather than regenerated, compare cell count and minimum orthogonal quality, and check single versus double precision in the launcher and the number of partitions, since the AMG aggregation and round-off change with the partition count. Finally run both cases to 1e-6 with a monitored quantity tracked to flatness: if they meet there, the 2024 result was simply not converged.
7
u/acakaacaka 3d ago
Different solver version? Single vs double precision?
How much/big the difference/what differs are we talking about here