From 0d8601f273d3e012f539137621c58ea5c6b1db98 Mon Sep 17 00:00:00 2001 From: Pawan <> Date: Thu, 6 Jun 2019 12:18:10 +0100 Subject: [PATCH] TUT: rhoSimpleFoam/squareBend - added example use of isentropic pressure --- .../rhoSimpleFoam/squareBend/system/controlDict | 1 + .../squareBend/system/isentropicTotalPressure | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 tutorials/compressible/rhoSimpleFoam/squareBend/system/isentropicTotalPressure diff --git a/tutorials/compressible/rhoSimpleFoam/squareBend/system/controlDict b/tutorials/compressible/rhoSimpleFoam/squareBend/system/controlDict index 441cddd999d..6c7373134e4 100644 --- a/tutorials/compressible/rhoSimpleFoam/squareBend/system/controlDict +++ b/tutorials/compressible/rhoSimpleFoam/squareBend/system/controlDict @@ -53,6 +53,7 @@ functions #include "sampling" // #include "samplingDebug" // #include "sampleCellCentres" + #include "isentropicTotalPressure" } diff --git a/tutorials/compressible/rhoSimpleFoam/squareBend/system/isentropicTotalPressure b/tutorials/compressible/rhoSimpleFoam/squareBend/system/isentropicTotalPressure new file mode 100644 index 00000000000..0d62dabe8f5 --- /dev/null +++ b/tutorials/compressible/rhoSimpleFoam/squareBend/system/isentropicTotalPressure @@ -0,0 +1,11 @@ +isentropicPressure +{ + type pressure; + libs ("libfieldFunctionObjects.so"); + enabled yes; + writeControl writeTime; + calcIsen yes; + calcTotal no; + calcCoeff no; + result isenTropicP; +} -- GitLab