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

[Technical] Using FluentMesh instead of AnsysFluentMesh for fluent3DMeshToFoam command

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By farzadmech

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 12, 2020, 04:27
Default Using FluentMesh instead of AnsysFluentMesh for fluent3DMeshToFoam command
  #1
Senior Member
 
Farzad Faraji
Join Date: Nov 2019
Posts: 206
Rep Power: 8
farzadmech is on a distinguished road
Dear fiends
As you know in we have two different tools for meshing in Ansys workbench;
1- AnsysFluentMesh(for automatic tetrahedral mesh)
2- FluentMesh (for automatic polyhedral and polyhedral-hexcore mesh)

I have used AnsysFluentMesh tool previously and I easily import(.msh) my mesh to openfoam. Now, I need to use FluentMesh for generating polyhedron-hexcore mesh and I export .msh file, but when I want to import it to openfoam, it give me error;

Code:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Dimension of grid: 3
Number of points: 55755
--> FOAM Warning : Found unknown block of type: "11"
    on line 17
Number of faces: 603915
Number of cells: 296366
PointGroup: 6 start: 0 end: 475.  Reading points...done.
PointGroup: 18 start: 476 end: 11660.  Reading points...done.
PointGroup: 114 start: 11661 end: 55754.  Reading points...done.
--> FOAM Warning : Found unknown block of type: "11"
    on line 55781
FaceGroup: 8 start: 0 end: 22365.  Reading uniform faces...done.
FaceGroup: 113 start: 22366 end: 603914.  Reading uniform faces...done.
CellGroup: 111 start: 0 end: 296365 type: 1
--> FOAM Warning : Found unknown block of type: "316"
    on line 660183
--> FOAM Warning : Found unknown block of type: "71"
    on line 660662
--> FOAM Warning : Found unknown block of type: "71"
    on line 664556
--> FOAM Warning : Found unknown block of type: "71"
    on line 668446
--> FOAM Warning : Found unknown block of type: "71"
    on line 672340
--> FOAM Warning : Found unknown block of type: "71"
    on line 676234
--> FOAM Warning : Found unknown block of type: "71"
    on line 680124
Zone: 111 name: solid type: fluid.  Reading zone data...done.
Zone: 113 name: interior--solid type: interior.  Reading zone data...done.
Zone: 8 name: wall type: wall.  Reading zone data...done.
Zone: 7 name: wall:feature.7 type: boundary-edge.  Reading zone data...done.


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

    From function virtual int yyFlexLexer::yylex()
    in file fluent3DMeshToFoam.L at line 747.

FOAM exiting
Do you know any solution for this problem? By the way, I used tetrahedral mesh for a simple cube and it gives me this error again, so it is not related to type of the mesh, and it is related to software or the way I mesh it.


Thanks,
Farzad
Attached Images
File Type: jpg CubeTetrahedral.jpg (87.2 KB, 14 views)
wilsonrcf likes this.
farzadmech is offline   Reply With Quote

Old   March 3, 2021, 02:22
Default
  #2
New Member
 
Kyfrankie
Join Date: Oct 2020
Posts: 5
Rep Power: 6
kyfrankie is on a distinguished road
I am also facing the same issue. I am curious is there any update?
kyfrankie is offline   Reply With Quote

Old   June 3, 2023, 13:10
Default
  #3
Member
 
Join Date: Apr 2022
Posts: 31
Rep Power: 4
AMR96 is on a distinguished road
Hello Farzad,

Did you find a solution to this problem?

I managed to fix it by removing the '[' manually from the mesh file since it wasn't something that affected the mesh. However, when I do the conversion I get the following warning: Found unknown block of type: "11"
Did you ever come across anything like this?`

Best,

Amir
AMR96 is offline   Reply With Quote

Old   October 30, 2023, 13:15
Default
  #4
New Member
 
Nilotpal Dhar
Join Date: Nov 2022
Location: United Kingdom
Posts: 4
Rep Power: 4
ndhar is on a distinguished road
It might because of the polyhedral cells

Edit: I have exported the mesh as .cas legacy file, unzipped it and converted to OF mesh which got rid of FOAM Warning : Found unknown block of type: "11" warning

Last edited by ndhar; November 1, 2023 at 10:30.
ndhar is offline   Reply With Quote

Old   November 2, 2023, 12:27
Default
  #5
Senior Member
 
Saeed Jamshidi
Join Date: Aug 2019
Posts: 214
Rep Power: 8
saeed jamshidi is on a distinguished road
Please read this thread:

ANSYS Fluent Polyhedral mesh to OpenFOAM

Best
Saeed
saeed jamshidi is offline   Reply With Quote

Reply

Tags
ansysfluentmesh, fluent3dmeshtofoam, fluentmesh, openfoam


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
UDF for inlet temperature and species concentration haidory Fluent UDF and Scheme Programming 18 September 1, 2019 05:57
[PyFoam] PyFoam 0.6.9 wrong path to gnuplot klausb OpenFOAM Community Contributions 5 March 15, 2018 15:28
8x icoFoam speed up with Cufflink CUDA solver library kmooney OpenFOAM Running, Solving & CFD 42 November 6, 2012 12:37
Install problem in linux navaladi OpenFOAM Installation 11 July 17, 2008 03:24
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 05:26


All times are GMT -4. The time now is 13:52.