CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Time Varying Boundary Conditon

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 14, 2005, 17:18
Default 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
  Reply With Quote

Old   February 14, 2005, 18:00
Default 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
  Reply With Quote

Old   February 14, 2005, 21:31
Default 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
  Reply With Quote

Old   February 15, 2005, 07:21
Default 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
  Reply With Quote

Reply


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
Using a boundary profile file with unsteady, spatially varying data jonnythewlis FLUENT 0 December 8, 2009 16:49
time varying boundary condition cfd-student CFX 0 April 15, 2008 09:31
Modeling in micron scale using icoFoam m9819348 OpenFOAM Running, Solving & CFD 7 October 27, 2007 01:36
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 03:58
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 16:55


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