| 
    My Project
    
   programmer's documentation 
   | 
 
Calculation of 
, 
 and 
 from a diameter 
 and the reference velocity 
 for a circular duct flow with smooth wall (use for inlet boundary conditions).  
 More...

Public Member Functions | |
| subroutine | turbulence_bc_ke_hyd_diam (uref2, dh, rho, mu, ustar2, k, eps) | 
Calculation of 
, 
 and 
 from a diameter 
 and the reference velocity 
 for a circular duct flow with smooth wall (use for inlet boundary conditions). 
Both 
 and 
 are returned, so that the user may compute other values of 
 and 
 with 
.
We use the laws from Idel'Cik, i.e. the head loss coefficient 
 is defined by: 
then the relation reads 
. 
 depends on the hydraulic Reynolds number 
 and is given by:
 
 
, we complete by a straight line 
From 
, we can estimate 
 and 
 from the well known formulae of developped turbulence
| [in] | uref2 | square of the reference flow velocity | 
| [in] | dh | hydraulic diameter    | 
| [in] | rho | mass density    | 
| [in] | mu | dynamic viscosity    | 
| [out] | ustar2 | square of friction speed | 
| [out] | k | calculated turbulent intensity    | 
| [out] | eps | calculated turbulent dissipation    | 
| subroutine turbulence_bc_ke_hyd_diam | ( | real(c_double), value | uref2, | 
| real(c_double), value | dh, | ||
| real(c_double), value | rho, | ||
| real(c_double), value | mu, | ||
| real(c_double) | ustar2, | ||
| real(c_double) | k, | ||
| real(c_double) | eps | ||
| ) | 
 1.8.16