CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [snappyHexMesh] snappyHexMesh - parallel processing problems (https://www.cfd-online.com/Forums/openfoam-meshing/130826-snappyhexmesh-parallel-processing-problems.html)

oldirtybrindley March 4, 2014 23:55

snappyHexMesh - parallel processing problems
 
When I run snappy regularly everything is fine. As soon as I use decomposePar, the resulting mesh is the same as that of blockMesh. Is this a simple fix?

Lieven March 5, 2014 04:52

You first need to copy the mesh in the last time directory created by snappy to the constant/polyMesh folder. Or alternatively run snappy with the '-overwrite' option.

Cheers,

L

oldirtybrindley March 5, 2014 09:35

after running reconstructPar -latestTime, no new folders are being made? All I have is 8 processor folders and the 0, constant, and systems folder. I feel like a new time folder should be created correct?

Ruli March 5, 2014 09:49

Dear B,
if you use -overwrite, no new folders (1,2,3) are created. Instead 0 is overwritten.

Best regards
Julian

oldirtybrindley March 5, 2014 09:56

when I run snappy with -overwrite I cannot get recontructPar to work?

oldirtybrindley March 5, 2014 10:21

blockMesh
decontructPar -force
foamJob -parallel -screen snappyHexMesh -overwrite
reconstructPar -zeroTime ---> gives error: Size of maps does not correspont to size of mesh for processor 0
reconstructPar -latestTime ---> gives error: No times selected

when I run without overwrite, two new times folders are created within each processor (one for mesh, one for snap), but reconstructPar does not create new times folders in the directory.

when I run with overwrite, no new times folders are created within each processor, and I cannot use reconstructPar.

again, if I just use snappyHexMesh, everything works out perfectly. Could this have to do with the way decomposePar is splitting up the mesh? the piece I am adding is not evenly distributed.

Ruli March 5, 2014 10:38

Try

Code:

reconstructParMesh -noZero -constant -mergeTol 1e-6
This works for me with snappy in parallel.

Best regards
Julian

oldirtybrindley March 5, 2014 10:57

RULI you're the best! Worked like a charm.


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