|February 29, 2012, 08:47||
Scheme programing, variable definition
Join Date: Feb 2012
Posts: 1Rep Power: 0
Hi, I'm in need of help regarding definition of a variable in a .scm file (scheme)
I have a transient simulation in fluent and want to change a boundary condition from wall to interior when a certain pressure limit in the system is achived.
I want to do this with a .scm file. Something like this:
(rp-var-define 'press (ti-menu-load-string"/report/surface-integrals/facet-max/ (1) mixture pressure no") 'float #f)
(if (> (%rpgetvar 'press) 10000) (ti-menu-load-string "/define/boundary-conditions/zone-type outletfrombox interior"))
The problem I'm having is to define the pressure as a variable.
To be clear, I have problem asigning the variable press with a number corresponding to my pressure.
I have no previous experience in scheem and are gratefull for help=)
|September 3, 2014, 19:21||
Join Date: Apr 2010
Posts: 301Rep Power: 9
Could you solve this problem??! I have the very similar problem and hope you would help me.
|fluent scheme variable|
|Thread||Thread Starter||Forum||Replies||Last Post|
|OpenFOAM static build on Cray XT5||asaijo||OpenFOAM Installation||9||April 6, 2011 12:21|
|emag beta feature: charge density||charlotte||CFX||4||March 22, 2011 10:14|
|Definition of limiter function for central dirrerencing scheme||sebastian_vogl||OpenFOAM Running, Solving & CFD||0||January 5, 2009 12:08|
|error in COMSOL:'ERROR:6164 Duplicate Variable'||bhushas||Main CFD Forum||1||May 30, 2008 04:35|
|Replace periodic by inlet-outlet pair||lego||CFX||3||November 5, 2002 21:09|