diff --git a/tutorials/compressible/rhoSimpleFoam/squareBend/system/controlDict b/tutorials/compressible/rhoSimpleFoam/squareBend/system/controlDict index 441cddd999..6c7373134e 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 0000000000..0d62dabe8f --- /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; +}