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

unexpectedly stopping of simulation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 19, 2024, 09:45
Default unexpectedly stopping of simulation
  #1
New Member
 
sameer
Join Date: Mar 2024
Posts: 10
Rep Power: 2
sc369 is on a distinguished road
i am running a simulation of interfoam solver it would have 30 seconds time but dont know the reason why its getting stopped at 2 seconds.


order and list of commands is included in this file


file: https://drive.google.com/file/d/190z...usp=drive_link



Error:
PIMPLE: iteration 1
smoothSolver: Solving for alpha.water, Initial residual = 1.80784e-09, Final residual = 1.80784e-09, No Iterations 0
Phase-1 volume fraction = 0.00489958 Min(alpha.water) = -0.000396251 Max(alpha.water) = 1
MULES: Correcting alpha.water
MULES: Correcting alpha.water
Phase-1 volume fraction = 0.00489958 Min(alpha.water) = -0.000396251 Max(alpha.water) = 1
[1] [stack trace]
[1] =============
[1] #1 Foam::sigFpe::sigHandler(int) in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
[1] #2 ? in /lib/x86_64-linux-gnu/libc.so.6
[1] #3 ? in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so
[1] #4 ? in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so
[1] #5 ? in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so
[1] #6 Foam::fv::gaussLaplacianScheme<Foam::Vector<double >, double>::fvmLaplacian(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&) in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so
[1] #7 ? in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so
[1] #8 ? in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so
[1] #9 ? in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so
[1] #10 ? in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/bin/interFoam
[1] #11 ? in /lib/x86_64-linux-gnu/libc.so.6
[1] #12 __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
[1] #13 ? in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/bin/interFoam
[1] =============
[sahil-Lenovo-ideapad-520-15IKB:05750] *** Process received signal ***
[sahil-Lenovo-ideapad-520-15IKB:05750] Signal: Floating point exception (8)
[sahil-Lenovo-ideapad-520-15IKB:05750] Signal code: (-6)
[sahil-Lenovo-ideapad-520-15IKB:05750] Failing at address: 0x3e800001676
[sahil-Lenovo-ideapad-520-15IKB:05750] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f5e6f442520]
[sahil-Lenovo-ideapad-520-15IKB:05750] [ 1] /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f5e6f4969fc]
[sahil-Lenovo-ideapad-520-15IKB:05750] [ 2] /lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f5e6f442476]
[sahil-Lenovo-ideapad-520-15IKB:05750] [ 3] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f5e6f442520]
[sahil-Lenovo-ideapad-520-15IKB:05750] [ 4] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(+0x49cd20)[0x7f5e71a9cd20]
[sahil-Lenovo-ideapad-520-15IKB:05750] [ 5] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(+0xb31a90)[0x7f5e72131a90]
[sahil-Lenovo-ideapad-520-15IKB:05750] [ 6] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(+0xb7adc6)[0x7f5e7217adc6]
[sahil-Lenovo-ideapad-520-15IKB:05750] [ 7] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam2fv20gaussLaplacianSche meINS_6VectorIdEEdE12fvmLaplacianERKNS_14Geometric FieldIdNS_13fvsPatchFieldENS_11surfaceMeshEEERKNS5 _IS3_NS_12fvPatchFieldENS_7volMeshEEE+0x227)[0x7f5e7217b127]
[sahil-Lenovo-ideapad-520-15IKB:05750] [ 8] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(+0xb81f65)[0x7f5e72181f65]
[sahil-Lenovo-ideapad-520-15IKB:05750] [ 9] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so(+0x1101db)[0x7f5e707a81db]
[sahil-Lenovo-ideapad-520-15IKB:05750] [10] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so(+0xb87ec)[0x7f5e707507ec]
[sahil-Lenovo-ideapad-520-15IKB:05750] [11] interFoam(+0x304b0)[0x558fc2e324b0]
[sahil-Lenovo-ideapad-520-15IKB:05750] [12] /lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f5e6f429d90]
[sahil-Lenovo-ideapad-520-15IKB:05750] [13] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f5e6f429e40]
[sahil-Lenovo-ideapad-520-15IKB:05750] [14] interFoam(+0x3f255)[0x558fc2e41255]
[sahil-Lenovo-ideapad-520-15IKB:05750] *** End of error message ***
--------------------------------------------------------------------------
Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun noticed that process rank 1 with PID 0 on node sahil-Lenovo-ideapad-520-15IKB exited on signal 8 (Floating point exception).






