Skip to content
Snippets Groups Projects
Commit 87cfd578 authored by Henry's avatar Henry
Browse files

interFoam/alphaEqn: Updated phiCN

parent f9ea3d37
Branches
Tags
No related merge requests found
......@@ -65,16 +65,16 @@
}
}
if (MULESCorr)
{
tmp<surfaceScalarField> phiCN(phi);
tmp<surfaceScalarField> phiCN(phi);
// Calculate the Crank-Nicolson off-centred volumetric flux
if (ocCoeff > 0)
{
phiCN = (1.0 - cnCoeff)*phi + cnCoeff*phi.oldTime();
}
// Calculate the Crank-Nicolson off-centred volumetric flux
if (ocCoeff > 0)
{
phiCN = (1.0 - cnCoeff)*phi + cnCoeff*phi.oldTime();
}
if (MULESCorr)
{
fvScalarMatrix alpha1Eqn
(
#ifdef LTSSOLVE
......
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