mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: p field for potentialFoam now registsered
This commit is contained in:
@ -57,9 +57,6 @@ forAll(U.boundaryField(), patchi)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Note that registerObject is false for the pressure field. The pressure
|
|
||||||
// field in this solver doesn't have a physical value during the solution.
|
|
||||||
// It shouldn't be looked up and used by sub models or boundary conditions.
|
|
||||||
Info<< "Constructing pressure field " << pName << nl << endl;
|
Info<< "Constructing pressure field " << pName << nl << endl;
|
||||||
volScalarField p
|
volScalarField p
|
||||||
(
|
(
|
||||||
@ -69,8 +66,7 @@ volScalarField p
|
|||||||
runTime.timeName(),
|
runTime.timeName(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::READ_IF_PRESENT,
|
IOobject::READ_IF_PRESENT,
|
||||||
IOobject::NO_WRITE,
|
IOobject::NO_WRITE
|
||||||
false
|
|
||||||
),
|
),
|
||||||
mesh,
|
mesh,
|
||||||
dimensionedScalar(sqr(dimVelocity), Zero),
|
dimensionedScalar(sqr(dimVelocity), Zero),
|
||||||
|
|||||||
Reference in New Issue
Block a user