|
[Sponsors] |
OpenFOAM crash at runtime when writing vtk surfaces |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 7, 2013, 02:56 |
OpenFOAM crash at runtime when writing vtk surfaces
|
#1 |
New Member
Martin Goddard
Join Date: Mar 2013
Location: Melbourne, AU
Posts: 22
Rep Power: 13 |
Hello,
I am running an icoFoam simulation and trying to write out surfaces in the vtk format during runtime to view in Paraview using the code in the controlDict file found here. Unfortunately, the simulation crashes during runtime after a couple of hundred iterations. So it writes a few surface files then dies. If I change the surfaceFormat to raw it works fine. Has anyone else had this issue or can they shed some light on the matter? Error report: Code:
0 Foam::error::printStack(Foam::Ostream&) in "/usr/local/openfoam/2.1.1/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [0] #1 Foam::sigFpe::sigHandler(int) in "/usr/local/openfoam/2.1.1/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [0] #2 [0] at sigaction.c:0 [0] #3 void Foam::vtkSurfaceWriter::writeData<double>(Foam::Ostream&, Foam::Field<double> const&) in "/usr/local/openfoam/2.1.1/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libsampling.so" [0] #4 void Foam::vtkSurfaceWriter::writeTemplate<double>(Foam::fileName const&, Foam::fileName const&, Foam::Field<Foam::Vector<double> > const&, Foam::List<Foam::face> const&, Foam::word const&, Foam::Field<double> const&, bool, bool) const in "/usr/local/openfoam/2.1.1/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libsampling.so" [0] #5 void Foam::sampledSurfaces::sampleAndWrite<double>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/usr/local/openfoam/2.1.1/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libsampling.so" [0] #6 void Foam::sampledSurfaces::sampleAndWrite<double>(Foam::sampledSurfaces::fieldGroup<double>&) in "/usr/local/openfoam/2.1.1/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libsampling.so" [0] #7 Foam::sampledSurfaces::write() in "/usr/local/openfoam/2.1.1/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libsampling.so" [0] #8 Foam::OutputFilterFunctionObject<Foam::sampledSurfaces>::execute(bool) in "/usr/local/openfoam/2.1.1/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libsampling.so" [0] #9 Foam::functionObjectList::execute(bool) in "/usr/local/openfoam/2.1.1/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [0] #10 Foam::Time::run() const in "/usr/local/openfoam/2.1.1/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [0] #11 Foam::Time::loop() in "/usr/local/openfoam/2.1.1/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" [0] #12 [0] in "/usr/local/openfoam/2.1.1/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/bin/icoFoam" [0] #13 __libc_start_main in "/lib64/libc.so.6" [0] #14 [0] in "/usr/local/openfoam/2.1.1/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/bin/icoFoam" [trifid151:10892] *** Process received signal *** [trifid151:10892] Signal: Floating point exception (8) [trifid151:10892] Signal code: (-6) [trifid151:10892] Failing at address: 0x200b00002a8c [trifid151:10892] [ 0] /lib64/libc.so.6() [0x33e8832920] [trifid151:10892] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x33e88328a5] [trifid151:10892] [ 2] /lib64/libc.so.6() [0x33e8832920] [trifid151:10892] [ 3] /usr/local/openfoam/2.1.1/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libsampling.so(_ZN4Foam16vtkSurfaceWriter9writeDataIdEEvRNS_7OstreamERKNS_5FieldIT_EE+0x81) [0x2b05f5bc4b41] [trifid151:10892] [ 4] /usr/local/openfoam/2.1.1/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libsampling.so(_ZNK4Foam16vtkSurfaceWriter13writeTemplateIdEEvRKNS_8fileNameES4_RKNS_5FieldINS_6VectorIdEEEERKNS_4ListINS_4faceEEERKNS_4wordERKNS5_IT_EEbb+0x247) [0x2b05f5bc5427] [trifid151:10892] [ 5] /usr/local/openfoam/2.1.1/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libsampling.so(_ZN4Foam15sampledSurfaces14sampleAndWriteIdEEvRKNS_14GeometricFieldIT_NS_12fvPatchFieldENS_7volMeshEEE+0x45c) [0x2b05f5b99eac] [trifid151:10892] [ 6] /usr/local/openfoam/2.1.1/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libsampling.so(_ZN4Foam15sampledSurfaces14sampleAndWriteIdEEvRNS0_10fieldGroupIT_EE+0x2b5) [0x2b05f5b9abc5] [trifid151:10892] [ 7] /usr/local/openfoam/2.1.1/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libsampling.so(_ZN4Foam15sampledSurfaces5writeEv+0xdd) [0x2b05f5b9724d] [trifid151:10892] [ 8] /usr/local/openfoam/2.1.1/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libsampling.so(_ZN4Foam26OutputFilterFunctionObjectINS_15sampledSurfacesEE7executeEb+0x87) [0x2b05f5ba2137] [trifid151:10892] [ 9] /usr/local/openfoam/2.1.1/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam18functionObjectList7executeEb+0x59) [0x2b05e5d47b79] [trifid151:10892] [10] /usr/local/openfoam/2.1.1/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam4Time3runEv+0xa1) [0x2b05e5d4d681] [trifid151:10892] [11] /usr/local/openfoam/2.1.1/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam4Time4loopEv+0x1a) [0x2b05e5d4d6da] [trifid151:10892] [12] icoFoam() [0x44b94c] [trifid151:10892] [13] /lib64/libc.so.6(__libc_start_main+0xfd) [0x33e881ecdd] [trifid151:10892] [14] icoFoam() [0x41e3c5] [trifid151:10892] *** End of error message *** |
|
August 16, 2013, 02:29 |
|
#2 |
New Member
Martin Goddard
Join Date: Mar 2013
Location: Melbourne, AU
Posts: 22
Rep Power: 13 |
It appears the error doesn't occur when running in serial mode, although that's impractical when dealing with a mesh of this size...
|
|
August 16, 2013, 08:08 |
|
#3 |
Senior Member
Eelco van Vliet
Join Date: Mar 2009
Location: The Netherlands
Posts: 124
Rep Power: 19 |
You could try to slightly displace you sample plane, perhaps it is at the boundary interface between the processors...
|
|
September 19, 2013, 07:39 |
|
#4 |
New Member
Martin Goddard
Join Date: Mar 2013
Location: Melbourne, AU
Posts: 22
Rep Power: 13 |
Hello,
Thanks for your reply. It looks like that was the issue. Running the sample at 0.00001 instead of 0 works. Cheers, McFly |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
cfx solver crash when writing results | siden | CFX | 1 | January 27, 2011 20:51 |
OpenFOAM 1.6.x, 1.7.0 and 1.7.x are not fully prepared to work with gcc-4.5.x | wyldckat | OpenFOAM Bugs | 18 | October 21, 2010 06:51 |
Writing crash recovery file | Roek | CFX | 3 | April 18, 2006 10:03 |
Fatal error error writing to tmp No space left on device | maka | OpenFOAM Installation | 2 | April 3, 2006 09:48 |
OpenFOAM Training and Workshop Zagreb 2628Jan2006 | hjasak | OpenFOAM | 1 | February 2, 2006 22:07 |