buoyantPimpleFoam ended prematurely and may have crashed. exit code 3

A subforum specific to the development of the OpenFoam-based workbenches ( Cfd https://github.com/qingfengxia/Cfd and CfdOF https://github.com/jaheyns/CfdOF )

Moderator: oliveroxtoby

Post Reply
Budahn
Posts: 15
Joined: Fri Jul 01, 2022 9:56 pm

buoyantPimpleFoam ended prematurely and may have crashed. exit code 3

Post by Budahn »

I´m trying to run this simple simulation in LES kEqn model but i dont know why it just crashes at 0.2-0.6 seconds. I tried changing the velocity of the inlets but nothing works.

Code: Select all

17:01:38  
job aborted:
[ranks] message

[0-2] terminated

[3] process exited without calling finalize

[4-5] terminated

---- error analysis -----

[3] on DESKTOP-9LB0K9U
C:/Program Files/ESI-OpenCFD/OpenFOAM/v2012/msys64/home/ofuser/OpenFOAM/OpenFOAM-v2012/platforms/win64MingwDPInt32Opt/bin/buoyantPimpleFoam ended prematurely and may have crashed. exit code 3

---- error analysis -----
17:01:38  
Attachments
Simple Simulation.FCStd
(60.5 KiB) Downloaded 51 times
ReneSci
Posts: 23
Joined: Thu Aug 18, 2022 4:30 pm

Re: buoyantPimpleFoam ended prematurely and may have crashed. exit code 3

Post by ReneSci »

It seems like something is happening at the output ?
2022-09-06 09_40_07-ParaView 5.10.1.png
2022-09-06 09_40_07-ParaView 5.10.1.png (252.79 KiB) Viewed 1333 times
I am also struggling a lot with "exit code 3" in my models.
I am trying to find ways to figure out the reasons for "exit code 3"

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.1.29410 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: f5d13554ecc7a456fb6e970568ae5c74ba727563
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: Danish/Denmark (da_DK)
Installed mods: 
  * A2plus 0.4.58
  * ArchTextures
  * Assembly4 0.12.3
  * CfdOF 1.17.9
  * Defeaturing
  * Dracula 0.0.2
  * ExtremeProDark 1.0.4
  * IconThemes
  * lattice2 1.0.0
  * Manipulator 1.4.9
  * MeshRemodel 1.8919.0
  * parts_library
  * Plot 2022.4.17
  * sheetmetal 0.2.56
  * workfeature
Budahn
Posts: 15
Joined: Fri Jul 01, 2022 9:56 pm

Re: buoyantPimpleFoam ended prematurely and may have crashed. exit code 3

Post by Budahn »

ReneSci wrote: Tue Sep 06, 2022 7:45 am It seems like something is happening at the output ?

2022-09-06 09_40_07-ParaView 5.10.1.png

I am also struggling a lot with "exit code 3" in my models.
I am trying to find ways to figure out the reasons for "exit code 3"

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.1.29410 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: f5d13554ecc7a456fb6e970568ae5c74ba727563
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: Danish/Denmark (da_DK)
Installed mods: 
  * A2plus 0.4.58
  * ArchTextures
  * Assembly4 0.12.3
  * CfdOF 1.17.9
  * Defeaturing
  * Dracula 0.0.2
  * ExtremeProDark 1.0.4
  * IconThemes
  * lattice2 1.0.0
  * Manipulator 1.4.9
  * MeshRemodel 1.8919.0
  * parts_library
  * Plot 2022.4.17
  * sheetmetal 0.2.56
  * workfeature
Its weird because when you run the same simulations in RANS everything goes right, i think the problem is with LES and DES turbulence models.
thschrader
Veteran
Posts: 3157
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: buoyantPimpleFoam ended prematurely and may have crashed. exit code 3

Post by thschrader »

Budahn wrote: Tue Sep 06, 2022 9:57 pm Its weird because when you run the same simulations in RANS everything goes right, i think the problem is with LES and DES turbulence models.
Yes, RANS/k-omega turbulence seems a better approach.
I have no experience with buoyantPimpleFoam/LES, but as far as I understand LES,
you need a much finer mesh to resolve the eddies.
See https://www.youtube.com/watch?v=r5vP45_6fB4 as a start.

I wonder why you use buoyantPimpleFoam for your simulation. The effect of buoyancy is nearly zero.
Why is your g-vector pointing in -y direction?

My sim is done with a 2D-approach. If you are interested in simulating some basic phenomena,
you should start with 2D. Sim runs much faster, you can play with the mesh and the boundaries and s.o.
in a much shorter time. Disadvantage: 2D is not appropriate for LES, according to
https://www.openfoam.com/documentation/ ... e-les.html

However, have a nice weekend.
Regards Thomas

Meshing needs 1 min, running full 30 sec sim needs approx 20 min.
Simple_Simulation_ts_2D_kOmega.FCStd
(69.78 KiB) Downloaded 44 times
cooler.JPG
cooler.JPG (64.06 KiB) Viewed 1155 times
Post Reply