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

[Commercial meshers] Fluent3DMeshToFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 25, 2012, 09:39
Default
  #41
Senior Member
 
Dr. Alexander Vakhrushev
Join Date: Mar 2009
Posts: 256
Blog Entries: 1
Rep Power: 19
makaveli_lcf is on a distinguished road
Send a message via ICQ to makaveli_lcf
You need *.msh file not the *.cas
__________________
Best regards,

Dr. Alexander VAKHRUSHEV

Christian Doppler Laboratory for "Metallurgical Applications of Magnetohydrodynamics"

Simulation and Modelling of Metallurgical Processes
Department of Metallurgy
University of Leoben

http://smmp.unileoben.ac.at
makaveli_lcf is offline   Reply With Quote

Old   March 25, 2012, 09:46
Default
  #42
Member
 
张德胜
Join Date: Oct 2011
Posts: 71
Rep Power: 15
hei@ge is on a distinguished road
.cas file is ok.it is got through fluent not gambit.i git .msh file through gambit is not ok.i use .msh file also get error:--> FOAM FATAL ERROR:
Do not understand characters:
on line 1066402

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

FOAM exiting
hei@ge is offline   Reply With Quote

Old   March 25, 2012, 09:48
Default
  #43
Member
 
张德胜
Join Date: Oct 2011
Posts: 71
Rep Power: 15
hei@ge is on a distinguished road
can you tell me how to use dos2unix and how to install it? Tanks a lot.
hei@ge is offline   Reply With Quote

Old   May 7, 2012, 11:46
Default
  #44
New Member
 
Adam Sitko
Join Date: Apr 2012
Posts: 12
Rep Power: 14
sitekss is on a distinguished road
Hello Foamers,
I just played with environmental variables AWP_WRITE_FLUENT_MESH_ASCII=1 and other configurations like WORKBENCH, ANSYS_FLUENT etc. but it doesn't work with v14.0 of Ansys Workbench. Any suggestions?
BR,
Adam
sitekss is offline   Reply With Quote

Old   May 7, 2012, 13:54
Default
  #45
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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 sitekss,

Quote:
Originally Posted by sitekss View Post
I just played with environmental variables AWP_WRITE_FLUENT_MESH_ASCII=1 and other configurations like WORKBENCH, ANSYS_FLUENT etc. but it doesn't work with v14.0 of Ansys Workbench. Any suggestions?
OK, no error message... I'll have to guess the problem:
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   May 8, 2012, 06:20
Default
  #46
New Member
 
Adam Sitko
Join Date: Apr 2012
Posts: 12
Rep Power: 14
sitekss is on a distinguished road
Thank you wyldckat for a fast replay. It is not exactly what I'm looking for because now I can't cope with export .msh file in ASCII format (when I open it I can see a lot of #$%@ except 'normal' numbers), so my intence is to find a way for export in ASCII from Ansys Fluent.
BR
Adam
sitekss is offline   Reply With Quote

Old   May 14, 2012, 05:57
Default
  #47
New Member
 
Adam Sitko
Join Date: Apr 2012
Posts: 12
Rep Power: 14
sitekss is on a distinguished road
Hi,
I still can't export mesh from Ansys Workbench v.14 in ASCII format. Fluent can only export boundary mesh (.msh extension too) in ASCII, but it is impossible (?) to export volume mesh. I can do it from mesher, but in binary format. Any solution?
BR,
Adam
sitekss is offline   Reply With Quote

Old   May 14, 2012, 06:08
Default
  #48
New Member
 
Hannes
Join Date: Oct 2011
Posts: 19
Rep Power: 15
falke126 is on a distinguished road
In R14 you donīt need to set an env variable...

In ANsys Meshing: Under Tools>Options>Meshing>Export you can set the Fluent format to ASCII
wyldckat, run_cfd and noaceshigh like this.
falke126 is offline   Reply With Quote

Old   May 14, 2012, 06:20
Default
  #49
New Member
 
Adam Sitko
Join Date: Apr 2012
Posts: 12
Rep Power: 14
sitekss is on a distinguished road
This is it! Thanks a lot. Your reply was incredibly fast and precise.
sitekss is offline   Reply With Quote

Old   July 2, 2018, 23:50
Default Errors while using fluent 3DMeshToFoam
  #50
New Member
 
Sai Sankar Ganesan
Join Date: May 2016
Posts: 1
Rep Power: 0
gsaisankar is on a distinguished road
Dear All,

I am new to OpenFOAM and when I tried loading a mesh file that was generated in fluent using fluent3dMeshToFoam i had the below mentioned error and warning. Could someone clarify?

" Number of points: 1324330
Number of faces: 3994574
Number of cells: 1333566
--> FOAM Warning : Found unknown block of type: "3010"
on line 14


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

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

Also, fluentMeshToFoam threw me the error "Illegal hex digit: '' ".

Thanks for the help.
gsaisankar is offline   Reply With Quote

Old   January 19, 2020, 16:33
Default
  #51
Senior Member
 
Przemek
Join Date: Jun 2011
Posts: 249
Rep Power: 16
gaza is on a distinguished road
Quote:
Originally Posted by gsaisankar View Post
Dear All,

I am new to OpenFOAM and when I tried loading a mesh file that was generated in fluent using fluent3dMeshToFoam i had the below mentioned error and warning. Could someone clarify?

" Number of points: 1324330
Number of faces: 3994574
Number of cells: 1333566
--> FOAM Warning : Found unknown block of type: "3010"
on line 14


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

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

Also, fluentMeshToFoam threw me the error "Illegal hex digit: '' ".

Thanks for the help.

One of my student found a solution. It is below:


Basically, the Ansys time to time block the license if we work a lot inside. It means it stops to work properly. Somebody cannot run the solver, for me, it was the mesh export. I was looking for the solution, and we just have to use command prompt to reset the files (reinstall would work as well, but we do not have to reinstall).


In this case, we have to open CMD, and type

--- move "%appdata%\ansys" "%appdata%\ansys.old" ---


and


--- "%USERPROFILE%\.cfx" "%USERPROFILE%\cfx_old" ---


When I started the program again, it started to offer me the tutorials, so basically it is the reset program.





And I also found the solution of exporting mesh from Spaceclaim directly to OpenFoam with fluent mesh (.msh) without ICEM process.


The only thing you should do is:


Go to workbench, start a "Fluid Flow (Fluent)" work.
After that, go to the Mesh and edit it, and go to the "Option".
In the "Option", go to the export and at the tab of "ANSYS FLUENT" change the "Format of Input File (*.msh) from Binary to ASCII.
I attached a picture as well!

It is gonna work, because Openfoam uses ascii formats, not binary.
Attached Images
File Type: jpg ansys.jpg (74.9 KB, 21 views)
Cobus likes this.
__________________
best regards
pblasiak
gaza 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
[Commercial meshers] Mesh conversion problem (fluent3DMeshToFoam) Aadhavan OpenFOAM Meshing & Mesh Conversion 2 March 8, 2018 02:47
periodic (cyclic) boundary - fluent3DMeshToFoam cyln OpenFOAM 1 October 17, 2017 03:59
[Commercial meshers] fluent3DMeshToFoam conversion problem CFDnewbie147 OpenFOAM Meshing & Mesh Conversion 14 March 12, 2014 06:16
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) cfdonline2mohsen OpenFOAM 3 October 21, 2013 10:28
OpenFOAM command from inside MATLAB sega OpenFOAM Post-Processing 18 September 25, 2012 08:35


All times are GMT -4. The time now is 21:27.