CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Saving fluent file as (.mesh ascii) so I can convert it to OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 22, 2022, 11:23
Default Saving fluent file as (.mesh ascii) so I can convert it to OpenFOAM
  #1
New Member
 
Bssam
Join Date: Nov 2019
Posts: 19
Rep Power: 6
openfoamer93 is on a distinguished road
Dear All,

How to save a fluent mesh (.mesh) in ascii format so I can convet it in openfoam using fluent3DMeshToFoam?

I use workbench, so I start from geometry, then mesh, when I finish the mesh it automatically save it in the path shown in Figure 3, there is no even choice to save as .mesh!

The mesh file show in Figure 2 is binary and openfoam cannot read it:

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Reading header: "ANSYS(R) TGLib(TM) 3D, revision 18.1.0"
Dimension of grid: 3
Number of points: 10279396
--> FOAM Warning : Found unknown block of type: "11"
on line 18
Number of faces: 13523098
Number of cells: 2543034
--> FOAM Warning : Found unknown block of type: "3010"
on line 21


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

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

FOAM exiting


But the mesh (.mesh) file in figure 1 (created by someone else I don't know) is working fine!

Please help me
Attached Images
File Type: jpg Capture1.jpg (199.1 KB, 12 views)
File Type: jpg Capture2.jpg (167.6 KB, 10 views)
File Type: jpg Capture3.jpg (100.9 KB, 8 views)
openfoamer93 is offline   Reply With Quote

Old   June 22, 2022, 14:47
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,676
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
fluent3DMeshToFoam operates on a .msh or the .cas file. You can simlpy use the case file. I don't know if the foam utility is updated in recent versions, but just save using the legacy .cas format and not the .cas.h5 format. And uncheck the binary box when you save.


To get a .msh file you need to go back to the meshing utility, i.e. ICEM and open the mesh and export it. Fluent will not write a .msh format.
LuckyTran 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
Custom Thermophysical Properties wsmith02 OpenFOAM 4 June 1, 2023 14:30
[OpenFOAM.com] swak4foam compiling issues on a cluster saj216 OpenFOAM Installation 5 January 17, 2023 16:05
[swak4Foam] Problem installing swak_2.x for OpenFoam-2.4.0 towanda OpenFOAM Community Contributions 6 September 5, 2015 21:03
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 Seroga OpenFOAM Community Contributions 9 June 12, 2015 17:18
Trouble compiling utilities using source-built OpenFOAM Artur OpenFOAM Programming & Development 14 October 29, 2013 10:59


All times are GMT -4. The time now is 04:25.