# Time Varying Boundary Conditon

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

 February 14, 2005, 17:18 Time Varying Boundary Conditon #1 ashish Guest   Posts: n/a Hi all, This bit is interesting. I have a problem of time varying boundary condition. I have a function on as boundary condition which varies with time. Say function = sin(5*time). When i write it down in CEL it gives error that it is unable to compute the function "time"? Why so ? and if so .. how can i give a function varying with respect to time on boundary only. Many thanks, Ashish

 February 14, 2005, 18:00 Re: Time Varying Boundary Conditon #2 Glenn Horrocks Guest   Posts: n/a Hi, In the documentation, under the CEL expression language it describes the variables and their name for use in CFX. You will find the variable name for time is "t". Note it is case sensitive. Glenn Horrocks

 February 14, 2005, 21:31 Re: Time Varying Boundary Conditon #3 ashish Guest   Posts: n/a Hi Glenn, I have tried that option but it gives some error with a message that it is unable to compute "t". regards ashish

 February 15, 2005, 07:21 Re: Time Varying Boundary Conditon #4 Rui Guest   Posts: n/a Hi, In CEL expressions I use the variable "t" and it works. I think you get an error because the sine argument must have angular units, and when you create an expression sin(5*t) the argument unit is [s]. So you have to do sin(5*t*1 [rad]/1 [s]), or if you want the period to be 1/5 [s] : sin(5*t*2*pi [rad]/1 [s]) Regards, Rui

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post jonnythewlis FLUENT 0 December 8, 2009 16:49 cfd-student CFX 0 April 15, 2008 08:31 m9819348 OpenFOAM Running, Solving & CFD 7 October 27, 2007 00:36 msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58 Mark CFX 6 November 15, 2004 16:55

All times are GMT -4. The time now is 15:05.