CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > ANSYS Meshing & Geometry

ICEM grid fails in converting to OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 24, 2011, 04:31
Default ICEM grid fails in converting to OpenFOAM
  #1
New Member
 
Join Date: Apr 2011
Posts: 10
Rep Power: 15
MikeyMike is on a distinguished road
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:rintStack(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
MikeyMike is offline   Reply With Quote

Old   August 24, 2011, 05:27
Default
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 138
Rep Power: 17
camoesas is on a distinguished road
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
camoesas is offline   Reply With Quote

Old   August 24, 2011, 05:50
Default
  #3
New Member
 
Join Date: Apr 2011
Posts: 10
Rep Power: 15
MikeyMike is on a distinguished road
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
MikeyMike is offline   Reply With Quote

Old   August 24, 2011, 06:08
Default
  #4
Senior Member
 
Join Date: Mar 2009
Posts: 138
Rep Power: 17
camoesas is on a distinguished road
Im using OF2.0.0 Userguide chapter 5.5.1 fluentmeshtofoam page U-154
camoesas is offline   Reply With Quote

Old   August 24, 2011, 09:17
Default
  #5
Senior Member
 
Join Date: Mar 2009
Posts: 138
Rep Power: 17
camoesas is on a distinguished road
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
camoesas is offline   Reply With Quote

Old   August 24, 2011, 09:30
Default
  #6
New Member
 
Join Date: Apr 2011
Posts: 10
Rep Power: 15
MikeyMike is on a distinguished road
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 is offline   Reply With Quote

Old   August 25, 2011, 06:24
Default
  #7
New Member
 
Join Date: Apr 2011
Posts: 10
Rep Power: 15
MikeyMike is on a distinguished road
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
MikeyMike is offline   Reply With Quote

Reply

Tags
converting error, icem cfd, openfoam 1.6


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Commercial meshers] Pointwise grid export to Openfoam Eren10 OpenFOAM Meshing & Mesh Conversion 15 May 30, 2019 17:10
[ICEM] Exporting Grid Volumes/Areas from ICEM to Calculate Discretization Error Josh ANSYS Meshing & Geometry 4 May 20, 2010 13:40
How to generate 2D grid of CFL3D in ICEM? aladdincham Main CFD Forum 0 March 11, 2010 02:19
[Gmsh] Error converting Gmsh mesh to OpenFOAM format Martin_ OpenFOAM Meshing & Mesh Conversion 3 December 9, 2009 09:35
Grid Independent Solution Chuck Leakeas Main CFD Forum 2 May 26, 2000 11:18


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