BUG: Corrected use of ddtCorr off

This commit is contained in:
Andrew Heather
2020-06-29 11:00:05 +01:00
parent b325cb86c0
commit d1dae159ad

View File

@ -6,6 +6,10 @@ if (pimple.ddtCorr())
{ {
phiHbyA += MRF.zeroFilter(fvc::interpolate(rAU)*fvc::ddtCorr(U, phi, Uf)); phiHbyA += MRF.zeroFilter(fvc::interpolate(rAU)*fvc::ddtCorr(U, phi, Uf));
} }
else
{
phiHbyA += MRF.zeroFilter(fvc::interpolate(rAU));
}
MRF.makeRelative(phiHbyA); MRF.makeRelative(phiHbyA);