CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

error when defining a list using scheme

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 12, 2023, 22:48
Default error when defining a list using scheme
  #1
Senior Member
 
Join Date: Feb 2020
Posts: 114
Rep Power: 6
lbj007 is on a distinguished road
For example, when I use
Quote:
(ti-menu-load-string "/define/boundary-conditions/modify-zones/zone-type (an-channel an-channel-in an-channel-out) interior")
, it works. However, when I want to define the list in the form of global variables, it gives me an error. I don't know what's going on.
Quote:
(define int_faces '(an-channel an-channel-in an-channel-out))
(ti-menu-load-string "/define/boundary-conditions/modify-zones/zone-type int_faces interior")
lbj007 is offline   Reply With Quote

Old   April 30, 2023, 08:55
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
(define int_faces '(an-channel an-channel-in an-channel-out))
(ti-menu-load-string "/define/boundary-conditions/modify-zones/zone-type ~a interior" int_faces )
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Old   April 30, 2023, 21:37
Default
  #3
Senior Member
 
Join Date: Feb 2020
Posts: 114
Rep Power: 6
lbj007 is on a distinguished road
Quote:
Originally Posted by AlexanderZ View Post
(define int_faces '(an-channel an-channel-in an-channel-out))
(ti-menu-load-string "/define/boundary-conditions/modify-zones/zone-type ~a interior" int_faces )
It doesn't work.

lbj007 is offline   Reply With Quote

Reply

Tags
scheme, tui command


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
[swak4Foam] swak4Foam-groovyBC build problem zxj160 OpenFOAM Community Contributions 18 July 30, 2013 13:14
CFX-Pre problem, pls help!!! cth_yao CFX 0 February 17, 2012 00:52
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 11:44
Need help in Scheme Programming - Mulltiplying list elements ydan87 Fluent UDF and Scheme Programming 2 November 9, 2011 00:05
Fluent specific scheme function list wanted ivor FLUENT 1 December 19, 2003 09:00


All times are GMT -4. The time now is 20:14.