0% found this document useful (0 votes)
21 views54 pages

Ch04 Modified

Uploaded by

Muhammad Awais
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views54 pages

Ch04 Modified

Uploaded by

Muhammad Awais
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 54

Chapter 4: Modeling Fluid and

Thermal Systems
• Pressurized fluids (liquids and gases) are used by mechanical engineers in the
design of devices that deliver forces and torques to mechanical loads
– Hydraulic systems use a liquid as the working fluid
– Pneumatic systems use air or other gases

• Like electromechanical systems (Chapter 3), fluid systems convert energy from a
power source (pressurized fluid) to mechanical energy

• Thermal systems involve the transfer of heat energy, and temperature is typically the
dynamic variable of interest
 Hydraulic systems
 Hydraulic systems
4.2 Hydraulic Systems
• A hydraulic fluid system is composed of a pump that provides high-pressure fluid, a fluid capacitance
(reservoir) that stores energy due to pressure, and hoses/valves that connect the various elements

• The fundamental variables are pressure P (N/m2 or Pa), mass-flow rate w (kg/s), and volumetric
flow rate Q (m3/s).

• The fluid-bulk modulus b measures the fluid’s resistance to compressibility:

dP
 0
d
Typical hydraulic fluid: β = 109 Pa = 1 GPa and ρ0 = 860 kg/m3

Therefore, for large fluid pressures (dP = 20 MPa) fluid density only changes by about 2% (hydraulic fluids
are very “stiff”)
Fluid Resistance: Laminar Flow
• A fluid resistance element >> component that resists flow and dissipate energy >> electrical resistors
• For laminar pipe flow, the pipe flow is “smooth” and “streamlined” >> Large diameter, low velocity

• Consider a long capillary flow tube with low volumetric flow rate (Q) or low pressure drop (P1 – P2) so

that the flow is dominated by viscous forces

P RL Q RL = “laminar fluid resistance” (Pa-s/m 3)

• Laminar flow: linear relationship between the pressure drop DP = P1 – P2 and the volumetric flow rate Q

• This relation is analogous to Ohm’s law (e = RI) where e (voltage) is “pressure”, and I (current) is “flow.”
• Laminar flow exists when the Reynolds number Re < 2300; [Re is nondimensional and is the ratio of
inertial to viscosity forces in the fluid]
Fluid Resistance: Laminar Flow

P RL Q RL = “laminar fluid resistance” (Pa-s/m 3)

• For laminar pipe flow where the pipe length is L is significantly larger than the diameter d, the laminar
fluid resistance can be computed from Hagen-Poiseuille Law

128 L
RL  μ : dynamic/absolute viscosity of the fluid
d4
Fluid Resistance: Turbulent Flow
• Liquid flowing through valves, orifices (sharp-edge opening), and certain pipes is usually turbulent

• For turbulent flow (rule of thumb: Re > 2300), the flow is “rough” and no longer smooth but “swirls”

• The fluid resistance relation for turbulent flow is nonlinear:

P  RT Q 2 P
or, Q  K T P
RT
RT = “turbulent fluid resistance”
• Components such as valves, elbow bends, and couplings resist flow and usually induce turbulent flow at
nominal pressures

• In most cases, turbulent fluid resistance RT (or KT) must be determined experimentally.
Fluid Resistance: Orifice Flow
• An orifice is an opening through which fluid can flow (e.g., hole in a tank, a valve opening, etc.).
The figure below shows fluid flow through a sharp-edged orifice
• The classical orifice flow equation can be derived using Bernoulli’s equation

Bernoulli’s Equation

Idealized flow rate


without any frictional
losses
2P 2P1  P2 
“orifice flow equation” Q  A0Cd  A0Cd
  Cd = “discharge coefficient” = 0.62
(for sharp-edged orifice)

A0 = orifice area
P 2
Q  K T P KT Cd A0
RT  ρ = fluid density, kg/m3
Fluid Resistance: Valve Flow
• A 4-way spool valve is shown below:

Valve position y
alters orifice area Av
and hence meters
flows Q1 and Q2

• The generic symbol for fluid resistance (lumped fluid resistance) is shown below:
Fluid Capacitance
• Fluid capacitance C is ability to store energy due to pressure

