CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

How to apply a function as boundary condition

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

LinkBack Thread Tools Display Modes
Old   January 13, 2009, 04:50
Default Dear Foamers, I'm a newbie
New Member
Chuang Gao
Join Date: Mar 2009
Posts: 12
Rep Power: 10
coompressor is on a distinguished road
Dear Foamers,
I'm a newbie here. For my question, I want to add a function with time and circumferential position as the variables for the inlet boundary condition.
The study object is a circular ring and the inlet radius is R2 while the outlet one is R3. The inlet condition should be V2=V_mean+sin(Omega*t+phi), in which the Omega is the angular velocity and a constant in this expression. V_mean and phi (initial position) are also constants, t is the time for unsteady calculation. Can such kind of boundary condition be given? For fluent, this is very easy through using the UDF.
Thanks all.
coompressor is offline   Reply With Quote


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
How to apply a function as boundary condition coompressor OpenFOAM Running, Solving & CFD 9 February 12, 2009 11:22
How can apply mass flow rate boundary condition? Sima Phoenics 1 December 1, 2007 19:55
Apply boundary condition functions billy OpenFOAM Pre-Processing 7 December 18, 2005 22:22
How to set a boundary condition as a function respect to time chnrdu OpenFOAM Running, Solving & CFD 2 June 17, 2005 04:18
Random function UDF for boundary condition Chris FLUENT 4 March 28, 2003 16:38

All times are GMT -4. The time now is 14:34.