Add smoothing of dyn hold up.

This commit is contained in:
Thomas Lichtenegger
2016-08-04 14:03:22 +02:00
parent ebcc951df3
commit 490c0e6efb

View File

@ -20,7 +20,7 @@ License
#include "FinesFields.H"
#include "addToRunTimeSelectionTable.H"
#include "averagingModel.H"
#include "smoothingModel.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace Foam
@ -374,6 +374,8 @@ void FinesFields::integrateFields()
alphaStEqn.solve();
alphaDynEqn.solve();
particleCloud_.smoothingM().smoothen(alphaDyn_);
// limit hold-ups, should be done more elegantly
scalar alphaStErr(0.0);