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

Open boundary condition in OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 15, 2017, 17:21
Question Open boundary condition in OpenFOAM
  #1
Senior Member
 
Thomas Oliveira
Join Date: Apr 2015
Posts: 114
Rep Power: 12
t.oliveira is on a distinguished road
The question made short:
Is there any open boundary condition implemented in OpenFOAM? By that I mean a boundary condition such as the no boundary condition (Griffiths, 1997) and the free boundary condtion (Papanastasiou, 1992).

The problem I am trying to simulate is the unsteady advection-diffusion of a quantity \phi along a tube. The velocity field is known. At t=0, \phi=0. At the inlet face, the quantity is constantly \phi_I. What would be the appropriate boundary condition for the outlet face?


The question made precise (in 1D):
Consider the advection-diffusion equation \frac{\partial \phi}{\partial t} + u \frac{\partial \phi}{\partial x} = D \frac{\partial^2 \phi}{\partial x^2} on 0 < x < \infty, t>0, with initial data \phi(x,0)=0 and the boundary condition \phi(0,t) = \phi_I

If, for simulation purposes, we restrict the domain to 0<x<L, what is the appropriate boundary condition at x=L?

Best regards,
Thomas
t.oliveira is offline   Reply With Quote

Old   March 16, 2017, 02:07
Default
  #2
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
> What would be the appropriate boundary condition for the outlet face?

For the flow, use zero gradient. This is a free outflow. I recommend to set the pressure at the outflow to 0 to have a reference pressure.
__________________
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

Old   March 16, 2017, 10:16
Default
  #3
Senior Member
 
Thomas Oliveira
Join Date: Apr 2015
Posts: 114
Rep Power: 12
t.oliveira is on a distinguished road
Quote:
Originally Posted by piu58 View Post
For the flow, use zero gradient. This is a free outflow. I recommend to set the pressure at the outflow to 0 to have a reference pressure.
Thank you for your comment. I don't need to solve for the flow, as the velocity field is known a priori and the pressure is irrelevant for the problem.

As for the transport, \frac{\partial \phi}{\partial x} (x=L)=0 would not be a free outflow because it makes the diffusion of \phi outward of the domain impossible.
t.oliveira is offline   Reply With Quote

Old   December 6, 2017, 10:59
Default
  #4
Senior Member
 
Thomas Oliveira
Join Date: Apr 2015
Posts: 114
Rep Power: 12
t.oliveira is on a distinguished road
I recommend this post by Eugene de Villiers:

Second Derivative Zero - Boundary Condition
t.oliveira is offline   Reply With Quote

Reply

Tags
boundary condition


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
Wind turbine simulation Saturn CFX 60 July 17, 2024 06:45
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 08:30
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 07:20
[swak4Foam] build problem swak4Foam OF 2.2.0 mcathela OpenFOAM Community Contributions 14 April 23, 2013 14:59
CFX fails to calculate a diffuser pipe flow shenying0710 CFX 7 March 26, 2013 05:13


All times are GMT -4. The time now is 16:34.