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

[ICEM] create .msh file from replay script

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By bluebase

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 27, 2015, 08:25
Default create .msh file from replay script
  #1
New Member
 
Join Date: Apr 2015
Location: United Kingdom
Posts: 2
Rep Power: 0
Gigi is on a distinguished road
Hey guys!

I'm new to CFD online, so hello to everyone

I've been looking in older posts but couldn't find anything related to the issue I'm getting through.

I want to write a line in the replay file that allows me to generate the .msh file from the .uns file. I already tried to do so through the output tab and record the script, but it seems that nothing changes. The last thing that the script records is the output solver (Fluent V6), but it doesn't record anything for the .msh writing.

Can anyone help me out with this issue?

Thanks,
Gigi
Gigi is offline   Reply With Quote

Old   April 27, 2015, 09:15
Default
  #2
Senior Member
 
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 567
Rep Power: 21
bluebase will become famous soon enough
Hi Gigi,

a while ago, i have posted an answer to a similar question. Have look at it.
http://www.cfd-online.com/Forums/ans...tml#post505801

When you export the msh interactively the corresponding execution command to export the mesh is written in the command window. Somehow this command is not recorded.
Copy the export command from the interactive session and put "exec" infront of your output command (or "ic_exec", check the manuel for this or similar command, can't completely recall this command). That should do the trick.
Gigi likes this.
bluebase is offline   Reply With Quote

Old   April 27, 2015, 14:38
Default
  #3
New Member
 
Join Date: Apr 2015
Location: United Kingdom
Posts: 2
Rep Power: 0
Gigi is on a distinguished road
Cool Seb!

I solved the problem by following your suggestions in this and the older post. Thanks a lot for the quick and precise reply.

By the way, as you said, "ic_exec" is the right command in the replay script.

Gigi
Gigi is offline   Reply With Quote

Old   May 27, 2015, 07:54
Default
  #4
New Member
 
Sune Niemann
Join Date: Aug 2011
Posts: 18
Rep Power: 15
Sune is on a distinguished road
If you are going to run the script in batch try the alternative approach of using the export_mesh function:

Code:
ic_export_mesh format {} domfile {} file {} bcfile {} parfile {} gtm_file {} atrfile {} topofile {} ftofile {} opts {}
Sune is offline   Reply With Quote

Reply

Tags
icem, msh file, replay script


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
wmake compiling new solver mksca OpenFOAM Programming & Development 14 June 22, 2018 07:29
what is swap4foam ?? AB08 OpenFOAM 28 February 2, 2016 02:22
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 20:43
[swak4Foam] swak4foam building problem GGerber OpenFOAM Community Contributions 54 April 24, 2015 17:02
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 10:17


All times are GMT -4. The time now is 14:45.