Commit 8264c3b9 authored by Henry Weller's avatar Henry Weller
Browse files

interDyMFoam: Reinstate alphaPhiCorr0 for moving meshes without topology change

parent ddf1268e
......@@ -126,7 +126,11 @@ int main(int argc, char *argv[])
<< " s" << endl;
// Do not apply previous time-step mesh compression flux
talphaPhiCorr0.clear();
// if the mesh topology changed
if (mesh.topoChanging())
{
talphaPhiCorr0.clear();
}
gh = (g & mesh.C()) - ghRef;
ghf = (g & mesh.Cf()) - ghRef;
......
......@@ -41,7 +41,7 @@ solvers
smoother DIC;
tolerance 0.1;
tolerance 1e-3;
relTol 0;
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment