|
[Sponsors] |
p & U outlet bcs for realistic wind inlet profile |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 16, 2010, 09:51 |
p & U outlet bcs for realistic wind inlet profile
|
#1 |
New Member
Join Date: Jan 2010
Posts: 10
Rep Power: 16 |
Hello,
I am running simpleFoam with realistic wind profile inlet for flow over terrain and I am having problems with outlet BCs. As can be seen from the attached images, the flow is not being allowed to exit the domain and there seems to be an inconsistency with how I'm dealing with the pressure. The simulation converges to 10e-4, I have turbulence turned off for now and the domain is a simple box. Inlet is on the left, outlet on the right, top and other sides are symmetry planes and the bottom is rough terrain (no turbulence right now). Also, I am using first order convection scheme. My bcs are: Inlet: U: specified wind profile p: zeroGradient Outlet: U: inletOutlet inletValue (0 0 0) value (0 0 0) p: fixedMeanValue meanValue 0 (on another post Hrvoje Jasak mentions this is a nice option for stratified outlet profiles ... am I using it correctly in this sense) So my question is: for this case what would be appropriate outlet conditions for velocity and pressure to remove this problem? I have tried several combinations but no luck. (I am running 1.7.0 with same extra bcs picked up along the way) Thanks, Steve |
|
July 16, 2010, 13:29 |
|
#2 |
New Member
Przemyslaw Marek
Join Date: Feb 2010
Posts: 2
Rep Power: 0 |
Hi,
I had a similar issue but it seemed to be caused by too high convergence setting. I basically lowered it so the simulation ran for longer and the flow 'went through' the whole domain. The pressure build up seems to be only at the bottom of it, so I'm not too sure whether the flow is not able to leave it (I think it is actually able to leave it). BTW, how did you get a nonlinear inlet velocity profile in OF 1.7? I used groovyBC before but OF 1.7 doesn't seem to like it too much. Przemek |
|
July 16, 2010, 13:36 |
|
#3 |
New Member
Join Date: Jan 2010
Posts: 10
Rep Power: 16 |
Hi przemek,
I am not too sure what you mean about the convergence settings. This should not make a difference. What I meant is that the flow is leaving the domain but the profiles are not maintained throughout the domain (more or less) and get completely smeared at the outlet. It is not too difficult to specify any inlet profile you want. You can write a utility for this where prior to your simulation you look over inlet boundary faces and assign values of your choice. In this case they are interpolated from profiles obtained from a numerical weather prediction model. Cheers, Steve |
|
July 19, 2010, 02:43 |
Just an idea
|
#4 |
New Member
Chris Butler
Join Date: Jun 2010
Posts: 21
Rep Power: 16 |
Hi Steve,
I have not been using OpenFOAM for too long but the values you have assigned to the inletOutlet condition seem strange to me. Perhaps someone who has used the boundary condition before could comment. My suggestion would be to try a zero gradient condition for velocity at the outlet. There is are some assumptions made about the flow (that it is essentially not changing moving upstream) near to the boundary but it should work. Cheers CB |
|
July 19, 2010, 03:29 |
|
#5 |
New Member
Join Date: Jan 2010
Posts: 10
Rep Power: 16 |
Hi Chris:
The inletOutlet condition sets zeroGradient when the boundary patch acts as an outlet and then kills any reversed flow by assigning (0 0 0) to inward flow. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF inlet velocity profile mismatch with Fluent | ChristineL | Fluent UDF and Scheme Programming | 15 | November 25, 2016 07:45 |
Inlet Profile with CFX-Pre | Fadi Ishak | CFX | 1 | June 10, 2008 08:12 |
unsteady inlet profile | Justin | Main CFD Forum | 0 | July 4, 2007 14:58 |
NON-UNIFORM VELOCITY INLET BOUNDARY PROFILE | MURAT | Main CFD Forum | 0 | December 30, 2003 22:08 |
create logarithmic wind profile for inlet | Murat | Main CFD Forum | 0 | December 30, 2003 01:45 |