CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Strange error in multithread simulation with interFoam (https://www.cfd-online.com/Forums/openfoam-solving/145529-strange-error-multithread-simulation-interfoam.html)

davidmd December 7, 2014 16:22

Strange error in multithread simulation with interFoam
 
Hi!
I'm trying to conduct a parallel simulation using OpenFoam 1.7, and interFoam. When I use value in blockMeshDict convertToMeters = 1 all is good, but when I use 100 (to work in real scale) there is a strange error with that I had never encounted. Here is the log:
Code:

[7] #0  Foam::error::printStack(Foam::Ostream&)MULES: Solving for alpha1
[6] #0  Foam::error::printStack(Foam::Ostream&)[5] #0  Foam::error::printStack(Foam::Ostream&) in "/unicluster/opt/OpenFOAM/1.7/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libOpenFOAM.so"
[5] #1  Foam::sigFpe::sigFpeHandler(int) in "/unicluster/opt/OpenFOAM/1.7/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libOpenFOAM.so"
[7] #1  Foam::sigFpe::sigFpeHandler(int) in "/unicluster/opt/OpenFOAM/1.7/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libOpenFOAM.so"
[6] #1  Foam::sigFpe::sigFpeHandler(int) in "/unicluster/opt/OpenFOAM/1.7/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libOpenFOAM.so"
[7] #2  in "/unicluster/opt/OpenFOAM/1.7/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libOpenFOAM.so"
[6] #2  in "/unicluster/opt/OpenFOAM/1.7/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libOpenFOAM.so"
[5] #2  ?????? in "/lib64/libc.so.6"
[6] #3  void Foam::MULES::limiter<Foam::geometricOneField, Foam::zeroField, Foam::zeroField>(Foam::Field<double>&, Foam::geometricOneField const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::zeroField const&, Foam::zeroField const&, double, double, int) in "/lib64/libc.so.6"
[7] #3  void Foam::MULES::limiter<Foam::geometricOneField, Foam::zeroField, Foam::zeroField>(Foam::Field<double>&, Foam::geometricOneField const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::zeroField const&, Foam::zeroField const&, double, double, int) in "/lib64/libc.so.6"
[5] #3  void Foam::MULES::limiter<Foam::geometricOneField, Foam::zeroField, Foam::zeroField>(Foam::Field<double>&, Foam::geometricOneField const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::zeroField const&, Foam::zeroField const&, double, double, int) in "/unicluster/opt/OpenFOAM/1.7/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libfiniteVolume.so"
[6] #4  void Foam::MULES::explicitSolve<Foam::geometricOneField, Foam::zeroField, Foam::zeroField>(Foam::geometricOneField const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh>&, Foam::zeroField const&, Foam::zeroField const&, double, double) in "/unicluster/opt/OpenFOAM/1.7/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libfiniteVolume.so"
[7] #4  void Foam::MULES::explicitSolve<Foam::geometricOneField, Foam::zeroField, Foam::zeroField>(Foam::geometricOneField const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh>&, Foam::zeroField const&, Foam::zeroField const&, double, double) in "/unicluster/opt/OpenFOAM/1.7/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libfiniteVolume.so"
[5] #4  void Foam::MULES::explicitSolve<Foam::geometricOneField, Foam::zeroField, Foam::zeroField>(Foam::geometricOneField const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh>&, Foam::zeroField const&, Foam::zeroField const&, double, double) in "/unicluster/opt/OpenFOAM/1.7/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libfiniteVolume.so"
[6] #5  Foam::MULES::explicitSolve(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh>&, double, double) in "/unicluster/opt/OpenFOAM/1.7/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libfiniteV in "/unicluster/opt/OpenFOAM/1.7/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libfiniteVolume.so"
[7] #5  Foam::MULES::explicitSolve(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh>&, double, double)olume.so"
[5] #5  Foam::MULES::explicitSolve(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh>&, double, double) in "/unicluster/opt/OpenFOAM/1.7/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libfiniteVolume.so"
[6] #6  in "/unicluster/opt/OpenFOAM/1.7/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libfiniteVolume.so"
[5] #6  in "/unicluster/opt/OpenFOAM/1.7/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libfiniteVolume.so"
[7] #6  mainmainmain in "/unicluster/opt/OpenFOAM/1.7/OpenFOAM-1.7.1/applications/bin/linux64GccDPOpt/interFoam"
[6] #7  __libc_start_main in "/unicluster/opt/OpenFOAM/1.7/OpenFOAM-1.7.1/applications/bin/linux64GccDPOpt/interFoam"
[5] #7  __libc_start_main in "/unicluster/opt/OpenFOAM/1.7/OpenFOAM-1.7.1/applications/bin/linux64GccDPOpt/interFoam"
[7] #7  __libc_start_main in "/lib64/libc.so.6"
[5] #8  in "/lib64/libc.so.6"
[7] #8  in "/lib64/libc.so.6"
[6] #8  Foam::regIOobject::writeObject(Foam::IOstream::streamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType) const in "/unicluster/opt/OpenFOAM/1.7/OpenFOAM-1.7.1/applications/bin/linux64GccDPOpt/interFoam"
[jx60:25987] *** Process received signal ***
[jx60:25987] Signal: Floating point exception (8)
[jx60:25987] Signal code:  (-6)
[jx60:25987] Failing at address: 0x283900006583
[jx60:25987] [ 0] /lib64/libc.so.6 [0x2adb823992f0]
[jx60:25987] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x2adb82399285]
[jx60:25987] [ 2] /lib64/libc.so.6 [0x2adb823992f0]
[jx60:25987] [ 3] /unicluster/opt/OpenFOAM/1.7/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libfiniteVolume.so(_ZN4Foam5MULES7limiterINS_17geometricOneFieldENS_9zeroFieldES3_EEvRNS_5FieldIdEERKT_RKNS_14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEEERKNSA_IdNS_13fvsPatchFieldENS_11surfaceMeshEEESK_RKT0_RKT1_ddi+0xf6f) [0x2adb80a1da3f]
[jx60:25987] [ 4] /unicluster/opt/OpenFOAM/1.7/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libfiniteVolume.so(_ZN4Foam5MULES13explicitSolveINS_17geometricOneFieldENS_9zeroFieldES3_EEvRKT_RNS_14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEEERKNS7_IdNS_13fvsPatchFieldENS_11surfaceMeshEEERSE_RKT0_RKT1_dd+0x276) [0x2adb80a209e6]
[jx60:25987] [ 5] /unicluster/opt/OpenFOAM/1.7/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libfiniteVolume.so(_ZN4Foam5MULES13explicitSolveERNS_14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEEERKNS1_IdNS_13fvsPatchFieldENS_11surfaceMeshEEERS8_dd+0x24) [0x2adb80a0ac14]
[jx60:25987] [ 6] interFoam [0x423077]
[jx60:25987] [ 7] /lib64/libc.so.6(__libc_start_main+0xf4) [0x2adb82386994]
[jx60:25987] [ 8] interFoam(_ZNK4Foam11regIOobject11writeObjectENS_8IOstream12streamFormatENS1_13versionNumberENS1_15compressionTypeE+0xf1) [0x41d589]
[jx60:25987] *** End of error message ***
Foam::regIOobject::writeObject(Foam::IOstream::streamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType) const--------------------------------------------------------------------------
mpirun noticed that process rank 6 with PID 25987 on node jx60.unicluster.ru exited on signal 8 (Floating point exception).
--------------------------------------------------------------------------
 in "/unicluster/opt/OpenFOAM/1.7/OpenFOAM-1.7.1/applications/bin/linux64GccDPOpt/interFoam"
