Fixed sign error in Herschel Bulkley model
This commit is contained in:
parent
99b0678ac2
commit
8a29671c1e
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ Foam::viscosityModels::HerschelBulkley::calcNu() const
|
||||||
dimensionedScalar rtone("rtone", dimless/dimTime, 1.0);
|
dimensionedScalar rtone("rtone", dimless/dimTime, 1.0);
|
||||||
tmp<volScalarField> sr(strainRate());
|
tmp<volScalarField> sr(strainRate());
|
||||||
return (min(nu0_,(tau0_ + k_* rtone *( pow(tone * sr(), n_)
|
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)))));
|
("VSMALL", dimless/dimTime, VSMALL)))));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue