|
[Sponsors] |
November 5, 2009, 06:47 |
nonuniform boundary condition( U=f(y) ) ?
|
#1 |
Senior Member
Jiang
Join Date: Oct 2009
Location: Japan
Posts: 186
Rep Power: 17 |
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. |
|
November 5, 2009, 10:48 |
|
#2 |
Member
Ulrich Heck
Join Date: Mar 2009
Location: Krefeld, Germany
Posts: 41
Rep Power: 17 |
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: http://openfoamwiki.net/index.php/Main_ContribOther Here you find funkySetFields and groovyBC which also should solve your problem. Ulrich |
|
November 5, 2009, 13:28 |
|
#3 |
New Member
Ali Sh
Join Date: Jun 2009
Location: London
Posts: 28
Rep Power: 17 |
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:
movingWall { 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)) ) |
|
|
|
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 12:57 |
How to resolve boundary condition problem? | sam | FLUENT | 2 | July 20, 2003 03:19 |