From eed7a62b98d23fdab3ab4e01c83b76ff5529be21 Mon Sep 17 00:00:00 2001 From: Chris Greenshields Date: Wed, 13 Dec 2023 18:03:58 +0000 Subject: [PATCH] Template cases: apply totalPressure BC on pressure at outlet --- etc/templates/axisymmetricJet/0/p | 2 +- etc/templates/compressibleInflowOutflow/0/p | 3 ++- etc/templates/inflowOutflow/0/p | 3 ++- etc/templates/inflowOutflowRotating/0/p | 3 ++- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/etc/templates/axisymmetricJet/0/p b/etc/templates/axisymmetricJet/0/p index ba4c1cb3ed..6106518755 100644 --- a/etc/templates/axisymmetricJet/0/p +++ b/etc/templates/axisymmetricJet/0/p @@ -27,8 +27,8 @@ boundaryField atmosphere { type totalPressure; - gamma 1.4; p0 uniform 0; + value uniform 0; } #includeEtc "caseDicts/setConstraintTypes" diff --git a/etc/templates/compressibleInflowOutflow/0/p b/etc/templates/compressibleInflowOutflow/0/p index 720dd70177..911d9e5031 100644 --- a/etc/templates/compressibleInflowOutflow/0/p +++ b/etc/templates/compressibleInflowOutflow/0/p @@ -28,7 +28,8 @@ boundaryField outlet { - type fixedValue; + type totalPressure; + p0 uniform $pOut; value uniform $pOut; } diff --git a/etc/templates/inflowOutflow/0/p b/etc/templates/inflowOutflow/0/p index ee806be09a..3bcb46c5a2 100644 --- a/etc/templates/inflowOutflow/0/p +++ b/etc/templates/inflowOutflow/0/p @@ -26,7 +26,8 @@ boundaryField outlet { - type fixedValue; + type totalPressure; + p0 uniform 0; value uniform 0; } diff --git a/etc/templates/inflowOutflowRotating/0/p b/etc/templates/inflowOutflowRotating/0/p index ee806be09a..3bcb46c5a2 100644 --- a/etc/templates/inflowOutflowRotating/0/p +++ b/etc/templates/inflowOutflowRotating/0/p @@ -26,7 +26,8 @@ boundaryField outlet { - type fixedValue; + type totalPressure; + p0 uniform 0; value uniform 0; }