An implicit method is currently implemented that uses a root-finding algorithm to determine the friction factor. The implicit method is computationally 'expensive' and could be replaced with an explicit formulation. See for example the table of approximations https://en.wikipedia.org/wiki/Darcy_friction_factor_formulae
Steps:
Investigate whether the Tkachenko, Mileikovskyi (2020) explicit formulation is applicable in our case.
Implement the chosen explicit formulation.
Fluid properties should be based on u1 or inflowing node temperature (see #177)
An implicit method is currently implemented that uses a root-finding algorithm to determine the friction factor. The implicit method is computationally 'expensive' and could be replaced with an explicit formulation. See for example the table of approximations https://en.wikipedia.org/wiki/Darcy_friction_factor_formulae
Steps: