CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ...

Cannot convert fluent or tgrid hexcore mesh

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 22, 2010, 00:51
Default Cannot convert fluent or tgrid hexcore mesh
  #1
Member
 
Join Date: Mar 2009
Posts: 67
Rep Power: 7
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
aerogt3 is offline   Reply With Quote

Old   October 22, 2010, 02:58
Default
  #2
Senior Member
 
Vangelis Skaperdas
Join Date: Mar 2009
Location: Thessaloniki, Greece
Posts: 157
Rep Power: 8
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, 11:55
Default
  #3
Member
 
Join Date: Mar 2009
Posts: 67
Rep Power: 7
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
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
2D Mesh Generation Tutorial for GMSH aeroslacker Open Source Meshers: Gmsh, Netgen, CGNS, ... 12 January 19, 2012 03:52
Can anybody tell me what does fluent do using MESH MOTION? enry FLUENT 0 October 6, 2010 12:54
Can Fluent handle a degenerate block? Error while reading mesh... Anorky FLUENT 1 May 1, 2010 12:47
[TGrid] Tgrid hybrid mesh pyramid transition tony00 ANSYS Meshing & Geometry 4 November 26, 2009 04:36
High Skewness in Hexcore Mesh/ Tgrid xaero Main CFD Forum 4 November 10, 2009 11:04


All times are GMT -4. The time now is 14:12.