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:
@ -26,7 +26,7 @@ boundaryField
|
|||||||
|
|
||||||
atmosphere
|
atmosphere
|
||||||
{
|
{
|
||||||
type totalPressure;
|
type entrainmentPressure;
|
||||||
p0 uniform 0;
|
p0 uniform 0;
|
||||||
value uniform 0;
|
value uniform 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -28,7 +28,7 @@ boundaryField
|
|||||||
|
|
||||||
outlet
|
outlet
|
||||||
{
|
{
|
||||||
type totalPressure;
|
type entrainmentPressure;
|
||||||
p0 uniform $pOut;
|
p0 uniform $pOut;
|
||||||
value uniform $pOut;
|
value uniform $pOut;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -26,7 +26,7 @@ boundaryField
|
|||||||
|
|
||||||
outlet
|
outlet
|
||||||
{
|
{
|
||||||
type totalPressure;
|
type entrainmentPressure;
|
||||||
p0 uniform 0;
|
p0 uniform 0;
|
||||||
value uniform 0;
|
value uniform 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -26,7 +26,7 @@ boundaryField
|
|||||||
|
|
||||||
outlet
|
outlet
|
||||||
{
|
{
|
||||||
type totalPressure;
|
type entrainmentPressure;
|
||||||
p0 uniform 0;
|
p0 uniform 0;
|
||||||
value uniform 0;
|
value uniform 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -23,7 +23,8 @@ boundaryField
|
|||||||
{
|
{
|
||||||
outlet
|
outlet
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type entrainmentPressure;
|
||||||
|
p0 $internalField;
|
||||||
value $internalField;
|
value $internalField;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user