Minor bugfix in CrankNicolsonDdtScheme::fvcDdtConsistentPhiCorr
This commit is contained in:
parent
876520462c
commit
d05f9fc208
1 changed files with 1 additions and 3 deletions
|
@ -1190,12 +1190,10 @@ CrankNicolsonDdtScheme<Type>::fvcDdtConsistentPhiCorr
|
|||
// Evaluate faceU ddt if necessary
|
||||
if (evaluate(faceUDdt0))
|
||||
{
|
||||
scalar rDtCoef0 = rDtCoef0_(faceUDdt0).value();
|
||||
|
||||
// Update ddt(faceU)
|
||||
faceUDdt0 =
|
||||
(
|
||||
rDtCoef0*
|
||||
rDtCoef0_(faceUDdt0)*
|
||||
(
|
||||
faceU.oldTime()
|
||||
- faceU.oldTime().oldTime()
|
||||
|
|
Reference in a new issue