Snappy in parallel mode
Hi everybody
i am new to OpenFOAM and snappyHexMesh. I need to create a mesh with a lot of cells (arround 8 Mio.) so I thought it would be usefull to use more than one cpu. I tried to generate the mesh with the help of several cpu in OpenFOAM 1.6.x. Everything went fine so far after: -blockMesh -decomposePar -mpirun -n 4 snappyHexMesh -parallel -reconstructParMesh (after I added master time 1 to the controlDict) If I open the mesh now in paraFoam I just can see the 'first mesh'. That means the surface is not smooth it's square cut (?). Does anybody know if the step with the 'master time' was right (after that it finished reconstructing the first time!)? Maybe there is another mistake I made. I really hope that someone can help me! Thanks a lot! Jakob |
Hello Jakob,
I don't know what these 'master time' is you're about. Maybe there is another thing, I have to learn ;-) After a parallel run of snappyHexMesh in each processor folder are the the folders for the 'time steps' 1 + 2 + 3 (if add layers had been set in snappyHexMeshDict). For the smooth surface you need the second time step. Normaly reconstructPar - without any parameter - will reconstruct each time step in the processor folders. You should try reconstructPar -time 2 (or '-time 3' or '-latestTime') if you have problems, try this one: reconstructParMesh -mergeTol 1e-03 -latestTime Hope, that helps! Good night and greetings, Axel |
Hi Axel
thanks a lot it works!!! You really made my day! best greetings Jakob |
If i use reconstructPar without any parameters, it tells me that there is no times selected. If i run reconstructParMesh -mergeTol 1e-06 it tells me there is no mesh
Code:
Merge tolerance : 1e-06 Code:
├── processor7 |
Code:
reconstructParMesh -mergeTol 1e-6 -constant Code:
mpirun -np x snappyHeMesh -parallel -overwrite |
you solved my problem
|
All times are GMT -4. The time now is 11:03. |