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

[ICEM] How to call ICEM by Fortran?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 12, 2010, 15:48
Default How to call ICEM by Fortran?
  #1
mpb
New Member
 
Join Date: Nov 2010
Posts: 4
Rep Power: 15
mpb is on a distinguished road
Hello there, does anybody know how to call ICEM by Fortran (for example in an iterative procedure)
mpb is offline   Reply With Quote

Old   November 14, 2010, 21:25
Default icemcfd -script scriptname.tcl
  #2
Senior Member
 
PSYMN's Avatar
 
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,663
Blog Entries: 1
Rep Power: 47
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
From the command prompt, you can type "ICEMCFD". Or you can run the icemcfd.bat file located in the ICEMCFD folder...

If you want to run a script, you would type...

icemcfd -script scriptname.tcl

If you wanted to run it in batch,

icemcfd -batch scriptname.tcl

Hope that is what you were looking for, if not, please be more specific.

Simon
PSYMN is offline   Reply With Quote

Old   November 15, 2010, 20:28
Default
  #3
mpb
New Member
 
Join Date: Nov 2010
Posts: 4
Rep Power: 15
mpb is on a distinguished road
Thank you.
Can I get the ICEM script or batch file from my mesh file?
mpb is offline   Reply With Quote

Old   November 16, 2010, 14:57
Default .rpl or .jrf
  #4
Senior Member
 
PSYMN's Avatar
 
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,663
Blog Entries: 1
Rep Power: 47
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
No, the mesh file contains the coordinates of the mesh, not the instructions to make it... However, you can create a replay file (*.rpl) or journal file (*.jrf) while meshing your geometry... And that can be run as a script file.
PSYMN is offline   Reply With Quote

Old   June 18, 2012, 16:19
Default
  #5
New Member
 
CFD-1987
Join Date: Jun 2012
Posts: 11
Rep Power: 13
CFD-1987 is on a distinguished road
Hi to everyone! I have some questions as well on this subject cause i have to do the same thing. If we want to save a journal file how can we do it????To call the replay file and ICEM to run with Fortran we have to write the commands in the editor, kate for example?or we have to download a specific editor for tcl????
Can i find somewhere any examples of such fortran codes????

Thanks in advance
CFD-1987 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
Call Fortran program from OpenFoam tsjb00 OpenFOAM Running, Solving & CFD 6 April 22, 2013 15:26
How to call FLUENT in my Fortran source? Sandia FLUENT 2 December 1, 2012 15:33
How to call FORTRAN files as UDF? Ehsan-F Fluent UDF and Scheme Programming 6 September 11, 2012 11:03
How to call a subrutine writen with Fortran Lana CFX 4 August 20, 2008 05:41
2D CFD code using SIMPLE algorithm bfan Main CFD Forum 3 June 22, 2002 22:01


All times are GMT -4. The time now is 19:59.