HenningScheufler / multiDimAMR

dynamic meshing with load balancing for hexahedral meshes in 3D and 2D
45 stars 24 forks source link

reconstructPar #5

Open winsway opened 2 years ago

winsway commented 2 years ago

After i run it. i use reconstructParMesh. it can work. But i run reconstructPar. There are some problems.

--> FOAM Warning : 
    From function virtual Foam::polyMesh::readUpdateState Foam::polyMesh::readUpdate()
    in file meshes/polyMesh/polyMeshIO.C at line 217
    Number of patches has changed.  This may have unexpected consequences.  Proceed with care.
--> FOAM Warning : 
    From function virtual Foam::polyMesh::readUpdateState Foam::polyMesh::readUpdate()
    in file meshes/polyMesh/polyMeshIO.C at line 217
    Number of patches has changed.  This may have unexpected consequences.  Proceed with care.

--> FOAM FATAL ERROR: 
Processor 2 has a different polyMesh at time 0.01 compared to any previous processors.
Please check time 0.01 directories on all processors for consistent mesh files.

    From function Foam::polyMesh::readUpdateState Foam::processorMeshes::readUpdate()
    in file processorMeshes.C at line 193.

FOAM exiting
albertoceschin commented 2 years ago

mmm it is working well for me, v2112. Can you post more details?

winsway commented 2 years ago

Hi, I sorry. My laptop broken. I lost the cases. I think it is OpenFoam problem. I use the cyclicAMI boundary condition. I meet the same problem when I use scotch to decomposit geometery.

2022ZM commented 7 months ago

mmm it is working well for me, v2112. Can you post more details?

which branch do you haven used? master or v2012? i also have reconstructPar problems

2022ZM commented 7 months ago

mmm it is working well for me, v2112. Can you post more details?

this problem will happen when you set enableBalancing is true,when you set enableBalancing is false it can reconstructpar success.

2022ZM commented 7 months ago

Hi, I sorry. My laptop broken. I lost the cases. I think it is OpenFoam problem. I use the cyclicAMI boundary condition. I meet the same problem when I use scotch to decomposit geometery.

After i run it. i use reconstructParMesh. it can work. But i run reconstructPar. There are some problems.

--> FOAM Warning : 
    From function virtual Foam::polyMesh::readUpdateState Foam::polyMesh::readUpdate()
    in file meshes/polyMesh/polyMeshIO.C at line 217
    Number of patches has changed.  This may have unexpected consequences.  Proceed with care.
--> FOAM Warning : 
    From function virtual Foam::polyMesh::readUpdateState Foam::polyMesh::readUpdate()
    in file meshes/polyMesh/polyMeshIO.C at line 217
    Number of patches has changed.  This may have unexpected consequences.  Proceed with care.

--> FOAM FATAL ERROR: 
Processor 2 has a different polyMesh at time 0.01 compared to any previous processors.
Please check time 0.01 directories on all processors for consistent mesh files.

    From function Foam::polyMesh::readUpdateState Foam::processorMeshes::readUpdate()
    in file processorMeshes.C at line 193.

FOAM exiting

Have you solved it?

MitchellWhiting commented 7 months ago

I am also running into issues with the reconstructPar function for v2106. After attempting the capillaryRiseAxi case I find the error: cannot find file .../TwoPhaseFlow/modules/multiDimAMR/tutorials/capillaryRiseAxi/processor0/0.01/polyMesh/pointProcAddressing" If I use reconstructParMesh, I can only view the mesh but not any of the fields in paraview. Should I use a different OpenFOAM version? Have I compiled for the wrong version somehow?