interDyMFoam: Reinstate alphaPhiCorr0 for moving meshes without topology change
This commit is contained in:
@ -126,7 +126,11 @@ int main(int argc, char *argv[])
|
|||||||
<< " s" << endl;
|
<< " s" << endl;
|
||||||
|
|
||||||
// Do not apply previous time-step mesh compression flux
|
// Do not apply previous time-step mesh compression flux
|
||||||
|
// if the mesh topology changed
|
||||||
|
if (mesh.topoChanging())
|
||||||
|
{
|
||||||
talphaPhiCorr0.clear();
|
talphaPhiCorr0.clear();
|
||||||
|
}
|
||||||
|
|
||||||
gh = (g & mesh.C()) - ghRef;
|
gh = (g & mesh.C()) - ghRef;
|
||||||
ghf = (g & mesh.Cf()) - ghRef;
|
ghf = (g & mesh.Cf()) - ghRef;
|
||||||
|
|||||||
@ -41,7 +41,7 @@ solvers
|
|||||||
|
|
||||||
smoother DIC;
|
smoother DIC;
|
||||||
|
|
||||||
tolerance 0.1;
|
tolerance 1e-3;
|
||||||
relTol 0;
|
relTol 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user