functionObjects: phaseScalarTransport: Solution control update
This commit is contained in:
@ -167,16 +167,12 @@ Foam::functionObjects::phaseScalarTransport::alphaPhi()
|
|||||||
writeDDt(0);
|
writeDDt(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Construct a non-orthogonal solution control
|
// Lookup the non-orthogonal solution control
|
||||||
nonOrthogonalSolutionControl control
|
nonOrthogonalSolutionControl& control =
|
||||||
(
|
|
||||||
const_cast<fvMesh&>(mesh_),
|
|
||||||
mesh_.lookupObjectRef<nonOrthogonalSolutionControl>
|
mesh_.lookupObjectRef<nonOrthogonalSolutionControl>
|
||||||
(
|
(
|
||||||
solutionControl::typeName
|
solutionControl::typeName
|
||||||
)
|
);
|
||||||
.algorithmName()
|
|
||||||
);
|
|
||||||
|
|
||||||
// Solve for the potential and correct alphaPhi with the resulting flux
|
// Solve for the potential and correct alphaPhi with the resulting flux
|
||||||
if (phi.dimensions() == dimVolume/dimTime)
|
if (phi.dimensions() == dimVolume/dimTime)
|
||||||
|
|||||||
Reference in New Issue
Block a user