CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Running parallel case after parallel meshing with snappyHexMesh? (https://www.cfd-online.com/Forums/openfoam-solving/158666-running-parallel-case-after-parallel-meshing-snappyhexmesh.html)

Adam Persson August 31, 2015 22:04

Running parallel case after parallel meshing with snappyHexMesh?
 
Hi,

I am working on simulating steady state resistance for ship hydrodynamics, using LTSInterFoam, and meshing with snappyHexMesh. In order to speed up the meshing process and use resources to capacity, I am meshing in parallel, which works fine, until I try to run.

My exact process is:
  1. Background mesh with blockMesh
  2. Refine isotropically and anisotropically with refineMesh and topoSet
  3. Decompose domain with decomposePar (incl. 0 and constant directories)
  4. Run snappyHexMesh in parallel (works excellent)
  5. Run setFields in parallel mode to set alpha.water (VOF-fraction)
  6. Run renumberMesh in parallel mode to reduce bandwith usage
  7. Try to run LTSInterFoam in parallel. Here it fails...

When I try to run the solver, it fails with a multitude of errors, complaining that it cant find faces, that mesh sizes are not the same etc.

However, I tried to run reconstructParMesh, followed by again decomposing mesh, which worked, but led to me loosing the boundary layer refinement. Have any of you succeeded in running a parallel solver directly after parallel meshing with snappyHexMesh?
Do you have any ideas of what might be causing this?

EDIT: I figured it out. I just needed to run "patchSummary" to set the boundary conditions on the mesh after snapping and layer insertion!

Best regards,
Adam


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