Initial commit for version 2.0.x patch release
[OpenFOAM-2.0.x.git] / applications / solvers / multiphase / settlingFoam / yieldStress.H
blobcb0415c66f58c0651867205bde735e6cbd43a4fe
1 volScalarField yieldStress
3     const dimensionedScalar& yieldStressCoeff,
4     const dimensionedScalar& yieldStressExponent,
5     const dimensionedScalar& yieldStressOffset,
6     const volScalarField& alpha
9     tmp<volScalarField> tfld
10     (
11         yieldStressCoeff*
12         (
13             pow(10.0, yieldStressExponent*(alpha + yieldStressOffset))
14           - pow(10.0, yieldStressExponent*yieldStressOffset)
15         )
16     );
18     return tfld();