|
[Sponsors] |
August 25, 2017, 07:00 |
ICEM CFD Replay Script Command
|
#1 | |
New Member
Vicky
Join Date: Aug 2017
Posts: 1
Rep Power: 0 |
Hello,
I have a full script ready. I intend to use the script to do over 80 meshes with slightly varying geometry. The problem I currently have with my script file is that it's trying to import the geometry file from a specific directory. I was wondering if it's possible to select the geometry file from the same folder where the script is run from by default in a much more general context. This is how the first couple lines of the script looks like, Quote:
Regards, Vicky |
||
August 25, 2017, 08:21 |
|
#2 |
Senior Member
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 567
Rep Power: 21 |
Hi Vicky,
ICEM does understand relative paths, which means simply "NACA.dat" would be sufficient, if the file is in the current work directory. In windows, if you use the start menu link to ICEM your default current-work-directory is your home/user directory (i believe). Use "ic_chdir" to go into a different, desired directory: Code:
ic_chdir "C:/CFD/..." It would be better, if you can start ICEM within the desired directory from the begin. Then the current work directory is already set to the desired directory. The neccessarity to set a working directory is coming from the tcl-environment which ICEM's GUI is written in. Best regards, Sebastian |
|
June 12, 2019, 17:58 |
ICEM CFD Scripting Error
|
#3 |
New Member
Anup Jain
Join Date: Mar 2019
Location: New Hampshire
Posts: 23
Rep Power: 7 |
Last edited by jainanup27; June 13, 2019 at 05:18. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] Remeshing script using ICEM CFD replay | mateusdias89 | ANSYS Meshing & Geometry | 2 | February 15, 2015 14:18 |
Learn ANSYS ICEM CFD | easy_astronaut | ANSYS | 2 | December 15, 2013 15:34 |
Using ICEM CFD to repair/edit ANSYS Meshing | Kaaji1359 | ANSYS | 2 | July 30, 2013 10:28 |
[ICEM] Export unstructured periodic mesh from ICEM CFD to Fluent | ivanddd | ANSYS Meshing & Geometry | 1 | February 3, 2011 00:51 |
ICEM CFD 5.1 Hex-Tet mesh merging failure | bogesz | CFX | 1 | January 29, 2005 06:46 |