Merge branch 'issue-911' into 'master'

Issue 911

Closes #911

See merge request Development/OpenFOAM-plus!212
This commit is contained in:
Andrew Heather
2018-11-20 14:40:43 +00:00

View File

@ -11,7 +11,7 @@
// To recalculate the alpha1 update in subsequent iterations, we
// must store its current value before overwriting with the new
// value
alpha1.prevIter();
alpha1.storePrevIter();
// Storing initial phi and U for use in later outer iterations.
phi.storePrevIter();
U.storePrevIter();
@ -21,6 +21,7 @@
// Resetting alpha1 to value before advection in first PIMPLE
// iteration.
alpha1 = alpha1.prevIter();
// Setting U and phi with which to advect interface.
U = 0.5*U.prevIter() + 0.5*U;
phi = 0.5*phi.prevIter() + 0.5*phi;