interDyMFoam: Reinstate alphaPhiCorr0 for moving meshes without topology change

This commit is contained in:
Henry Weller
2017-02-07 09:59:19 +00:00
parent f5b91be3d9
commit f3a347fd5b
2 changed files with 6 additions and 2 deletions

View File

@ -126,7 +126,11 @@ int main(int argc, char *argv[])
<< " s" << endl;
// Do not apply previous time-step mesh compression flux
// if the mesh topology changed
if (mesh.topoChanging())
{
talphaPhiCorr0.clear();
}
gh = (g & mesh.C()) - ghRef;
ghf = (g & mesh.Cf()) - ghRef;

View File

@ -41,7 +41,7 @@ solvers
smoother DIC;
tolerance 0.1;
tolerance 1e-3;
relTol 0;
};