dV Fluid mass:
C units: m /Pa
3

dP m V

Hydrostatic P gh  Patm


pressure:

Capacitance of tank (A = constant):


dV Adh A
C  
dP gdh g

CdP dV Divide by dt to get CP V Q similar to electric


capacitor! Ce c I
Conservation of Mass
• Fluid system models are obtained by applying the conservation of mass to a control volume (CV)

• If we consider a fixed control volume (CV) as shown below, fluid mass may be entering the CV, leaving the
CV, or accumulating in the CV

Control
volume Mass leaves CV
(CV)
Mass enters CV

• From the conservation of mass, we can compute the net or accumulated mass flow rate by assigning a sign
convention dm/dt > 0 for mass entering CV, and dm/dt < 0 for mass for mass leaving CV
• Therefore, conservation of mass yields:
m CV  m in   m out

• If mass does not accumulate in the CV (i.e., steady flow through CV), then the net mass-flow rate in the CV
 CV 0
is zero, or m
Modeling a Hydraulic Tank: Example 4.1

Figure shows a single hydraulic tank with input volumetric-flow rate Q in.

(a) Derive the mathematical model of the hydraulic system assuming laminar flow through the valve.

(b) Derive the mathematical model of the hydraulic system assuming turbulent flow through the valve.

(c) Repeat problems (a) and (b) with the model expressed in terms of liquid height h.
Modeling a Hydraulic Tank:
Example 4.1a (Laminar Flow)
• Consider a storage tank containing a liquid, with in-flow Qin and laminar out-flow through the valve

Pressure at base (hydrostatic Eq): P gh  Patm

Laminar out-flow through valve:


P P  Patm
Qout  
RL RL

• Apply conservation of mass:


wCV mCV V  min   mout , Divide by ρ,
Q Qin  Qout
we get

From fluid capacitance CP V Q CP Qin  Qout A


• Substitute for volumetric out-flow, Qout Recall capacitance of tank C
g
P  Patm
CP Qin 
RL RL CP  P RL Qin  Patm Tank model with
Laminar output
Modeling a Hydraulic Tank:
Example 4.1b (Turbulent Flow)
• Consider a storage tank containing a liquid, with in-flow Qin and turbulent out-flow through the valve

Pressure at base (hydrostatic Eq): P gh  Patm

Tubulant out-flow through valve:

2
Qout KT P  Patm , KT Cd A0

• Apply conservation of mass:


wCV mCV V  min   mout , Divide by ρ,
Q Qin  Qout
we get

From fluid capacitance CP V Q CP Qin  Qout

CP  KT P  Patm Qin Tank model with


turbulent output
Modeling a Hydraulic Tank:
Example 4.1c (In terms of h)

RL CP  P RL Qin  Patm Tank model with


CP  KT P  Patm Qin Tank model with
Laminar output turbulent output

P  gh  Patm , P  gh
RL C  gh   gh RLQin
C  gh  KT  gh Qin
Divide by ρg

 RL
RL Ch  h  Qin • Hydraulic tank systems require a first-order ODE for each fluid capacitance
g (reservoir)
• ODE can be expressed with either pressure P or liquid height h as the
dynamic variable
• For two interconnected tanks, the complete mathematical model will involve
two first-order ODEs.
Modeling a Hydraulic Tank:
Practice Problems
Modeling a Hydraulic Tank:
Practice Problems
Modeling a Hydraulic Tank:
Practice Problems
Modeling Hydromechanical Systems
• Hydromechanical systems are created by combining hydraulic and mechanical components,
• Used to convert the energy stored in the pressurized fluid to mechanical energy

Fluid mass:
m V

• Fluid volumetric flow-rate Q is entering the CV from the left, and no flow is leaving the CV. The
piston moves (due to pressure), and therefore the size of the CV is not fixed but rather varies with
time
• Applying conservation of mass to the CV: w w  w , w m 
CV in out

d  0
wCV m CV  (  V) V  V win  wout Qin

dt
 V  V  Qin
Modeling Hydromechanical Systems (2)

Fluid mass:
m V

Bulk modulus
 V  V  Qin  0
