CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   changing scheme variable with UDF? (http://www.cfd-online.com/Forums/fluent/46012-changing-scheme-variable-udf.html)

Wagemakers September 12, 2007 08:35

changing scheme variable with UDF?
 
Hi All,

Is it possible to change or set a scheme variable through an UDF? Currently, I use rpsetvar after I get the value from the UDF by printf. Is there a way to do this directly in the UDF?

Thanks


Joe September 12, 2007 08:41

Re: changing scheme variable with UDF?
 
yes. section 3.6 in the udf manual.

Wagemakers September 13, 2007 05:10

Re: changing scheme variable with UDF?
 
Thanks joe for the rapid respons,

I can access a scheme variable by rpgetvar in an UDF, and I'd like to change that variable within this UDF, not trhough the text interface by using rpsetvar. Is there a command similar to rpsetvar that can be used in the UDF? I read the UDf manual 3.6, but I don't seem to find it. Am I overlooking something?

With regards, R. Wagemakers



All times are GMT -4. The time now is 12:31.