|
[Sponsors] |
August 7, 2014, 11:32 |
Load views in ICEMCFD script
|
#1 |
Senior Member
Join Date: Mar 2010
Posts: 181
Rep Power: 17 |
hi guys,
just wondering if any of the ICEM guys know whether it is possible / how to load previously saved 'views' in ICEM?? I need / want to post process a whole lot of meshes automatically and when i tried to record the replay file including loading a previously saved view, nothing was recorded ... so just wondering if its indeed possible??? thanks very much and best regards cheers jonathan |
|
August 8, 2014, 07:55 |
|
#2 |
Senior Member
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 567
Rep Power: 21 |
Hi Jonathan,
there is a tcl command hidden in the icem source which is not fully documented... Code:
ic_current_view # returns current view settigns ic_current_view -pos $pos -rot $rot -center $center -scale $scale # sets a new view, all arguments are optional With regards, Sebastian |
|
August 8, 2014, 12:16 |
|
#3 | |
Senior Member
Join Date: Mar 2010
Posts: 181
Rep Power: 17 |
Hi Sebastian,
thank you very much for this answer and your help. i am not an expert in TCL so this really helps me - i have only done beginner-to-intermediate scripting in ICEM, and i am not sure if the 'scripting language' which is recorded when you record replay files is actually TCL or even another 'language'. Anyway, thanks very much. i'll give it a go when i get time tonight (i need to post-process 120 auto generated meshes for a study i am doing), so if this works it will be a huge help. thanks very much, best regards Jonathan Quote:
|
||
August 9, 2014, 11:28 |
|
#4 |
Senior Member
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 567
Rep Power: 21 |
Yes, the recorded replay file is in tcl language. The difference between the replay file and a tcl file is the numbering added in the replay file. I think there are some more minor differences but not important ones.
That means you could add this command in your replay file. with regards, Sebastian |
|
Tags |
batch, icem, load view, script |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] I need help for ICEMCFD script | ringtail | ANSYS Meshing & Geometry | 2 | September 20, 2010 11:46 |
Load unstructured hex-mesh as blocking in icemcfd | korni | ANSYS Meshing & Geometry | 4 | July 21, 2010 18:40 |
aerofoil geomety in ICEMCFD using script files | said | CFX | 0 | December 21, 2007 15:38 |
ICEMCFD script files question | hadj | Main CFD Forum | 0 | December 5, 2007 10:06 |
creating geometry using "Script files" in ICEMCFD | jaber | Main CFD Forum | 1 | November 11, 2007 10:28 |