OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

yieldStress.H

Go to the documentation of this file.
00001 volScalarField yieldStress
00002 (
00003     const dimensionedScalar& yieldStressCoeff,
00004     const dimensionedScalar& yieldStressExponent,
00005     const dimensionedScalar& yieldStressOffset,
00006     const volScalarField& alpha
00007 )
00008 {
00009     return
00010     (
00011         yieldStressCoeff*
00012         (
00013             pow(10.0, yieldStressExponent*(alpha + yieldStressOffset))
00014           - pow(10.0, yieldStressExponent*yieldStressOffset)
00015         )
00016     );
00017 }
Copyright © 2000-2009 OpenCFD Ltd