CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   UDF parameter error "unable to find rpvar 'velocity'" (https://www.cfd-online.com/Forums/fluent-udf/217471-udf-parameter-error-unable-find-rpvar-velocity.html)

henrique_car May 13, 2019 17:07

UDF parameter error "unable to find rpvar 'velocity'"
 
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
Code:

unable to find rpvar 'velocity'
for each input parameter countless times. After it finishes trying to find them, it gives this error
Code:

Error: floating point exception
Error Object: #f

Hope you guys can help. Thanks in advance!

AlexanderZ May 14, 2019 01:14

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


All times are GMT -4. The time now is 06:41.