CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Floating point exception in pimpleDyMFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 20, 2017, 11:32
Default Floating point exception in pimpleDyMFoam
  #1
New Member
 
Join Date: Nov 2017
Posts: 1
Rep Power: 0
kirik is on a distinguished road
Hello.

I have been trying to adapt OpenFOAM Train tutorial to the problem of train passing through the tunnel. I have decided to start by changing the mesh so that train starts outside the tunnel, then i started adding dynamic motion to it. As it was easier, i decided to start without train and move the whole tunnel. That run was successful, but adding the train to the mesh gives the following error:

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Selecting dynamicFvMesh dynamicMotionSolverFvMesh
Selecting motion solver: velocityComponentLaplacian
Selecting motion diffusion: directional

PIMPLE: no residual control data found. Calculations will employ 2 corrector loops

Reading field p

Reading field U

Reading/calculating face flux field phi

[3] #0 Foam::error::printStack(Foam::Ostream&) at ??:?
[3] #1 Foam::sigFpe::sigHandler(int) at ??:?
[3] #2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
[3] #3 Foam::surfaceInterpolation::makeWeights() const at ??:?
[3] #4 Foam::surfaceInterpolation::weights() const at ??:?
[3] #5 Foam::surfaceInterpolationScheme<Foam::Vector<doub le> >::dotInterpolate(Foam::GeometricField<Foam::Vecto r<double>, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&) const at ??:?
[3] #6 Foam::fvc::flux(Foam::GeometricField<Foam::Vector< double>, Foam::fvPatchField, Foam::volMesh> const&) at ??:?
[3] #7 ? at ??:?
[3] #8 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
[3] #9 ? at ??:?
[gpu-server:10734] *** Process received signal ***
[gpu-server:10734] Signal: Floating point exception (8)
[gpu-server:10734] Signal code: (-6)
[gpu-server:10734] Failing at address: 0x3e9000029ee
[gpu-server:10734] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x354b0)[0x7f4468d7b4b0]
[gpu-server:10734] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7f4468d7b428]
[gpu-server:10734] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x354b0)[0x7f4468d7b4b0]
[gpu-server:10734] [ 3] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZNK4Foam20surfaceInterpolation 11makeWeightsEv+0x264)[0x7f446cfa46d4]
[gpu-server:10734] [ 4] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZNK4Foam20surfaceInterpolation 7weightsEv+0x19)[0x7f446cfa48c9]
[gpu-server:10734] [ 5] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZNK4Foam26surfaceInterpolation SchemeINS_6VectorIdEEE14dotInterpolateERKNS_14Geom etricFieldIS2_NS_13fvsPatchFieldENS_11surfaceMeshE EERKNS4_IS2_NS_12fvPatchFieldENS_7volMeshEEE+0x64)[0x7f446cfb2dd4]
[gpu-server:10734] [ 6] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam3fvc4fluxERKNS_14Geomet ricFieldINS_6VectorIdEENS_12fvPatchFieldENS_7volMe shEEE+0x124)[0x7f446d3f29e4]
[gpu-server:10734] [ 7] pimpleDyMFoam[0x4269a4]
[gpu-server:10734] [ 8] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f4468d66830]
[gpu-server:10734] [ 9] pimpleDyMFoam[0x42ac49]
[gpu-server:10734] *** End of error message ***


As far as I understand, this is caused by incorrect boundary conditions on train faces, but i'm not sure. Running simpleFoam instead did not help.


Code in github.
Screenshot from paraview.
kirik is offline   Reply With Quote

Old   February 14, 2018, 23:35
Default
  #2
Member
 
Join Date: Jan 2018
Location: Malaysia
Posts: 58
Rep Power: 8
jiahui_93 is on a distinguished road
hi, i'm simulating a component moving a channel and facing the same problem too. May i know if you hav found out the causes and solution? I will be grateful if you dont mind to share here =) thanks
jiahui_93 is offline   Reply With Quote

Reply

Tags
pimpledymfoam dynamic


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
icoFoam floating point exception (8) leizhao512 OpenFOAM Running, Solving & CFD 7 November 1, 2018 11:43
Floating point exception with pimpleDyMFoam ebah6 OpenFOAM Running, Solving & CFD 9 November 1, 2017 05:58
A floating point exception - SEM Model yansheng STAR-CCM+ 1 April 4, 2016 04:57
Floating point exception from twoPhaseEulerFoam openfoammaofnepo OpenFOAM Running, Solving & CFD 1 March 19, 2016 13:56
floating point exception with pimpleDyMFoam Elena89 OpenFOAM Running, Solving & CFD 1 March 13, 2016 08:51


All times are GMT -4. The time now is 01:51.