|
[Sponsors] |
October 4, 2013, 06:57 |
Using Time in Field Function
|
#1 |
New Member
Miles Aron
Join Date: Oct 2013
Posts: 2
Rep Power: 0 |
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?
|
|
October 4, 2013, 09:02 |
|
#2 |
Senior Member
KHB
Join Date: Aug 2010
Location: Singapore
Posts: 118
Rep Power: 16 |
Weird, I don't have any issue using $Time.
You are running unsteady right? |
|
October 4, 2013, 09:18 |
|
#3 |
New Member
Miles Aron
Join Date: Oct 2013
Posts: 2
Rep Power: 0 |
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!
|
|
Tags |
field function, oscillatory flow, star ccm+ |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AMI speed performance | danny123 | OpenFOAM | 21 | October 24, 2020 05:13 |
plot over time | fferroni | OpenFOAM Post-Processing | 7 | June 8, 2012 08:56 |
channelFoam for a 3D pipe | AlmostSurelyRob | OpenFOAM | 3 | June 24, 2011 14:06 |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 15:11 |
Convergence moving mesh | lr103476 | OpenFOAM Running, Solving & CFD | 30 | November 19, 2007 15:09 |