CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > ANSYS Meshing & Geometry

[Other] Recover the .msh from a .cas

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By diamondx

Reply
 
LinkBack Thread Tools Display Modes
Old   August 17, 2012, 17:48
Default Recover the .msh from a .cas
  #1
Member
 
Mat
Join Date: Jan 2012
Posts: 38
Rep Power: 5
Mat_fr is on a distinguished road
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 03:33.
Mat_fr is offline   Reply With Quote

Old   August 20, 2012, 06:38
Default
  #2
New Member
 
L.Tuominen
Join Date: Jul 2010
Posts: 8
Rep Power: 6
tuominen is on a distinguished road
Try to save your .cas file to ASCII format in Fluent and then convert to OF format.

/ Lasse
tuominen is offline   Reply With Quote

Old   August 20, 2012, 07:14
Default
  #3
Member
 
Mat
Join Date: Jan 2012
Posts: 38
Rep Power: 5
Mat_fr is on a distinguished road
Dear Lasse,

I already tried this without succes.
see my post here :Fluent case to openfoam mesh

Thanks,

Mat
Mat_fr is offline   Reply With Quote

Old   August 21, 2012, 06:33
Default
  #4
Member
 
Mat
Join Date: Jan 2012
Posts: 38
Rep Power: 5
Mat_fr is on a distinguished road
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 07:19.
Mat_fr is offline   Reply With Quote

Old   January 10, 2014, 09:47
Default
  #5
Member
 
Harshal
Join Date: Oct 2013
Posts: 50
Rep Power: 3
Harshal is on a distinguished road
Quote:
Originally Posted by Mat_fr View Post
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
Hello,
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
Harshal is offline   Reply With Quote

Old   January 10, 2014, 13:36
Default
  #6
Super Moderator
 
diamondx's Avatar
 
Ghazlani M. Ali
Join Date: May 2011
Location: Canada
Posts: 1,271
Blog Entries: 23
Rep Power: 19
diamondx will become famous soon enough
Send a message via MSN to diamondx
it's possible to retrieve the mesh file from the case in ICEM use the import function
__________________
Regards,
New to ICEM CFD, try this document --> http://goo.gl/G2gkE
Ali
diamondx is offline   Reply With Quote

Old   January 11, 2014, 04:31
Default
  #7
Member
 
Harshal
Join Date: Oct 2013
Posts: 50
Rep Power: 3
Harshal is on a distinguished road
Quote:
Originally Posted by diamondx View Post
it's possible to retrieve the mesh file from the case in ICEM use the import function
Hello,
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
Harshal is offline   Reply With Quote

Old   January 11, 2014, 12:18
Default
  #8
Super Moderator
 
diamondx's Avatar
 
Ghazlani M. Ali
Join Date: May 2011
Location: Canada
Posts: 1,271
Blog Entries: 23
Rep Power: 19
diamondx will become famous soon enough
Send a message via MSN to diamondx
I just tried it file-import-from fluent- and select the case file...
What kind of error are you getting
philocfd likes this.
__________________
Regards,
New to ICEM CFD, try this document --> http://goo.gl/G2gkE
Ali
diamondx is offline   Reply With Quote

Old   January 11, 2014, 15:44
Default
  #9
Member
 
Harshal
Join Date: Oct 2013
Posts: 50
Rep Power: 3
Harshal is on a distinguished road
Quote:
Originally Posted by diamondx View Post
I just tried it file-import-from fluent- and select the case file...
What kind of error are you getting
Hello,
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
Harshal is offline   Reply With Quote

Old   January 11, 2014, 15:46
Default
  #10
Super Moderator
 
diamondx's Avatar
 
Ghazlani M. Ali
Join Date: May 2011
Location: Canada
Posts: 1,271
Blog Entries: 23
Rep Power: 19
diamondx will become famous soon enough
Send a message via MSN to diamondx
create one case file with your mesh and just select it...
__________________
Regards,
New to ICEM CFD, try this document --> http://goo.gl/G2gkE
Ali
diamondx is offline   Reply With Quote

Old   January 11, 2014, 15:52
Default
  #11
Member
 
Harshal
Join Date: Oct 2013
Posts: 50
Rep Power: 3
Harshal is on a distinguished road
Quote:
Originally Posted by diamondx View Post
create one case file with your mesh and just select it...
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
Harshal is offline   Reply With Quote

Old   January 11, 2014, 16:35
Default
  #12
Super Moderator
 
diamondx's Avatar
 
Ghazlani M. Ali
Join Date: May 2011
Location: Canada
Posts: 1,271
Blog Entries: 23
Rep Power: 19
diamondx will become famous soon enough
Send a message via MSN to diamondx
that's weird , I have version 14.5 of icem...
__________________
Regards,
New to ICEM CFD, try this document --> http://goo.gl/G2gkE
Ali
diamondx is offline   Reply With Quote

Old   January 12, 2014, 07:24
Default
  #13
New Member
 
Tenglubao
Join Date: Feb 2013
Posts: 3
Rep Power: 4
philocfd is on a distinguished road
Quote:
Originally Posted by diamondx View Post
that's weird , I have version 14.5 of icem...
I've tried Ghazlani M. Ali's method ,for some kinds of fluent cases it works well ,but error occurs for particular cases.
philocfd is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to convert Openfoam data to fluent .cas and .msh files sachinlb OpenFOAM 1 October 25, 2011 11:52
how to convert Openfoam data to fluent .cas and .msh files sachinlb FLUENT 3 October 25, 2011 05:03
[ANSYS Meshing] Export .msh file for fluent by script Mostapha ANSYS Meshing & Geometry 1 August 2, 2011 05: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 09:40


All times are GMT -4. The time now is 11:18.