CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

nonuniform boundary condition( U=f(y) ) ?

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

LinkBack Thread Tools Display Modes
Old   November 5, 2009, 06:47
Default nonuniform boundary condition( U=f(y) ) ?
Senior Member
Join Date: Oct 2009
Location: Japan
Posts: 186
Rep Power: 9
panda60 is on a distinguished road
Dear Foamers:
I want to use nonuniform boundary condition in flow inlet. the velocity is changing with height. That is U=f(y). How can I add this condition to inflow boundary condition ?
Thank you very much.
panda60 is offline   Reply With Quote

Old   November 5, 2009, 10:48
Ulrich Heck
Join Date: Mar 2009
Location: Krefeld, Germany
Posts: 41
Rep Power: 10
ulli is on a distinguished road
Hi Jiang

you can either look at the HotRoom example in the heatTransfer/buoyant* example. Here there is initial temperature field generated on a patch. Look at the setHotRoom.C-File and it will be quite clear how to do something similar for U.
Or take a look a the wiki:
Here you find funkySetFields and groovyBC which also should solve your problem.

ulli is offline   Reply With Quote

Old   November 5, 2009, 13:28
New Member
Ali Sh
Join Date: Jun 2009
Location: London
Posts: 28
Rep Power: 10
ICL is on a distinguished road
Here is the sample of boundary condition where your wall moving and you create a file (here called time-series) and add the speed for each time instant:

type timeVaryingUniformFixedValue;
fileName "$FOAM_CASE/time-series";
outOfBounds clamp;
The format for time-series is:
(0.001 (Ux Uy Uz))
(0.0011 (0.0100075 0 0))
(0.0012 (0.0100089 0 0))
(0.0013 (0.0100105 0 0))
(0.0014 (0.0100121 0 0))
ICL 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
Axis Boundary Condition..what is it? CFDtoy FLUENT 6 February 13, 2007 06:51
How to set boundary condition in Fluent for the fo Peiyong FLUENT 1 November 10, 2006 12:44
pressure boundary condition in fractional step Jean-Fran├žois Corbett Main CFD Forum 3 January 10, 2006 09:49
1 and 2 Order Boundary condition at the same place CFD_Flo Main CFD Forum 4 July 11, 2005 11:57
How to resolve boundary condition problem? sam FLUENT 2 July 20, 2003 02:19

All times are GMT -4. The time now is 12:19.