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

[Commercial meshers] Cannot convert fluent or tgrid hexcore mesh

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By aerogt3

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 22, 2010, 01:51
Default Cannot convert fluent or tgrid hexcore mesh
  #1
Member
 
Join Date: Mar 2009
Posts: 89
Rep Power: 17
aerogt3 is on a distinguished road
Hey all,

I typically export ANSA meshes to FOAM directly but in this case I want to convert a fluent hexcore case. It was generated in tgrid and converted to polyhedra and then sent to fluent. The mesh has tets and prisms, and all the wall cells are tria. I was able to convert pure tet meshes and tet+prism meshes, so I have narrowed it down to the hexcore being the issue.

I have tried the following:

Wrote out tgrid mesh as polyhedra to .msh
Wrote out tgrid mesh NOT as polyhedra to .msh
Wrote out tgrid mesh as polyhedra to .cas
Wrote out tgrid mesh NOT as polyhedra to .cas

Using fluent3DMeshToFoam as suggested here I got the following error: http://www.cfd-online.com/Forums/ope...al-meshes.html

Quote:
Zone: 24 name: a_domain type: symmetry

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

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

FOAM exiting
When I do this with fluentmeshtofoam (also on the four tgrid exports listed above) I get the following error:

Quote:
Read zone1:47 name:a_domain patchTypeIDressure-outlet
/outlet:

--> FOAM FATAL IO ERROR:
Attempt to get back from bad stream

file: IStringStream.sourceFile at line 0.

From function void Istream::getBack(token&)
in file db/IOstreams/IOstreams/Istream.C at line 38.

FOAM exiting
When you export to fluent there is only one option, unlike the 4 from tgrid. You can only export polyhedra and only to .cas format. Using fluent3DMeshToFoam I get:

Quote:
Zone: 2 name: a_domain type: symmetry

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

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

FOAM exiting
And using fluentMeshToFoam I get:

Quote:
Found end of section in unknown

Read zone1:2 name:a_domain patchTypeID:symmetry
/sym-side:00

--> FOAM FATAL IO ERROR:
wrong token type - expected word found on line 0 the label 1

file: IStringStream.sourceFile at line 0.

From function operator>>(Istream&, word&)
in file primitives/strings/word/wordIO.C at line 76.

FOAM exiting
Bubbly likes this.
aerogt3 is offline   Reply With Quote

Old   October 22, 2010, 03:58
Default
  #2
Senior Member
 
Vangelis Skaperdas
Join Date: Mar 2009
Location: Thessaloniki, Greece
Posts: 286
Rep Power: 21
vangelis is on a distinguished road
Hi Robert,

I have no answer for the mesh conversion, just a question.
Why don't you just mesh in ANSA the volume using
MESHV>Hexapoly algorithm and output in OF directly
as you have done before?

Regards
Vangelis
vangelis is offline   Reply With Quote

Old   October 22, 2010, 12:55
Default
  #3
Member
 
Join Date: Mar 2009
Posts: 89
Rep Power: 17
aerogt3 is on a distinguished road
Quote:
Originally Posted by vangelis View Post
I have no answer for the mesh conversion, just a question.
Why don't you just mesh in ANSA the volume using
MESHV>Hexapoly algorithm and output in OF directly
as you have done before?

Regards
Vangelis
Well, I am converting an old mesh for a project where I no longer have the geometry to do a new mesh for.

BUT, I have figured out the problem! FOAM didn't like my boundary condition names! Some of them had a slash in them "a_domain/symmetry"

Once I change the slash to an underscore it worked (so I think, we'll see when I solve it haha!)
aerogt3 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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] COnvert FLuent MEsh to openfoam with interface manuc OpenFOAM Meshing & Mesh Conversion 1 July 25, 2017 04:13
[ICEM] Missing face error from FLUENT even after repairing mesh + other questions unknown159 ANSYS Meshing & Geometry 0 July 5, 2013 21:18
[Commercial meshers] how can convert a blockMeshDict file into a mesh for Fluent? immortality OpenFOAM Meshing & Mesh Conversion 7 April 17, 2013 08:30
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 04:52
High Skewness in Hexcore Mesh/ Tgrid xaero Main CFD Forum 4 November 10, 2009 12:04


All times are GMT -4. The time now is 05:00.