CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   STAR-CCM+ (http://www.cfd-online.com/Forums/star-ccm/)
-   -   Using Time in Field Function (http://www.cfd-online.com/Forums/star-ccm/124395-using-time-field-function.html)

maron October 4, 2013 05:57

Using Time in Field Function
 
I am trying to set velocity at an inlet with an user definer field function. I have defined a function sin(5*$Time) and when I run I get the error "Cannot resolve function ${Time}: "Time" not defined." Does anyone know how to do this?

lava12005 October 4, 2013 08:02

Weird, I don't have any issue using $Time.
You are running unsteady right?

maron October 4, 2013 08:18

I think it was because my function was set to scalar instead of vector and I had to clean up the physics model. I didn't realize that would throw a problem with the time variable but it works now. Thank you for your reply lava12005!


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