|
[Sponsors] |
August 5, 2009, 17:00 |
interFoam - mass conservation
|
#1 |
New Member
Wolfgang Betz
Join Date: Mar 2009
Posts: 6
Rep Power: 17 |
Hello,
Why isn't the boundary condidition 'zeroGradient' for pressure on walls not working anymore in OpenFOAM 1.6 (interFoam)? (if you do, there is a problem with mass conservation ...) walls { type zeroGradient; } ... instead you have to use: (why ???) walls { type buoyantPressure; value uniform 0; } cheers Wolfgang |
|
August 6, 2009, 02:40 |
|
#2 | |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
I suppose this is due to the replacement of pd with static pressure p.
Have a look into the Release Notes for version 1.6 (Section 5.1 Solver restructuring): Quote:
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
||
August 6, 2009, 04:51 |
|
#3 |
New Member
Wolfgang Betz
Join Date: Mar 2009
Posts: 6
Rep Power: 17 |
I agree with that - however, does somebody has more information on that behaviour ('zeroGradient' for pressure on walls ist not working anymore)?
And are there any other BCs you have to be aware of (as to a similar behaviour) in OF-version 1.6? |
|
September 21, 2009, 11:40 |
|
#4 |
Member
Carsten Thorenz
Join Date: Mar 2009
Location: Germany
Posts: 34
Rep Power: 17 |
Dear Wolfgang,
due to the nature of the PISO-algorithm used in interFoam, it is necessary to have a very "good" pressure field, as the pressure field is required in the velocity correction step of the scheme in order to reach mass conservation (i.e.div(U)=0). If you look at the PISO-algorithm you will see that this means if the flux is zero (as it is orthogonal to the wall) it is necessary that the second derivative of pressure (orthogonal to the wall) must be zero, too (in areas where the density is constant). buoyantPressure fulfills this requirement in areas of constant VOF-function / density. I'm not sure about mass conservation if sloped walls touch areas with VOF-values 0<VOF<1. Bye and good luck, Carsten Thorenz |
|
December 7, 2010, 16:22 |
|
#5 |
Senior Member
Claus Meister
Join Date: Aug 2009
Location: Wiesbaden, Germany
Posts: 241
Rep Power: 18 |
Has anybody ever done a mass conservation analysis in a pipe flow within VOF approach?
|
|
Tags |
buoyantpressure, interfoam, walls, zerogradient |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
InterFoam mass conservation question | msrinath80 | OpenFOAM Running, Solving & CFD | 5 | December 9, 2013 02:19 |
Mass Conservation in LES | Sas | Main CFD Forum | 3 | July 6, 2007 11:37 |
Mass Conservation in LES | Jaswant | Main CFD Forum | 8 | July 4, 2005 23:32 |
Mass conservation | Diego Nogueira | Main CFD Forum | 1 | July 30, 2004 16:50 |
Two-phase mass conservation ? | Michael R. Rasmussen | CFX | 3 | September 1, 2000 09:36 |