mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
qZeta: Use pow3 rather than pow(..., 3)
This commit is contained in:
@ -49,7 +49,7 @@ tmp<volScalarField> qZeta::fMu() const
|
|||||||
|
|
||||||
if (anisotropic_)
|
if (anisotropic_)
|
||||||
{
|
{
|
||||||
return exp((-scalar(2.5) + Rt/20.0)/pow(scalar(1) + Rt/130.0, 3.0));
|
return exp((-scalar(2.5) + Rt/20.0)/pow3(scalar(1) + Rt/130.0));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user