please let me know how to correct it i ran similar program (only cad files are changed) Earlier that ran smoothly
Attached Images
File Type: jpg Screenshot from 2024-03-19 19-12-11.jpg (83.0 KB, 5 views)
sc369 is offline   Reply With Quote

Old   March 19, 2024, 11:12
Default
  #2
Member
 
Ching Liu
Join Date: Sep 2017
Posts: 52
Rep Power: 9
qingqingliu is on a distinguished road
Quote:
Originally Posted by sc369 View Post
i am running a simulation of interfoam solver it would have 30 seconds time but dont know the reason why its getting stopped at 2 seconds.


order and list of commands is included in this file


file: https://drive.google.com/file/d/190z...usp=drive_link



Error:
PIMPLE: iteration 1
smoothSolver: Solving for alpha.water, Initial residual = 1.80784e-09, Final residual = 1.80784e-09, No Iterations 0
Phase-1 volume fraction = 0.00489958 Min(alpha.water) = -0.000396251 Max(alpha.water) = 1
MULES: Correcting alpha.water
MULES: Correcting alpha.water
Phase-1 volume fraction = 0.00489958 Min(alpha.water) = -0.000396251 Max(alpha.water) = 1
[1] [stack trace]
[1] =============
[1] #1 Foam::sigFpe::sigHandler(int) in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
[1] #2 ? in /lib/x86_64-linux-gnu/libc.so.6
[1] #3 ? in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so
[1] #4 ? in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so
[1] #5 ? in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so
[1] #6 Foam::fv::gaussLaplacianScheme<Foam::Vector<double >, double>::fvmLaplacian(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&) in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so
[1] #7 ? in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so
[1] #8 ? in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so
[1] #9 ? in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so
[1] #10 ? in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/bin/interFoam
[1] #11 ? in /lib/x86_64-linux-gnu/libc.so.6
[1] #12 __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
[1] #13 ? in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/bin/interFoam
[1] =============
[sahil-Lenovo-ideapad-520-15IKB:05750] *** Process received signal ***
[sahil-Lenovo-ideapad-520-15IKB:05750] Signal: Floating point exception (8)
[sahil-Lenovo-ideapad-520-15IKB:05750] Signal code: (-6)
[sahil-Lenovo-ideapad-520-15IKB:05750] Failing at address: 0x3e800001676
[sahil-Lenovo-ideapad-520-15IKB:05750] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f5e6f442520]
[sahil-Lenovo-ideapad-520-15IKB:05750] [ 1] /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f5e6f4969fc]
[sahil-Lenovo-ideapad-520-15IKB:05750] [ 2] /lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f5e6f442476]
[sahil-Lenovo-ideapad-520-15IKB:05750] [ 3] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f5e6f442520]
[sahil-Lenovo-ideapad-520-15IKB:05750] [ 4] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(+0x49cd20)[0x7f5e71a9cd20]
[sahil-Lenovo-ideapad-520-15IKB:05750] [ 5] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(+0xb31a90)[0x7f5e72131a90]
[sahil-Lenovo-ideapad-520-15IKB:05750] [ 6] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(+0xb7adc6)[0x7f5e7217adc6]
[sahil-Lenovo-ideapad-520-15IKB:05750] [ 7] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam2fv20gaussLaplacianSche meINS_6VectorIdEEdE12fvmLaplacianERKNS_14Geometric FieldIdNS_13fvsPatchFieldENS_11surfaceMeshEEERKNS5 _IS3_NS_12fvPatchFieldENS_7volMeshEEE+0x227)[0x7f5e7217b127]
[sahil-Lenovo-ideapad-520-15IKB:05750] [ 8] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(+0xb81f65)[0x7f5e72181f65]
[sahil-Lenovo-ideapad-520-15IKB:05750] [ 9] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so(+0x1101db)[0x7f5e707a81db]
[sahil-Lenovo-ideapad-520-15IKB:05750] [10] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so(+0xb87ec)[0x7f5e707507ec]
[sahil-Lenovo-ideapad-520-15IKB:05750] [11] interFoam(+0x304b0)[0x558fc2e324b0]
[sahil-Lenovo-ideapad-520-15IKB:05750] [12] /lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f5e6f429d90]
[sahil-Lenovo-ideapad-520-15IKB:05750] [13] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f5e6f429e40]
[sahil-Lenovo-ideapad-520-15IKB:05750] [14] interFoam(+0x3f255)[0x558fc2e41255]
[sahil-Lenovo-ideapad-520-15IKB:05750] *** End of error message ***
--------------------------------------------------------------------------
Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun noticed that process rank 1 with PID 0 on node sahil-Lenovo-ideapad-520-15IKB exited on signal 8 (Floating point exception).






please let me know how to correct it i ran similar program (only cad files are changed) Earlier that ran smoothly
It seems that your simulation was crashed. Can you show the solutions just before it stopped?
qingqingliu is offline   Reply With Quote

Old   March 19, 2024, 11:47
Default
  #3
Member
 
Shravan
Join Date: Mar 2017
Posts: 75
Rep Power: 9
Severus is on a distinguished road
Hello,
You seem to have a floating point exception error. So you divide by zero somewhere when the solver runs. The first step would be to check your case properly and also boundary conditions.

Thanks
Severus is offline   Reply With Quote

Old   March 20, 2024, 02:15
Default
  #4
New Member
 
sameer
Join Date: Mar 2024
Posts: 10
Rep Power: 2
sc369 is on a distinguished road
Quote:
Originally Posted by Severus View Post
Hello,
You seem to have a floating point exception error. So you divide by zero somewhere when the solver runs. The first step would be to check your case properly and also boundary conditions.

Thanks
i tried but am unable to solve it can u help i did shared my case link
sc369 is offline   Reply With Quote

Old   March 20, 2024, 02:22
Default
  #5
New Member
 
sameer
Join Date: Mar 2024
Posts: 10
Rep Power: 2
sc369 is on a distinguished road
Quote:
Originally Posted by qingqingliu View Post
It seems that your simulation was crashed. Can you show the solutions just before it stopped?
https://drive.google.com/drive/folde...98?usp=sharing


here you can see the last files generated


please guide further
sc369 is offline   Reply With Quote

Old   March 24, 2024, 14:52
Default
  #6
Member
 
Shravan
Join Date: Mar 2017
Posts: 75
Rep Power: 9
Severus is on a distinguished road
Hello,
I do not have a straight answer as to why your case crashes.

However, after having taken look at your case, I can suggest the following
1) Decrease the maximum Courant number to 0.5 (even 0.1 to just check)
2) Increase number of outercorr to 3 and check (increase further if needed)
3) Increase number of nAlphaSubCycles
4) If none of the above work, then try to lower your inlet velocity and then see if the crash happens. If it crashes, try steps 1-3 for the low velocity case. If it doesn't crash for low velocity cases then we can try to suggest some modifications in fvSchemes which can be the problem for this issue.

I don't know what exact problem you are simulating, but be careful with the outlet, try to keep it far away from regions of high gradients if possible.
I see that you use inletOutlet or pressureInletOutletVelocity at outlet which is good.

Try to visualize the flow field in Paraview just before it crashes. Then check if there is something weird (anything non-physical) going on.
I would suspect the pressure/velocity field, as your solver crashed after computing phase fractions and before the pressure equation.

Thanks
Severus is offline   Reply With Quote

Reply


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
The reason for stopping the simulation? sajad.mojatahedi FLOW-3D 7 March 13, 2024 02:46
Question on steady and unsteady simulation Stargazer Main CFD Forum 33 December 19, 2023 02:45
Using results from simulation A in simulation B Hafssa FLUENT 2 October 9, 2022 04:19
Auto stopping a transient simulation PulpCairns FLUENT 2 December 10, 2017 21:49
Surface Source - Fixed Temperature? robtheslob FloEFD, FloWorks & FloTHERM 18 May 12, 2017 03:28


All times are GMT -4. The time now is 09:20.