CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Using Time in Field Function

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By lava12005

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 4, 2013, 06:57
Default Using Time in Field Function
  #1
New Member
 
Miles Aron
Join Date: Oct 2013
Posts: 2
Rep Power: 0
maron is on a distinguished road
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?
maron is offline   Reply With Quote

Old   October 4, 2013, 09:02
Default
  #2
Senior Member
 
KHB
Join Date: Aug 2010
Location: Singapore
Posts: 118
Rep Power: 16
lava12005 is on a distinguished road
Weird, I don't have any issue using $Time.
You are running unsteady right?
maron likes this.
lava12005 is offline   Reply With Quote

Old   October 4, 2013, 09:18
Default
  #3
New Member
 
Miles Aron
Join Date: Oct 2013
Posts: 2
Rep Power: 0
maron is on a distinguished road
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!
maron is offline   Reply With Quote

Reply

Tags
field function, oscillatory flow, star ccm+


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
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


All times are GMT -4. The time now is 12:18.