CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... (http://www.cfd-online.com/Forums/openfoam-meshing-other/)
-   -   Importing a hex core mesh from Gambit (http://www.cfd-online.com/Forums/openfoam-meshing-other/61727-importing-hex-core-mesh-gambit.html)

dmoroian September 15, 2006 03:54

Hi! Is there any posibility to
 
Hi! Is there any posibility to import a mesh generated with Gambit with "hex core"? There are some discussions about hanging nodes, and the conclusion as I red was that OpenFOAM should be able to handle such grids.
Attached, there is a small mesh as a nonworking example. If I try to import it, I get the following:
--------------------------------------
dragosm@lap08:~/OpenFOAM/dragosm-1.3/run/hangingNodes> fluentMeshToFoam ./ case hangingNodes.msh
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.3 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : fluentMeshToFoam ./ case hangingNodes.msh
Date : Sep 15 2006
Time : 10:58:27
Host : lap08
PID : 8660
Root : /fsd/soft/OpenFOAM/dragosm-1.3/run/hangingNodes/
Case : case
Nprocs : 1
Create time


Dimension of grid: 3
Number of points: 2677
Reading points
number of faces: 21024
Reading mixed faces
Reading mixed faces
Reading uniform faces
Found unknown block
Embedded blocks in comment or unknown
Found end of section in unknown
Embedded blocks in comment or unknown
Found end of section in unknown
Found end of section in unknown
Number of cells: 9282
Reading mixed cells
Reading zone data
Reading zone data
Reading zone data


FINISHED LEXING


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


--> FOAM FATAL ERROR : Cannot find match for face 1.
Model: hex model face: 4(0 1 5 4) Mesh faces:
6
(
4(2552 2554 2558 2556)
4(2554 1463 1465 2558)
4(2556 2558 1465 1464)
3(1464 1462 2556)
3(2552 2556 1462)
3(2552 1462 2554)
)
Matched points: 8(2552 -1 -1 2556 2554 -1 -1 2558)

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

Foam::error::printStack(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&)
Foam::error::abort()
fluentMeshToFoam [0x409570]
fluentMeshToFoam [0x40e6a9]
__libc_start_main
__gxx_personality_v0
Aborted
------------------------------------------

Any chance to get the mesh in OpenFOAM?

Dragos





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