|
[Sponsors] |
March 25, 2012, 09:39 |
|
#41 |
Senior Member
|
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 |
|
March 25, 2012, 09:46 |
|
#42 |
Member
张德胜
Join Date: Oct 2011
Posts: 71
Rep Power: 15 |
.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 |
|
March 25, 2012, 09:48 |
|
#43 |
Member
张德胜
Join Date: Oct 2011
Posts: 71
Rep Power: 15 |
can you tell me how to use dos2unix and how to install it? Tanks a lot.
|
|
May 7, 2012, 11:46 |
|
#44 |
New Member
Adam Sitko
Join Date: Apr 2012
Posts: 12
Rep Power: 14 |
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 |
|
May 7, 2012, 13:54 |
|
#45 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings sitekss,
Quote:
Bruno
__________________
|
||
May 8, 2012, 06:20 |
|
#46 |
New Member
Adam Sitko
Join Date: Apr 2012
Posts: 12
Rep Power: 14 |
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 |
|
May 14, 2012, 05:57 |
|
#47 |
New Member
Adam Sitko
Join Date: Apr 2012
Posts: 12
Rep Power: 14 |
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 |
|
May 14, 2012, 06:08 |
|
#48 |
New Member
Hannes
Join Date: Oct 2011
Posts: 19
Rep Power: 15 |
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 |
|
May 14, 2012, 06:20 |
|
#49 |
New Member
Adam Sitko
Join Date: Apr 2012
Posts: 12
Rep Power: 14 |
This is it! Thanks a lot. Your reply was incredibly fast and precise.
|
|
July 2, 2018, 23:50 |
Errors while using fluent 3DMeshToFoam
|
#50 |
New Member
Sai Sankar Ganesan
Join Date: May 2016
Posts: 1
Rep Power: 0 |
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. |
|
January 19, 2020, 16:33 |
|
#51 | |
Senior Member
Przemek
Join Date: Jun 2011
Posts: 249
Rep Power: 16 |
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.
__________________
best regards pblasiak |
||
|
|
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 |