CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

UDF parameter error "unable to find rpvar 'velocity'"

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By AlexanderZ

LinkBack Thread Tools Search this Thread Display Modes
Old   May 13, 2019, 17:07
Question UDF parameter error "unable to find rpvar 'velocity'"
New Member
Henrique Carneiro
Join Date: May 2019
Posts: 2
Rep Power: 0
henrique_car is on a distinguished road
Hi guys,

I am running a dynamic mesh with an UDF and trying to use input parameters through scheme just as described in here.

The problem is when I run the simulation, the first time step runs fine but as it goes to the second time step, Fluent gives me
unable to find rpvar 'velocity'
for each input parameter countless times. After it finishes trying to find them, it gives this error
Error: floating point exception
Error Object: #f
Hope you guys can help. Thanks in advance!
henrique_car is offline   Reply With Quote

Old   May 14, 2019, 01:14
Senior Member
Join Date: Apr 2013
Posts: 2,015
Rep Power: 31
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
why do you use scheme variables for parameters?

there is a macro RP_Get_Input_Parameter("variablename") for UDF

by the way, it is impossible to understand the reason of your problem without your detailed description of steps which leads to this error

best regards
henriquecar likes this.
AlexanderZ is offline   Reply With Quote


parameter, rpvar, scheme, udf

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
How to use input parameter in UDF? mariam.sara Fluent UDF and Scheme Programming 17 December 2, 2015 14:38
UDF using for an averaging parameter masoud12321 Fluent UDF and Scheme Programming 1 March 10, 2015 06:25
Help! where to find full UDF Macros and functions kim FLUENT 6 March 5, 2014 09:01
Could somebody help me find this UDF? ToddZ FLUENT 1 September 27, 2005 11:41
find the best inlet with udf Tuckbros FLUENT 0 May 20, 2004 12:56

All times are GMT -4. The time now is 03:09.