mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -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())
|
||||
|
||||
Reference in New Issue
Block a user