|
[Sponsors] |
Saving fluent file as (.mesh ascii) so I can convert it to OpenFOAM |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 22, 2022, 11:23 |
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 |
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 |
|
June 22, 2022, 14:47 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,676
Rep Power: 66 |
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. |
|
|
|
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 |