CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

OpenFoam snappyHexMesh killed

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By AtoHM

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 25, 2023, 06:37
Default OpenFoam snappyHexMesh killed
  #1
New Member
 
A. Alminnawi
Join Date: Jul 2023
Posts: 9
Rep Power: 3
Alminnawi is on a distinguished road
Hi,

I am creating stl models from CT scans then running CFD simulations on them.

I split the mesh into sections per CPU "decomposePar" then I run the analysis using "mpirun -np 8 snappyHexMesh -overwrite -parallel"

at one point it gives me the following issue and I am not sure if it is related to memory or an actual problem and I would appreciate your input:

Surface refinement iteration 1
------------------------------

Marked for refinement due to surface intersection : 737438 cells.
Determined cells to refine in = 0.9 s
Selected for refinement : 805539 cells (out of 1806561)
Edge intersection testing:
Number of edges : 24387267
Number of edges to retest : 23405550
--------------------------------------------------------------------------
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 0 with PID 0 on node MED81341 exited on signal 9 (Killed).


thanks you
Alminnawi is offline   Reply With Quote

Old   October 27, 2023, 09:20
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,764
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Nothing you write makes sense.


snappyHexMesh is the meshing utility, not the analysis.
LuckyTran is offline   Reply With Quote

Old   October 30, 2023, 06:37
Default
  #3
New Member
 
A. Alminnawi
Join Date: Jul 2023
Posts: 9
Rep Power: 3
Alminnawi is on a distinguished road
I write a bash code for the entire thing, the analysis is preceded by meshing using snappyHexMesh, and since the issue occurred at snappyHexMesh level, I mentioned it specifically. I guess that confused you so much so maybe this is better for you to understand:

Before running the analysis I used "mpirun -np 8 snappyHexMesh -overwrite -parallel" to mesh it
Alminnawi is offline   Reply With Quote

Old   October 30, 2023, 08:33
Default
  #4
Senior Member
 
M
Join Date: Dec 2017
Posts: 703
Rep Power: 13
AtoHM is on a distinguished road
Lucky knows very well what you meant, I think between the lines he/she is telling you, that this is very little information to go with.


If you suspect it to be a memory issue, why don't you run again and monitor your memory load? If it is anything else, there is very little information to make an educated guess. It could be a lot of things ...
Alminnawi likes this.
AtoHM is offline   Reply With Quote

Old   October 30, 2023, 09:26
Default
  #5
New Member
 
A. Alminnawi
Join Date: Jul 2023
Posts: 9
Rep Power: 3
Alminnawi is on a distinguished road
it was indeed a memory issue. I reduced the stl file and then it worked fine.
thank you.
Alminnawi 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
OPENFOAM - SnappyHexMesh - Internal Mesh is empty after SHM Adityasanu OpenFOAM Running, Solving & CFD 0 April 17, 2021 06:35
[OpenFOAM.com] Openfoam solvers and snappyHexMesh stopped working in parallel after update KTG OpenFOAM Installation 9 February 14, 2021 03:14
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology wyldckat OpenFOAM 17 November 10, 2017 16:54
[snappyHexMesh] OpenFoam FATAL ERROR SnappyHexMesh search lines never written enginpower OpenFOAM Meshing & Mesh Conversion 8 December 30, 2016 09:19
[snappyHexMesh] snappyHexMesh "killed" Bob OpenFOAM Meshing & Mesh Conversion 4 December 1, 2011 17:48


All times are GMT -4. The time now is 02:38.