CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Mesh Utilities (http://www.cfd-online.com/Forums/openfoam-meshing-utilities/)
-   -   mergeMeshes problem (http://www.cfd-online.com/Forums/openfoam-meshing-utilities/97969-mergemeshes-problem.html)

Attesz February 29, 2012 12:26

mergeMeshes problem
 
Hi all,

I created two meshes in ICEM and exported to fluent .msh format. After that I ran the fluent3DMeshToFoam app to create the OpenFOAM mesh. Until this everything is fine, but if I want to merge the meshes using the mergeMeshes utility, the program fails. I have 3M cells in inlet region as Master and 9M cells in rotor region.

Do you have any idea for the reason? Thanks in advance!

Here is the output of the process:

Quote:

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.1.0-bd7367f93311
Exec : mergeMeshes OFsimulation rotor
Date : Feb 29 2012
Time : 17:01:15
Host : ""
PID : 32047
Case :
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Master: "OFsimulation" region region0
mesh to add: "rotor" 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 1e-05
patch names:
28
(
HOUSING_INLET
ROTORSHROUD_GAP_INLET
ROTORHUB
AMI_INROT1
ROTORSHROUD_INLET
BOXTOPWALL
BOXLEFTWALL
BOXRIGHTWALL
BOXREARWALL
BOXBOTTOMWALL
IN
ROTORSHROUD_EDGE
HOUSING_STEP
AMI_INROTGAP1
ROTORSHROUD_ROTOR
ROTORBLADES
ROTORBLADES_LE
ROTORBLADES_TE
ROTORHUB_BLADEROOT
AMI_ROTSTAT2
MOTOR_BACK_PLATE_INROTOR
AMI_INROT2
HOUSING_ROTOR
ROTORSHROUD_END
HOUSING_GAP_ROTOR
ROTORSHROUD_GAP_FINE
AMI_INROTGAP2
ROTORSHROUD_GAP_ROTOR
)

patch types:
28
(
wall
wall
wall
wall
wall
wall
wall
wall
wall
wall
wall
wall
wall
wall
wall
wall
wall
wall
wall
wall
wall
wall
wall
wall
wall
wall
wall
wall
)

point zone names:
0
(
)

face zone names:
2
(
int_DOMAIN_INLET
int_DOMAIN_ROTOR
)

cell zone names:
2
(
DOMAIN_INLET
DOMAIN_ROTOR
)

Copying old patches
Adding new patches.

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

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 "/software/oss/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::error::abort() in "/software/oss/OpenFOAM/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 "/software/oss/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libdynamicMesh.so"
#3 Foam::polyTopoChange::changeMesh(Foam::polyMesh&, bool, bool, bool, bool) in "/software/oss/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libdynamicMesh.so"
#4
in "/software/oss/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/mergeMeshes"
#5
in "/software/oss/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/mergeMeshes"
#6 __libc_start_main in "/lib64/libc.so.6"
#7
in "/software/oss/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/mergeMeshes"
Aborted (core dumped)

Attesz February 29, 2012 13:35

I "solved" the problem by using the most recent release of OF2.1.x.

kiddmax December 14, 2013 09:19

Hi attesz

I have exactly the same problem as you. Unfortunately I have been using OF2.1.0. So do you have some other ideas?

Ye

vineet_bhola July 29, 2015 04:15

I am using currently Openfoam version 2.0.x. I have got the same error. Did you find a solution for the merging error?


All times are GMT -4. The time now is 00:59.