CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Boundary conditions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 13, 2015, 05:00
Default Boundary conditions
  #1
Senior Member
 
Simbelmynė's Avatar
 
Join Date: May 2012
Posts: 546
Rep Power: 15
Simbelmynė is on a distinguished road
Hey,

Many textbooks suggest a mix of boundary conditions to be prescribed at the boundaries. For instance at solid walls, usually a zero velocity condition is prescribed and a pressure condition is calculated with the use of the continuity equation and whatever discretization method is used for the momentum equations (dp/dn=0 is a common outcome of this).

My question is - why prescribe a pressure boundary condition at all? Is it not possible to solve the (interior) equation for pressure at the walls where the velocity is specified?

Likewise for velocity when the pressure is specified at a boundary etc.
Simbelmynė is offline   Reply With Quote

Old   August 13, 2015, 05:51
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by Simbelmynė View Post
Hey,

Many textbooks suggest a mix of boundary conditions to be prescribed at the boundaries. For instance at solid walls, usually a zero velocity condition is prescribed and a pressure condition is calculated with the use of the continuity equation and whatever discretization method is used for the momentum equations (dp/dn=0 is a common outcome of this).

My question is - why prescribe a pressure boundary condition at all? Is it not possible to solve the (interior) equation for pressure at the walls where the velocity is specified?

Likewise for velocity when the pressure is specified at a boundary etc.

Each problem requires the proper set of BC.s to be well posed...
the pressure problem is elliptic and requires only one boundary condition. Generally, the physics of the problem allows us to express the knowledge of the normal velocity component, for example on a wall.
This is the only condition we set to close correctly the pressure equation.
The value dp/dn is not fixed but it is a consequence of the velocity BC.s according to the Hodge decomposition Grad p = v* - v
Of course, you can work by fixing dp/dn but then you can fix also n.v.
Note that dp/dn = 0 on a wall is a low-order approximation when the Reynolds number is not sufficiently high since would imply n.v*=0
FMDenaro is offline   Reply With Quote

Old   August 13, 2015, 06:46
Default
  #3
Senior Member
 
Simbelmynė's Avatar
 
Join Date: May 2012
Posts: 546
Rep Power: 15
Simbelmynė is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
Each problem requires the proper set of BC.s to be well posed...
the pressure problem is elliptic and requires only one boundary condition. Generally, the physics of the problem allows us to express the knowledge of the normal velocity component, for example on a wall.
This is the only condition we set to close correctly the pressure equation.
The value dp/dn is not fixed but it is a consequence of the velocity BC.s according to the Hodge decomposition Grad p = v* - v
Of course, you can work by fixing dp/dn but then you can fix also n.v.
Note that dp/dn = 0 on a wall is a low-order approximation when the Reynolds number is not sufficiently high since would imply n.v*=0
Why do we have to specify pressure boundaries at cells where we have specified velocity boundaries? It seems to me that we can close the pressure equation with just the knowledge of a pressure boundary condition in 1 cell (Dirichlet in this case). Neumann conditions for pressure can arise from assumptions that the continuity equation is satisfied at the boundary, but this is also part of the pressure Poisson equation.
Simbelmynė is offline   Reply With Quote

Old   August 13, 2015, 06:56
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by Simbelmynė View Post
Why do we have to specify pressure boundaries at cells where we have specified velocity boundaries? It seems to me that we can close the pressure equation with just the knowledge of a pressure boundary condition in 1 cell (Dirichlet in this case). Neumann conditions for pressure can arise from assumptions that the continuity equation is satisfied at the boundary, but this is also part of the pressure Poisson equation.
We do not specify both pressure and velocity boundary conditions!
The first thing is using the physical BC.s: if you know the velocity use that, if you know pressure use that....

The pressure problem cannot be closed by fixing a value in a cell!
It is an elliptic problem that requires mathematically the BC.s to be posed on all boundaries.

Sorry to say that I see some confusion in your idea about the pressure problem..
FMDenaro is offline   Reply With Quote

Old   August 13, 2015, 07:24
Default
  #5
Senior Member
 
Simbelmynė's Avatar
 
Join Date: May 2012
Posts: 546
Rep Power: 15
Simbelmynė is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
We do not specify both pressure and velocity boundary conditions!
The first thing is using the physical BC.s: if you know the velocity use that, if you know pressure use that....
For an incompressible flow I am uncertain that we actually have the physical pressure boundary condition for walls etc.

Quote:
Originally Posted by FMDenaro View Post
The pressure problem cannot be closed by fixing a value in a cell!
It is an elliptic problem that requires mathematically the BC.s to be posed on all boundaries.
You are probably correct here, what I am perhaps confused about is that to me it seems that we have already imposed the boundary conditions to some extent in the creation of the pressure Poisson equation. The source term in the Poisson equation is dependent on the boundary condition imposed for velocity, is this not correct?

Quote:
Originally Posted by FMDenaro View Post
Sorry to say that I see some confusion in your idea about the pressure problem..
Yeah, this is why cfd-online is so great!
Simbelmynė is offline   Reply With Quote

Old   August 13, 2015, 07:35
Default
  #6
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
very often the velocity is an available data for BC.s, few cases are suitable to be afforded with pressure...however, we do not need to know the pressure on a wall but only the relation for the normal derivative.

The continuity equation drives us to write the Poisson equation (in the interior) but to set a mathematically well-posed problem, the Poisson equation must be supplied by proper BC.s on the boundaries.
When the BC.s are prescribed, you can modify both the matrix line and the source term.
I remember a previous post on cfd-online with many details about
FMDenaro is offline   Reply With Quote

Old   August 13, 2015, 11:56
Default
  #7
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
this is one of the posts

http://www.cfd-online.com/Forums/mai...ep-method.html
FMDenaro is offline   Reply With Quote

Old   August 17, 2015, 10:34
Default
  #8
New Member
 
Manish
Join Date: Jul 2015
Posts: 5
Rep Power: 10
msm6166 is on a distinguished road
Can any please tell me how to define boundary condition for a solar collector as i m having lots of problem with it as the residual lines get converged but the message error keeps on repeating that 300 cells have temperature of 5000 k. Please help
msm6166 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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 07:30
GETVAR Error in Multiband Monte Carlo Radiation Simulation with Directional Source silvan CFX 3 June 16, 2014 09:49
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 04:15


All times are GMT -4. The time now is 09:41.