| 
    My Project
    
   programmer's documentation 
   | 
 
Set inlet boundary condition values for turbulence variables based on a diameter 
 and the reference velocity 
 for a circular duct flow with smooth wall.  
 More...

Public Member Functions | |
| subroutine | turbulence_bc_inlet_hyd_diam (face_num, uref2, dh, rho, mu, rcodcl) | 
Set inlet boundary condition values for turbulence variables based on a diameter 
 and the reference velocity 
 for a circular duct flow with smooth wall. 
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] | face_num | boundary face number | 
| [in] | uref2 | square of the reference flow velocity | 
| [in] | dh | hydraulic diameter    | 
| [in] | rho | mass density    | 
| [in] | mu | dynamic viscosity    | 
| [out] | rcodcl | boundary condition values | 
| subroutine turbulence_bc_inlet_hyd_diam | ( | integer(c_int), value | face_num, | 
| real(c_double), value | uref2, | ||
| real(c_double), value | dh, | ||
| real(c_double), value | rho, | ||
| real(c_double), value | mu, | ||
| real(kind=c_double), dimension(*) | rcodcl | ||
| ) | 
 1.8.16