Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebBell committed Nov 22, 2024
1 parent 122ba72 commit a737d81
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions fluids/friction.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,10 +355,6 @@ def Colebrook(Re, eD, tol=None):
for hundreds of thousand of points within the region 1E-12 < Re < 1E12
and 0 < eD < 0.1.
The numerical solution attempts the secant method using `scipy`'s `newton`
solver, and in the event of nonconvergence, attempts the `fsolve` solver
as well. An initial guess is provided via the `Clamond` function.
The numerical and analytical solution take similar amounts of time; the
`mpmath` solution used when `tol=0` is approximately 45 times slower. This
function takes approximately 8 us normally.
Expand Down

0 comments on commit a737d81

Please # to comment.