dP
d
d dP  
• The time-rate of fluid density is    P
dP dt 
• Substituting this expression into the previous mass-continuity (CV) equation and rearranging we
obtain

 V  Ax, Instantaneous CV, V  Ax


P  Qin  V  Fundamental pressure-rate ODE for hydraulic cylinder with
V
compressible fluid >> Nonlinear (Inverse of x in 1/V)
Hydraulic Actuator
Hydromechanical Actuator:
Example 4.2
• Derive the mathematical model of the hydraulic actuator

• Start with the pressure-rate equation for the cylinder chamber:


V0 >> No deflection of spring, x = 0

P   Q  V  where instantaneous volume is V V0  Ax


in
V

 The fluid model is P  Qin  Ax  Nonlinear!
V0  Ax
Hydromechanical Actuator:
Example 4.2 (2)
• Next, use the FBD of the mechanical subsystem:

  F PA  P atm A  kx  bx  FL mx

• Rearranging we obtain the mechanical model:

mx  bx  kx P  Patm A  FL (linear)


Hydromechanical Actuator:
Example 4.2 (3)

Fluid ODE: P   Q  Ax  System model


in
V0  Ax 3rd-order nonlinear
system

Mechanical ODE: mx  bx  kx P  Patm A  FL

Dynamic Variables of interest: P, x;


Input variables: Qin, Patm, FL
Hydromechanical Systems
• Reading/Practice Assignment
• Example 4.3: Hydraulic accumulator
• Example 4.4: Fluid capacitance of Hose
• Problems on similar concepts from the exercise

Hydraulic accumulator
4.3 Pneumatic Systems
4.3 Pneumatic Systems
• Pneumatic systems involve compressible fluids (gas) such as air, where density is not constant

• Analysis of pneumatic systems is complex due to thermodynamic effects and the fact that gas flow is more
complicated that liquid flow
– Compressibility effects may cause oscillations in the system response

– Flow can become “choked” at the throat (sonic conditions, or Mach 1) of a valve or orifice, resulting in highly a
nonlinear relationship between pressure and flow rate

• For compressible fluids, mass-flow rate (w) and volume-flow rate (Q) are not readily interchangeable since
density can change significantly

d
m V m  V   V  V
dt
Mass of gas in volume V
Mass-flow rate (w)
Pneumatic Systems (2)
• We must include thermodynamic effects when modeling pneumatic systems

• Pneumatic systems exhibit a functional relationship between pressure, density, and temperature:

P RT Perfect/Ideal gas law

R = gas constant
T = absolute temperature in kelvin (K)
Resistance of Pneumatic Systems

• In rare cases the flow in pneumatic systems is incompressible (low-speed flow)

• In these rare cases we may model resistance using either the laminar or turbulent models and

obtain the corresponding coefficients RL or RT via experimental data, such as mass-flow rate w
vs ΔP
P
w Laminar flow (linear)
RL

P
w Turbulent flow (nonlinear)
RT

• Note that resistance coefficients RL and RT have different units for pneumatic systems since we are using

mass-flow rate (w) instead of Q


Resistance of Pneumatic Systems (2)
• For most pneumatic applications, flow through valves or orifices is turbulent, compressible, and
complex
– We need to consider “choked” vs. “unchoked” flow at the minimum area (throat), where “choked” flow
involves sonic conditions, or Mach = 1

Mass-flow rate:
w  f ( P1 , P2 , A, T ) nonlinear function
for unchoked flow

P1 > P2
w
upstream downstream
pressure, P1 pressure, P2
throat area, A
upstream temperature, T
Resistance of Pneumatic Systems (3)
• Mass-flow rate w for pneumatic systems:
 1
 2
 Flow is NOT choked
Cd: Discharge coefficient
2   P2    P2  
 (subsonic):
w Cd AP1     
(  1) RT   P1   P1  
γ: ratio of specific heats
  P2/P1 > Cr
(1.4 for air)

Flow IS choked (Sonic)


 1
  (linear in P1)
(Mach = 1 at throat)
w Cd AP1 Cr
RT P2/P1 < Cr

Critical pressure ratio:


P1 > P2 w 
 2   1
P1 P2 Cr   0.528 (air)
  1 
