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

[Commercial meshers] case File with a polyhedral mesh to OpenFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 20, 2013, 08:10
Default case File with a polyhedral mesh to OpenFoam
  #1
Member
 
Join Date: Nov 2009
Posts: 34
Rep Power: 17
Christoph_84 is on a distinguished road
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?
Christoph_84 is offline   Reply With Quote

Old   February 25, 2013, 18:24
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Christoph_84,

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

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   April 26, 2013, 11:07
Default
  #3
New Member
 
anonymous
Join Date: Mar 2013
Posts: 5
Rep Power: 13
jcn2013 is on a distinguished road
Hi Christoph,

Have you converted your mesh to ascii?

Regards,

Josh
jcn2013 is offline   Reply With Quote

Reply


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
[swak4Foam] swak4foam for OpenFOAM 4.0 mnikku OpenFOAM Community Contributions 80 May 17, 2022 09:06
what is swap4foam ?? AB08 OpenFOAM 28 February 2, 2016 02:22
SparceImage v1.7.x Issue on MAC OS X rcarmi OpenFOAM Installation 4 August 14, 2014 07:42
[swak4Foam] Error bulding swak4Foam sfigato OpenFOAM Community Contributions 18 August 22, 2013 13:41
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55


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