Skip to content
Snippets Groups Projects
Commit 944af168 authored by andy's avatar andy
Browse files

ENH: Use sqrt instead of pow(XXX, 0.5)

parent eea46a67
Branches
Tags
No related merge requests found
......@@ -122,7 +122,7 @@ bool Foam::PilchErdman<CloudType>::update
taubBar = 6.0*pow(2.0*We - 12.0, -0.25);
}
scalar rho12 = pow(rhoc/rho, 0.5);
scalar rho12 = sqrt(rhoc/rho);
scalar Vd = Urmag*rho12*(B1_*taubBar * B2_*taubBar*taubBar);
scalar Vd1 = sqr(1.0 - Vd/Urmag);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment