mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: rhoSimpleFoam/squareBend - added example use of isentropic pressure
This commit is contained in:
@ -53,6 +53,7 @@ functions
|
||||
#include "sampling"
|
||||
// #include "samplingDebug"
|
||||
// #include "sampleCellCentres"
|
||||
#include "isentropicTotalPressure"
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,11 @@
|
||||
isentropicPressure
|
||||
{
|
||||
type pressure;
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
enabled yes;
|
||||
writeControl writeTime;
|
||||
calcIsen yes;
|
||||
calcTotal no;
|
||||
calcCoeff no;
|
||||
result isenTropicP;
|
||||
}
|
||||
Reference in New Issue
Block a user