Template cases: apply entrainmentPressure BC for p at outlet patches

The boundary condition applied to pressure at open boundaries and outlets is switched
from totalPressure to entrainmentPressure. The latter boundary condition is more robust
since it calculates the pressure for inflow using (velocity) fluxes rather than velocity
on the patch.
This commit is contained in:
Chris Greenshields
2023-12-19 15:56:25 +00:00
parent 6a361d675d
commit 2a9a2d0e7a
5 changed files with 6 additions and 5 deletions

View File

@ -26,7 +26,7 @@ boundaryField
atmosphere
{
type totalPressure;
type entrainmentPressure;
p0 uniform 0;
value uniform 0;
}

View File

@ -28,7 +28,7 @@ boundaryField
outlet
{
type totalPressure;
type entrainmentPressure;
p0 uniform $pOut;
value uniform $pOut;
}

View File

@ -26,7 +26,7 @@ boundaryField
outlet
{
type totalPressure;
type entrainmentPressure;
p0 uniform 0;
value uniform 0;
}

View File

@ -26,7 +26,7 @@ boundaryField
outlet
{
type totalPressure;
type entrainmentPressure;
p0 uniform 0;
value uniform 0;
}

View File

@ -23,7 +23,8 @@ boundaryField
{
outlet
{
type fixedValue;
type entrainmentPressure;
p0 $internalField;
value $internalField;
}