throat area, A
temperature, T
Resistance of Pneumatic Systems (3)

• Downstream pressure P2 is varied


between a very small value (near
vacuum) and an upper limit equal
to P1
P1 =6 *105
Pa
A0 =4 mm2
T1 =298 K,
Cd =0.8
P2
0.528 P2
P1  0.528
P1
P1 > P2 w

P1 P2

throat area, A
temperature, T
Mass-Flow Rate for Pneumatic Systems
3

area A = 20.3 cm2 2.5 unchoked


T = 298 deg K
P2 = Patm = 1.013(10)5 N/m2

Mass-flow rate, kg/s


2
choked
γ = 1.4 (air)
R = 287 m2/s2-K 1.5 Linear in P1
Cd = 0.8
1

Upstream (input) pressure is varied 0.5


while downstream pressure P2 is
held constant at atmospheric pressure 0
1 2 3 4 5 6 7 8
2 5
Input pressure, N/m x 10
P1 > P2 w
Critical
P1 P2 pressure P1 = 1.92(105) N/m2
 P2/P1 = 0.528
throat area, A
temperature, T
Pneumatic Capacitance
• Pneumatic fluid capacitance is defined as dm
C
dP
• Since mass is m = ρV, for gases filling a constant-volume (rigid) vessel we have

d
dm d V  Vd  C V ?
dP
• Next, apply thermodynamics concepts: assume gas undergoes a polytropic expansion:

P
a = constant, or P a n
n

where n = 1 for an isothermal process;


For an adiabatic process (no heat transfer): n  c p / cv specific heats of an ideal gas at
constant pressure and at constant
volume
Pneumatic Capacitance (2)
• Take differentials of both sides of the polytropic process

dP an n 1
d d  1 n   n
  
dP an an
• Substitute for a using a  P  n and substitute for P using the perfect gas law P = ρRT to obtain

d 1

dP nRT
• Substitute the above expression into the capacitance equation C V d
dP

V Pneumatic capacitance of a fixed vessel can vary depending on the


Capacitance for fixed volume C gas temperature, type of gas, and thermodynamic process (n)
nRT
Modeling Pneumatic Systems
• Pneumatic system models are based on conservation of mass:

m CV wCV  win  w out

Time-rate of mass in CV: wCV m CV  V  V

• Compute the time-rate of density ρ by taking the time derivative of the polytropic expansion process P a  n

n
P an n 1   a n 

• Substitute the polytropic process equation
a n P and solve for dρ/dt

 
  P
nP
Modeling Pneumatic Systems (2)
• Substitute the previous equation for dρ/dt and the perfect gas law for density ρ into the mass-
conservation equation wCV m  CV  V  V

V  P 
wCV  P V  win  w out wnet
nRT RT

 V V
• Because we want a dynamic equation for gas pressure, we solve the above expression for dP/dt

Fundamental modeling
P  nRT  w  P V  equation for a pneumatic
net capacitance with pressure P
V  RT 

Note: for a fixed volume, we get CP wnet


Pneumatic System: Example 4.5
Supply tank has pressure PS

Assume compressible flow


through valve with orifice area A0

Rigid chamber (V = constant)

0
nRT  P 
Basic ODE: P  w
 in  V or CP win
V  RT 
Input mass-flow rate win could be choked or unchoked depending on P/PS
 1
Model
 2

2   P   P  
CP Cd A0 PS     
if P / PS  Cr (unchoked)
(  1) RT   PS   PS  
 

 1

CP C d A0 PS Cr 
if P / PS C r (choked)
RT
Chapter 4: Summary
• We introduced a systematic approach for developing the mathematical model of fluid systems
• First, we presented the physical laws for resistance elements and energy-storage (capacitance)
elements
• Fluid-system models are derived by applying the conservation of mass to a control volume
– Each control volume (or fluid capacitance) in a fluid system will require a 1st-order ODE with pressure
as the dynamic variable
– Fluid models are typically nonlinear due to turbulent flow
4.4 Thermal Systems
• Conservation of energy is used to model thermal systems;
thermal systems involve the storage and flow of heat energy

“Open” thermal system:


