interFoam/alphaEqn: Updated phiCN
This commit is contained in:
parent
9b7079ff8f
commit
ff8978dba5
1 changed files with 8 additions and 8 deletions
|
|
@ -65,16 +65,16 @@
|
|||
}
|
||||
}
|
||||
|
||||
tmp<surfaceScalarField> phiCN(phi);
|
||||
|
||||
// Calculate the Crank-Nicolson off-centred volumetric flux
|
||||
if (ocCoeff > 0)
|
||||
{
|
||||
phiCN = (1.0 - cnCoeff)*phi + cnCoeff*phi.oldTime();
|
||||
}
|
||||
|
||||
if (MULESCorr)
|
||||
{
|
||||
tmp<surfaceScalarField> phiCN(phi);
|
||||
|
||||
// Calculate the Crank-Nicolson off-centred volumetric flux
|
||||
if (ocCoeff > 0)
|
||||
{
|
||||
phiCN = (1.0 - cnCoeff)*phi + cnCoeff*phi.oldTime();
|
||||
}
|
||||
|
||||
fvScalarMatrix alpha1Eqn
|
||||
(
|
||||
#ifdef LTSSOLVE
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue