You need *.msh file not the *.cas
|
.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 |
can you tell me how to use dos2unix and how to install it? Tanks a lot.
|
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 |
Greetings sitekss,
Quote:
Bruno |
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 |
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 |
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 |
This is it! Thanks a lot. Your reply was incredibly fast and precise.
|
Errors while using fluent 3DMeshToFoam
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. |
1 Attachment(s)
Quote:
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. |
All times are GMT -4. The time now is 04:59. |