CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > ANSYS Meshing & Geometry

[ICEM] boundary conditions script

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By skrzatchlewny

LinkBack Thread Tools Display Modes
Old   December 10, 2011, 20:31
Default boundary conditions script
New Member
Join Date: Nov 2009
Posts: 17
Rep Power: 12
skrzatchlewny is on a distinguished road
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.?

skrzatchlewny is offline   Reply With Quote

Old   December 11, 2011, 05:48
Default solved
New Member
Join Date: Nov 2009
Posts: 17
Rep Power: 12
skrzatchlewny is on a distinguished road
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"]
PSYMN likes this.
skrzatchlewny is offline   Reply With Quote


boundary conditions, icem, scripting

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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 07:21
OpenFOAM Variable Velocity Boundary Conditions NickolasPl OpenFOAM Programming & Development 2 May 19, 2011 05:37
boundary conditions and mesh exporting vaina74 Open Source Meshers: Gmsh, Netgen, CGNS, ... 2 May 27, 2010 09:38
Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 July 15, 2005 04:15

All times are GMT -4. The time now is 17:04.