CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [Commercial meshers] case File with a polyhedral mesh to OpenFoam (https://www.cfd-online.com/Forums/openfoam-meshing/113471-case-file-polyhedral-mesh-openfoam.html)

Christoph_84 February 20, 2013 07:10

case File with a polyhedral mesh to OpenFoam
 
Hallo,


I got a fluent case file with a polyhedral mesh and two cellzones is there any possibility to convert this to OpenFoam?


I tried fluentMeshToFoam and got this:


Code:

…..
  Found end of section in unknown:)
 Number of cells: 3567963
 number of faces: 18573112
 Number of points: 14183558
 Found unknown block:(3012
 Embedded blocks in comment or unknown: (
 Found end of section in unknown:)
 Found end of section in unknown:)
 Found unknown block:(3012
 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:)
 0Dimension of grid: 40
 (Dimension of grid: 14
 Dimension of grid: 1
 Dimension of grid: 1733
 eDimension of grid: 8
 Dimension of grid: 5
 0Dimension of grid: 40
 (Dimension of grid: 15
 Dimension of grid: 1733
 eDimension of grid: 9
 Dimension of grid: 36715
 bDimension of grid: 5
 Found unknown block:(3013
 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:#

with fluent3DMeshToFoam:


Code:

Create time
 

 Dimension of grid: 3
 Number of cells: 3567963
 Number of faces: 18573112
 Number of points: 14183558
 --> FOAM Warning : Found unknown block of type: "3012"
    on line 3744
 --> FOAM Warning : Found unknown block of type: "3012"
    on line 3747
 

 

 --> FOAM FATAL ERROR: 
 Do not understand characters: 
    on line 3748
 

    From function fluentMeshToFoam::lexer
    in file fluent3DMeshToFoam.L at line 746.
 

 FOAM exiting

I can convert the Mesh file with fluent3DMeshToFoam, but this is tet/hex and not polyhedral and checkMesh look like this:


Code:

Create time
 

 Create polyMesh for time = 0
 

 Time = 0
 

 Mesh stats
    points:          1786133
 checkMesh: malloc.c:3546: munmap_chunk: Assertion `ret == 0' failed.

If I use fluentMeshToFoam on the mesh file i got this error:


Code:

…..
 FINISHED LEXING
 

 

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

 

 --> FOAM FATAL ERROR: 
 Cannot find match for first face. cell model: tet first model face: 3(1 2 3) Mesh faces: 
 4
 (
 0()
 0()
 0()
 0()
 )
 

 

    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 185.



Has anyone an Idea?

wyldckat February 25, 2013 17:24

Greetings Christoph_84,

Try the instructions provided here: http://www.cfd-online.com/Forums/ope...tml#post346373 post #9

Best regards,
Bruno

jcn2013 April 26, 2013 10:07

Hi Christoph,

Have you converted your mesh to ascii?

Regards,

Josh


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