|
[Sponsors] |
April 27, 2015, 08:25 |
create .msh file from replay script
|
#1 |
New Member
Join Date: Apr 2015
Location: United Kingdom
Posts: 2
Rep Power: 0 |
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 |
|
April 27, 2015, 09:15 |
|
#2 |
Senior Member
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 567
Rep Power: 21 |
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. |
|
April 27, 2015, 14:38 |
|
#3 |
New Member
Join Date: Apr 2015
Location: United Kingdom
Posts: 2
Rep Power: 0 |
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 |
|
May 27, 2015, 07:54 |
|
#4 |
New Member
Sune Niemann
Join Date: Aug 2011
Posts: 18
Rep Power: 15 |
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 {} |
|
Tags |
icem, msh file, replay script |
|
|
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 |