I was looking through some books and it struck me how strangely inconsistent many standard references are when it comes to adiabatic compressible pipe flow. There are standard methods for incompressible flow and isothermal compressible flow of an ideal gas, but when it comes to adiabatic pipe flow the guidance is very scattershot.
Note for brevity, from this point on whenever I refer to a flow I am referring to the ideal gas case in a constant area duct, unless otherwise specified
As a brief review of some common references: Crane’s gives a graphical method for adiabatic flow, which is the easiest to use with a pencil and paper, but doesn’t give a lot of details on how that model was developed. Albright’s recommends assuming flow is locally isentropic and gives a model of isentropic flow – that is flow which is both adiabatic and reversible – but with frictional losses also included, which allows for direct calculation if one assumes the friction factor is constant (with respect to the Reynold’s number). Perry’s gives the adiabatic irreversible flow model (i.e. Fanno flow), though with only a sketch of how to perform the iterative solution. Hall gives the Fanno flow model and, helpfully, a procedure for how to actually do the calculations and example VBA code. Ludwig’s gives both the isentropic and Fanno flow models but in a very confused manner: the section labeled “Adiabatic Flow” gives a model of isentropic flow (albeit with a typo in the equation) and suggests that all adiabatic flow is isentropic (which is false) and much later in a section labeled “Other Simplified Compressible Flow Methods” gives the Fanno flow model, though it doesn’t explain what it is, misattributes the derivation, and gives no clues on how to use it. Probably the best reference to sort all of this out is Coulson and Richardson’s as it provides easy to follow derivations of both the reversible and irreversible adiabatic flow models (the isentropic and Fanno flow models) and highlights their differences.
Another part of this confusion is differences in how the problem is being approached – or what problem, exactly, one is trying to solve. Typically the isothermal and isentropic flow models are presented as ways to solve for the flowrate given the pressure drop between two points, whereas the Fanno flow model is often given in terms of the Mach number and one is solving for the pressure drop. If you have the Mach number, rather obviously, you already know the flow, and it is often left as an exercise for the reader to figure out how to use the Fanno flow model to solve for flow.
Given all of that, I thought it may be worthwhile to unpack these various approaches to adiabatic flow, and see how they perform relative to one another.
Motivating Example
To give us something to work towards, suppose we wish calculate the flowrate of air in a horizontal section of piping – a 20m length of 2in schedule 40 steel pipe. In this case the pipe starts a 100kPag vessel which is at ambient temperature and exits into the air at ambient pressure.
# Pipe dimensions
L = 20 # m
D = 0.0525 # m
ϵ = 0.0457*1e-3 # m
A = 0.25*π*D^2
For “ambient” conditions I am assuming standard conditions: 1 atmosphere and 15°C
P₂ = 101325 #Pa
P₁ = P₂ + 100e3
T₁ = 288.15 #K
Key Assumptions
- Air is an ideal gas, Z=1
- The ratio of heat capacities, γ is constant
- Heat loss is negligible, Δq=0
- Flow is steady state, \(\dot{m}_{in} = \dot{m}_{out}\)
- Flow is turbulent, α=1
- Flow is horizontal, Δz=0
- Friction factor is constant along the length
# Universal gas constant
# to more digits than are at all necessary
R = 8.31446261815324 # Pa⋅m³/mol/K
# Some useful physical properties of air
Mw = 0.02896 # kg/mol
γ = 1.4 # Cp/Cv, ideal gas
# density of air, ideal gas law
ρ(P,T) = (P*Mw)/(R*T); # kg/m³
# viscosity of air, from Perry's
μ(T) = (1.425e-6*T^0.5039)/(1+108.3/T); # Pa⋅s
The mass velocity, G = ρu, in a pipe with constant cross-sectional area at steady state is constantThis is a consequence of the steady state assumption, \(\dot{m}_{in} = G_{in} A = G_{out} A = \dot{m}_{out}\), and the Reynold’s number can be written in terms of G as:
\[\mathrm{Re} = { {G D} \over \mu }\]Where only the viscosity is a function of temperature, and for most gases only weakly so.
# Reynold's number
Re(G,T) = G*D/μ(T);
The Darcy friction factor, f, is a function of the Reynolds number and, for ease of calculation, I am assuming the Churchill correlation appliesTilton, “Fluid and Particle Dynamics,” 6-11., and that it can be taken as a constant at the average temperature (the arithmetic average of T1 and T2)
function churchill(Re; κ=ϵ/D)
A = (2.457 * log(1/((7/Re)^0.9 + 0.27*κ)))^16
B = (37530/Re)^16
return 8*((8/Re)^12 + 1/(A+B)^(3/2))^(1/12)
end;
K_entrance = 0.5
K_exit = 1.0
Kf(Re) = K_entrance + churchill(Re)*L/D + K_exit;
For a large Reynolds number approximation I am using the Nikuradse rough pipe lawCrane, Flow of Fluids, 1-10.
\[{1 \over \sqrt{f} } = 2 \log_{10} \left( 3.7 \over \kappa \right)\]fₙ = (2*log10(3.7*D/ϵ))^-2
Kf() = K_entrance + fₙ*L/D + K_exit;
Choking Flow
A pitfall of compressible flow calculations is that flow at the exit of the pipe cannot exceed Ma=1, once the exit velocity achieves sonic velocity then the exit pressure will rise and the overall flowrate will remain at a constant, no matter the upstream pressure.
The easiest way to check for this is to use the limiting factors in Crane’sCrane, Flow of Fluids, A-23.
Using the estimated Kf > 8 and γ=1.4, we can check:
\[{\Delta P \over P_1} \lt 0.762\](P₁ - P₂)/P₁
0.496709300881659
(P₁ - P₂)/P₁ < 0.762
true
There is a fit to the critical pressure ratios, as a function of Kf
\[\log \left( {\Delta P} \over P_1 \right) = A \left( \log K_f \right)^3 + B \left( \log K_f \right)^2 + C \left( \log K_f \right) + D\]With the constants for γ=1.4:
A | 0.0011 |
B | -0.0302 |
C | 0.238 |
D | -0.6455 |
function critical_pressure(Kf)
@assert Kf > 0
x = log(Kf)
y = 0.0011*x^3 - 0.0302*x^2 + 0.238*x - 0.6455
return exp(y)
end
critical_pressure(Kf())
0.7707810480736812
(P₁ - P₂)/P₁ < critical_pressure(Kf())
true
For this problem we are well within the sub-sonic region.
Mechanical Energy Balance
Consider the differential form of the mechanical energy balance:
\[{u \over \alpha} du + g dz + v dP + \delta W_s + \delta F = 0\]From the assumptions listed above, and noting that in this system there is no shaft work Ws, this can be simplified to:
\[u du + v dP + {u^2 \over 2} {f \over D} dl = 0\]where f is the Darcy friction factor.
For compressible flow the velocity, u, varies along the length of the pipe while the mass velocity does not, so it is convenient to make the substitution u=G/ρ=Gv
\[G^2 v dv + v dP + G^2 {v^2 \over 2} {f \over D} dl = 0\]Dividing through by v2 and integrating gives:
\[G^2 \log \left( {v_2 \over v_1} \right) + \int_{P_1}^{P_2} {dP \over v} + {K_f \over 2} G^2 = 0\]where Kf is the pipe friction fL/D
The integral $\int {dP \over v}$ is where the reversible and irreversible models differ, but they both amount to the same thing: integrate over an adiabatic path, and solve the mechanical energy balance for G.
Reversible Adiabatic Flow (Isentropic Flow)
Typically the isentropic flow model comes as a consequence of examining non-isothermal flow more generally, where one assumes Pvk is constant with k being a function of heat transfer (for the isothermal case k=1). The adiabatic case is then taken to be when k=γ. I think this is the greatest source of vaguery and confusion in the various sources I’ve looked at. Coulson and Richardson’s emphasizes that this is only an approximation as this equates to assuming an isentropic path, but many other sources either don’t make the distinction or only hint at it.
\[Pv^\gamma = P_1 v_1^\gamma\] \[\int_{P_1}^{P_2} {dP \over v} = \int_{P_1}^{P_2} {1 \over v_1} \left( P \over P_1 \right)^{1 \over \gamma} dP \\ = {\gamma \over {\gamma + 1} } {P_1 \over v_1} \left( \left( P_2 \over P_1 \right)^{ {\gamma+1}\over\gamma} - 1 \right)\]Substituting this into the mechanical energy balance gives
\[G^2 \log \left( {v_2 \over v_1} \right) + {\gamma \over {\gamma + 1} } {P_1 \over v_1} \left( \left( P_2 \over P_1 \right)^{ {\gamma+1}\over\gamma} - 1 \right) + {K_f \over 2} G^2 = 0\]Making the substitution \({v_2 \over v_1} = \left( P_1 \over P_2 \right)^{1\over\gamma}\)
\[\left( {K_f \over 2} - {1 \over \gamma} \log \left( {P_2 \over P_1} \right) \right) G^2 + {\gamma \over {\gamma + 1} } P_1 \rho_1 \left( \left( P_2 \over P_1 \right)^{ {\gamma+1}\over\gamma} - 1 \right) = 0\]This form is a convenient objective function for numerical solution, however it can be re-arranged to solve for G, giving:
\[G = \sqrt{ { {2 \gamma \over {\gamma + 1} } P_1 \rho_1 \left( 1 - \left( P_2 \over P_1 \right)^{ {\gamma+1}\over\gamma} \right) } \over { K_f - {2 \over \gamma} \log \left( {P_2 \over P_1} \right) } }\]Which is the form typically given in texts. If one assumes Kf is a constant then the mass velocity can be calculated directly. In practice, however, Kf is a function of the Reynolds number and so this must be solved numerically.
function isentropic_flow(P₁, K::Number; T₁=T₁, P₂=P₂, γ=γ)
q = P₂/P₁
ρ₁ = ρ(P₁,T₁)
G = √( ((2γ/(γ+1))*P₁*ρ₁*(1-q^((γ+1)/γ)))/(K - (2/γ)*log(q)) )
return G
end;
using Roots: find_zero
function isentropic_flow(P₁, K::Function; T₁=T₁, P₂=P₂, γ=γ)
# Initialize Parameters
q = P₂/P₁
ρ₁ = ρ(P₁,T₁)
T₂ = T₁*(q^((γ-1)/γ))
Tₐᵥ = (T₁+T₂)/2
# Initial guess
G_est = isentropic_flow(P₁, K(); T₁=T₁, P₂=P₂, γ=γ)
# Numerically solve for G
obj(G) = (K(Re(G,Tₐᵥ)) - (2/γ)*log(q))*(G^2) - (2γ/(γ+1))*P₁*ρ₁*(1-q^((γ+1)/γ))
G = find_zero(obj, G_est)
return G
end;
ṁ_i = isentropic_flow(P₁, Kf)*A
0.43138829795543004
Irreversible Adiabatic Flow (Fanno Flow)
The integration for Fanno flow is decidedly more tedious. As a sketch, start with the invariant (which comes from taking an energy balance for an ideal gas):
\[{1 \over 2} \left( Gv \right)^2 + {\gamma \over {\gamma -1} } Pv = \textrm{a constant}\]Solve for P, take the derivative to determine dP, substitute and integrate. The result is:
\[\int_{P_1}^{P_2} {dP \over v} = { {\gamma -1} \over {\gamma} } G^2 \left( \left(v_1 \over v_2\right) -1 -2 \log \left(v_1 \over v_2\right) \right) - \frac{1}{2} {P_1 \over v_1} \left( 1 - \left(v_1 \over v_2\right)^2 \right)\]Which, when substituted into the mechanical energy balance and simplified, becomes:
\[\left( K - { {\gamma -1} \over {2 \gamma} } \left( 1 - \left( { \rho_2 \over \rho_1 } \right)^2 \right) - { {\gamma +1} \over \gamma} \log \left( { \rho_2 \over \rho_1 } \right) \right) G^2 - \left( 1 - \left( { \rho_2 \over \rho_1 } \right)^2 \right) P_1 \rho_1 = 0\]and can be further re-arranged to solve for G
\[G = \sqrt{ { P_1 \rho_1 \left( 1 - \left( { \rho_2 \over \rho_1 } \right)^2 \right) } \over { K - { {\gamma -1} \over {2 \gamma} } \left( 1 - \left( { \rho_2 \over \rho_1 } \right)^2 \right) - { {\gamma +1} \over \gamma} \log \left( { \rho_2 \over \rho_1 } \right) } }\]The obvious complication here is that ρ2 is unknown, so solving this requires simultaneously solving for either ρ2 or T2.
Most often the Fanno flow model is given in terms of the Mach number, however the equation above is equivalent. This can be shown most easily by starting with the definition of the Fanno parameter, Fa, and the relation K = Fa1 - Fa2,
\[Fa = \left(\frac{1 - Ma^2}{\gamma Ma^2}\right) + \left(\frac{\gamma + 1}{2\gamma}\right)\log\left[\frac{Ma^2}{\left(\frac{2}{\gamma + 1}\right)\left(1 + \frac{\gamma - 1}{2}Ma^2\right)}\right]\] \[K = \left(\frac{1 - Ma_1^2}{\gamma Ma_1^2}\right) - \left(\frac{1 - Ma_2^2}{\gamma Ma_2^2}\right) + \left(\frac{\gamma + 1}{2\gamma}\right)\log\left[\frac{Ma_1^2}{Ma_2^2}\frac{\left(1 + \frac{\gamma - 1}{2}Ma_2^2\right)}{\left(1 + \frac{\gamma - 1}{2}Ma_1^2\right)}\right]\]Then, making the substitution:
\[\left(v_1 \over v_2\right)^2 = { {Ma_1^2 \left( 1 + { {\gamma-1}\over 2} Ma_2^2 \right)} \over {Ma_2^2 \left( 1 + { {\gamma-1}\over 2} Ma_1^2 \right)} }\]we get:
\[K = \left( \frac{1}{\gamma Ma_1^2} + \frac{\gamma-1}{2\gamma} \right) \left( 1 - \left(v_1 \over v_2\right)^2 \right) + \frac{\gamma + 1}{\gamma} \log\left(v_1 \over v_2\right)\]Then, using the definition of the Mach number, in terms of G, $Ma=\frac{G}{\sqrt{\gamma P \rho} }$
\[K = \left( \frac{P_1 \rho_1}{G^2} + \frac{\gamma-1}{2\gamma} \right) \left( 1 - \left(v_1 \over v_2\right)^2 \right) + \frac{\gamma + 1}{\gamma} \log\left(v_1 \over v_2\right)\]Solving for G, and making the substitution ρ = 1/v
\[G = \sqrt{ { P_1 \rho_1 \left( 1 - \left( { \rho_2 \over \rho_1 } \right)^2 \right) } \over { K - { {\gamma -1} \over {2 \gamma} } \left( 1 - \left( { \rho_2 \over \rho_1 } \right)^2 \right) - { {\gamma +1} \over \gamma} \log \left( { \rho_2 \over \rho_1 } \right) } }\]Which puts us back where we started.
When it comes to actually using the Fanno flow model, if the goal is to calculate the flowrate for a given pressure drop, working in terms of the specific volume or density is far easier than using the model given in terms of the Mach number.
Approximating Temperature Change
An obvious simplifying assumption is to estimate the exit temperature using the relationship for isentropic flow.
\[{T_2 \over T_1} = \left( P_2 \over P_1 \right)^{ {\gamma-1} \over \gamma}\]If we were assuming Kf is constant, then using this assumption to estimate the density at the exit allows for a direct calcuation of the mass velocity, no numerical methods required. In the more general case, the flow still needs to be calculated iteratively as the friction factor is a function of the flow (Reynolds number).
function approx_fanno_flow(P₁, K::Number; T₁=T₁, P₂=P₂, γ=γ)
ρ₁ = ρ(P₁, T₁)
ρ₂ = ρ₁*(P₂/P₁)^(1/γ)
q = ρ₂/ρ₁
G = √( (P₁*ρ₁*(1-q^2))/(K - ((γ-1)/(2γ))*(1-q^2) - ((γ+1)/γ)*log(q)) )
return G
end;
using Roots: find_zero
function approx_fanno_flow(P₁, K::Function; T₁=T₁, P₂=P₂, γ=γ)
# Initializing some parameters
T₂ = T₁*(P₂/P₁)^((γ-1)/γ)
ρ₁ = ρ(P₁, T₁)
ρ₂ = ρ(P₂, T₂)
q = ρ₂/ρ₁
Tₐᵥ = (T₁+T₂)/2
# Initial guess
G_est = approx_fanno_flow(P₁, K(); T₁=T₁, P₂=P₂, γ=γ)
# Numerically solve for G
obj(G) = (K(Re(G,Tₐᵥ)) - ((γ-1)/(2γ))*(1-q^2) - ((γ+1)/γ)*log(q))*(G^2) - (1-q^2)*P₁*ρ₁
G = find_zero(obj, G_est)
return G
end;
ṁ_fa = approx_fanno_flow(P₁, Kf)*A
0.38355173684967075
The Full Treatment
Actually calculating the exit conditions requires a little more work. I am going to simultaneously calculate the density at exit since it is somewhat simpler to work with than the temperature, though either could be done.
To start we note that:
\[{1 \over 2} \left( Gv \right)^2 + {\gamma \over {\gamma -1} } Pv = C = \textrm{a constant}\]Which is a quadratic in v, and solving for v:
\[v = {1 \over G^2} \left( \sqrt{ \left( {\gamma \over {\gamma -1} } P \right)^2 + 2 G^2 C} - {\gamma \over {\gamma-1} } P \right)\]Where C is calculated at the entrance conditions and ρ = 1/v.
From this the temperature at the exit can be backed out using the ideal gas law, and used to update the Reynolds number.
This makes the whole calculation somewhat more complicated, and I think that added complication makes the simplification that Kf is constant pointless – that assumption does not make the math easier in any case.
using Roots: find_zero
function fanno_flow(P₁, K::Function; T₁=T₁, P₂=P₂, γ=γ)
# Initialize some parameters
ρ₁ = ρ(P₁,T₁)
# Initial guesses
q = (P₂/P₁)^(1/γ) # isentropic
G_est = √( (P₁*ρ₁*(1-q^2))/(K() - ((γ-1)/(2γ))*(1-q^2) - ((γ+1)/γ)*log(q)) )
function obj(G)
# Calculate the downstream density
C = 0.5*(G/ρ₁)^2 + (γ/(γ-1))*(P₁/ρ₁)
G²v = √(((γ/(γ-1))*P₂)^2 + 2*(G^2)*C) - (γ/(γ-1))*P₂
ρ₂ = (G^2)/G²v
@assert ρ₂ > 0
# Update Temperature dependent parameters
T₂ = (P₂*Mw)/(R*ρ₂)
Tₐᵥ = (T₁+T₂)/2
# Calculate the objective value
q = ρ₂/ρ₁
return (K(Re(G,Tₐᵥ)) - ((γ-1)/(2γ))*(1-q^2) - ((γ+1)/γ)*log(q))*G^2 - P₁*ρ₁*(1-q^2)
end
G = find_zero(obj, G_est)
return G
end;
function fanno_flow(P₁, K::Number; T₁=T₁, P₂=P₂, γ=γ)
fn() = K
fn(Re) = K
return fanno_flow(P₁, fn; T₁=T₁, P₂=P₂, γ=γ)
end;
ṁ_f = fanno_flow(P₁, Kf)*A
0.40934309494917254
The approximation produces reasonable results in this case, especially at higher pressure drops, but one should always be cautious when mixing results from different models.This is something worth keeping mind more generally, as I have seen the assumption that Fanno flow is approximately isentropic (implicitly) taken for calculating different flow parameters, and it is often a bad assumption. For example, some references use the isentropic choking condition for a nozzle as an estimate for the choking condition in Fanno flow. Unless the pipe is incredibly short this is a terrible approximation – in the current example the pressure drop exceeds the choking flow condition for a nozzle and yet the pipe flow is far from choked.
Expansion Factors (Y Factors)
By far the simplest method is to use a modified Darcy equation with expansion factors (Y factors). This takes the well known Darcy equation for incompressible pipe flow and, in a classic engineering move, tacks on a Y factor to account for all the complexity in adiabatic flow.
\[G = Y \sqrt{ { 2 \rho_1 \Delta P } \over K }\]Where the expansion factor, Y, is read off of a chart. This is great if you are working things out by hand, but can present some challenges when calculating things on a computer. Ludwig’s provides a complicated series of equations to iteratively calculate the Y curves yourself, but I think if you are expending that level of effort then you really are not saving anything over using the Fanno model above. A much simpler approach is to either interpolate the critical expansion factor, Ycr, and critical pressure ratio, qcr, from the values given in Crane’s or use a correlation for them (that’s what I will use). Though this adds the wrinkle of only being able to use Y factors for gases with the same γ as what is either tabulated or available in a correlation.
The actual Y value then comes from a simple linear relationship (where $q={ {\Delta P} \over P_1}$ )
\[Y = \left( Y_{cr} -1 \right) \left( q \over q_{cr} \right) +1\]This has the added convenience of telling you when you have crossed into choked flow, it happens when q>qcr.
One downside is that this method does not directly produce the exit conditions, so the Reynolds number is typically taken at the entrance conditions only. Since the Reynolds number is only a function of Temperature through the viscosity, this works out fine over ranges where the viscosity is approximately constant.The temperature can be worked out by using the method given in the section for Fanno flow, calculating the invariant at entrance conditions (once G is known) and then solving for the exit density.
# Correlations for γ=1.4
function Ycr(K)
x = log(K)
y = 0.0006*x^3 - 0.0185*x^2 + 0.1141*x - 0.5304
return exp(y)
end;
function qcr(K)
x = log(K)
y = 0.0011*x^3 - 0.0302*x^2 + 0.238*x - 0.6455
return exp(y)
end;
The correlation curves I am using fit the tabulated values from Crane’s reasonably well, but clearly the fit is not perfect.
function Y(K,q)
Yc, qc = Ycr(K), qcr(K)
if q < qc
return (Yc-1)*(q/qc)+1
else
return Yc
end
end;
The calculated curve is between the bracketing curves in Crane’s and looks plausible.
If you are assuming that Kf is constant then the mass velocity can be calculated directly, however if you wish to be more exact you can also iterate.
function modified_darcy(P₁, K::Number; T₁=T₁, P₂=P₂, γ=γ)
ρ₁ = ρ(P₁,T₁)
q = (P₁-P₂)/P₁
G = Y(K,q)*√(2*ρ₁*(P₁-P₂)/K)
return G
end;
using Roots: find_zero
function modified_darcy(P₁, K::Function; T₁=T₁, P₂=P₂, γ=γ)
# Intialize Parameters
ρ₁ = ρ(P₁,T₁)
q = (P₁-P₂)/P₁
# Initial Guess
G_est = modified_darcy(P₁, K(); T₁=T₁, P₂=P₂, γ=γ)
# Numerically solve for G
obj(G) = G - modified_darcy(P₁, K(Re(G,T₁)); T₁=T₁, P₂=P₂, γ=γ)
G = find_zero(obj, G_est)
return G
end;
ṁ_y = modified_darcy(P₁, Kf)*A
0.4049511071122898
Comparison
Below is a plot showing all of the methods examined so far, including assuming the isothermal case (this a common recommendation for a simplifying assumption). The expansion factor method approximates the Fanno flow method, from which it was derived, quite well, to the point where they are essentially indistinguishable. The isothermal model is practically just as good for this particular example, while the isentropic model works well only for low pressure drops, the version of the Fanno flow that approximates the temperature as isentropic is the opposite, being the worst model at low pressure drops and converging towards the Fanno model at higher pressure drops.
But this is just one example, perhaps we can look at a wider range of Kf and pressure drops. Conveniently, Crane’s has a table with Kf ranging from 1 to 100 and calculated pressure drops and expansion factors: the limiting factors. Using the models examined above, the effective expansion factors can be calculated quite easily for each K in Crane’s table (taking the pressure ratios as givens).
Note that this represents the greatest pressure drop for a given Kf, which should correspond to the “worst case” for most models (except the approximated Fanno model). The Fanno model and the correlation I was using to generate Y factors line up quite nicely, though there is a fair amount of scatter with the tabulated Y factors which is interesting. The isentropic model is close, but not in great agreement, over the entire range. What I find more interesting is how rapidly the isothermal model comes into agreement. We would expect, then, at Kf=100 that the isothermal model would basically fall on top of the Fanno model over the entire range of pressure.
They are basically indistinguishable. However, this is not at all implying that the temperature in the Fanno flow model is remaining constant over these large pressure drops. As one would expect, the adiabatic flow moves further from isothermal as the pressure drop increases. The mass flows just happen to be the same.
Final Thoughts
I think the big take-away is that the isentropic flow model is not a very good approximation of Fanno flow and references that suggest that it is are in error. The other big take-away may be that, at least when calculating mass flow rates, the isothermal model is often better than one would expect: it does well at low pressure drops and also for long lines where Kf is large. In practice, when the flow conditions are within the range of available Y factors, the modified Darcy equation is the easiest to use and gives excellent agreement with the full Fanno model, however when the situation is outside of that range and Y factors have to be calculated it is not a time-saver.
The big elephant in the room is that, in practice, no actual gas flow is perfectly ideal or perfectly adiabatic, nor is the friction factor truly a constant. These assumptions play a big role in the overall model error, and being fussy about some of the details of different adiabatic ideal gas models may amount to nothing in practice.
For a complete listing of code used to generate data and figures, please see the corresponding julia notebook
References
- Albright, Lyle F. Albright’s Chemical Engineering Handbook. Boca Raton: CRC Press, 2009.
- Chhabra, R. P. and V. Shankar. Coulson and Richardson’s Chemical Engineering: Volume 1A: Fluid Flow: Fundamentals and Applications. 7th ed. Amsterdam: Elsevier, 2018.
- Coker, A. Kayode. Ludwig’s Applied Process Design for Chemical and Petrochemical Plants. 4th ed. Amsterdam: Elsevier, 2007
- Crane. TP410M Flow of Fluids. Stamford, Connecticut: Crane, 2013.
- Hall, Stephen M. Rules of Thumb for Chemical Engineers. 6th ed. Amsterdam: Elsevier, 2018
- Tilton, James N. “Fluid and Particle Dynamics” in Perry’s Chemical Engineers’ Handbook. 8th ed. Edited by Don W. Green, New York: McGraw Hill, 2007.
Comments