mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
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;
|
||||
|
||||
// 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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user