Skip to content
Snippets Groups Projects
Commit 90a9cd06 authored by sergio's avatar sergio
Browse files

ENH: Constructing coeff volScalarField with 'calculated' Bc's for compressible flow to

     avoid unphysical 'fixedValue' at boundaries
parent b14e7b79
Branches
Tags
No related merge requests found
......@@ -180,8 +180,16 @@ bool Foam::functionObjects::pressure::calc()
(
new volScalarField
(
resultName_,
coeff(pRef(pDyn(p, rhoScale(p))))
IOobject
(
resultName_,
p.mesh().time().timeName(),
p.mesh(),
IOobject::NO_READ,
IOobject::NO_WRITE
),
coeff(pRef(pDyn(p, rhoScale(p)))),
fvPatchField<scalar>::calculatedType()
)
);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment