CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   converting ICEM grid to OpenFOAM fails (http://www.cfd-online.com/Forums/openfoam/91830-converting-icem-grid-openfoam-fails.html)

MikeyMike August 24, 2011 04:33

converting ICEM grid to OpenFOAM fails
 
Dear folks,

I have the following problem using ICEM as a mesher. I am meshed up a bearing chamber with several different faces and two different bodies which are representing different volumes with different media (air, oil). The problem is this error-message coming out when trying to convert (fluentMeshToFoam XXX.msh) the net into OpenFOAM. I donīt know what to do or what is wrong - where lies the problem to solve?? This is the error-message:

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Dimension of grid: 3
Number of points: 86400
Reading points
Number of cells: 80736
Other readCellGroupData: c 1 13b60 1 4
Reading uniform cells
number of faces: 244992
Reading uniform faces
Reading uniform faces
Reading uniform faces
Reading uniform faces
Read zone1:12 name:BODY patchTypeID:fluid
Reading zone data
Read zone1:13 name:int_BODY patchTypeID:interior
Reading zone data
Read zone1:14 name:WALLFRONT patchTypeID:wall
Reading zone data
Read zone1:15 name:WALLOUTER patchTypeID:wall
Reading zone data
Read zone1:16 name:WALLINNER patchTypeID:wall
Reading zone data


FINISHED LEXING


dimension of grid: 3
Creating shapes for 3-D cells


--> FOAM FATAL ERROR:
Cannot find match for face 5.
Model: hex model face: 4(1 2 6 5) Mesh faces:
6
(
4(6 7 3 2)
4(3 7 5 1)
4(4 6 2 0)
4(5 7 6 4)
4(2 3 1 0)
4(6 7 3 2)
)
Matched points: 8(6 4 0 2 7 5 1 3)

From function create3DCellShape(const label cellIndex, const labelList& faceLabels, const labelListList& faces, const labelList& owner, const labelList& neighbour, const label fluentCellModelID)
in file create3DCellShape.C at line 281.

FOAM aborting

#0 Foam::error::printStack(Foam::Ostream&) in "/home/itsnas/michael/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::error::abort() in "/home/itsnas/michael/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 Foam::create3DCellShape(int, Foam::List<int> const&, Foam::List<Foam::face> const&, Foam::List<int> const&, Foam::List<int> const&, int) in "/home/itsnas/michael/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linux64GccDPOpt/fluentMeshToFoam"
#3 main in "/home/itsnas/michael/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linux64GccDPOpt/fluentMeshToFoam"
#4 __libc_start_main in "/lib64/libc.so.6"
#5 _start at /usr/src/packages/BUILD/glibc-2.9/csu/../sysdeps/x86_64/elf/start.S:116
Abort
Exit 134


Can anybody help me where to begin with this error?? Thanks a lot in advance!! Cheers, Mike

lindner August 24, 2011 07:39

Hi,
Try using fluent3DMeshToFoam , and the mesh must be saved/exported in the ascii mode, not binary.

MikeyMike August 25, 2011 06:22

Ok now converting/transferring into OF went fine..!
But here another error which came out while trying to run interFoam:

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.6.x-8ff188cd556c
Exec : interFoam
Date : Aug 25 2011
Time : 12:06:09
Host : itsnc1
PID : 32184
Case : /home/itsnas/michael/OpenFOAM/michael-1.6.x/run/Tests/Running/test/TestNewest2
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
Create mesh for time = 0

Reading g
Reading field p
Reading field alpha1
Reading field U
Reading/calculating face flux field phi
Reading transportProperties
Selecting incompressible transport model Newtonian
Selecting incompressible transport model Newtonian
Selecting turbulence model type laminar
time step continuity errors : sum local = 4.96605e-17, global = 4.4311e-18, cumulative = 4.4311e-18

--> FOAM FATAL ERROR:
Continuity error cannot be removed by adjusting the outflow.
Please check the velocity boundary conditions and/or run potentialFoam to initialise the outflow.
Total flux : 1e-300
Specified mass inflow : 3.84968e-17
Specified mass outflow : 4.60399e-17
Adjustable mass outflow : 0

From function adjustPhi(surfaceScalarField& phi, const volVectorField& U,const volScalarField& p
in file cfdTools/general/adjustPhi/adjustPhi.C at line 116.
FOAM exiting
Exit 1

Hope anybody can make something out of this..!! Where can I solve the problem - The thing is: I donīt have an in-/outlet yet, they are meant to be additions later..
Thanks a lot in advance!
Cheers, Mike


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