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

Changing input variable using UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 11, 2020, 10:26
Default Changing input variable using UDF
  #1
New Member
 
Manish Vankudre
Join Date: Feb 2020
Posts: 15
Rep Power: 6
manish1308 is on a distinguished road
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
manish1308 is offline   Reply With Quote

Old   June 12, 2020, 00:48
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
Code:
RP_Set_Real("real-1",value);
__________________
best regards


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

Reply

Tags
fluent, fluent - udf


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
loading issue libraries:libsimpleFunctionObjects.so libsimpleSwakFunctionObjects.so immortality OpenFOAM Pre-Processing 15 April 7, 2024 12:35
[PyFoam] Problems with the new PyFoam release zfaraday OpenFOAM Community Contributions 13 December 9, 2014 18:58
error in COMSOL:'ERROR:6164 Duplicate Variable' bhushas COMSOL 1 May 30, 2008 04:35
Fluent UDF: Thru external input BS FLUENT 0 March 26, 2008 18:53
UDF compilation problem -- "undeclared variable" Henrik Ström FLUENT 1 September 21, 2005 05:25


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