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

Using Time in Field Function

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

Like Tree1Likes
  • 1 Post By lava12005

Reply
 
LinkBack Thread Tools Display Modes
Old   October 4, 2013, 05: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, 08:02
Default
  #2
Senior Member
 
KHB
Join Date: Aug 2010
Location: Singapore
Posts: 107
Rep Power: 6
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, 08: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+

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
AMI speed performance danny123 OpenFOAM 19 October 24, 2012 07:44
plot over time fferroni OpenFOAM Post-Processing 7 June 8, 2012 07:56
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06
BlockMesh FOAM warning gaottino OpenFOAM Native Meshers: blockMesh 7 July 19, 2010 14:11
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09


All times are GMT -4. The time now is 22:50.