|
[Sponsors] |
June 11, 2020, 11:26 |
Changing input variable using UDF
|
#1 |
New Member
Manish Vankudre
Join Date: Feb 2020
Posts: 15
Rep Power: 6 |
Hello everyone,
I have created a parameter named "parameter-1" using the input-parameter TUI command. I have created the parameter to be used in udf-side and it says the (id to be used in udf is- "real-1").I am able to access the parameter in the UDF by using the command RP_Get_Input_Parameter("real-1"). Now I want to change the value of this variables using the UDF . Is it possible to do so? Any help is appreciated. Thank you |
|
June 12, 2020, 01:48 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
Code:
RP_Set_Real("real-1",value);
__________________
best regards ****************************** press LIKE if this message was helpful |
|
Tags |
fluent, fluent - udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
loading issue libraries:libsimpleFunctionObjects.so libsimpleSwakFunctionObjects.so | immortality | OpenFOAM Pre-Processing | 15 | April 7, 2024 13:35 |
[PyFoam] Problems with the new PyFoam release | zfaraday | OpenFOAM Community Contributions | 13 | December 9, 2014 19:58 |
error in COMSOL:'ERROR:6164 Duplicate Variable' | bhushas | COMSOL | 1 | May 30, 2008 05:35 |
Fluent UDF: Thru external input | BS | FLUENT | 0 | March 26, 2008 19:53 |
UDF compilation problem -- "undeclared variable" | Henrik Ström | FLUENT | 1 | September 21, 2005 06:25 |