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

[ICEM] Edit .msh file (Fluent) in ICEM CFD

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 13, 2013, 13:30
Default Edit .msh file (Fluent) in ICEM CFD
  #1
New Member
 
Join Date: Nov 2012
Posts: 10
Rep Power: 4
Keizers is on a distinguished road
Hi everyone,

I have limited experience with ICEM, and I am trying to do something that I thought was not too ambitious but after hours of looking online and trying things, I don't know if it can be done at all.

I have a ".msh" file from a Fluent tutorial, and I just need to modify it slightly to check something else (sort of developing what the tutorial covers).

I open the mesh file in ICEM (by File>Import Mesh>From Fluent). I then use the Edit Mesh tools as needed. No problems there.

The next step is where I get stuck. I cannot find a way to save it as a .msh file. I have read that you normally right-click on pre-mesh, convert to unstructured (or alternatively File>Mesh>Load from blocking) and then go to the output tab, select Fluent in the first tab, and then go to the 4th tab to save it as .msh.

Because I have imported it from the original .msh file, if I try to click "Load from blocking", it gives me the message "no blocking loaded". I do not have a pre-mesh in the tree view either. All it shows is a green tick on Parts and a grey tick on Mesh. Inside mesh there is a green tick on Subsets, no tick on Lines, and a green tick on Shells (and further inside Shells, there is a green tick on Quads).

Is there any way to obtain a .msh from my modified .msh? Am I missing any steps?

Many many thanks,

K

PS: I am using ICEM CFD 14.0
PSS: Additionally, apologies if this is not the place to post this thread, or if this has already been asked, I couldn't find anything around, but I might have missed it.
Keizers is offline   Reply With Quote

Old   February 13, 2013, 20:38
Default
  #2
Super Moderator
 
diamondx's Avatar
 
Ghazlani M. Ali
Join Date: May 2011
Location: Canada
Posts: 1,291
Blog Entries: 23
Rep Power: 20
diamondx will become famous soon enough
Something you have to know, once you imported the mesh, it is already considered as unstructured
You don't have to convert nor pre-mesh... Why you need to load a blocking from it ??
You did what you have to do, now go direclty to the output tab and save your msh file ... i guess it should work like this
__________________
Regards,
New to ICEM CFD, try this document --> http://goo.gl/G2gkE
Ali
diamondx is offline   Reply With Quote

Old   February 14, 2013, 12:06
Default
  #3
Far
Super Moderator
 
Far's Avatar
 
Sijal Ahmed Memon (turboenginner@gmail.com)
Join Date: Mar 2009
Location: Islamabad Pakistan
Posts: 3,915
Blog Entries: 6
Rep Power: 38
Far will become famous soon enoughFar will become famous soon enough
Send a message via Skype™ to Far
Quote:
Originally Posted by Keizers View Post
Hi everyone,

I have limited experience with ICEM, and I am trying to do something that I thought was not too ambitious but after hours of looking online and trying things, I don't know if it can be done at all.

I have a ".msh" file from a Fluent tutorial, and I just need to modify it slightly to check something else (sort of developing what the tutorial covers).

I open the mesh file in ICEM (by File>Import Mesh>From Fluent). I then use the Edit Mesh tools as needed. No problems there.

The next step is where I get stuck. I cannot find a way to save it as a .msh file. I have read that you normally right-click on pre-mesh, convert to unstructured (or alternatively File>Mesh>Load from blocking) and then go to the output tab, select Fluent in the first tab, and then go to the 4th tab to save it as .msh.

Because I have imported it from the original .msh file, if I try to click "Load from blocking", it gives me the message "no blocking loaded". I do not have a pre-mesh in the tree view either. All it shows is a green tick on Parts and a grey tick on Mesh. Inside mesh there is a green tick on Subsets, no tick on Lines, and a green tick on Shells (and further inside Shells, there is a green tick on Quads).

Is there any way to obtain a .msh from my modified .msh? Am I missing any steps?

Many many thanks,

K

PS: I am using ICEM CFD 14.0
PSS: Additionally, apologies if this is not the place to post this thread, or if this has already been asked, I couldn't find anything around, but I might have missed it.

You can try:

A: tetra mesh

1. Edit > Mesh > Factes : You will get geometry here.

2. Edit mesh > associate mesh and modifiy mesh and export.

B: Hexa mesh :

1. same as above

2. File > Blocking > Load from unstructured mesh.

3. Modify blocking as required. generate pre mesh and mesh

4. Select solver, apply BC and export mesh.
Far is offline   Reply With Quote

Old   February 19, 2013, 13:16
Default
  #4
ADQ
New Member
 
Join Date: Jan 2013
Posts: 1
Rep Power: 0
ADQ is on a distinguished road
Keizers,

Did you find a way to export the mesh from ICEM CFD as an .msh file in order to use it in Fluent? I am still having issues doing this (I have tried every combination I can find).

For example:

File -> export Mesh -> To Ansys (this produces an .in file)
Output Tab -> Select Solver -> Output solver = Ansys
or Output solver = Fluent V6 (these both produce an .uns file)

Any help is much appreciated.
ADQ is offline   Reply With Quote

Old   February 19, 2013, 18:53
Default
  #5
Senior Member
 
Stuart Buckingham
Join Date: May 2010
Location: United Kingdom
Posts: 267
Rep Power: 16
stuart23 will become famous soon enough
ADQ,

This has been covered many times before on this forum, please use the search tool.

1. Save .uns file (File>Mesh>Save Mesh)
2. Write .msh file (Output tab>Write Input {looks like a Rubix Cube!}). Then use Fluent_V6 or the new Ansys Fluent converter. Not sure what the difference is with the new converter.

Stu
__________________
http://bc247.wordpress.com
stuart23 is offline   Reply With Quote

Old   February 24, 2013, 14:07
Default
  #6
New Member
 
Join Date: Nov 2012
Posts: 10
Rep Power: 4
Keizers is on a distinguished road
Hi Ali, Far, ADQ, Stu,

Really sorry for not having replied earlier...I've been ill and did not have access to ansys so I could not try any of your suggestions.

I managed to do it the way Ali suggested. The funny thing is that I had already tried that... I actually don't know what I did different to what I was trying when I posted my question. It's a long time ago now so I can't remember if back then I followed a slightly different method.

Because Ali's method worked, I did not have the time to try yours Far, but many thanks in any case!

ADQ, I do go to File -> export Mesh, I use the output tab as Ali and Stu suggest.

Thanks,

K
Keizers is offline   Reply With Quote

Reply

Tags
edit, icem, msh

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
groovyBC in openFOAM-2.0 for parabolic velocity bc ofslcm OpenFOAM 23 July 10, 2015 09:44
2.0.x on Mac OSX niklas OpenFOAM Installation on Windows, Mac and other Unsupported Platforms 74 March 28, 2012 16:46
1.7.x Environment Variables on Linux 10.04 rasma OpenFOAM Installation 9 July 30, 2010 04:43
.msh file cann't be by Fluent nchuche FLUENT 1 June 29, 2010 10:38
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 17:44.