|
[Sponsors] |
September 27, 2012, 06:34 |
Icem programming
|
#1 |
New Member
Join Date: Mar 2011
Posts: 20
Rep Power: 15 |
Hi i have a problem to clarify: i have to write an icem macro which recoursively meshes my domain rounding an airfoil profile in a range of incidence angles. Could i do it programming with APDL language?
Thanks to all |
|
October 1, 2012, 05:07 |
|
#2 |
New Member
Mariano
Join Date: Jan 2012
Posts: 19
Rep Power: 14 |
You can record a session during the construction of your first mesh. When you will mesh other airfoils you have to run the session recordered to get the new mesh.
There is only one shrewdness: you must use the same names for all the parts of your geometry, otherwise the session file will not be able to recognize geometry part and mesh creation will fail or will completed not in a proper manner. I hope to be helpful! |
|
October 1, 2012, 19:22 |
|
#3 |
Senior Member
Stuart Buckingham
Join Date: May 2010
Location: United Kingdom
Posts: 267
Rep Power: 26 |
Helios,
The programming language used by ICEM is not the same an Ansys APDL. The ICEM programming language interpreter is Tcl/Tk but with hundreds of other ICEM functions. The ICEM functions begin with "ic_". You will find lots of information in the ICEM programmers guide. Stu |
|
October 2, 2012, 08:34 |
|
#4 |
New Member
Join Date: Mar 2011
Posts: 20
Rep Power: 15 |
thanks at all but my proble is to take a macro recorded before with all the operation i have to do and in angle of attack function automatically rotate the airfoil profile to remesh all with an "if cycle" or an "for cycle". by the way i'll follow stuart's advise and i'll see better in the ICEM programmers guide. Can i find it in the Icem help?? thanks again
|
|
October 2, 2012, 08:58 |
|
#5 |
Senior Member
Stuart Buckingham
Join Date: May 2010
Location: United Kingdom
Posts: 267
Rep Power: 26 |
Helios,
Have a look at the following websites for some pointers: If statements: http://wiki.tcl.tk/1042 For loops: http://wiki.tcl.tk/1015 foreach loops (similar to for loops, but loops through each item in a list, I ind these REALLY handy in ICEM) http://wiki.tcl.tk/1018 For other tcl/tk commands, the wiki.tcl.tk website is quite useful, otherwise just try google. For ICEM specific commands, check the ICEM programmers guide. Stu |
|
October 3, 2012, 06:35 |
|
#6 |
New Member
Join Date: Mar 2011
Posts: 20
Rep Power: 15 |
thanks Stuart you were very helpful for me
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PEM Fuel cell module meshes. ICEM vs workbench | aarvay | FLUENT | 24 | March 2, 2020 07:50 |
[ANSYS Meshing] Workbench 13: Structured Hexa Meshes | rooftop | ANSYS Meshing & Geometry | 19 | March 31, 2016 03:33 |
[ICEM] Meshing adjacent wall geometry and simple ICEM questions | everdimension | ANSYS Meshing & Geometry | 25 | June 20, 2012 05:25 |
Design Modeler to ICEM..... | Joe | CFX | 0 | January 24, 2008 04:39 |
Programming language for ICEM CFD? | Michael B | CFX | 2 | January 11, 2007 10:06 |