mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
renamed output field to pStatic
This commit is contained in:
@ -127,11 +127,11 @@ void Foam::staticPressure::write()
|
|||||||
{
|
{
|
||||||
const volScalarField& p = obr_.lookupObject<volScalarField>(pName_);
|
const volScalarField& p = obr_.lookupObject<volScalarField>(pName_);
|
||||||
|
|
||||||
volScalarField pDyn
|
volScalarField pStatic
|
||||||
(
|
(
|
||||||
IOobject
|
IOobject
|
||||||
(
|
(
|
||||||
"pDyn",
|
"pStatic",
|
||||||
obr_.time().timeName(),
|
obr_.time().timeName(),
|
||||||
obr_,
|
obr_,
|
||||||
IOobject::NO_READ
|
IOobject::NO_READ
|
||||||
@ -139,7 +139,7 @@ void Foam::staticPressure::write()
|
|||||||
dimensionedScalar("rho", dimDensity, rho_)*p
|
dimensionedScalar("rho", dimDensity, rho_)*p
|
||||||
);
|
);
|
||||||
|
|
||||||
pDyn.write();
|
pStatic.write();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user