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] setFields does not work after running snappyHexMesh parallely (https://www.cfd-online.com/Forums/openfoam-meshing/234279-setfields-does-not-work-after-running-snappyhexmesh-parallely.html)

vava10 March 1, 2021 16:10

setFields does not work after running snappyHexMesh parallely
 
Hey everyone,

my work flow is as follows
Code:

1. surfaceFeatureExtract
2. blockMesh
3. topoSet1
4. refineMesh
5. topoSet2
6. refineMesh
7. topoSet3
8.  refineMesh
9. decomposePar
10. mpirun -np 4 snappyHexMesh -parallel
11. reconstructParMesh
12. setFields

this workflow did not give me any error in the terminal

after this when I try to view the setField results I was unable to visualize the result. I have been trying to resolve this for a week. recently I tried to run the snappyHexMesh without using parallel (just using 1 processor). Then I tried to visualize the result and I was able to visulaize it.:confused:

I tried parallel running using the info got from this link : https://www.openfoam.com/releases/op...+/parallel.php

it also did not help

openFoam version - v2012

from all this I came to conclusion there is something wrong with the parallel running portion of the work flow.
So I tried few of the suggestion from different error posted in the form regarding parallel run. But still I was unable to fix it:confused:

CAn some one PLEASE help me :(
if you need further information regarding the case set up please feel free to ask

Kind regards
vava10

vava10 March 1, 2021 19:12

>decomposePar
>mpirun -np 4 snappyHexMesh -parallel -overwrite
>reconstructParMesh –constant

this worked for now for this issue


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