|
[Sponsors] |
February 14, 2005, 17:18 |
Time Varying Boundary Conditon
|
#1 |
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 |
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 |
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 |
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 |
|
|
|
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 |