CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 10, 2011, 20:31
Default boundary conditions script
  #1
New Member
 
Join Date: Nov 2009
Posts: 17
Rep Power: 18
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.?

cheers,
Adam
skrzatchlewny is offline   Reply With Quote

Old   December 11, 2011, 05:48
Default solved
  #2
New Member
 
Join Date: Nov 2009
Posts: 17
Rep Power: 18
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

Reply

Tags
boundary conditions, icem, scripting

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
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 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


All times are GMT -4. The time now is 03:55.