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

icem script

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 26, 2008, 04:52
Default icem script
  #1
prad
Guest
 
Posts: n/a
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

  Reply With Quote

Old   November 26, 2008, 06:36
Default Re: icem script
  #2
Rogerio Fernandes Brito
Guest
 
Posts: n/a
Can u show us an example of this icem script?

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

Thanks!
  Reply With Quote

Old   November 26, 2008, 08:19
Default Re: icem script
  #3
prad
Guest
 
Posts: n/a
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.
  Reply With Quote

Old   November 26, 2008, 08:55
Default Re: icem script
  #4
Rogerio Fernandes Brito
Guest
 
Posts: n/a
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

  Reply With Quote

Old   December 16, 2008, 15:32
Default Re: icem script
  #5
JS
Guest
 
Posts: n/a
I'm not sure the connection between the scripts. Each script includes an 'exit' command at the end of line?

  Reply With Quote

Old   July 23, 2010, 17:30
Default
  #6
Senior Member
 
Saima
Join Date: Apr 2009
Location: Canada
Posts: 185
Rep Power: 16
Saima is an unknown quantity at this point
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.
Saima is offline   Reply With Quote

Reply


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
[ANSYS Meshing] Problem with Icem Script Krish ANSYS Meshing & Geometry 0 October 18, 2011 13:10
[ICEM] SCRIPT File in ICEM CFD Saima ANSYS Meshing & Geometry 0 July 15, 2010 15:27
Using script file in ICEM CFD Debabrata Mahapatra CFX 1 October 22, 2007 18:45
script file to convert meshes from ICEM 4 to 10 Seb CFX 0 July 6, 2006 11:40
Icem script error in Workbench environment mech80 CFX 11 September 19, 2005 19:13


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