interDyMFoam: Reinstate alphaPhiCorr0 for moving meshes without topology change
This commit is contained in:
parent
f5b91be3d9
commit
f3a347fd5b
2 changed files with 6 additions and 2 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue