Commit 78418c87 authored by Andrew Heather's avatar Andrew Heather
Browse files

COMP: corrected field construct

parent 2a29de0f
......@@ -479,7 +479,7 @@ void Foam::isoAdvection::limitFluxes()
// Get time step size
const scalar dt = mesh_.time().deltaT().value();
volScalarField alphaNew = alpha1_ - fvc::surfaceIntegrate(dVf_);
volScalarField alphaNew(alpha1_ - fvc::surfaceIntegrate(dVf_));
const scalar aTol = 1.0e-12; // Note: tolerances
scalar maxAlphaMinus1 = gMax(alphaNew) - 1; // max(alphaNew - 1);
scalar minAlpha = gMin(alphaNew); // min(alphaNew);
......
Supports Markdown
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