This notebook contains material from chemeng316_fluids; content is available on Github.
< B.4 Homework 4 | Contents | B.6 Homework 6 >
Getting Started: Here is the code to import the pint
, CoolProp
, numpy
, sympy
, and matplotlib
modules to get you started.
try:
import pint
except:
!pip install pint
import pint
finally:
ur = pint.UnitRegistry()
try:
import CoolProp.CoolProp as CP
except:
!pip install CoolProp
import CoolProp.CoolProp as CP
# we need numpy for constants like pi
# https://numpy.org/doc/stable/reference/constants.html
import numpy as np
# we often use sympy to solve equations
import sympy as sp
# for plotting we need
import matplotlib.pyplot as plt
# For nice plotting I include ...
plt.rcParams['mathtext.default'] = 'rm'
plt.rcParams['mathtext.fontset'] = 'stix'
plt.rcParams['font.family'] = 'Times New Roman'
Problem 1. The entrance length refers to the distance along a tube needed before the flow profile is fully developed. In laminar flow the entrance length, $x_t$, can be estimated as $x_t=0.05 D (Re)$. However, for turbulent flow, a rule of thumb is often applied such that the entrance length can be estimated as $x_t≈10D$. This is a rough estimate, and a more accurate description of the entrance length can be determined from the equation $x_t=1.36 D(Re)^{1/4}$.
Now, assume a pipe diameter of 20 cm.
# YOUR SOLUTION HERE
< B.4 Homework 4 | Contents | B.6 Homework 6 >