From ansys meshing to openfoam
I have created a 3d geometry with gambit and meshing with ansys meshing and i exported as .msh
when i type fluent3DMeshToFoam singleserpantinefine.msh /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.1.0-0bc225064152 Exec : fluent3DMeshToFoam singleserpantinefine.msh Date : Oct 02 2012 Time : 12:30:08 Host : "danath-desktop" PID : 1915 Case : /home/danath/OpenFOAM/danath-2.1.0/run/tutorials/singleserpantine nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Dimension of grid: 3 Number of points: 9835676 Number of faces: 28616972 Number of cells: 9401296 --> FOAM Warning : Found unknown block of type: "3010" on line 14 --> FOAM FATAL ERROR: Do not understand characters: � on line 15 From function fluentMeshToFoam::lexer in file fluent3DMeshToFoam.L at line 747. FOAM exiting where is the problem ? http://albertopassalacqua.com/?p=885 is it safe ? |
Greetings Evangelos,
The fix that is presented in http://albertopassalacqua.com/?p=885 is meant to be used as follows:
Bruno |
Hi,
I would like to trythis fix to see if I can succesfully import my Ansys mesh. However I am running Ansys Workbench in Windows, how can I specify that I would like the .msh-file in ASCII-format? Regards, Jone |
Greetings Jone and welcome to forum!
Quote:
Best regards, Bruno |
Hi, Jone,
Depending on which ANSYS version you are using. If you are using V14, then, you do not have to set the ascii = 1 throught windows variable. In Workbench Meshing, seclect "Tools", then, click "Export" under Meshing. Set ANSYS Fluent format to "Ascii". After this, you can export the mesh and select Fluent *.msh format. Pei-Ying |
Thank you very much both of you! I will check this out as soon as I get my new installation running.
Have a nice day! |
Hi,
I`m trying to export a mesh file from Ansys to OpenFOAM but received this error message: - /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.1.1-221db2718bbb Exec : fluentMeshToFoam surface3.msh Date : Aug 24 2016 Time : 12:22:10 Host : "ck-VirtualBox" PID : 3632 Case : /home/ck/Desktop/Test/surface nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time fileName::stripInvalid() called for invalid fileName surface3.STEP For debug level (= 2) > 1 this is considered fatal Aborted (core dumped) Can anyone help me on that? I am using Ansys version 16.2 and i have followed the treat to change the file format to ASCII yet the problem doesn`t resolved. I have no idea on the following statement: "stripInvalid() called for invalid fileName surface3.STEP" . I placed this geometry file in the same folder with surface3.msh. If i removed this file from the folder, i get an error message :- --> FOAM FATAL IO ERROR: cannot find file file: /home/ck/Desktop/Test/surface/system/controlDict at line 0. From function regIOobject::readStream() in file db/regIOobject/regIOobjectRead.C at line 73. FOAM exiting Thanks. |
Quote:
Plz See this: https://www.youtube.com/watch?v=f9-GDWLKixg |
All times are GMT -4. The time now is 21:17. |