There's a bug in Schaeffer's expression for the frictional viscosity,

which was pointed out by Rasmus.

The alpha[celli] term in muf should not be there.
This commit is contained in:
henry
2008-05-20 18:05:07 +01:00
parent b2e05717aa
commit cdb78d6741

View File

@ -130,7 +130,7 @@ Foam::tmp<Foam::volScalarField> Foam::SchaefferFrictionalStress::muf
if (alpha[celli] > alphaMax.value()-5e-2)
{
muf_[celli] =
0.5*alpha[celli]*pf[celli]*sin(phi.value())
0.5*pf[celli]*sin(phi.value())
/(
sqrt(1.0/6.0*(sqr(D[celli].xx() - D[celli].yy())
+ sqr(D[celli].yy() - D[celli].zz())