tutorials/multiphase/interFoam/RAS/damBreakPorousBaffle: Updated porosity coefficients

The implementation of the porousBafflePressure BC was incorrect in OpenFOAM-2.4
and earlier and corrected during the turbulence modeling rewrite for
OpenFOAM-3.0.  This update introduced the density scaling required for the
definition of pressure in interFoam which requires the porosity coefficients to
be reduced.

Resolves bug-report https://bugs.openfoam.org/view.php?id=2890
This commit is contained in:
Henry Weller 2018-03-27 11:32:58 +01:00
parent 26db5f0405
commit 6e14d1b5eb
2 changed files with 14 additions and 8 deletions

View file

@ -42,7 +42,11 @@ boundaryField
atmosphere
{
type totalPressure;
rho rho;
psi none;
gamma 1;
p0 uniform 0;
value uniform 0;
}
defaultFaces
{
@ -52,20 +56,21 @@ boundaryField
{
type porousBafflePressure;
patchType cyclic;
D 10;
I 5;
length 0.15;
jump uniform 0;
value uniform 0;
D 1000;
I 500;
length 0.15;
}
porous_half1
{
type porousBafflePressure;
patchType cyclic;
value uniform 0;
D 1000;
I 500;
D 10;
I 5;
length 0.15;
jump uniform 0;
value uniform 0;
}
}

View file

@ -19,6 +19,7 @@ FoamFile
// faces.
internalFacesOnly true;
fields true;
// Baffles to create.
baffles
@ -49,8 +50,8 @@ baffles
{
type porousBafflePressure;
patchType cyclic;
D 1000;
I 500;
D 10;
I 5;
length 0.15;
jump uniform 0;
value uniform 0;