CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Reversed flow at outlet caused by boundary conditions?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By piu58

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 12, 2022, 06:27
Default Reversed flow at outlet caused by boundary conditions?
  #1
New Member
 
Join Date: Sep 2021
Posts: 10
Rep Power: 4
newOpenfoamUser is on a distinguished road
Hi,

I am running laminar simpleFoam simulations (2 orthogonal correctors) on geometry of blood vessels. The vessels typically have 1 or 2 inlets and multiple outlets. I am simulating the cases with different inlet velocities. When the velocity is high, I observed some cases start to have reverse flow at the outlet and the simulation slowly diverged. Whereas it almost doesn't happen when velocity are lower. There are 3 reasons of divergence that I am suspecting now.

The first is that the velocity is too high and there might be some turbulence and the laminar static simulation cannot capture the effect. However, I am not sure whether this will make it diverge. I calculated the Reynold numbers for a few cases with high inlet velocity, based on the formula Re=(Diameter of inlet)*(maximum velocity at inlet)/(kinematic viscosity). In 2 cases, I found the Reynold number to be 2000 and 2200, seems like close to onset of turbulence.

The second reason I suspect is the boundary condition I set is causing the reverse flow and divergence. The boundary condition that I use is parabolic velocity at inlets, zeroGradient boundary condition for pressure at inlets. At the outlets, I use zeroGradient for velocity. For the pressure outlet condition, I use a special case of windkessel model (https://en.wikipedia.org/wiki/Windkessel_effect). Basically, I set C=0 in the 2 element windkessel model. Therefore, the pressure at each outlets are given by P=QR, where R is a prespecified resistance value, Q is the volumetric flow rate at each outlets. I am using groovyBC to implement the pressure boundary conditions at outlet. It looks like this
Code:
outlet1
    {
	type            groovyBC;
	variables	"res=10000;flow=sum(U&Sf());";
	valueExpression	"flow*res";
    }
I do not know whether this implementation is correct and hope someone can point it out if this is not correct. I am not very familiar with the details of FVM. After browsing the forum, I read that there are implicit and explicit way of implementing boundary conditions and implicit way is more stable. So, I am wondering whether this is the case where it should be implement implicitly and I have done it explicitly?

The third reason might be that I do not extend the domain enough. While this is true for some case, for some cases it does seems like it is extended enough. See the figure attached below. Vessel1 have 2 outlets that are close to a bifurcation whereas the outlets of vessel2 are far from the bifurcation.

I think the mesh should not be the problem here. For both meshes, the number of cells are about 300k. I attached the checkMesh output below. The output seems to suggest they are ok.

Hope someone can help me with this. Thanks!
Attached Images
File Type: png vessel1.png (195.0 KB, 12 views)
File Type: png vessel2.png (109.3 KB, 8 views)
File Type: jpg vessel1CheckMesh.jpg (86.8 KB, 7 views)
File Type: jpg vessel2CheckMesh.jpg (86.7 KB, 6 views)

Last edited by newOpenfoamUser; April 12, 2022 at 10:51.
newOpenfoamUser is offline   Reply With Quote

Old   April 12, 2022, 11:05
Default
  #2
New Member
 
Join Date: Sep 2021
Posts: 10
Rep Power: 4
newOpenfoamUser is on a distinguished road
Something that I forgot to mention is that I have tried using inletOutlet for velocity outlet boundary condition. This seems like a common thing to do in the case of reversed flow at outlets. It kind of stabilised the simulation and prevent it from diverge. However, I have a feeling that this does not really solve the problem and there is still some fundamental issues. In particular, if I move a little bit inwards from the outlet, there is still some area with the velocity pointing inwards. Also, the residuals do not seem to decrease to small value. It might stabilised at some relatively large value like 0.01 (for p) and 0.001 (for U).
newOpenfoamUser is offline   Reply With Quote

Old   April 12, 2022, 15:26
Default
  #3
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
Zero gradient is be the right b.c. for outlets *in principle*. But it may be, that you set this condition to close to the turbulencey your model calculates. I recommend enlarging the outflow area with a tube of constant diameter. In this tube, the flow has time to settle.

In effect, you cannot get a zero gradient condition this near to disturbations of the flow. This is nonphysical. It may be apllicable with low Re numbers, but starts making problems at turbulent flow.
newOpenfoamUser likes this.
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
3D Windturbine simulation in SU2 k.vimalakanthan SU2 15 October 12, 2023 05:53
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 07:30
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 17:44
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 04:05
New topic on same subject - Flow around race car Tudor Miron CFX 15 April 2, 2004 06:18


All times are GMT -4. The time now is 15:17.