View Issue Details

IDProjectCategoryView StatusLast Update
0004076OpenFOAMBugpublic2024-07-05 12:59
ReporterNicolasDelaisse Assigned Tohenry  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionunable to reproduce 
PlatformGNU/LinuxOSCentOSOS Version7
Product Version11 
Summary0004076: Differences in solution and effects of the partitioning for different versions
DescriptionSolving the first time step of a rather simple OpenFOAM case, differences are found using different versions.
With version 9 (or 8), the velocity field is smooth (v9_p1_Umag), while with version 10 (or 11) this is much less the case (v10_p1_Umag).
I am aware that the scale is relatively small, but the solver tolerances are set to 1e-12 and the tolerances for the outercorrectorresiduals to 1e-10.

Moreover, using a different partitioning (p2.png instead of p1.png), no differences are visible for version 9 (or 8) (v9_p2_Umag), while for version 10 (or 11) the change in partitioning is visible in the solution (v10_p2_Umag.png). This is of course undesired.

There seems to be a change in between version 9 and 10 that causes the solution to be different, but what's more, this change also make the solution dependent on the partitioning. Any idea on what change this is or how it can be countered is appreciated.

To illustrate further, the field of the z-component of the velocity field is also shown, with the same naming conventions.
Figure v10_p2_Umag_2.png (the same as v10_p2_Umag.png but with a different scale) clearly shows numerical artefacts linked to the partitioning, especially when compared to the solver tolerances which are much lower.

The solutions with OpenFOAM versions 8 and 9 were identical, as were those with versions 10 and 11.
Steps To ReproduceThe decomposed case files to reproduce the figures are included as well as a script to run them.
TagsNo tags attached.

Activities

NicolasDelaisse

2024-05-07 14:48

reporter  

v9_p1_Umag.png (78,162 bytes)   
v9_p1_Umag.png (78,162 bytes)   
v10_p1_Umag.png (99,221 bytes)   
v10_p1_Umag.png (99,221 bytes)   
v9_p2_Umag.png (78,676 bytes)   
v9_p2_Umag.png (78,676 bytes)   
v10_p2_Umag.png (99,478 bytes)   
v10_p2_Umag.png (99,478 bytes)   
p1.png (52,600 bytes)   
p1.png (52,600 bytes)   
p2.png (51,010 bytes)   
p2.png (51,010 bytes)   
v9_p1_Uz.png (73,554 bytes)   
v9_p1_Uz.png (73,554 bytes)   
v10_p1_Uz.png (77,441 bytes)   
v10_p1_Uz.png (77,441 bytes)   
v9_p2_Uz.png (74,208 bytes)   
v9_p2_Uz.png (74,208 bytes)   
v10_p2_Uz.png (99,711 bytes)   
v10_p2_Uz.png (99,711 bytes)   
v10_p2_Uz_2.png (71,223 bytes)   
v10_p2_Uz_2.png (71,223 bytes)   
v11.tar.gz (1,408,294 bytes)
v10.tar.gz (1,406,933 bytes)
v9.tar.gz (1,407,965 bytes)
v8.tar.gz (1,407,254 bytes)

henry

2024-05-07 16:57

manager   ~0013237

I cannot reproduce the problem, I have run the v11 case is OpenFOAM-11 and OpenFOAM-dev and I get the same results as the v9 case, smooth results no fluctuations or anomalies.

NicolasDelaisse

2024-05-08 12:02

reporter   ~0013238

Thank you for trying to reproduce the problem. I suspect the problem will be related to the compilation on our system.
We will look at this internally and hopefully we will be able to figure out what causes this problem.

Issue History

Date Modified Username Field Change
2024-05-07 14:48 NicolasDelaisse New Issue
2024-05-07 14:48 NicolasDelaisse File Added: v9_p1_Umag.png
2024-05-07 14:48 NicolasDelaisse File Added: v10_p1_Umag.png
2024-05-07 14:48 NicolasDelaisse File Added: v9_p2_Umag.png
2024-05-07 14:48 NicolasDelaisse File Added: v10_p2_Umag.png
2024-05-07 14:48 NicolasDelaisse File Added: p1.png
2024-05-07 14:48 NicolasDelaisse File Added: p2.png
2024-05-07 14:48 NicolasDelaisse File Added: v9_p1_Uz.png
2024-05-07 14:48 NicolasDelaisse File Added: v10_p1_Uz.png
2024-05-07 14:48 NicolasDelaisse File Added: v9_p2_Uz.png
2024-05-07 14:48 NicolasDelaisse File Added: v10_p2_Uz.png
2024-05-07 14:48 NicolasDelaisse File Added: v10_p2_Uz_2.png
2024-05-07 14:48 NicolasDelaisse File Added: v11.tar.gz
2024-05-07 14:48 NicolasDelaisse File Added: v10.tar.gz
2024-05-07 14:48 NicolasDelaisse File Added: v9.tar.gz
2024-05-07 14:48 NicolasDelaisse File Added: v8.tar.gz
2024-05-07 16:57 henry Note Added: 0013237
2024-05-08 12:02 NicolasDelaisse Note Added: 0013238
2024-05-08 20:56 henry Assigned To => henry
2024-05-08 20:56 henry Status new => closed
2024-05-08 20:56 henry Resolution open => unable to reproduce