Skip to content

Commit e7d5ecc

Browse files
author
Brad Carman
committed
format
1 parent 4801eb2 commit e7d5ecc

File tree

1 file changed

+2
-2
lines changed
  • src/Hydraulic/IsothermalCompressible

1 file changed

+2
-2
lines changed

src/Hydraulic/IsothermalCompressible/utils.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ Reference: Introduction to Fluid Mechanics, Fox & McDonald, 5th Edition, equatio
9292
"""
9393
function friction_factor(dm, area, d_h, density, viscosity, shape_factor)
9494
u = abs(dm) / (density * area)
95-
95+
9696
Re = density * u * d_h / viscosity
9797
f_laminar = shape_factor / Re
98-
98+
9999
Re = maximum([Re, 1])
100100
f_turbulent = (shape_factor / 64) * (0.79 * log(Re) - 1.64)^(-2)
101101

0 commit comments

Comments
 (0)