nonuniform boundary condition( U=f(y) ) ?
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.
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.
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:
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))
|All times are GMT -4. The time now is 21:13.|