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 } 00018 00019 // ************************ vim: set sw=4 sts=4 et: ************************ //