twoPhaseSolver::alphaPredictor: Corrected handling for CrankNicolson ddt with dilatation

This commit is contained in:
Henry Weller
2023-05-24 15:40:50 +01:00
parent 6230721333
commit ec2c06e9e5

View File

@ -163,8 +163,8 @@ void Foam::solvers::twoPhaseSolver::alphaSolve
divU =
(
mesh.moving()
? fvc::div(phiCN + mesh.phi())
: fvc::div(phiCN)
? fvc::div(phiCN() + mesh.phi())
: fvc::div(phiCN())
);
}