|
[Sponsors] |
August 17, 2012, 18:48 |
Recover the .msh from a .cas
|
#1 |
Member
Mat
Join Date: Jan 2012
Posts: 60
Rep Power: 14 |
Dear all,
I have a tricky problem to expose : I would like to perform OF simulations starting from FLUENT data. However, I only have the .cas (also .dat) file. Indeed, the mesh was modified inside FLUENT (refinement, adaptation of cell size, etc), then the .msh file doesn't match with the simulation results. Here, I have two possibilities : * recover the .msh file from one of the ANSYS softwares * convert directly the .cas file in OpenFOAM mesh. I tried both of them without success for the moment. As it is the relevant location of the thread, I will talk here about the first possibility. Apparently it is possible to open directly a .cas file in icem or gambit, and then to save the mesh in a .msh file. I tried with both softwares, but I get errors in all cases during the reading. I suppose it is due to the modifications on the mesh, performed inside FLUENT. Here the ineternal error obtained in icem : Not able to open file. Read error: wanted 1 bytes, errno 11 backend process has exited abnormally Here the error obtained with gambit : RAMPANT file to FIDAP7 file File contains hanging node structure Hanging nodes not supported Does anyone have a suggestion for that ? Thank you for your help. Best, Mat Last edited by Mat_fr; August 20, 2012 at 04:33. |
|
August 20, 2012, 07:38 |
|
#2 |
New Member
L.Tuominen
Join Date: Jul 2010
Posts: 8
Rep Power: 16 |
Try to save your .cas file to ASCII format in Fluent and then convert to OF format.
/ Lasse |
|
August 20, 2012, 08:14 |
|
#3 |
Member
Mat
Join Date: Jan 2012
Posts: 60
Rep Power: 14 |
Dear Lasse,
I already tried this without succes. see my post here :http://www.cfd-online.com/Forums/ope...foam-mesh.html Thanks, Mat |
|
August 21, 2012, 07:33 |
|
#4 |
Member
Mat
Join Date: Jan 2012
Posts: 60
Rep Power: 14 |
Dear all,
I would like to try also with workbench. So, I created a mesh system and I imported the .cas file. Then, the imported mesh is checked. Is it possible now to export a mesh file from that ? There is no File -> export in workbench ?? I don't manage neither to open the default meshing tool of workbench (maybe one can export the mesh from there?) Mat Last edited by Mat_fr; August 21, 2012 at 08:19. |
|
January 10, 2014, 09:47 |
|
#5 | |
Member
Harshal
Join Date: Oct 2013
Posts: 51
Rep Power: 13 |
Quote:
I know this post is old. But if you were able to solve this problem, can you please post the solution here. I am also facing the same problem as I am trying to import the .msh Fluent file in ICEM. Thanks, Harshal |
||
January 11, 2014, 04:31 |
|
#7 | |
Member
Harshal
Join Date: Oct 2013
Posts: 51
Rep Power: 13 |
Quote:
I tried importing the .msh fluent file in ICEM using the Import from Fluent option. However, I am getting the same error. Could you kindly guide me through this step ? Thanks, Harshal |
||
January 11, 2014, 15:44 |
|
#9 | |
Member
Harshal
Join Date: Oct 2013
Posts: 51
Rep Power: 13 |
Quote:
I tried importing the .msh file from Fluent into ICEM using the Import mesh- From Fluent option. In ICEM one can import either the geometry (Import Geometry) or mesh (Import Mesh-Import from Fluent) When I try to import mesh from Fluent I get the error Not able to open file: Read error wanted 1 byte errno 11..... How did you import the case file ? It is neither Geometry nor Mesh. I don't know from where I can import .cas file. Thanks, Harshal |
||
January 11, 2014, 15:52 |
|
#11 |
Member
Harshal
Join Date: Oct 2013
Posts: 51
Rep Power: 13 |
Hello,
I did create a case file in Fluent. However, the method you suggested (File- import from Fluent) is not available to me. As I said for import there are two options: Import Geometry and Import Mesh- Import from Fluent. Which ICEM version are you using ? Thanks, Harshal |
|
January 12, 2014, 07:24 |
|
#13 |
New Member
Tenglubao
Join Date: Feb 2013
Posts: 5
Rep Power: 13 |
||
March 14, 2016, 14:37 |
|
#14 |
Member
Hooman
Join Date: Apr 2011
Posts: 35
Rep Power: 15 |
Open your .cas file in FLUENT (It has to be in Meshing Mode) and then save it as mesh (.msh).
|
|
January 11, 2017, 10:31 |
|
#15 |
Senior Member
Yuehan
Join Date: Nov 2012
Posts: 142
Rep Power: 14 |
Great! Problem solved!
|
|
June 8, 2017, 04:44 |
|
#16 |
New Member
Shashank
Join Date: Sep 2014
Posts: 28
Rep Power: 12 |
As suggested in above posts I tried exporting a 3D .cas file in meshing mode in fluent, but I get an error saying 'This is an educational executable, and can only be used \n with meshes containing less than 500000 cells or 50000\n unmeshed faces.'
also in case my .cas file is 2D I don't get an option for opening the file in meshing mode. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to convert Openfoam data to fluent .cas and .msh files | sachinlb | FLUENT | 4 | December 8, 2023 17:27 |
how to convert Openfoam data to fluent .cas and .msh files | sachinlb | OpenFOAM | 1 | October 25, 2011 12:52 |
[ANSYS Meshing] Export .msh file for fluent by script | Mostapha | ANSYS Meshing & Geometry | 1 | August 2, 2011 06:33 |
Problem with reading .cas and .msh file in ICEM CFD | kbodla | ANSYS Meshing & Geometry | 3 | March 14, 2011 16:50 |
Import .cas into Gambit | Radi | FLUENT | 0 | August 18, 2009 10:40 |