|
[Sponsors] |
December 10, 2011, 20:31 |
boundary conditions script
|
#1 |
New Member
Join Date: Nov 2009
Posts: 17
Rep Power: 19 |
Dear all,
I met a problem with B.C. scripting in ICEM. The command for assigning B.C. to some region should look like this: ic_boco_set T_FF_DOMAIN_BOUNDARY3 {{1 IFACE 3}} however, when I try to parametrize the B.C. like this: ic_boco_set T_FF_DOMAIN_BOUNDARY$i {"1 IFACE $i"} where i is an integer number, I receive "$i" as zone ID. I also tried: ic_boco_set T_FF_DOMAIN_BOUNDARY$i "1 IFACE $i" but ICEM says: "Error in replay of ic_boco_set T_A_DOMAIN_BOUNDARY3 "1 IFACE $i": bogus active string" Does anybody know how to pass a variable to the B.C.? cheers, Adam |
|
December 11, 2011, 05:48 |
solved
|
#2 |
New Member
Join Date: Nov 2009
Posts: 17
Rep Power: 19 |
I have found the solution:
since B.C. is a list data (Tcl/tk manual), the correct syntax should be: ic_boco_set T_A_DOMAIN_BOUNDARY$i [list "1 IFACE $i"] |
|
Tags |
boundary conditions, icem, scripting |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Impinging Jet Boundary Conditions | Anindya | Main CFD Forum | 25 | February 27, 2016 13:58 |
symmetry boundary conditions in cfx | lost.identity | CFX | 41 | May 22, 2013 08:21 |
OpenFOAM Variable Velocity Boundary Conditions | NickolasPl | OpenFOAM Programming & Development | 2 | May 19, 2011 06:37 |
[Netgen] boundary conditions and mesh exporting | vaina74 | OpenFOAM Meshing & Mesh Conversion | 2 | May 27, 2010 10:38 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 05:15 |