1) Boundary (insulation) encloses thermal capacitance C
2) Heat energy can enter/leave system (heat flow rate q)
3) Heat energy can enter/leave system due to mass transfer (e.g., fluid flow)
Thermal Systems (2)
• Applying the conservation of energy to the thermal boundary (1 st
Law of Thermodynamics expressed as time derivatives)
h  hin   h
out  qin  q out Units: J/s or watts (W)

Net rate of heat Time-rate of enthalpy Heat flow rates


energy stored due to mass transfer across boundary
across boundary
Thermal Systems (3)
• In general, thermal systems are distributed systems
(temperatures are distributed throughout a body), and thus
they are modeled by partial differential equations (PDEs)
instead of ODEs.

• We will use a simplified lumped model approximation,


which means that we assume that all points in a body have
a single (average) temperature.

• For our lumped approximation, thermal systems can be


characterized by two passive thermal elements: thermal
resistance (R) and thermal capacitance (C)
Thermal Resistance
• Heat can be transferred in three ways:
– Conduction (diffusion through a substance)
– Convection (fluid transport)
– Radiation (infrared waves like solar energy)

• We will only consider conduction and convection.

• For either conduction or convection heat transfer, the linear


model for heat flow rate is
DT = temperature difference, deg K
Heat flow rate, 1
J/s or W q  T R = thermal resistance, deg K-s/J
R

For R   , we have a perfect insulator (no heat transfer, q = 0)


Thermal Resistance (2)
• Conduction:
x x = thickness of material, A = area
R k = thermal conductivity coefficient
kA
For example, copper has thermal conductivity k that is 18x greater
than k for stainless steel (copper is a good conductor and poor insulator)

• Convection:

1 H = convection coefficient, A = area


R
HA
For example, H for water is 50-100x greater than H for air (air is a
much better insulator than water)
Thermal Capacitance
• Thermal capacitance C is a measure of a body’s ability to
store heat due to its mass and thermal properties

• Capacitance is the product of specific heat cp (at constant


pressure) and mass m :

Thermal capacitance
J/deg K
C mc p

For example, 1 kg of water has more than 4x the thermal


capacitance of 1 kg of air
Modeling Thermal Systems
• Lumped thermal models are based on the following heat
balance equation (i.e., energy balance):

heat stored in a body = net heat transfer to a body


h dt  q dt
CdT net net

incremental heat stored by incremental net incremental heat transferred in


temperature increase incremental time

 CdT h net dt  qnet dt where h m c pT

Divide by dt and
CT  m in c pTin   m c T  qin 
out p out q out
write as an ODE:
Basic thermal modeling Eq.
Modeling Thermal Systems: Example 4.8
Double-pipe heat exchanger: transfer heat from “hot” fluid in tube to “cold” shell
COLD
flow

HOT
flow

Steady flow: in and out mass-flow rates are equal for both tube and shell

Tube: output temp T1,out = T1


Shell: output temp T2,out = T2
Thermal Systems: Example 4.8 (2)

Thermal
boundaries:

Note we have two thermal capacitances and thus two temperatures

Plus, we have two heat-flow rates: q1 from “hot” tube to “cold” shell
and q2 from shell to ambient surroundings

Because we have an open system with mass-flow rate we include the


time-rates of enthalpy
Thermal Systems: Example 4.8 (3)

Tube: C1T1 hin,1  h out,1  q1

Shell: C2T2 hin,2  h out,2  q1  q2

T1  T2 T2  Ta
Next, sub for heat flow q1  q2  h m c pT
and enthalpy rates: R1 R2
Thermal Systems: Example 4.8 (4)
T  T2
Tube: C1T1 m 1c p ,1Tin,1  m 1c p ,1T1  1
R1

 T1  T2 T2  Ta
Shell:  
C 2T2 m2 c p , 2Tin,2  m2 c p , 2T2  
R1 R2

We may need two distinct values of cp if a chemical solution flows thru the tube
and water flows thru the shell

We can move all dynamic variables (T1 and T2) to the left-hand sides and
all input variables (Tin,1 , Tin,2 , and Ta ) to the right-hand sides (see textbook)

Mass-flow rates may also be considered as input variables or as constant


parameters.
Practice Problem # 1
Practice Problem # 2
Practice Problem # 3

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy