mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
16 lines
332 B
C
16 lines
332 B
C
volScalarField plasticViscosity
|
|
(
|
|
const dimensionedScalar& plasticViscosityCoeff,
|
|
const dimensionedScalar& plasticViscosityExponent,
|
|
const volScalarField& alpha
|
|
)
|
|
{
|
|
return
|
|
(
|
|
plasticViscosityCoeff*
|
|
(
|
|
pow(10.0, plasticViscosityExponent*alpha + SMALL) - scalar(1)
|
|
)
|
|
);
|
|
}
|