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/)
-   -   different between serial and parallel running in reading pointzone (https://www.cfd-online.com/Forums/openfoam-solving/235954-different-between-serial-parallel-running-reading-pointzone.html)

Hgholami May 7, 2021 03:15

different between serial and parallel running in reading pointzone
 
Dear foamer
I have problem with parallel simulation of new cases.

I have a pointZone as movingPointsZone that read by this code in a solver
Quote:

const pointZone& pz = fvMesh_.pointZones()[movingPointsZone_];
Info <<pz<<endl;
when I run serial, the output is same as pointZone in polyMesh/pointZone.
when I decompose mesh and run parallel, the output is very deference.

for example
in serial
Quote:

movingPoints

82464
(
131072
131073
131074
131075
131076
....
);

in parallel
Quote:

movingPoints

6272
(
23002
23003
23004
23005
23006
23007
23008
...
}
if I change decompose method
Quote:

movingPoints

6272
(
15918
15919
15920
...
}
in parallel running, the ids is all deference from pointZone, why?
Thanks


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