View Issue Details

IDProjectCategoryView StatusLast Update
0000425OpenFOAMBugpublic2012-02-28 11:52
Reporteruser356Assigned Touser2 
PriorityhighSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSOtherOS Version(please specify)
Summary0000425: dieselSpray Dispersion Model: stochasticDispersionRAS throws floating point exception when running OpenFOAM in parallel
DescriptionHello

following error message is thrown by stochasticDispersionRAS model of the dieselSpray library when running OpenFOAM in parallel:

Evolving Spray
[1] #0 Foam::error::printStack(Foam::Ostream&) in "/home/beck000c/OpenFOAM/OpenFOAM-2.0.x/platforms/linux64Gcc45DPOpt/lib/libOpenFOAM.so"
[1] #1 Foam::sigFpe::sigHandler(int) in "/home/beck000c/OpenFOAM/OpenFOAM-2.0.x/platforms/linux64Gcc45DPOpt/lib/libOpenFOAM.so"
[1] #2 __restore_rt at sigaction.c:0
[1] #3 Foam::stochasticDispersionRAS::disperseParcels() const in "/home/werde00b/OpenFOAM/werde00b-2.0.x/platforms/linux64Gcc45DPOpt/lib/libmyDieselSpray.so"
[1] #4 Foam::spray::evolve() in "/home/werde00b/OpenFOAM/werde00b-2.0.x/platforms/linux64Gcc45DPOpt/lib/libmyDieselSpray.so"
[1] #5 main in "/home/werde00b/OpenFOAM/werde00b-2.0.x/platforms/linux64Gcc45DPOpt/bin/myDieselFoam"
[1] #6 __libc_start_main in "/lib64/libc.so.6"
[1] #7 _start in "/home/werde00b/OpenFOAM/werde00b-2.0.x/platforms/linux64Gcc45DPOpt/bin/myDieselFoam"
[mlhw75sx:30885] *** Process received signal ***
[mlhw75sx:30885] Signal: Floating point exception (8)
[mlhw75sx:30885] Signal code: (-6)
[mlhw75sx:30885] Failing at address: 0x541e000078a5
[mlhw75sx:30885] [ 0] /lib64/libc.so.6 [0x3ce9a302d0]
[mlhw75sx:30885] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x3ce9a30265]
[mlhw75sx:30885] [ 2] /lib64/libc.so.6 [0x3ce9a302d0]
[mlhw75sx:30885] [ 3] /home/werde00b/OpenFOAM/werde00b-2.0.x/platforms/linux64Gcc45DPOpt/lib/libmyDieselSpray.so(_ZNK4Foam23stochasticDispersionRAS15disperseParcelsEv+0x1ff) [0x2b9e6fc61d5f]
[mlhw75sx:30885] [ 4] /home/werde00b/OpenFOAM/werde00b-2.0.x/platforms/linux64Gcc45DPOpt/lib/libmyDieselSpray.so(_ZN4Foam5spray6evolveEv+0x3c7) [0x2b9e6fbdc5c7]
[mlhw75sx:30885] [ 5] myDieselFoam [0x420b4f]
[mlhw75sx:30885] [ 6] /lib64/libc.so.6(__libc_start_main+0xf4) [0x3ce9a1d994]
[mlhw75sx:30885] [ 7] myDieselFoam [0x41bbc9]
[mlhw75sx:30885] *** End of error message ***

The error results from an epsilon value close to zero. The dispersion model calls the member function epsilon() of the kOmegaSST model. So the error might result from a k or an omega close to zero. Temporarily I fixed this issue by adding a max operator max(epsilon, SMALL) to the dispersion model. The exception is only thrown when running OpenFOAM in parallel.
TagsNo tags attached.

Activities

user2

2012-02-28 11:52

  ~0001074

Thanks for the report.

Additional bounding has been added to the current version 2.1.x bug-fix line under commit 59897d9

Issue History

Date Modified Username Field Change
2012-02-17 09:00 user356 New Issue
2012-02-28 11:52 user2 Note Added: 0001074
2012-02-28 11:52 user2 Status new => resolved
2012-02-28 11:52 user2 Fixed in Version => 2.1.x
2012-02-28 11:52 user2 Resolution open => fixed
2012-02-28 11:52 user2 Assigned To => user2