CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   icem script (http://www.cfd-online.com/Forums/cfx/26723-icem-script.html)

prad November 26, 2008 04:52

icem script
 
Hello! I'd posted this some time ago. I've got 3 icem .rpl scripts to run my simple geometry creation, meshing and conversion to .cfx5 format. All 3 scripts run individually at the DOS prompt as well as in icem replay mode. If I load the commands into a .bat file only the first command is run. The window then closes. Has anyone encountered this before? Suggestions are requested and are welcome. Prad The commands are: echo ICEM Tetin "C:\Prog...........icemcfd\win\bin\icemcfd.bat " -batch -script icemcfd_tin.rpl echo ICEM Mesh "C:\Prog..........icemcfd\win\bin\icemcfd.bat" -batch -script icemcfd_hex.rpl echo ICEM cfx5convertion "C:\Prog...........icemcfd\win\bin\icemcfd.bat " -batch -script icemcfd_con.rpl


Rogerio Fernandes Brito November 26, 2008 06:36

Re: icem script
 
Can u show us an example of this icem script?

Make the upload in http://rapidshare.de/

Thanks!

prad November 26, 2008 08:19

Re: icem script
 
echo ICEM Tetin "C:\Prog...........icemcfd\win\bin\icemcfd.bat " -batch -script icemcfd_tin.rpl

echo ICEM Mesh "C:\Prog..........icemcfd\win\bin\icemcfd.bat" -batch -script icemcfd_hex.rpl

echo ICEM cfx5convertion "C:\Prog...........icemcfd\win\bin\icemcfd.bat " -batch -script icemcfd_con.rpl

There's really nothing more to it: the tin is a 2d square. The 2d planar blocking, edge definition and meshing is defined in the icemcfd_hex.rpl Conversion to .cfx5 format is in the last .rpl. Put all three in a test.bat and double click, only one line runs.

Rogerio Fernandes Brito November 26, 2008 08:55

Re: icem script
 
Is this the code?

echo ICEM Tetin "C:\Prog...........icemcfd\win\bin\icemcfd.bat " -batch -script icemcfd_tin.rpl

echo ICEM Mesh "C:\Prog..........icemcfd\win\bin\icemcfd.bat" -batch -script icemcfd_hex.rpl

echo ICEM cfx5convertion "C:\Prog...........icemcfd\win\bin\icemcfd.bat " -batch -script icemcfd_con.rpl


JS December 16, 2008 15:32

Re: icem script
 
I'm not sure the connection between the scripts. Each script includes an 'exit' command at the end of line?


Saima July 23, 2010 16:30

Hi,

Do u know wat is batch command for CFX.

my Mesh is in ICEM and every time it will be change , so i want to gice CFX commands starting with msh file. Do u know the way? If yes pls let me know.

Regards,

Quote:

Originally Posted by prad
;91018
echo ICEM Tetin "C:\Prog...........icemcfd\win\bin\icemcfd.bat " -batch -script icemcfd_tin.rpl

echo ICEM Mesh "C:\Prog..........icemcfd\win\bin\icemcfd.bat" -batch -script icemcfd_hex.rpl

echo ICEM cfx5convertion "C:\Prog...........icemcfd\win\bin\icemcfd.bat " -batch -script icemcfd_con.rpl

There's really nothing more to it: the tin is a 2d square. The 2d planar blocking, edge definition and meshing is defined in the icemcfd_hex.rpl Conversion to .cfx5 format is in the last .rpl. Put all three in a test.bat and double click, only one line runs.



All times are GMT -4. The time now is 20:02.