View Issue Details

IDProjectCategoryView StatusLast Update
0000792OpenFOAMBugpublic2013-03-19 22:48
Reporteralundilong Assigned Tohenry  
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionno change required 
PlatformUbuntu 12.04OSLinuxOS Version12.04
Summary0000792: relative error between serial and parallel is huge
DescriptionHi,
I'm trying to solve a fluid dynamics problem in a very small domain with icoFoam.
My test show that icoFoam shows very different results if run serially and parallel. The attached are three cases I used to test icoFoam and a modified solver I used to test the those cases.
Steps To Reproduce1. Please download the compressed file
2. compile the solver source code
3. run the case through Allrun

gMax/gMin functions are used to get the maximum/minimum velocity magnitude across the entire domain. You can see the max/min U are quite different between each cases from the screen.
TagsNo tags attached.

Activities

alundilong

2013-03-19 20:36

reporter  

testIcoFoam.tar.bz2 (808,575 bytes)

henry

2013-03-19 20:57

manager   ~0002025

Try running the case in the latest version of OpenFOAM-2.2.x

alundilong

2013-03-19 21:37

reporter   ~0002026

Hi henry, thank you for your quick reply. I just tried it on OpenFOAM-2.2.x, but still got big difference between each case.

henry

2013-03-19 22:39

manager   ~0002028

When I run icoFoam on your cases I get exactly 0 velocity in both serial and parallel mode.

henry

2013-03-19 22:48

manager   ~0002029

I checked the weired icoFoam.C you sent with the case and manipulating U.oldTime() in this manner makes no physical sense and the code is clearly diverging rapidly. The velocities are different in serial and parallel because the rate of divergence of the solver is different between serial and parallel.

Issue History

Date Modified Username Field Change
2013-03-19 20:36 alundilong New Issue
2013-03-19 20:36 alundilong File Added: testIcoFoam.tar.bz2
2013-03-19 20:57 henry Note Added: 0002025
2013-03-19 21:37 alundilong Note Added: 0002026
2013-03-19 22:39 henry Note Added: 0002028
2013-03-19 22:48 henry Note Added: 0002029
2013-03-19 22:48 henry Status new => resolved
2013-03-19 22:48 henry Resolution open => no change required
2013-03-19 22:48 henry Assigned To => henry