CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Meshing & Mesh Conversion (
-   -   Creating large meshes (>10,000,00) in parallel (

fontania April 16, 2012 13:01

Creating large meshes (>10,000,00) in parallel
Fellow members and users of OpenFOAM,

I am having problems creating large meshes (greater than 10,000,000) elements. No surprise I am running out of memory on a single computer. I am looking to create a mesh up to 100,000,000 elements. The domain is simply a unit 1x1x1 cube. Does anyone have a tested procedure for parallel discretization or refinement?

Thanks in advance!

lovecraft22 April 16, 2012 14:26

How can your domain be a 1x1x1 cube?
Have you tried with decomposePar and then running sHM in parallel with mpirun?

fontania April 16, 2012 15:04

1x1x1 cube: I am doing a scaling analysis on a cluster to understand how many processors to run different problem sizes. My base case is the incompressible/icoFOAM/cavity tutorial.

The problem I will eventually be solving is airflow within a large building. After the scaling analysis do I...

1. Create a STL file of the domain
2. Use blockMesh for a basic overlapped representation.
3. Use decomposePar to decompose the initial mesh to the number of processors I plan on running the simulation
4. Use snappyHexMesh in parallel to create the actual domain discretization.

Thanks for the quick reply.

lovecraft22 April 16, 2012 15:29

Sorry, I'm missing the point then… The question is…?

wyldckat April 16, 2012 16:14

Quick answer: see the tutorial "./incompressible/simpleFoam/turbineSiting"

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