|
[Sponsors] |
July 22, 2013, 19:24 |
icem cfd batch mode
|
#1 |
New Member
Dongwon
Join Date: May 2013
Posts: 10
Rep Power: 13 |
Hello,
I was trying to run icem cfd replay file in batch mode. When I run the replay file in just normal mode( not in batch mode, nomal run in the icem cfd), there is no problem. But, when I try to run in batch mode, it's showing error during the run. error writing file. \hex.uns: error opening file.\hex.uns:Permission deniederror opening file.\hex.uns: Permission denied while executing ....... like this. Is there anyone experience the same error? Or anyone know why it's happening? Thank you, DW |
|
August 7, 2013, 10:54 |
write permissions
|
#2 | |
Senior Member
Join Date: Mar 2010
Posts: 181
Rep Power: 17 |
hi,
i havent had this problem, but from what it looks like, check you are writing to a partition on you HDD for which you have permission ... cheers jonathan Quote:
|
||
August 7, 2013, 14:43 |
|
#3 |
New Member
Dongwon
Join Date: May 2013
Posts: 10
Rep Power: 13 |
Hi Jonathan,
Thanks for reply. I solved the problem. It was due to wrong directory path, put not right directory path in the command. Thanks, DW |
|
December 29, 2013, 18:41 |
icem cfd batch mode
|
#4 |
New Member
Join Date: Dec 2013
Posts: 2
Rep Power: 0 |
Hi srobin11,
I am facing the same error when I try to run ICEM CFD out of ANSYS Meshing in batch mode. When choosing "inveractive" in ANSYS Meshing I can run the ICEM script file manually without problems. When choosing "batch" it gives me the same error as you experienced. You said that you had not put the correct directory path in the command (in the script file?). (I am wondering, because with wrong directory paths it should not run manually either?) Can you explain, what you have changed (line and action) in your script file to get it work in batch mode? Thanks for any help. |
|
January 6, 2014, 13:11 |
|
#5 | |
New Member
Join Date: Dec 2013
Posts: 2
Rep Power: 0 |
Ok, now it works.
Creating the path, ICEM is requesting, solves the problem. Quote:
|
||
May 14, 2014, 06:08 |
Help Needed
|
#6 |
Member
Join Date: Apr 2012
Location: Mainz, Germany
Posts: 60
Rep Power: 14 |
I am running ICEM CFD on Linux and I am trying to open the replay file via command line terminal. My replay file is in the correct directory as I am able to load it when using GUI.
So I just wrote: icemcfd geoRepair_juzer.rpl And I am getting the following error: couldn't read file "geoRepair_juzer.rpl": no such file or directory while executing "source geoRepair_juzer.rpl" invoked from within "script_interp eval [list source $file]" (".rpl" arm line 2) invoked from within "switch [file extension $file] { .prj - .wbpj { aie_openProject $file } .tin { aie_open_geom 1 [list $file] } .uns { aie_open_Mesh 1 "" ..." (procedure "aie_openFile" line 3) invoked from within "aie_openFile $f " (procedure "AIEnvMain" line 432) invoked from within "AIEnvMain" (file "/usr/local/ansys_inc/v145/icemcfd/linux64_amd/lib/ai_env/init.tcl" line 1878) invoked from within "source [file join $env(ICEM_ACN) lib ai_env init.tcl]" invoked from within "if {[info exists env(ICEM_AI_ENVIRONMENT)] == 1} { if { $env(ICEM_AI_ENVIRONMENT) == 1 } { if {[info exists env(MED_ROOT)] && ..." (file "/usr/local/ansys_inc/v145/icemcfd/linux64_amd/lib/med/med_start.tcl" line 27) invoked from within "source $med_root/lib/med/med_start.tcl" invoked from within "if [file exists $med_root/lib/med/med_start.tcl] { source $med_root/lib/med/med_start.tcl } elseif [file exists $med_root/../med/lib/med/med_start..." PLEASE HELP ME SORT OUT THIS ISSUE |
|
May 15, 2014, 00:08 |
|
#7 |
New Member
Dongwon
Join Date: May 2013
Posts: 10
Rep Power: 13 |
hello,
so, you typed this, icemcfd geoRepair_juzer.rpl, in the command line? I am not sure linux gui uses the same command format as windows, but I needed to use type the directory path in window batch command. You should find and use the right batch run command for linux when you run batch mode. You may look that up in the forum. DW |
|
May 15, 2014, 04:53 |
|
#8 | |
Member
Join Date: Apr 2012
Location: Mainz, Germany
Posts: 60
Rep Power: 14 |
Hey thanks for the reply. I searched a lot about the command line in Linux to run replay file in ICEM. But no success this now.
What do you mean by using right batch run command? And which forum are you talking about. Thanks again for your reply. Regards, Juzer Quote:
|
||
May 15, 2014, 08:02 |
|
#9 |
Senior Member
Join Date: Mar 2010
Posts: 181
Rep Power: 17 |
Hi,
to run ICEMCFD in batch mode (i.e. without the gui) and using a replay script at the same time (i.e. automated commands from script file), the command (on linux machines) is: Code:
icemcfd -batch -script name-of-script.rpl Code:
/opt/ansys_inc/v150/icemcfd/linux64_amd/bin/icemcfd jonathan |
|
November 23, 2014, 07:25 |
How to run batch file in ICEM CFD in batch mode in windows
|
#10 |
New Member
Mohammad Irfan Alam
Join Date: Jun 2014
Posts: 1
Rep Power: 0 |
I have 50 set of ICEM CFD .rpl format file. I want to run them one by one and save their meshing in specific folder automatically. How to run all set of .rpl in batch mode in windows? Many thanks in advance.
|
|
November 23, 2014, 08:18 |
|
#11 |
Senior Member
Join Date: Mar 2010
Posts: 181
Rep Power: 17 |
Easiest way is to write a windows batch file (xxx.bat) and CD into each directory in the batch file calling Icem and its corresponding replay script to in turn ...
I use Linux mainly so I can't remember the windows bat format off hand , sorry ... |
|
November 24, 2014, 12:50 |
|
#12 |
Senior Member
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 567
Rep Power: 21 |
Hi Mohammad,
another way is to use a small tcl-script. The rpl-file is already writen in tcl. So you would only need to set a few variables for your parameter and paths. Check the small example. You could save this as a tcl file and excute this script in icem. Don't forget to replace the parameter in your rpl-file. I guess you may need to extend this code a little bit according to your needs. With regards, Sebastian Code:
set parameterlist {1.2 2.3 4.5 ...} foreach designpoint $parameterlist { set variable1 $designpoint set pathname "wheretosave" ic_unload_tetin ic_hex_unload_blocking ic_unload_mesh source yourrplyfile.rpl } |
|
July 31, 2017, 13:08 |
Error accessing icemcfd in linux
|
#13 |
New Member
Sunil
Join Date: Aug 2016
Posts: 7
Rep Power: 10 |
Hello Everyone,
I tried to access icemcfd in linux command line using below command: /apps/Ansys/18.0/v180/icemcfd/linux64_amd/bin/icemcfd It displayed following error, can someone please help? ICEM_ACN is "/apps/Ansys/18.0/v180/icemcfd/linux64_amd". ANSYSLIC_DIR is set to /apps/Ansys/18.0/shared_files/licensing LD_LIBRARY_PATH is "/apps/Ansys/18.0/v180/icemcfd/linux64_amd/lib:/apps/Ansys/18.0/v180/icemcfd/linux64_amd/bin:/apps/Ansys/18.0/v180/icemcfd/linux64_amd/dif/iges:/apps/Ansys/18.0/v180/icemcfd/linux64_amd/../../Framework/bin/Linux64". args = Application initialization failed: no display name and no $DISPLAY environment variable % Exit from ICEM CFD |
|
August 1, 2017, 12:17 |
|
#14 |
Senior Member
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 567
Rep Power: 21 |
HI Sunil,
the $DISPLAY enivornment variable is not specific to ICEM, though it is a problem specific to linux. It's a variable pointing to your X-server, which draws all GUIs. Make sure a x-server is running on your system. If you connect to a remote system, don't forget to open an X-tunnel with your ssh client. Use google to search for the right settings of your system. with regards, Sebastian |
|
August 7, 2017, 17:38 |
ICEM- Command List
|
#15 |
New Member
Nazi
Join Date: May 2016
Posts: 5
Rep Power: 10 |
Hello everyone,
I'm trying to write a job script and journal file to run my ICEM file on Linux. Is there any pdf file for ICEM Linux command? |
|
February 28, 2020, 07:39 |
ICEM in batch mode throws error
|
#16 | |
New Member
KARNATAKA
Join Date: Feb 2020
Posts: 1
Rep Power: 0 |
I am also getting the same error. I am able to run the same rpl file interactively without even changing a single line in it. Also through CYGWIN bash I am able to run without any problem. Only problem occurs if I run the bash script file which in turn calls ICEM batch file with the argument passed as rpl file name
Any solution or fix will be great and appreciable thanks in advance. Quote:
|
||
February 29, 2020, 06:22 |
|
#17 | ||
Senior Member
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 567
Rep Power: 21 |
Quote:
Quote:
|
|||
July 29, 2020, 14:38 |
Automating the Replay Script in Windows
|
#18 |
New Member
Rex
Join Date: Jul 2020
Posts: 2
Rep Power: 0 |
how can i add replay script in icem cfd which is already running by using scheduled script?(OS-windows 10)
i want to automate the loading of replay script in my windows system. i want to give compute mesh for prism,once the mesh completed i want the script to save the prism file in a particular location with particular name and do exit.once it exits i want to shutdown the system automatically. The problem is if i add that replay script it is saving the mesh at the time of loading. so i want to make the replay script load automatically after some hours. how to do that in windows which will get locked after some few minutes? (I dont want to enter prism parameters in the replay script, that's why i want to start the replay sctipt after giving compute mesh) Thanks in advance!! |
|
July 31, 2020, 12:47 |
|
#19 |
Senior Member
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 567
Rep Power: 21 |
Hi Rex,
i think you would need to read and learn something about the task scheduler in windows. And you likely need to write a small bat script to start icem with the desired script when the file is found in the search directory. This bat script could then be used as task to be run. If the replay script contains undesired steps, such as saving of the mesh, remove them. Figure out which parts of that script are the bits you really need. Best regards, Sebastian |
|
July 31, 2020, 14:24 |
|
#20 |
New Member
Rex
Join Date: Jul 2020
Posts: 2
Rep Power: 0 |
I dont want to open another icem cfd along with a script. i want to load replay script in icem cfd which is already running a mesh.And i know about task scheduler. i think task scheduler can start the app with a script, but it cannot load the script in already running icem cfd.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] Icem CFD on Linux | mechanicaldesign | ANSYS Meshing & Geometry | 7 | March 11, 2021 20:44 |
Save images using Fluent in batch processing mode | dixitked | FLUENT | 8 | August 29, 2019 13:25 |
Transport mesh from ICEM CFD, to Fluent, to Sysnoise | Wieland | FLUENT | 2 | April 15, 2012 07:28 |
[ICEM] Export unstructured periodic mesh from ICEM CFD to Fluent | ivanddd | ANSYS Meshing & Geometry | 1 | February 3, 2011 01:51 |
Which is better to develop in-house CFD code or to buy a available CFD package. | Tareq Al-shaalan | Main CFD Forum | 10 | June 13, 1999 00:27 |