mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Use sqrt instead of pow(XXX, 0.5)
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user