|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Join Date: Apr 2016
Posts: 34
Rep Power: 10 ![]() |
Hi,
I have a problem with my LES simulation. I have backflow at the outlet of my domain which results in instability and as a result Courant number increases very fast and the code blows up eventually. What is the best outlet b.c for velocity and pressure that are not reflective and allow the eddies to leave the domain without influencing way upstream? For the velocity, I thought of inletOutlet and advective b.c and for the pressure zeroGradient and waveTransmisive. It'd be appreciated if you could share your experience with me. Thanks |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Charlie Lloyd
Join Date: Feb 2016
Posts: 57
Rep Power: 10 ![]() |
I haven't used it myself but I think 'fixedmeanvalue' might be appropriate for the pressure boundary condition. Have a look through the below thread and see if you can find anyone with similar problems.
fixedMeanValue compilation in OpenFOAM 4.0 |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 51 ![]() ![]() ![]() |
As the first guess I would fix the inflow (based on the fluxes). For that purpose you can use inletOutlet with an inletValue zero. The pressure could be fixed. However, I do not know your simulation settings and which kind of LES you are performing (incompressible / compressible / transonic / subsonic / hyper ...). So you have to decide which BC you want to use. I guess at the moment you have zeroGradient for the velocity. However, this is a common problem (reverse flow) and there are several possibilities.
Cheers...
__________________
Keep foaming, Tobias Holzmann |
|
![]() |
![]() |
![]() |
![]() |
#4 | ||
Member
Join Date: Apr 2016
Posts: 34
Rep Power: 10 ![]() |
Quote:
Quote:
Thanks Tobias. I am doing an incompressible LES with Smagorinsky model and my inflow data is taken from a precursor simulation. You are right, I currently have zeroGradient for both velocity and pressure and it blows up very fast. I will try to use InletOutet for the velocity outlet patch. |
|||
![]() |
![]() |
![]() |
![]() |
#5 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 51 ![]() ![]() ![]() |
Okay, but keep in mind: Setting p and U at one patch for incompressible cases is not a good thing in the numerical point of view. Good luck.
PS: If you are searching for explanations of the boundary conditions, look into the header files. There is a description ![]()
__________________
Keep foaming, Tobias Holzmann |
|
![]() |
![]() |
![]() |
![]() |
#6 |
New Member
Phil
Join Date: Mar 2011
Location: West Des Moines, Iowa, U.S.A.
Posts: 17
Rep Power: 15 ![]() |
Eman,
You might take a look at the following thread... mixed inflow/outflow downstream boundary condition question I had stability issue with mixed inflow/outflow at an outflow boundary, and going to a totalPressure boundary has essentially rectified the problem. |
|
![]() |
![]() |
![]() |
![]() |
#7 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 51 ![]() ![]() ![]() |
I just want to mention something here. The totalPressureboundary condition should be used with a pressure based velocity boundary condition. However, the main problem in reverse flow is the following. If we have an inlet and an outlet and based on the flow structure, we have a back flow at the outlet, the main problem is that we do not know how the flow should flow inside the domain again. Of course based on the pressure field we can estimate something and hope that this is true but in fact we do not have any information. Simple example:
![]()
__________________
Keep foaming, Tobias Holzmann |
|
![]() |
![]() |
![]() |
![]() |
#8 |
New Member
Bo Kong
Join Date: Oct 2016
Location: China
Posts: 22
Rep Power: 9 ![]() |
Hi Eman,
Could you tell me how did you solve this backflow problem? I encounter the same issue. BC at outlet I set as below: U:zeroGradient, p:fixedValue; k:inletOutlet; nusgs:zeroGradient; |
|
![]() |
![]() |
![]() |
Tags |
advective bc, backflow, non reflecting boundary, outlet boundary |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Convergence and backflow problem in cavitation simulation | burakaltintas | CFX | 6 | August 11, 2016 10:00 |
Convergence and backflow problem in cavitation simulation | burakaltintas | CONVERGE | 2 | August 9, 2016 07:42 |
Backflow option for pressure outlet boundary condition | nwpukaka | OpenFOAM | 4 | May 1, 2014 20:00 |
How to set the boundary condition of Pressure Outlet | justeyong | FLUENT | 3 | April 20, 2013 14:31 |
How to Set Pressure Outlet Boundary Condition | freeday | Fluent UDF and Scheme Programming | 1 | August 30, 2012 11:49 |