CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ANSYS Meshing & Geometry (https://www.cfd-online.com/Forums/ansys-meshing/)
-   -   ICEM grid fails in converting to OpenFOAM (https://www.cfd-online.com/Forums/ansys-meshing/91829-icem-grid-fails-converting-openfoam.html)

MikeyMike August 24, 2011 04:31

ICEM grid fails in converting to OpenFOAM
 
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

camoesas August 24, 2011 05:27

Hey MickeyMike,

At the moment I have no solution for your problem. I have a similar one. But maybe we can exchange some hints in future.

Have you read the description to 'fluentMeshtoFoam'? As I understand it, its not possible to convert meshes with multiple fluid areas and solid regions.

Cheer up!

Camoesas

MikeyMike August 24, 2011 05:50

Hey there,

thanks for your quick reply. Hm, I didnīt get to read that.. so where did you find this information about fluentMeshToFoam ? Thanks for your hint!
Cheers, Mike

camoesas August 24, 2011 06:08

Im using OF2.0.0 Userguide chapter 5.5.1 fluentmeshtofoam page U-154

camoesas August 24, 2011 09:17

HI Mikey,

Try: fluent3DMeshtoFoam! I guess thats the solution to your problem. For me fluent3DMeshtoFoam works fine. But I get the same error as you using fluentMeshtoFoam.

Camoesas

MikeyMike August 24, 2011 09:30

Ok thank you very much so far - I will try to do it like you suggested! tomorrow I will be back at my desk.. I will inform you about my (hopeful) success!
Thanks and cheers,
Mike

MikeyMike August 25, 2011 06:24

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 00:08.