This notebook contains material from chemeng316_fluids; content is available on Github.
< B.2 Homework 2 | Contents | B.4 Homework 4 >
Getting Started: Here is some code to at least get the UnitRegistry and CoolProp modules loaded for you to get 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. Plot viscosity of Helium and CO$_2$ in the range from 0 to 600 $^\circ$C.
# YOUR SOLUTION HERE
Problem 2. Plot viscosity versus molecular weight for ... Methane, Ethane, n-Propane, n-Butane, n-Pentane, n-Hexane, n-Octane ... at 20 $^\circ$C and 1 atm. Describe the trend that you observe.
# YOUR SOLUTION HERE
Problem 3. A continuous gravity decanter (separator) is to separate chlorobenzene, with a density of 1109 kg/m$^3$, from an aqueous wash liquid having a density of 1020 kg/m$^3$. If the total depth in the separator is 1 m and the interface is to be 0.6 m from the vessel floor, (a) what should the height of the heavy-liquid overflow leg be, (b) find the minimum height of the heavy-liquid overflow leg, and (c) plot the interface height (plot $Z_{A_1}$) as a function of the height of the overflow leg between the minimum value and the total depth (for $Z_{A_2,min}<Z_{A_2}<1$).
# YOUR SOLUTION HERE
< B.2 Homework 2 | Contents | B.4 Homework 4 >