Merge remote-tracking branch 'origin/BUGFIX/signInHerschelBulkley'

This commit is contained in:
Dominik Christ 2014-06-09 12:53:03 +01:00
commit 76657cdcb3

View file

@ -54,7 +54,7 @@ Foam::viscosityModels::HerschelBulkley::calcNu() const
dimensionedScalar rtone("rtone", dimless/dimTime, 1.0);
tmp<volScalarField> sr(strainRate());
return (min(nu0_,(tau0_ + k_* rtone *( pow(tone * sr(), n_)
+ pow(tone*tau0_/nu0_,n_))) / (max(sr(), dimensionedScalar
- pow(tone*tau0_/nu0_,n_))) / (max(sr(), dimensionedScalar
("VSMALL", dimless/dimTime, VSMALL)))));
}