CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   mergeMesh error!! (https://www.cfd-online.com/Forums/openfoam-pre-processing/127565-mergemesh-error.html)

kiddmax December 14, 2013 08:41

mergeMesh error!!
 
Dear foamers

I have two separate domains which are to be merged together. But the errors shows below:

Code:

Master:      "kklomega_Ogrid_chord100_402x141x2"  region region0             
mesh to add: "kklomega_Ogrid_chord100_402x141x2_tunnel"  region region0       

Create Times
Reading master mesh for time = 0
Create mesh                   

Reading mesh to add for time = 0
Create mesh                   

Writing combined mesh to 1
patch names:             
9                       
(                       
upper                   
du                       
transition               
riso                     
interface_b             
inlet                   
outlet                   
tunnel_wall             
interface_t             
)                       

patch types:
9           
(           
wall       
wall       
wall       
wall       
patch       
patch       
patch       
wall       
patch       
)           

point zone names:
0
(
)

face zone names:
2
(
int_FLUID_BLADE
int_FLUID_T
)

cell zone names:
2
(
fluid_b
fluid_t
)

Copying old patches
Adding new patches.


--> FOAM FATAL ERROR:
Illegal zoneID 1 for face 1622524

    From function resetZones(const polyMesh&, polyMesh&, labelListList&labelListList&, labelListList&)
    in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 1651.

FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&) in "/opt/apps/openfoam-2.1.0/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1  Foam::error::abort() in "/opt/apps/openfoam-2.1.0/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2  Foam::polyTopoChange::resetZones(Foam::polyMesh const&, Foam::polyMesh&, Foam::List<Foam::List<int> >&, Foam::List<Foam::List<int> >&, Foam::List<Foam::List<int> >&) const in "/opt/apps/openfoam-2.1.0/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libdynamicMesh.so"
#3  Foam::polyTopoChange::changeMesh(Foam::polyMesh&, bool, bool, bool, bool) in "/opt/apps/openfoam-2.1.0/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libdynamicMesh.so"
#4
 in "/opt/apps/openfoam-2.1.0/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/mergeMeshes"
#5
 in "/opt/apps/openfoam-2.1.0/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/mergeMeshes"
#6  __libc_start_main in "/lib64/libc.so.6"
#7
 at /usr/src/packages/BUILD/glibc-2.11.1/csu/../sysdeps/x86_64/elf/start.S:116

I am using OF2.1.0. Do you have some ideas to solve this problem? Thanks a lot!

Best regards,
Ye

Phizz82 December 16, 2013 06:15

Hi Ye.

I'm not entirely sure of the problem but the error message seems to be looking for a zone 1 but further up in the code this doesn't seem to have been defined (I can see zone 0 and zone 2 defined). Does this help?


All times are GMT -4. The time now is 05:11.