[jx60:25986] *** Process received signal ***
[jx60:25986] Signal: Floating point exception (8)
[jx60:25986] Signal code:  (-6)
[jx60:25986] Failing at address: 0x283900006582
[jx60:25986] [ 0] /lib64/libc.so.6 [0x2b1cb2e112f0]
[jx60:25986] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x2b1cb2e11285]
[jx60:25986] [ 2] /lib64/libc.so.6 [0x2b1cb2e112f0]
[jx60:25986] [ 3] /unicluster/opt/OpenFOAM/1.7/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libfiniteVolume.so(_ZN4Foam5MULES7limiterINS_17geometricOneFieldENS_9zeroFieldES3_EEvRNS_5FieldIdEERKT_RKNS_14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEEERKNSA_IdNS_13fvsPatchFieldENS_11surfaceMeshEEESK_RKT0_RKT1_ddi+0xf6f) [0x2b1cb1495a3f]
[jx60:25986] [ 4] /unicluster/opt/OpenFOAM/1.7/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libfiniteVolume.so(_ZN4Foam5MULES13explicitSolveINS_17geometricOneFieldENS_9zeroFieldES3_EEvRKT_RNS_14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEEERKNS7_IdNS_13fvsPatchFieldENS_11surfaceMeshEEERSE_RKT0_RKT1_dd+0x276) [0x2b1cb14989e6]
[jx60:25986] [ 5] /unicluster/opt/OpenFOAM/1.7/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libfiniteVolume.so(_ZN4Foam5MULES13explicitSolveERNS_14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEEERKNS1_IdNS_13fvsPatchFieldENS_11surfaceMeshEEERS8_dd+0x24) [0x2b1cb1482c14]
[jx60:25986] [ 6] interFoam [0x423077]
[jx60:25986] [ 7] /lib64/libc.so.6(__libc_start_main+0xf4) [0x2b1cb2dfe994]
[jx60:25986] [ 8] interFoam(_ZNK4Foam11regIOobject11writeObjectENS_8IOstream12streamFormatENS1_13versionNumberENS1_15compressionTypeE+0xf1) [0x41d589]
[jx60:25986] *** End of error message ***

Maybe you have encounted this error message?
I don't understand what is wrong :(

davidmd December 11, 2014 04:29

Surely no one knows what's going on?

alexeym December 11, 2014 05:26

Hi,

If you just want to know "what's going on" - "your solution diverges".

But I guess your next question will be "why it diverges?". At this point you'll need to find a person who a) still uses OF 1.7.x, b) has desire to guess your geometry, mesh quality, initial and boundary conditions, c) and has desire to answer a question. I won't be easy to meet such person.

wyldckat December 13, 2014 20:45

To add to Alexey's answer - Have a look at this thread: http://www.cfd-online.com/Forums/ope...-get-help.html


All times are GMT -4. The time now is 13:41.