From 6563df8effadd2a8c1d0f2d8a8f16863eef0c873 Mon Sep 17 00:00:00 2001 From: Henry <Henry> Date: Mon, 2 Mar 2015 22:26:58 +0000 Subject: [PATCH] qZeta: Use pow3 rather than pow(..., 3) --- .../incompressible/turbulentTransportModels/RAS/qZeta/qZeta.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TurbulenceModels/incompressible/turbulentTransportModels/RAS/qZeta/qZeta.C b/src/TurbulenceModels/incompressible/turbulentTransportModels/RAS/qZeta/qZeta.C index b9f99c117ca..a12b61f1a64 100644 --- a/src/TurbulenceModels/incompressible/turbulentTransportModels/RAS/qZeta/qZeta.C +++ b/src/TurbulenceModels/incompressible/turbulentTransportModels/RAS/qZeta/qZeta.C @@ -49,7 +49,7 @@ tmp<volScalarField> qZeta::fMu() const 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 { -- GitLab