Finding fluid flow with Numerical Method

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 4K views
chronicals
Messages
35
Reaction score
0

Homework Statement


For fluid flow in pipes, friction is described by a dimensionless number, the Fanning friction factor (f). The Fanning friction factor is dependent on a number of parameters related to the size of the pipe and the fluid, which all can be represented by another dimensionless quantity, the Reynolds number (Re). A formula that predicts f given Re for turbulent flow is the von Karman equation,

1/sqrt(f) = 1.74* ln ( Re* sqrt(f)) - 0.4

Typical values for the Reynolds number for turbulent flow are 10 000 to 500 000 and for the Fanning friction factor are 0.001 to 0.01. For Reynolds numbers less than 2500 fluid flow type is called laminar flow and the Fanning friction factor is given by f = 16/Re. Use a numerical method to determine the friction factor for Re = 10 000 within 5% relative error.

Homework Equations





The Attempt at a Solution


our function is g(f) = 1.74* ln ( Re* sqrt(f)) - 0.4 - 1/sqrt(f)

how can i solve this problem?
 
Physics news on Phys.org
You want to find f such that g(f) = 0. Looks like a good candidate for the Newton-Raphson method.

1. Start with an initial guess f0
2. Calculate g and g' = dg/df at f0
3. Update your estimate f1 = f0 - g/g'
4. Repeat steps 2-3 until the solution is obtained within the desired accuracy
 
Last edited: