|
[Sponsors] |
[snappyHexMesh] How can I reduce RAM consumption of snappyHexMesh? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 9, 2023, 03:29 |
How can I reduce RAM consumption of snappyHexMesh?
|
#1 |
Member
Song Young Ik
Join Date: Apr 2022
Location: South Korea
Posts: 59
Rep Power: 4 |
I knew that 1M cells consume about 1~2gb of RAM, according to many others' post.
But currently my snappyhexmesh creates about 5~6gb load per 1M cells. I must be able to create 300% of current cell # by that rule, but my snappyhexmesh keeps crash due to RAM shortage How can I reduce RAM consumption of mesh? Is there any factor that differs RAM consumption I can control? |
|
March 13, 2023, 05:54 |
|
#2 |
Member
Maries
Join Date: Mar 2010
Location: Coimbatore, India
Posts: 76
Rep Power: 16 |
Hi,
It also depends on the input .stl or .obj mesh size. If your input .stl contains lot of unwanted surfaces or it is very fine, that will take more memory. Once I tried to create volume mesh for the car without cleaning the interior and only by filling the gaps of cabin. It fails due to memory overload. I used aws with 512 gb instance. I didn't try that to solve again. When I try the same case with cleaned interior, it works fine Best Regards Maries |
|
March 20, 2023, 12:09 |
|
#3 |
New Member
Cristóbal
Join Date: Jan 2022
Location: Sweden
Posts: 17
Rep Power: 4 |
Hi,
As Maries suggest, your memory might be filling up due to large size of stl's for geometry surfaces. If you are meshing in parallel you could try type distributedTriSurfaceMesh; instead of type triSurfaceMesh; for your .stl or .obj surfaces. Check this link: https://www.openfoam.com/documentati...rfacemesh.html |
|
Tags |
ram, snappyhexmesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Openfoam (snappyHexMesh) only using 32MB of RAM | Geckomaniac3 | OpenFOAM | 3 | September 6, 2021 14:43 |
Over Ram Memory Consumption (Over 200GB) | uyelken | OpenFOAM Running, Solving & CFD | 5 | February 25, 2019 12:20 |
mother board and ram amount. | zero_custom | Hardware | 4 | January 4, 2016 17:27 |
[snappyHexMesh] Snappyhexmesh parallel using all RAM | snowygrouch | OpenFOAM Meshing & Mesh Conversion | 2 | May 29, 2014 17:57 |
[snappyHexMesh] snappyHexMesh taking a lot of RAM | ziad | OpenFOAM Meshing & Mesh Conversion | 19 | September 26, 2010 14:08 |