8/25/2013 System Dynamics 7.01 Fluid and Thermal Systems 7. Fluid and Thermal Systems HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.03 Nguyen Tan Tien Fluid and Thermal Systems System Dynamics 7.02 Part 1. Fluid Systems HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.04 §1.Conservation of Mass For incompressible fluids conservation of mass βΊ conservation of volume The mass flow rate ππ = πππ£ π: fluid density, ππ/π3 ππ : the mass flow rates, ππ/π ππ£ : the volume flow rate, π3 /π 1.Density and Pressure - Density (mass density): mass per unit volume, ππ/π3 - Pressure: force per unit area that is exerted by the fluid, π/π2 - Hydrostatic pressure: the pressure that exists in a fluid at rest §1.Conservation of Mass - Example 7.1.1 HCM City Univ. of Technology, Faculty of Mechanical Engineering HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.05 Nguyen Tan Tien Fluid and Thermal Systems §1.Conservation of Mass Solution The forces are related to the pressures and the piston areas π1 = π1 π΄1 , π2 = π2 π΄2 Assuming the system is in static equilibrium after the brake pedal has been pushed π1 = π2 + ππβ ≈ π2 π1 π2 π΄2 βΉ π1 = = π2 = βΉ π2 = π1 π΄1 π΄2 π΄1 The force π3 πΏ1 π΄2 πΏ1 π3 = π2 = π πΏ2 π΄1 πΏ2 1 HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien Fluid and Thermal Systems Nguyen Tan Tien Fluid and Thermal Systems A Hydraulic Brake System The figure is a representation of a hydraulic brake system. The piston in the master cylinder moves in response to the foot pedal. The resulting motion of the piston in the slave cylinder causes the brake pad to be pressed against the brake drum with a force π3 . The force π1 depends on the force π4 applied by the driver’s foot. The precise relation between π1 and π4 depends on the geometry of the pedal arm Obtain the expression for the force π3 with the force π1 as the input System Dynamics 7.06 Nguyen Tan Tien Fluid and Thermal Systems §1.Conservation of Mass - Conservation of mass π = πππ − πππ πππ : the mass inflow rate, ππ/π πππ : the mass outflow rate , ππ/π πππ = πππ£π πππ = πππ£π ππ£π : total volume inflow rate, π3 /π ππ£π : total volume inflow rate, π3 /π - The fluid mass π is related to the container volume π π = ππ βΉ π = ππ then ππ = πππ£π − πππ£π βΉ π = ππ£π − ππ£π This is a statement of conservation of volume for the fluid HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien 1 8/25/2013 System Dynamics §1.Conservation of Mass - Example 7.1.2 7.07 A Water Supply Tank Water is pumped at the mass flow rate πππ (π‘) from the tank. Replacement water is pumped from a well at the mass flow rate πππ (π‘). Determine the water height β(π‘), assuming that the tank is cylindrical with a cross section π΄ Solution From conservation of mass π ππ΄β = πππ π‘ − πππ π‘ ππ‘ πβ βΉ ππ΄ = πππ π‘ − πππ π‘ ππ‘ 1 π‘ βΉβ π‘ =β 0 + [π π’ − πππ(π’)]ππ’ ππ΄ 0 ππ HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics Fluid and Thermal Systems 7.09 Nguyen Tan Tien Fluid and Thermal Systems §1.Conservation of Mass Solution a.Model of the motion for figure (a) Assuming that π1 > π2 , the net force acting on the piston and mass π is (π1 − π2 )π΄, and thus from Newton’s law ππ₯ = (π1 − π2 )π΄ Integrate this equation once to obtain the velocity π΄ π‘ π₯ π‘ =π₯ 0 + [π π’ − π2 (π’)]ππ’ π 0 1 The rate at which fluid volume is swept out by the piston is π΄π₯, and thus if π₯ > 0, the pump providing pressure π1 must supply fluid at the mass rate ππ΄π₯, and the pump providing pressure π2 must absorb fluid at the same mass rate HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.11 Nguyen Tan Tien Fluid and Thermal Systems System Dynamics 7.08 Fluid and Thermal Systems §1.Conservation of Mass - Example 7.1.3 A Hydraulic Cylinder Fig.(a): a cylinder and piston connected to a load mass π Fig.(b): the piston rod connected to a rack-and-pinion gear The pressures π1 and π2 are applied to each side of the piston by two pumps. Neglect the piston rod diameter and assume that the piston and rod mass have been lumped into π a.Develop a model of the motion of the displacement π₯ of the mass in fig.(a). Also, obtain the expression for the mass flow rate that must be delivered or absorbed by the two pumps b.Develop a model of the displacement π₯ in fig.(b). The inertia of the pinion and the load connected to the pinion is πΌ HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.10 Nguyen Tan Tien Fluid and Thermal Systems §1.Conservation of Mass Solution b.Model of the motion for figure (b) Firstly, obtain an expression for the equivalent mass of the rack, pinion, and load. The kinetic energy of the system is 1 1 1 πΌ πΎπΈ = ππ₯ 2 + πΌπ 2 = π + 2 π₯ 2 2 2 2 π because π π = π₯ Thus the equivalent mass is πΌ ππ = π + 2 π Then, the required model can now be obtained by replacing π with ππ in the model developed in part (a) HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.12 Nguyen Tan Tien Fluid and Thermal Systems §1.Conservation of Mass - Example 7.1.4 A Mixing Process A mixing tank is shown in the figure. Pure water flows into the tank of volume π = 600π3 at the constant volume rate of 5π3 /π . A solution with a salt concentration of π π ππ/π3 flows into the tank at a constant volume rate of 2π3 /π . Assume that the solution in the tank is well mixed so that the salt concentration in the tank is uniform. Assume also that the salt dissolves completely so that the volume of the mixture remains the same. The salt concentration π π ππ/π3 in the outflow is the same as the concentration in the tank. The input is the concentration π π (π‘) , whose value may change during the process, thus changing the value of π π . Obtain a dynamic model of the concentration π π §1.Conservation of Mass Solution Two mass species are conserved here: water mass and salt mass. The tank is always full, so the mass of water ππ€ in the tank is constant, and thus conservation of water mass gives πππ€ = 5ππ€ + 2ππ€ − ππ€ ππ£π = 0 βΉ ππ£π = 7π3 /π ππ‘ ππ€ : the mass density of fresh water ππ£π : the volume outflow rate of the mixed solution The salt mass in the tank is π π π, and conservation of salt mass gives π ππ π 2π π − 7π π π π = 0 5 + 2π π − π π ππ£π = 2π π − 7π π βΉ = ππ‘ π ππ‘ 600 HCM City Univ. of Technology, Faculty of Mechanical Engineering HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien Nguyen Tan Tien 2 8/25/2013 System Dynamics 7.13 Fluid and Thermal Systems §2.Fluid Capacitance - Sometimes it is very useful to think of fluid systems in terms of electrical circuits Fluid mass, Mass flow rate, π ππ Charge, Current, Pressure, π Fluid linear resistance,π = π/ππ Fluid capacitance, πΆ = π/π Fluid inertance, π π Voltage, π£ Electrical resistance, π = π£/π Electrical capacitance, πΆ = π/π£ πΌ = π/(πππ/ππ‘) Electrical inductance, πΏ = π£/(ππ/ππ‘) - Fluid resistance is the relation between pressure and mass flow rate. Fluid resistance relates to energy dissipation - Fluid capacitance is the relation between pressure and stored mass. Fluid capacitance relates to potential energy - Fluid inertance relates to fluid acceleration and kinetic energy HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics Nguyen Tan Tien 7.15 Fluid and Thermal Systems §2.Fluid Capacitance 1.Fluid Symbols and Source - Resistance Both linear and nonlinear fixed resistances, for example, pipe flow, orifice flow, or a restriction - Valve • manually adjusted valve: faucet • actuated valve: driven by an electric motor or a pneumatic device System Dynamics 7.14 Fluid and Thermal Systems §2.Fluid Capacitance - Fluid systems obey two laws that are analogous to Kirchhoff’s current and voltage laws • The continuity law (conservation of fluid mass): the total mass flow into a junction must equal the total flow out of the junction • The compatibility law (conservation of energy): the sum of signed pressure differences around a closed loop must be zero - Note: the flow is through flexible tubes that can expand and contract under pressure, then the outflow rate is not the sum of the inflow rates. This is an example where fluid mass can accumulate within the system and is analogous to having a capacitor in an electrical circuit HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.16 Nguyen Tan Tien Fluid and Thermal Systems §2.Fluid Capacitance - Ideal pressure source Supplying the specified pressure at any flow rate - Ideal flow source Supplying the specified flow - Pump Ideal sources are approximations to real devices such as pumps HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics Nguyen Tan Tien 7.17 Fluid and Thermal Systems §2.Fluid Capacitance 2.Capacitance Relations - The figure illustrates the relation between stored fluid mass and the resulting pressure caused by the stored mass - Fluid capacitance πΆ : the ratio of the change in stored mass to the change in pressure ππ πΆ≡ ππ π=π π π: the stored fluid mass, ππ π: the resulting pressure, π/π2 HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics §2.Fluid Capacitance - Example 7.2.1 7.18 Nguyen Tan Tien Fluid and Thermal Systems Capacitance of a Storage Tank Consider the tank shown in the figure. Assume that the cross sectional area π΄ is constant. Derive the expression for the tank’s capacitance Solution The liquid mass in the tank: The total pressure at the bottom of the tank: Pressure due only to the stored fluid mass: The pressure function of the mass π: The capacitance of the tank is given by ππ π΄ πΆ≡ = ππ π HCM City Univ. of Technology, Faculty of Mechanical Engineering π = ππ΄β ππβ + ππ π = ππβ π = ππ/π΄ Nguyen Tan Tien 3 8/25/2013 System Dynamics 7.19 Fluid and Thermal Systems §2.Fluid Capacitance - When the container does not have vertical sides, the crosssectional area π΄ is a function of the liquid height β , and the relations between π and β and between π and π are nonlinear - The fluid mass stored in the container β ππ π = ππ = π π΄ π₯ ππ₯ βΉ = ππ΄ πβ 0 - For such a container, conservation of mass gives ππ ππ ππ ππ ππ = πππ − πππ βΉ = =πΆ = πππ − πππ ππ‘ ππ‘ ππ ππ‘ ππ‘ - Also ππ ππ πβ πβ πβ = = ππ΄ βΉ ππ΄ = πππ − πππ ππ‘ πβ ππ‘ ππ‘ ππ‘ HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.21 Nguyen Tan Tien Fluid and Thermal Systems §2.Fluid Capacitance b. Dynamic Model which is a nonlinear equation because of the product ππ Obtain the model for the height by substituting β = π/ππ πβ 2ππΏπ‘πππ β = πππ ππ‘ HCM City Univ. of Technology, Faculty of Mechanical Engineering 7.23 Nguyen Tan Tien Fluid and Thermal Systems §3.Fluid Resistance - The relation π = π(ππ ) • is linear in a limited number of cases, such as pipe flow under certain conditions ππ = π/π • is a square-root relation in some other applications ππ = 7.20 Fluid and Thermal Systems §2.Fluid Capacitance - Example 7.2.2 Capacitance of a V-Shaped Trough a. Derive the capacitance of the V-shaped b. Derive the dynamic models for the bottom pressure π and the height β. The mass inflow rate is πππ (π‘) Solution a. The fluid mass 1 π = ππ = π βπ· πΏ = ππΏπ‘πππ β2 2 2 π πΏπ‘πππ 2 = ππΏπ‘πππ = π ππ ππ2 From the definition of capacitance ππ 2πΏπ‘πππ πΆ= = π ππ ππ2 HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.22 Nguyen Tan Tien Fluid and Thermal Systems §3.Fluid Resistance ππ ππ πΆ = = πππ − πππ ππ‘ ππ‘ with πππ = 0, πΆ = π = πππ 2πΏπ‘πππ ππ π = πππ ππ2 ππ‘ System Dynamics System Dynamics π π 1 ππ the reference values of πππ and ππ depend on the particular application HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics π π : the linearized resistance at the reference condition (πππ , ππ ) Nguyen Tan Tien 7.24 Nguyen Tan Tien Fluid and Thermal Systems §3.Fluid Resistance - Deviation variable at the reference values of πππ and ππ πΏπ ≡ π − ππ πΏππ ≡ ππ − πππ βΉ πΏπ = π π πΏππ = 2π 1 βΉ πΏππ = • can be linearized the expression near a reference operating point (πππ , ππ ) ππ π = ππ + π − πππ = ππ + π π ππ − πππ πππ π π HCM City Univ. of Technology, Faculty of Mechanical Engineering - Fluid meets resistance when flowing through a conduit such as a pipe, through a component such as a valve, or even through a simple opening or orifice, such as a hole - The relation between mass flow rate ππ and the pressure difference π across the resistance π = π(ππ ) is shown in the figure - Define the fluid resistance π ππ π ≡ πππ π=π 1 2 π 1ππ ππ πΏπ = 2 π 1 ππ πΏππ π 1 π πΏπ - The resistance symbol • series resistances • parallel resistances HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien 4 8/25/2013 System Dynamics 7.25 Fluid and Thermal Systems §3.Fluid Resistance 1.Laminar Pipe Resistance - Fluid motion is generally divided into two types • Laminar flow: π π < 2300 • Turbulent flow: π π > 2300 for circular pipe, π π ≡ π - The laminar resistance (Hagen-Poiseuille formula) 128ππΏ π = πππ· 4 π : flow resistance, π: the fluid viscosity, ππ /π2 πΏ: the length of pipe, π π: the fluid density, ππ/π3 π·: the diameter of pipe, π System Dynamics §3.Fluid Resistance - Example 7.3.1 7.27 Nguyen Tan Tien Fluid and Thermal Systems Liquid-Level System with a Flow Source The cylindrical tank shown in the figure has a bottom area π΄. The mass inflow rate is πππ (π‘). The outlet resistance is linear and the outlet discharges to atmospheric pressure ππ . Develop a model of the liquid height β Slolution Total mass in the tank is π = ππ΄β, from conservation of mass ππ πβ 1 1 = ππ΄ = πππ − πππ, πππ = ππβ + ππ − ππ = ππβ ππ‘ ππ‘ π π The desired model πβ ππ ππ΄ = πππ − β ππ‘ π HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.29 §3.Fluid Resistance 3.Torricelli’s Principle - An orifice can simply be a hole in the side of a tank or it can be a passage in a valve - The mass flow rate ππ through the orifice ππ = πΆπ π΄π 2ππ = πΆπ π΄π 2π π = Nguyen Tan Tien Fluid and Thermal Systems Fluid and Thermal Systems - In liquid-level systems such as shown in the figure, energy is stored in two ways • potential energy in the mass of liquid in the tank • kinetic energy in the mass of liquid flowing in the pipe - If the mass of liquid in a pipe is small enough or is flowing at a small enough velocity, the kinetic energy contained in it will be negligible compared to the potential energy stored in the liquid in the tank HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics π/π π β: the height of fluid, π Nguyen Tan Tien 7.28 Nguyen Tan Tien Fluid and Thermal Systems §3.Fluid Resistance - Consider the circuit model ππ£ 1 πΆ = ππ − π£ ππ‘ π - The fluid flow system is analogous to the electric circuit system • pressure difference, ππβ βΊ voltage difference, π£ • mass flow rate, πππ βΊ current, ππ • resistance resists flow βΊ resistor resists current • capacitance stores fluid mass, π΄/π βΊ capacitor stores charge, πΆ HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics §3.Fluid Resistance - Example 7.3.2 πΆπ : factor, π΄0 : the area of the orifice, π2 π: the pressure of fluid, π/π2 π: the fluid density, ππ/π3 1 π π : orifice resistance π π ≡ 2ππΆπ2 π΄π2 - The volume flow rate ππ£ through the orifice ππ£ = πΆπ π΄π 2π β0.5 HCM City Univ. of Technology, Faculty of Mechanical Engineering 7.26 §3.Fluid Resistance 2.System Model π π£π· HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.30 Nguyen Tan Tien Fluid and Thermal Systems Liquid-Level System with an Orifice The cylindrical tank shown in the figure has a circular bottom area π΄. The volume inflow rate from the flow source is ππ£π (π‘), a given function of time. The orifice in the side wall has an area π΄π and discharges to atmospheric pressure ππ . Develop a model of the liquid height β, assuming that β1 > πΏ Solution From conservation of mass and the orifice flow relation πβ ππ΄ = πππ£π − πΆπ π΄π 2ππ ππ‘ where π = ππβ. Thus the model becomes πβ π΄ = ππ£π − πΆπ π΄π 2πβ ππ‘ HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien 5 8/25/2013 System Dynamics 7.31 Fluid and Thermal Systems §3.Fluid Resistance 4.Turbulance and Component Resistance - The practical importance of the difference between laminar and turbulent flow lies in the fact that • laminar flow can be described by the linear relation ππ = π/π • turbulent flow is described by the nonlinear relation ππ = π/π 1 - Components, such as valves, elbow bends, couplings, porous plugs, and changes in flow area resist flow and usually induce turbulent flow at typical pressures, and ππ = π/π 1 is often used to model them - Experimentally determined values of π are available for common types of components HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.33 Nguyen Tan Tien Fluid and Thermal Systems §4.Dynamic Models of Hydraulic Systems Because the outlet resistance is linear 1 ππβ πππ = ππβ + ππ − ππ = π 2 π 2 The mass inflow rate 1 πππ = π + ππ − ππβ + ππ π 1 π 1 = (ππ − ππβ) π 1 The desired model πβ 1 ππ ππ΄ = π − ππβ − β ππ‘ π 1 π π 2 which can be rearranged as πβ 1 1 1 1 π 1 + π 2 ππ΄ = ππ − ππ + β = ππ − ππ β ππ‘ π 1 π 1 π 2 π 1 π 1π 2 The time constant 7.32 Fluid and Thermal Systems §4.Dynamic Models of Hydraulic Systems - Example 7.4.1 Liquid-Level System with a Pressure Source Consider the system shown in the figure. The linear resistance π represents the pipe resistance lumped at the outlet of the pressure source. The bottom of the water tank is a height πΏ above the pressure source. Develop a model of the water height β with the supply pressure ππ and the flow rate πππ (π‘) as the inputs Solution The total mass in the tank π = ππ΄β Since π and π΄ are constants, from conservation of mass ππ πβ = ππ΄ = πππ − πππ ππ‘ ππ‘ HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.34 Nguyen Tan Tien Fluid and Thermal Systems §4.Dynamic Models of Hydraulic Systems - Example 7.4.2 Water Tank Model Consider the system shown in the figure, the input was the specified flow rate πππ . The linear resistance π represents at the outlet of the pressure source. The bottom of the water tank is a height πΏ above the pressure source. Develop a model of the water height β with the supply pressure ππ and the flow rate πππ (π‘) as the inputs π = π 1 π 2 π΄/π(π 1 + π 2 ) HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics System Dynamics 7.35 Nguyen Tan Tien Fluid and Thermal Systems HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.36 Nguyen Tan Tien Fluid and Thermal Systems §4.Dynamic Models of Hydraulic Systems Solution The mass flow rate into the bottom of the tank 1 πππ = π + ππ − ππ β + πΏ + ππ π π 1 = ππ − ππ β + πΏ π From conservation of mass, π ππ΄β = πππ − πππ π‘ ππ‘ 1 = ππ − ππ β + πΏ − πππ(π‘) π Because π and π΄ are constants, the model can be written as πβ 1 π΄ = πππ − πππ π‘ = ππ − ππ β + πΏ − πππ π‘ ππ‘ π §4.Dynamic Models of Hydraulic Systems - Example 7.4.3 Two Connected Tanks The cylindrical tanks have bottom areas π΄1 and π΄2 . The mass inflow rate πππ (π‘) from the flow source is a given function of time. The resistances are linear and the outlet discharges with pressure ππ a.Develop a model of the liquid heights β1 and β2 b.Suppose π 1 = π 2 = π , and π΄1 = π΄ and π΄2 = 3π΄. Obtain the transfer function π»1 (π )/πππ (π ) c.Use the transfer function to solve for the steady state response for β1 if the inflow rate πππ is a unit-step function, and estimate how long it will take to reach steady state. Is it possible for liquid heights to oscillate in the step response? HCM City Univ. of Technology, Faculty of Mechanical Engineering HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien Nguyen Tan Tien 6 8/25/2013 System Dynamics 7.37 Fluid and Thermal Systems System Dynamics 7.38 Fluid and Thermal Systems §4.Dynamic Models of Hydraulic Systems Solution a.Assume that β1 > β2 so that the mass flow rate ππ1 is positive if flowing from tank 1 to tank 2. Conservation of mass applied to tank 1 gives ππ ππ΄1β1 = −ππ1 = − (β1 − β2) π 1 For tank 2 ππ ππ΄2 β2 = πππ + ππ1 − πππ = πππ + ππ1 − β π 2 2 Canceling π where possible, we obtain the desired model π π΄1 β1 = − (β1 − β2 ) π 1 ππ ππ ππ΄2 β2 = πππ + β − β2 − β π 1 1 π 2 2 §4.Dynamic Models of Hydraulic Systems b.Substituting π 1 = π 2 = π , and π΄1 = π΄ and π΄2 = 3π΄ into the differential equations and dividing by π΄, and letting π΅ ≡ π/π π΄ we obtain β1 = −π΅ β1 − β2 and πππ πππ 3β2 = + π΅ β1 − β2 − π΅β2 = + π΅β1 − 2π΅β2 ππ΄ ππ΄ Assuming zero initial conditions, apply the Laplace transform π + π΅ π»1 π − π΅π»2 π = 0 1 −π΅π»1 π + (3π + 2π΅)π»2 (π ) = π (π ) ππ΄ ππ π»1 (π ) π π΅ 2 /ππ βΉ = πππ (π ) 3π 2 + 5π΅π + π΅ 2 HCM City Univ. of Technology, Faculty of Mechanical Engineering HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.39 Nguyen Tan Tien Fluid and Thermal Systems §4.Dynamic Models of Hydraulic Systems c.The characteristic equation is 3π 2 + 5π΅π + π΅ 2 = 0, with roots π = −5 ± 13 π΅/6 = −1.43π΅, −0.232π΅ βΉ the system is stable, and there will be a constant steadystate response to a step input. The step response cannot oscillate because both roots are real The steady-state height can be obtained by applying the final value theorem with πππ π = 1/π π π΅ 2/ππ 1 π β1π π = lim π π»1(π ) = lim 2 = π →0 π →0 3π + 5π΅π + π΅ 2 π ππ The time constants are 1 0.699 1 4.32 π1 = = , π2 = = 1.43π΅ π΅ 0.232π΅ π΅ The largest time constant is π2 and thus it will take a time equal to approximately 4π2 = 17.2π΅ to reach steady state HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.41 Nguyen Tan Tien Fluid and Thermal Systems System Dynamics 7.40 Nguyen Tan Tien Fluid and Thermal Systems §4.Dynamic Models of Hydraulic Systems 5.Hydraulic Damper Dampers oppose a velocity difference across them, and thus they are used to limit velocities. The most common application of dampers is in vehicle shock absorbers - Example 7.4.4 Linear Damper Consider a shock absorber: a piston of diameter π and thickness πΏ has a cylindrical hole of diameter π·. The piston rod extends out of the housing, which is sealed and filled with a viscous incompressible fluid. Assuming that the flow through the hole is laminar and that the entrance length πΏπ is small compared to πΏ, develop a model of the relation between the applied force π and π₯ , the relative velocity between the piston and the cylinder HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.42 Nguyen Tan Tien Fluid and Thermal Systems §4.Dynamic Models of Hydraulic Systems Solution Assume that the rod’s cross-sectional area and the hole area π(π·/2)2 are small compared to the piston area π΄. Let π be the combined mass of the piston and rod. Then the force π acting on the piston rod creates a pressure difference (π1 − π2) across the piston such that ππ¦ = π − π΄(π1 − π2 ) If π or π¦ is small, then ππ¦ ≈ 0 βΉ π = π΄(π1 − π2 ) For laminar flow through the hole 1 1 ππ£ = ππ = (π − π2 ) π ππ 1 The volume flow rate ππ£ can be expressed as ππ£ = π΄ π¦ − π§ = π΄π₯ §4.Dynamic Models of Hydraulic Systems Combining the above equations, we obtain π = π΄ ππ π΄π₯ = ππ π΄2 π₯ = π π₯, π ≡ ππ π΄2 From the Hagen-Poiseuille formula, for a cylindrical conduit 128ππΏ 128ππΏπ΄2 π = βΉπ= πππ· 4 ππ· 4 The approximation ππ¦ ≈ 0 is commonly used for hydraulic systems to simplify the resulting model To see the effect of this approximation, rewrite ππ£ and π 1 1 ππ£ = π − π2 = π − ππ¦ = π΄π₯ ππ 1 ππ π΄ π = ππ¦ + ππ π΄2 π₯ If ππ¦ cannot be neglected, the damper force is a function of the absolute acceleration as well as the relative velocity HCM City Univ. of Technology, Faculty of Mechanical Engineering HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien Nguyen Tan Tien 7 8/25/2013 System Dynamics 7.43 Fluid and Thermal Systems System Dynamics 7.44 Fluid and Thermal Systems §4.Dynamic Models of Hydraulic Systems 6.Hydraulic Actuators Hydraulic actuators are widely used with high pressures to obtain high forces for moving large loads or achieving high accelerations. The working fluid may be liquid, as is commonly found with construction machinery, or it may be air, as with the air cylinder-piston units frequently used in manufacturing and parts-handling equipment - Example 7.4.5 Hydraulic Piston and Load The figure shows a double-acting piston and cylinder. The device moves the load mass π in response to the pressure sources π1 and π2. Assume the fluid is incompressible, the resistances are linear, and the piston mass is included in π Derive the equation of motion for π §4.Dynamic Models of Hydraulic Systems Solution Define the pressures π3 and π4 to be the pressures on the leftand right-hand sides of the piston The mass flow rates through the resistances are 1 ππ1 = π + π2 − π3 π 1 1 1 ππ2 = π − π2 − ππ π 2 4 From conservation of mass ππ1 = ππ2 ππ1 = ππ΄π₯ Combining these equations we obtain π1 + ππ − π3 = π 1 ππ΄π₯ π4 − π2 − ππ = π 2 ππ΄π₯ βΉ π4 − π3 = π2 − π1 + (π 1 + π 2 )ππ΄π₯ HCM City Univ. of Technology, Faculty of Mechanical Engineering HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.45 Nguyen Tan Tien Fluid and Thermal Systems System Dynamics 7.46 Nguyen Tan Tien Fluid and Thermal Systems §4.Dynamic Models of Hydraulic Systems From Newton’s law ππ₯ = π΄(π3 − π4 ) Rearrange to obtain the desired model ππ₯ + π 1 + π 2 ππ΄2 π₯ = π΄(π1 − π2 ) Note that if the resistances are zero, the π₯ term disappears, and we obtain ππ₯ = π΄(π1 − π2 ) which is identical to the model derived in part (a) of Example 7.1.3 §4.Dynamic Models of Hydraulic Systems - Example 7.4.6 Hydraulic Piston with Negligible Load Develop a model for the motion of the load mass π in the figure, assuming that the product of the load mass π and the load acceleration π₯ is very small Solution If ππ₯ is very small, from ππ₯ + π 1 + π 2 ππ΄2 π₯ = π΄(π1 − π2 ), we obtain the model π 1 + π 2 ππ΄2 π₯ = π΄(π1 − π2 ) which can be expressed as π1 − π2 π₯= (π 1 + π 2 )ππ΄ if π1 − π2 is constant, the mass velocity π₯ will also be constant HCM City Univ. of Technology, Faculty of Mechanical Engineering HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.47 Nguyen Tan Tien Fluid and Thermal Systems System Dynamics 7.48 Nguyen Tan Tien Fluid and Thermal Systems §4.Dynamic Models of Hydraulic Systems The implications of the approximation ππ₯ = 0 can be seen from Newton’s law ππ₯ = π΄(π3 − π4 ) If ππ₯ = 0, the above equation implies that π3 = π4 βΉ the pressure is the same on both sides of the piston From this we can see that the pressure difference across the piston is produced by a large load mass or a large load acceleration The modeling implication of this fact is that if we neglect the load mass or the load acceleration, we can develop a simpler model of a hydraulic system - a model based only on conservation of mass and not on Newton’s law. The resulting model will be first order rather than second order §4.Dynamic Models of Hydraulic Systems - Example 7.4.A Hydraulic Actuator The pilot valve controls the flow rate of the hydraulic fluid from the supply to the cylinder. When the pilot valve is moved to the right of its neutral position, the fluid enters the right-hand piston chamber and pushes the piston to the left. The fluid displaced by this motion exits through the left-hand drain port. The action is reversed for a pilot valve displacement to the left. Both return lines are connected to a sump from which a pump draws fluid to deliver to the supply line. Derive a model of the system assuming that ππ₯ = 0 is negligible HCM City Univ. of Technology, Faculty of Mechanical Engineering HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien Nguyen Tan Tien 8 8/25/2013 System Dynamics 7.49 Fluid and Thermal Systems §4.Dynamic Models of Hydraulic Systems Solution The volume flow rate through the cylinder port is given by 1 1 ππ£ = ππ = πΆπ π΄0 2βππ π π = πΆπ π΄0 2βπ/π π΄π :uncovered area of the port π΄π ≈ π¦π·, π·: the port depth πΆπ : the discharge coefficient π: mass density of the fluid If πΆπ , π, π, and π· are taken to be constant ππ£ = πΆπ π·π¦ 2βπ/π = π΅π¦ where, π΅ = πΆπ π· 2βπ/π HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.51 Nguyen Tan Tien Fluid and Thermal Systems System Dynamics 7.50 Fluid and Thermal Systems §4.Dynamic Models of Hydraulic Systems The rate at which the piston pushes fluid out of the cylinder is π΄ππ₯/ππ‘. From conservation of volume ππ₯ ππ£ = π΄ ππ‘ Combining the last two equations gives the model for the servomotor ππ₯ π΅ = π¦ ππ‘ π΄ This model predicts a constant piston velocity ππ₯/ππ‘ if π¦ is held fixed The same pressure drop π across both the inlet and outlet valves βπ = ππ + ππ − π1 = π2 − ππ βΉ π1 − π2 = ππ − 2βπ From Newton’s law ππ₯ = π΄(π1 − π2 ), ππ₯ ≈ 0 βΉ π1 = π2 , and thus π = ππ /2. Therefore π΅ = πΆπ π· ππ /π HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.52 Nguyen Tan Tien Fluid and Thermal Systems §4.Dynamic Models of Hydraulic Systems 7.Pump Models - Pump behavior, especially dynamic response, can be quite complicated and difficult to model - Here, based on the steady-state performance curves to obtain linearized models for pump - Typical performance curves for a centrifugal pump which relates the mass flow rate ππ through the pump to the pressure increase π in going from the pump inlet to its outlet, for a given pump speed π π §4.Dynamic Models of Hydraulic Systems - For a given speed and given equilibrium values (ππ )π and (π)π , we can obtain a linearized description of the figure 1 πΏππ = − πΏ(βπ) π πΏππ : the deviations of ππ πΏππ = ππ − (ππ )π πΏ(π): the deviations of π πΏ π = π − (π)π - Identification of the equilibrium values depends on the load connected downstream of the pump. Once this load is known, the resulting equilibrium flow rate of the system can be found as a function of π HCM City Univ. of Technology, Faculty of Mechanical Engineering HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.53 Nguyen Tan Tien Fluid and Thermal Systems System Dynamics 7.54 Nguyen Tan Tien Fluid and Thermal Systems §4.Dynamic Models of Hydraulic Systems - Example 7.4.8 A Liquid-Level System with a Pump The figure shows a liquid-level system with a pump input and a drain whose linear resistance is π 2 . The inlet from the pump to the tank has a linear resistance π 1 . Obtain a linearized model of the liquid height β Soution Let π ≡ π1 − π2 . Denote the mass flow rates through each resistance as ππ1 and ππ2 These flow rates are 1 1 ππ1 = π − ππβ − ππ = (βπ − ππβ) (1) π 1 1 π 1 1 1 ππ2 = ππβ + ππ − ππ = ππβ (2) π 2 π 2 §4.Dynamic Models of Hydraulic Systems From conservation of mass πβ ππ΄ = ππ1 − ππ2 ππ‘ 1 1 = βπ − ππβ − ππβ (3) π 1 π 2 At equilibrium, ππ1 = ππ2 , from eq.(3) 1 1 π 2 βπ − ππβ = ππβ βΉ ππβ = βπ (4) π 1 π 2 π 1 + π 2 Substituting eq.(4) into eq.(2) to obtain an expression for the equilibrium value of the flow rate ππ2 as a function of π 1 ππ2 = βπ (5) π +π HCM City Univ. of Technology, Faculty of Mechanical Engineering HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien 1 2 This is simply an expression of the series resistance law, which applies here because β = 0 at equilibrium and thus the same flow occurs through π 1 and π 2 Nguyen Tan Tien 9 8/25/2013 System Dynamics 7.55 Fluid and Thermal Systems System Dynamics 7.56 Fluid and Thermal Systems §4.Dynamic Models of Hydraulic Systems Plotted the flow rate ππ2 on the same plot as the pump curve, the intersection gives the equilibrium values of ππ1 and π. A straight line tangent to the pump curve and having the slope −1/π then gives the linearized model 1 (6) πΏππ1 = − πΏ(βπ) π πΏππ1 , πΏ(π): the deviations from the equilibrium values From eq.(4) and eq.(6) π 1 + π 2 π 1 + π 2 βπ = ππβ, πΏ βπ = πππΏβ π 2 π 2 1 1 π 1 + π 2 πΏππ1 = − πΏ βπ = − πππΏβ (7) π π π 2 §4.Dynamic Models of Hydraulic Systems The linearized form of eq.(3) ππ΄π(πΏβ)/ππ‘ = πΏππ1 − πΏππ2 HCM City Univ. of Technology, Faculty of Mechanical Engineering HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.57 Nguyen Tan Tien Fluid and Thermal Systems From eq.(2) and eq.(7) π 1 π 1 + π 2 ππ ππ΄ πΏβ = − πππΏβ − πΏβ ππ‘ π π 2 π 2 π 1 π 1 + π 2 1 βΉ π΄ πΏβ = − + ππΏβ ππ‘ π π 2 π 2 This is the linearized model, and it is of the form π 1 π 1 + π 2 1 π πΏβ = −ππΏβ, π= + ππ‘ π π 2 π 2 π΄ The equation has the solution πΏβ(π‘) = πΏβ(0)π −ππ‘ . Thus if additional liquid is added to or taken from the tank so that πΏβ(0) = 0 , the liquid height will eventually return to its equilibrium value. The time to return is indicated by the time constant, which is 1/π System Dynamics 7.58 Nguyen Tan Tien Fluid and Thermal Systems §4.Dynamic Models of Hydraulic Systems 8.Nonlinear System - Common causes of nonlinearities in hydraulic system models are a nonlinear resistance relation, such as due to orifice flow or turbulent flow, or a nonlinear capacitance relation, such as a tank with a variable cross section - If the liquid height is relatively constant, say because of a liquid-level controller, we can analyze the system by linearizing the model - In cases where the height varies considerably, we must solve the nonlinear equation numerically §4.Dynamic Models of Hydraulic Systems - Example 7.4.9 Liquid-Level System with an Orifice Consider the liquid-level system with an orifice as in the figure. The model is πβ π΄ = ππ£π − ππ£π ππ‘ = ππ£π − πΆπ π΄π 2πβ HCM City Univ. of Technology, Faculty of Mechanical Engineering HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.59 Nguyen Tan Tien Fluid and Thermal Systems §4.Dynamic Models of Hydraulic Systems Solution Substituting the given values, we obtain πβ 2 = ππ£π − ππ£π = ππ£π − 6 β (1) ππ‘ When the inflow rate ππ£π = ππππ π‘πππ‘, the liquid height reaches an equilibrium value βπ that can be found by setting πβ/ππ‘ = 0 The two cases of interest to us are (i) βπ = 122 /36 = 4ππ‘ and (ii) βπ = 242 /36 = 16ππ‘. The graph is a plot of the flow rate 6 β through the orifice as a function of the height β. The two points corresponding to βπ = 4 and βπ = 16 are indicated on the plot HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien where π΄ = 2ππ‘ 2 and πΆπ π΄π 2π = 6 Estimate the system’s time constant for two cases (i) the inflow rate is held constant at ππ£π = 12ππ‘ 3 /π ππ (ii)the inflow rate is held constant at ππ£π = 24ππ‘ 3 /π ππ System Dynamics 7.60 Nguyen Tan Tien Fluid and Thermal Systems §4.Dynamic Models of Hydraulic Systems In the figure two straight lines are shown, each passing through one of the points of interest (βπ = 4 and βπ = 16), and having a slope equal to the slope of the curve at that point The general equation for these lines is 1 πππ£π − ππ£π = 6 β = 6 βπ + β − βπ = 6 βπ + 3βπ 2(β − βπ) πβ π Substitute this into equation (1) to obtain 1 1 πβ − − 2 = ππ£π − 6 βπ − 3βπ 2 β − βπ = ππ£π − 3 βπ − 3βπ 2β ππ‘ HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien 10 8/25/2013 System Dynamics 7.61 Fluid and Thermal Systems System Dynamics 7.62 Fluid and Thermal Systems §4.Dynamic Models of Hydraulic Systems 1 πβ − −1/2 2 = ππ£π − 6 βπ − 3βπ 2 β − βπ = ππ£π − 3 βπ − 3βπ β ππ‘ The time constant of this linearized model is τ = 2 βπ /3 4 8 π = , π = 3 3 βπ =4 βπ =16 - If the input rate ππ£π is changed slightly from its equilibrium value of ππ£π = 12, the liquid height will take about 4(4/3) = 16/3sec to reach its new height - If the input rate ππ£π is changed slightly from its value of ππ£π = 24, the liquid height will take about 8(4/3) = 32/3sec to reach its new height §4.Dynamic Models of Hydraulic Systems 9.Fluid Inertance Fluid inertance πΌ: the ratio of the pressure difference over the rate of change of the mass flow rate π πΌ≡ πππ /ππ‘ - Example 7.4.10 Calculation of Inertance Consider fluid flow (either liquid or gas) in a nonaccelerating pipe. Derive the expression for the inertance of a slug of fluid of length πΏ Solution The mass of the slug: ππ΄πΏ, π: the fluid mass density The net force acting on the slug due to the pressures π1 and π2 π΄(π2 − π1 ) HCM City Univ. of Technology, Faculty of Mechanical Engineering HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.63 Nguyen Tan Tien Fluid and Thermal Systems System Dynamics 7.64 Nguyen Tan Tien Fluid and Thermal Systems §4.Dynamic Models of Hydraulic Systems Applying Newton’s law to the slug ππ£ ππ΄πΏ = π΄(π2 − π1 ) ππ‘ ππ΄π£ = ππ π£: the fluid velocity ππ : the mass flow rate πππ πΏ πππ πΏ = π΄(π2 − π1 ) βΉ = π2 − π1 ππ‘ π΄ ππ‘ With π = π2 − π1 , we obtain πΏ π = π΄ πππ /ππ‘ From the definition of inertance πΌ πΏ πΌ= π΄ Inertance is larger for longer pipes and for smaller cross section pipes §5.Pneumatic Systems - Working fluid: a compressible fluid, most commonly air - The response of pneumatic systems can be slower and more oscillatory than that of hydraulic systems because of the compressibility of working fluid - The inertance relation is not usually needed to develop a model because the kinetic energy of a gas is usually negligible. Instead, capacitance and resistance elements form the basis of most pneumatic system models - The perfect gas law ππ = ππ π π HCM City Univ. of Technology, Faculty of Mechanical Engineering HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.65 Nguyen Tan Tien Fluid and Thermal Systems π: the absolute pressure, π/π2 π: gas volume, π3 π: the mass, ππ π: absolute temperature, 0 πΎ π π : the gas constant, for air π π = 287ππ/ππ 0πΎ System Dynamics 7.66 Nguyen Tan Tien Fluid and Thermal Systems §5.Pneumatic Systems - The perfect gas law enables us to solve for one of the variables π,π,π, or π if the other three are given. Additional information is usually available in the form of a pressurevolume or “process” relation - The following process models are commonly used • Constant-Pressure Process (π1 = π2 ) π2 π2 ππ = ππ π π βΉ = π1 π1 • Constant-Volume Process (π1 = π2 ) π2 π2 ππ = ππ π π βΉ = π1 π1 • Constant-Temperature (isothermal) Process (π1 = π2) π2 π1 ππ = ππ π π βΉ = π1 π2 §5.Pneumatic Systems • Reversible Adiabatic (Isentropic) Process πΎ πΎ π1 π1 = π2 π2 πΎ = ππ /ππ£ ππ : constant pressure ππ£ : constant volume HCM City Univ. of Technology, Faculty of Mechanical Engineering HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien Adiabatic: no heat is transferred to or from the gas Reversible: the gas and its surroundings can be returned to their original thermodynamic conditions π = πππ£ (π1 − π2 ) π:the external work • Polytropic Process A process can be more accurately modeled by properly choosing the exponent π in the polytropic process π π π = ππππ π‘πππ‘ π If π = ππππ π‘πππ‘, this reduces to the previous processes if π is chosen as 0,∞,1, πΎ, and if the perfect gas law is used Nguyen Tan Tien 11 8/25/2013 System Dynamics 7.67 Fluid and Thermal Systems System Dynamics 7.68 Fluid and Thermal Systems §5.Pneumatic Systems 1.Pneumatics Capacitance Fluid capacitance πΆ is the ratio of the change in stored mass, π, to the change in pressure, π ππ πΆ≡ ππ For a container of constant volume π with a gas density π, π = ππ π(ππ) ππ πΆ= =π ππ ππ If the gas undergoes a polytropic process π π π ππ π π π = π = ππππ π‘πππ‘ βΉ = = π π ππ ππ πππ For a perfect gas, this shows the capacitance of the container ππ π πΆ= = πππ ππ π π §5.Pneumatic Systems - Example 7.5.1 Capacitance of an Air Cylinder Obtain the capacitance of air in a rigid cylinder of volume 0.03π3 , if the cylinder is filled by an isothermal process. Assume the air is initially at room temperature, 293πΎ Solution The filling of the cylinder can be modeled as an isothermal process if it occurs slowly enough to allow heat transfer to occur between the air and its surroundings In this case, π = 1 in the polytropic process equation, and we obtain π 0.03 πΆ= = = 3.57 × 10−7 πππ2 /π ππ π π 1 × 287 × 293 HCM City Univ. of Technology, Faculty of Mechanical Engineering HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.69 Nguyen Tan Tien Fluid and Thermal Systems §5.Pneumatic Systems - Example 7.5.2 Pressurizing an Air Cylinder Air at temperature π passes through a valve into a rigid cylinder of volume π, as shown in the figure. The mass flow rate through the valve depends on the pressure difference βπ = ππ − π, and is given by an experimentally determined function πππ = π(π) Assume the filling process is isothermal. Develop a dynamic model of the gage pressure π in the container as a function of the input pressure ππ System Dynamics 7.70 Nguyen Tan Tien Fluid and Thermal Systems §5.Pneumatic Systems Solution From conservation of mass, if ππ = π > 0 ππ πππ = π(π) βΉ = πππ = π(βπ) ππ‘ But ππ ππ ππ ππ = =πΆ ππ‘ ππ ππ‘ ππ‘ ππ πΆ = π βπ = π(π − π) and thus π ππ‘ where the capacitance πΆ is given with π = 1 π πΆ= π π π If the function π is nonlinear, then the dynamic model is nonlinear HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.71 Nguyen Tan Tien Fluid and Thermal Systems Part 2. Thermal Systems HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.72 Nguyen Tan Tien Fluid and Thermal Systems - A thermal system is one in which energy is stored and transferred as thermal energy, commonly called heat - Thermal systems operate because of temperature differences, as heat energy flows from an object with the higher temperature to an object with the lower temperature - Thermal systems are analogous to electric circuits • conservation of charge βΊ conservation of heat • voltage difference βΊ temperature difference HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien 12 8/25/2013 System Dynamics 7.73 Fluid and Thermal Systems §6.Thermal Capacitance - The amount of heat energy πΈ stored in the object at a temperature π is πΈ = πππ (π − ππ ) π: mass, ππ ππ : specific heat, π½ππ/πΎ ππ : an arbitrarily selected reference temperature, πΎ - Thermal capacitance ππΈ πΆ≡ ππ πΆ: thermal capacitance, π½/πΎ πΈ: the stored heat energy If ππ does not depend on temperature πΆ = πππ = ππππ π: the density, ππ/π3 π: the mass, ππ 7.74 Fluid and Thermal Systems §6.Thermal Capacitance - Example 7.6.1 Temperature Dynamics of a Mixing Process Liquid at a temperature ππ is pumped into a mixing tank at a constant volume flow rate ππ£ . The container walls are perfectly insulated so that no heat escapes through them. Container volume is π, and the liquid within is well mixed so that its temperature throughout is π. The liquid’s specific heat and mass density are ππ and π . Develop a model for the temperature π as a function of time, with ππ as the input π: the volume, π3 HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics System Dynamics 7.75 Nguyen Tan Tien Fluid and Thermal Systems HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.76 Nguyen Tan Tien Fluid and Thermal Systems §6.Thermal Capacitance Solution The amount of heat energy in the tank liquid (1) πππ π(π − ππ ) From conservation of energy π ππππ(π − ππ) = βπππ‘ πππ‘π ππ − βπππ‘ πππ‘π ππ’π‘ ππ‘ π = πππ£ βΉ heat energy is flowing into the tank at the rate βπππ‘ πππ‘π ππ = πππ ππ − ππ = πππ£ ππ (ππ − ππ ) Similarly,βπππ‘ πππ‘π ππ’π‘ = πππ£ ππ (π − ππ ) From eq.(1), since π, ππ , π, and ππ are constants ππ ππππ = πππ£ππ ππ − ππ − πππ£ππ π − ππ = πππ£ππ(ππ − π) ππ‘ π ππ βΉ + π = ππ ππ£ ππ‘ §7.Thermal Resistance 1.Conduction, convection, and Radiation - Temperature is a measure of the amount of heat energy in an object - Heat transfer can occur by one or more modes: conduction, convection, and radiation, as illustrated by the figure - Conduction: the transfer of heat energy by diffusion of heat through a substance - Convection: the transfer of heat energy by the movement of fluids - Radiation: the transfer of heat energy by radiation occurs through infrared waves HCM City Univ. of Technology, Faculty of Mechanical Engineering HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.77 Nguyen Tan Tien Fluid and Thermal Systems §7.Thermal Resistance 2.Newton’s Law of Cooling - Newton’s law of cooling (for both convection and conduction) 1 πβ = βπ π πβ : the heat flow rate, π½/π = π π : the thermal resistance, 0πΆ/π π: the temperature difference, 0πΆ - For conduction through material of thickness πΏ, an approximate formula for the conductive resistance is πΏ ππ΄ π = βΉ πβ = βπ ππ΄ πΏ π: the thermal conductivity of the material π΄: the surface area, π2 HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien System Dynamics 7.78 Nguyen Tan Tien Fluid and Thermal Systems §7.Thermal Resistance - The thermal resistance for convection occurring at the boundary of a fluid and a solid is given by 1 π = βΉ πβ = βπ΄βπ βπ΄ β: the convection coefficient of the fluid-solid interface, π/π2 0πΆ π΄: the involved surface area, π2 - When two bodies are in visual contact, radiation heat transfer occurs through a mutual exchange of heat energy by emission and absorption. The net heat transfer rate πβ = π½(π14 − π24 ) π½: factor incorporating the other effects π: absolute body temperatures, πΎ HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien 13 8/25/2013 System Dynamics 7.79 Fluid and Thermal Systems System Dynamics 7.80 §7.Thermal Resistance - The radiation model is nonlinear, however, we can use a linearized model if the temperature change is not too large. Note that linear thermal resistance is a special case of the more general definition of thermal resistance 1 π = ππβ /ππ Suppose that π2 is constant, then 1 1 π = = ππβ /ππ1 4π½π13 When this is evaluated at a specific temperature π1, we can obtain a specific value for the linearized radiation resistance §7.Thermal Resistance 3.Heat Transfer Through a Plate - Consider a solid plate or wall of thickness πΏ HCM City Univ. of Technology, Faculty of Mechanical Engineering HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.81 Nguyen Tan Tien Fluid and Thermal Systems §7.Thermal Resistance - Under steady-state conditions, the average temperature is at the center Consider the entire mass π of the plate to be concentrated (“lumped”) at the plate centerline, and consider conductive heat transfer to occur over a path of length πΏ/2 between temperature π1 and temperature π The thermal resistance for this path is πΏ/2 π 1 = = π 2 ππ΄ HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.83 Nguyen Tan Tien Fluid and Thermal Systems §7.Thermal Resistance 5.Series and Parallel Thermal Resistances - Suppose the capacitance πΆ in the circuit is zero This is equivalent to removing the capacitance We can see immediately that the two resistances are in series Therefore they can be combined by the series law π = π 1 + π 2 to obtain the equivalent circuit HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien Fluid and Thermal Systems If π1 > π2 , heat will flow from the left side to the right side - Fourier’s law of heat conduction: the heat transfer rate per unit area within a homogeneous substance is directly proportional to the negative temperature gradient ππ΄(π1 − π2 ) πβ = πΏ π: the thermal conductivity, π/π 0πΆ π΄: the plate area, π2 System Dynamics 7.82 Nguyen Tan Tien Fluid and Thermal Systems §7.Thermal Resistance - Applying conservation of heat energy with sssuming that π1 > π > π2, we can derive the following model ππ 1 1 = π1 − π2 = π − π − (π − π2 ) ππ‘ π 1 1 π 2 The thermal capacitance is πΆ = πππ πππ - This system is analogous to the circuit shown in the figure • the voltages π£, π£1 , π£2 βΊ the temperatures π, π1, π2 • the current π1, π2 βΊ the heat flow rate • the current π3 βΊ the net heat flow rate into the mass π HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.84 Nguyen Tan Tien Fluid and Thermal Systems §7.Thermal Resistance - If the plate mass π is very small βΉ its thermal capacitance πΆ is also very small: the mass absorbs a negligible amount of heat energy the heat flow rate π1 through the left-hand conductive path = the heat flow rate π2 through the right-hand path That is, if πΆ = 0 1 1 π1 = π − π = π2 = (π − π2 ) π 1 1 π 2 The solution of these equations is π 2 π1 + π 1 π2 π= π 1 + π 2 π1 − π2 π1 − π2 π1 = π2 = = π 1 + π 2 π the resistances π 1, π 2 are equivalent to the single resistance π HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien 14 8/25/2013 System Dynamics 7.85 Fluid and Thermal Systems §7.Thermal Resistance - Thermal resistances are in series if they pass the same heat flow rate; if so, they are equivalent to a single resistance equal to the sum of the individual resistances π = π 1 + π 2 - It can also be shown that thermal resistances are in parallel if they have the same temperature difference; if so, they are equivalent to a single resistance calculated by the reciprocal formula 1 1 1 = + +β― π π 1 π 2 - If convection occurs on both sides of the plate, the convective resistances π π1 and π π2 are in series with the conductive resistance π , and the total resistance is given by π + π π1 + π π2 HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.87 Nguyen Tan Tien Fluid and Thermal Systems §7.Thermal Resistance Solution a.The series resistance law π = π 1 + π 2 + π 3 + π 4 = 0.036+ 4.01+ 0.408 + 0.038 = 4.492 0πΆ/π for 1π2 of wall area The total heat loss 1 1 πβ = 15 ππ − ππ = 15 20 + 10 = 100.2π π 4.492 This is the heat rate that must be supplied by the building’s heating system to maintain the inside temperature at 20 0πΆ, if the outside temperature is −10 0πΆ HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.89 Nguyen Tan Tien Fluid and Thermal Systems §7.Thermal Resistance - Example 7.7.2 Parallel Resistances A certain wall section is composed of a 15ππ by 15ππ glass block 8ππ thick. Surrounding the block is a 50ππ × 50πππ brick section, which is also 8ππ thick. The thermal conductivity of the glass is π = 0.81π/π 0πΆ. For the brick, π = 0.45π/π 0πΆ a.Determine the thermal resistance of the wall section b.Compute the heat flow rate through (1) the glass, (2) the brick, and (3) the wall if the temperature difference across the wall is 30 0πΆ System Dynamics 7.86 Fluid and Thermal Systems §7.Thermal Resistance - Example 7.7.1 Thermal Resistance of Building Wall The wall cross section shown in figure consists of four layers: 10ππ plaster/ lathe, 125ππ fiberglass insulation, 60ππ wood, and 50ππ brick For the given materials, the resistances for a wall area of 1π2 are π 1 = 0.036 0πΆ/π, π 2 = 4.01 0πΆ/π, π 3 = 0.408 0πΆ/ π , and π 4 = 0.038 0πΆ/π. Suppose that ππ = 20 0πΆ , ππ = − 10 0πΆ a. Compute the total wall resistance for 1π2 of wall area, and compute the heat loss rate if the wall’s area is 3π × 5π b. Find the temperatures π1, π2 , and π3 , assuming steadystate conditions HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien System Dynamics 7.88 Fluid and Thermal Systems §7.Thermal Resistance b.If we assume that the inner and outer temperatures ππ and ππ have remained constant for some time, then the heat flow rate through each layer is the same, πβ . Applying conservation of energy gives 1 1 1 1 πβ = ππ − π1 = π1 − π2 = π −π = π −π π 1 π 2 π 3 2 3 π 4 3 0 These equations can be rearranged as follows π 1 + π 2 π1 − π 1 π2 = π 2 ππ π 3 π1 − π 2 + π 3 π2 + π 2 π3 = 0 −π 4 π2 + π 3 + π 4 π3 = π 3 ππ Solution: π1 = 19.7596 0πΆ , − 9.7462 0πΆ π2 = −7.0214 0πΆ , HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics π3 = Nguyen Tan Tien 7.90 Fluid and Thermal Systems §7.Thermal Resistance Solution a.The wall resistance π = πΏ ππ΄ 0.08 = 4.39 0.81 × 0.152 0.08 = 0.781 For the brick π 2 = 0.45(0.52 − 0.152) Because the temperature difference is the same across both the glass and the brick, the resistances are in parallel, and thus their total resistance is given by 1 1 1 = + = 0.228 + 1.28 = 1.51 π π 1 π 2 For the glass π 1 = or π = 0.633 0πΆ/π HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien 15 8/25/2013 System Dynamics 7.91 Fluid and Thermal Systems System Dynamics 7.92 Fluid and Thermal Systems §7.Thermal Resistance Solution b.The heat flow through the glass is 1 1 π1 = βπ = 30 = 6.83π π 1 4.39 The heat flow through the brick is 1 1 π2 = βπ = 30 = 38.4π π 2 0.781 The total heat flow through the wall section is πβ = π1 + π2 = 45.2π This rate could also have been calculated from the total resistance as follows 1 1 πβ = βπ = 30 = 45.2π π 0.663 §7.Thermal Resistance - Example 7.7.3 Radial Conductive Resistance Consider a cylindrical tube whose inner and outer radii are ππ and ππ . Heat flow in the tube wall can occur in the axial direction along the length of the tube and in the radial direction. If the tube surface is insulated, there will be no radial heat flow, and the heat flow in the axial direction is given by ππ΄ πβ = βπ πΏ where πΏ is the length of the tube, π is the temperature difference between the ends a distance πΏ apart, and π΄ is area of the solid cross section If only the ends of the tube are insulated, then the heat flow will be entirely radial. Derive an expression for the conductive resistance in the radial direction HCM City Univ. of Technology, Faculty of Mechanical Engineering HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.93 Nguyen Tan Tien Fluid and Thermal Systems System Dynamics 7.94 Fluid and Thermal Systems §7.Thermal Resistance Solution From Fourier’s law, the heat flow rate per unit area through an element of thickness ππ is proportional to the negative of the temperature gradient ππ/ππ. Assuming that the temperature inside the tube wall does not change with time, the heat flow rate πβ out of the section of thickness ππ is the same as the heat flow into the section πβ ππ = −π 2πππΏ ππ ππ ππ βΉ πβ = −π 2πππΏ = −2ππΏπ ππ ππ/π ππ ππ ππ βΉ πβ = −2ππΏπ ππ π π1 ππ §7.Thermal Resistance ππ ππ πβ = −2ππΏπ π π1 HCM City Univ. of Technology, Faculty of Mechanical Engineering HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics §7.Thermal Resistance - Example 7.7.4 7.95 Nguyen Tan Tien Fluid and Thermal Systems Heat Loss from Water in a Pipe Water at 120 0πΉ flows in a copper pipe 6ππ‘ long, whose inner and outer radii are 1/4ππ. and 3/8ππ. The temperature of the surrounding air is 70 0πΉ. Compute the heat loss rate from the water to the air in the radial direction. Use the following values. For copper, π = 50ππ/π ππ 0πΉ . The convection coefficient at the inner surface between the water and the copper is βπ = 16ππ/π ππ 0πΉ. The convection coefficient at the outer surface between the air and the copper is βπ = 11ππ/π ππ 0πΉ HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien Nguyen Tan Tien ππ ππ ππ Because πβ is constant, the integration yields ππ πβ ln = −2ππΏπ(ππ − ππ ) ππ or ππ πβ ln = −2ππΏπ ππ − ππ ππ The radial resistance is thus given by 2ππΏπ πβ = π − ππ ln(ππ /ππ ) π System Dynamics 7.96 Nguyen Tan Tien Fluid and Thermal Systems §7.Thermal Resistance Solution Assuming constant temperature inside the pipe wall, then the same heat flow rate occurs in the inner and outer convection layers and in the pipe wall βΉ the three resistances are in series The inner and outer surface areas are 1 1 π΄π = 2πππ πΏ = 2π × × × 6 = 0.785ππ‘ 2 4 12 3 1 π΄π = 2πππ πΏ = 2π × × × 6 = 1.178ππ‘ 2 8 12 The inner convective resistance is 1 1 π ππ 0πΉ π π = = = 0.08 βπ π΄π 16 × 0.785 ππ‘ππ 1 1 π ππ 0πΉ π π = = = 0.77 βπ π΄π 1.1 × 1.178 ππ‘ππ HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien 16 8/25/2013 System Dynamics 7.97 Fluid and Thermal Systems §7.Thermal Resistance The conductive resistance of the pipe wall is ln(ππ/ππ) ln (3 8)/(1 4) π ππ0πΉ π π = = = 2.15 × 10−4 2ππΏπ 2π × 6 × 50 ππ‘ππ Thus the total resistance is π ππ0πΉ ππ‘ππ Assuming that the water temperature is a constant 120 0πΉ along the length of the pipe, the heat loss from the pipe is 1 1 ππ‘ππ πβ = βπ = 120 − 70 = 59 π 0.85 π ππ π = π π + π π + π π = 0.08 + 2.15 × 10−4 + 0.77 = 0.85 HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.99 Nguyen Tan Tien Fluid and Thermal Systems §8.Dynamic Model of Thermal Systems 1.The Biot Criterion - For solid bodies immersed in a fluid, a useful criterion for determining the validity of the uniform-temperature assumption is based on the Biot number, defined as βπΏ π‘βπ π£πππ’ππ ππ ππ π‘βπ ππππ¦ ππ΅ = , πΏ= π π‘βπ π π’πππππ ππππ ππ π‘βπ ππππ¦ β: convection coefficient, π/π2 0πΆ πΏ: a representative dimension of the object, π π: thermal conductivity, π/π 0πΆ - If the shape of the body resembles a plate, cylinder, or sphere, it is common practice to consider the object to have a single uniform temperature if ππ΅ is small - Often, if ππ΅ < 0.1, the temperature is taken to be uniform. The accuracy of this approximation improves if the inputs vary slowly HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.101 Nguyen Tan Tien Fluid and Thermal Systems System Dynamics 7.98 Fluid and Thermal Systems §7.Thermal Resistance To investigate the assumption that the water temperature is constant, compute the thermal energy πΈ of the water in the pipe, using the mass density π = 1.94π ππ’π/ππ‘ 3 and ππ = 25,000ππ‘ − ππ/π ππ’π 0πΉ πΈ = πππ ππ = πππ2 πΏπ ππ ππ = 47,624ππ‘ππ Assuming that the water flows at 1ππ‘/π ππ, a slug of water will be in the pipe for 6π ππ During that time it will lose 59 × 6 = 354ππ‘ππ of heat Because this amount is very small compared to πΈ , our assumption that the water temperature is constant is confirmed HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.100 Nguyen Tan Tien Fluid and Thermal Systems §8.Dynamic Model of Thermal Systems - The Biot number is the ratio of the convective heat transfer rate to the conductive rate. This can be seen by expressing ππ΅ for a plate of thickness πΏ as follows πππππ£πππ‘πππ βπ΄βπ βπΏ ππ΅ = = = ππππππ’ππ‘πππ ππ΄βπ/πΏ π - The Biot criterion reflects the fact that if the conductive heat transfer rate is large relative to the convective rate, any temperature changes due to conduction within the object will occur relatively rapidly, and thus the object’s temperature will become uniform relatively quickly - Calculation of the ratio πΏ depends on the surface area that is exposed to convection. For example, a cube of side length π has a value of πΏ = π 3 /(6π 2 ) = π/6 if all six sides are exposed to convection, whereas if four sides are insulated, the value is πΏ = π3 /(2π2 ) = π/2 HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.102 Nguyen Tan Tien Fluid and Thermal Systems §8.Dynamic Model of Thermal Systems - Example 7.8.1 Quenching with Constant Bath Temperature Consider a lead cube with a side length of π = 20ππ. The cube is immersed in an oil bath for which β = 200π/π2 0πΆ . The oil temperature is ππ Thermal conductivity varies as function of temperature, but for lead the variation is relatively small (π for lead varies from 35.5π/π 0πΆ at 0 0πΆ to 31.2π/π 0πΆ at 327 0πΆ. The density of lead is 1.134 × 104 ππ/π3 . Take the specific heat of lead to be 129π½/ππ 0πΆ a.Show that temperature of the cube can be considered uniform b.Develop a model of the cube’s temperature as a function of the liquid temperature ππ , which is assumed to be known §8.Dynamic Model of Thermal Systems Solution a.The ratio of volume of the cube to its surface area is π3 π 0.02 πΏ= 2= = 6π 6 6 Using an average value of 33.35π/π 0πΆ for π, compute the Biot number βπΏ 200 × 0.02 ππ΅ = = = 0.02 π 33.35 × 6 ππ΅ < 0.1, according to the Biot criterion, the cube can be treated as a lumped-parameter system with a single uniform temperature, denoted π HCM City Univ. of Technology, Faculty of Mechanical Engineering HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien Nguyen Tan Tien 17 8/25/2013 System Dynamics 7.103 Fluid and Thermal Systems §8.Dynamic Model of Thermal Systems b.Assume π > ππ , the heat flows from the cube to the liquid, and from conservation of energy we obtain ππ 1 πΆ = − (π − ππ ) ππ‘ π The thermal capacitance of the cube πΆ = πππ = ππππ = 1.134 × 104 × 0.023 × 129 = 11.7π½/0πΆ The thermal resistance π is due to convection 1 1 π = = 2.08 0πΆπ /π½ βπ΄ 200 × 6 × 0.022 Thus the model is ππ 1 ππ 11.7 =− (π − ππ ) βΉ 24.4 + π = ππ ππ‘ 2.08 ππ‘ The time constant is π = π πΆ = 24.4π . The cube’s temperature will reach the temperature ππ in approximately 4π = 98π HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.105 Nguyen Tan Tien Fluid and Thermal Systems System Dynamics 7.104 Fluid and Thermal Systems §8.Dynamic Model of Thermal Systems ππ 24.4 + π = ππ ππ‘ The thermal model of the quenching process is analogous to a circuit shown on the figure. The voltages π£ and π£π are analogous to the temperatures π and ππ . The circuit model is ππ£ 1 πΆ = (π£ − π£) ππ‘ π π HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.106 Nguyen Tan Tien Fluid and Thermal Systems §8.Dynamic Model of Thermal Systems 2.Multiple Thermal Capacitance - When it is not possible to identify one representative temperature for a system, we must identify a representative temperature for each distinct thermal capacitance - After identifying the resistance paths between each capacitance, apply conservation of heat energy to each capacitance - Arbitrarily but consistently assume that some temperatures are greater than others, to assign directions to the resulting heat flows. The order of the resulting model equals the number of representative temperatures §8.Dynamic Model of Thermal Systems - Example 7.8.2 Quenching with Variable Bath Temperature Consider again the quenching process, if the thermal capacitance of the liquid bath is not large, the heat energy transferred from the cube will change the bath temperature, and we will need a model to describe its dynamics. The temperature outside the bath is π0 . The convective resistance between the cube and the bath is π 1, and the combined convective/conductive resistance of the container wall and the liquid surface is π 2 . The capacitances of the cube and the liquid bath are πΆ and πΆπ . a.Derive a model of the cube temperature and the bath temperature assuming that the bath loses no heat to the surroundings (that is, π 2 = ∞) b.Obtain the model’s characteristic roots & the form of the response HCM City Univ. of Technology, Faculty of Mechanical Engineering HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.107 Nguyen Tan Tien Fluid and Thermal Systems System Dynamics 7.108 Nguyen Tan Tien Fluid and Thermal Systems §8.Dynamic Model of Thermal Systems Solution a.Assume that π > ππ , then the heat flow is out of the cube and into the bath. From conservation of energy for the cube ππ 1 (1) πΆ = − (π − ππ ) ππ‘ π 1 and for the bath πππ 1 πΆπ = (π − ππ ) (2) ππ‘ π 1 Equations (1) and (2) are the desired model Note that the heat flow rate in eq.(2) must have a sign opposite to that in eq.(1) because the heat flow out of the cube must be the same as the heat flow into the bath §8.Dynamic Model of Thermal Systems b.Applying the Laplace transform to equations (1) and (2) with zero initial conditions, we obtain π 1 πΆπ + 1 π π − ππ π = 0 (3) π 1 πΆπ π + 1 ππ π − π π = 0 (4) Solving eq.(3) for ππ π and substituting into eq.(4) gives π 1 πΆπ π + 1 π 1 πΆπ + 1 − 1 π π = 0 from which we obtain π 12 πΆπ πΆπ 2 + π 1 πΆ + πΆπ π = 0 So the characteristic roots are π =0 πΆ + πΆπ π =− π 1 πΆπΆπ HCM City Univ. of Technology, Faculty of Mechanical Engineering HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien Nguyen Tan Tien 18 8/25/2013 System Dynamics 7.109 Fluid and Thermal Systems §8.Dynamic Model of Thermal Systems Eq.s (3) and (4) are homogeneous, the form of the response π‘ π‘ π 1πΆπΆπ π π‘ = π΄1 π 0π‘ + π΅1 π − π = π΄1 + π΅1 π − π , π= πΆ + πΆπ π‘ π‘ ππ π‘ = π΄2 π 0π‘ + π΅2 π − π = π΄2 + π΅2 π − π the constants π΄1 , π΄2 , π΅1 , π΅2 depend on the initial conditions The two temperatures become constant after approximately 4π, note that lim π = π΄1 , lim ππ = π΄2 βΉ π‘ → ∞ : π΄1 = π΄2 π‘→∞ π‘→∞ Conservation of energy: the initial energy = the final energy πΆπ 0 + πΆπππ(0) πΆπ 0 + πΆπππ 0 = πΆπ΄1 + πΆππ΄1 βΉ π΄1 = = π΄2 πΆ + πΆπ and π 0 = π΄1 + π΅1 βΉ π΅1 = π 0 − π΄1 ππ 0 = π΄2 + π΅2 βΉ π΅2 = ππ 0 − π΄2 HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.111 Nguyen Tan Tien Fluid and Thermal Systems System Dynamics 7.110 Fluid and Thermal Systems §8.Dynamic Model of Thermal Systems ππ 1 πΆ = − (π − ππ ) ππ‘ π 1 πππ 1 πΆπ = (π − ππ ) ππ‘ π 1 The thermal model of the quenching with a variable bath temperature and infinite container resistance is analogous to a circuit shown on the figure. The voltages π£ and π£π are analogous to the temperatures π and ππ (π 2 → ∞) HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.112 Nguyen Tan Tien Fluid and Thermal Systems §8.Dynamic Model of Thermal Systems - Example 7.8.3 Quenching with Heat Loss to the Surroundings Consider the quenching process treated in the previous example a.Derive a model of the cube temperature and the bath temperature assuming π 2 is finite b.Obtain the model’s characteristic roots and the form of the response of π(π‘) , assuming that the surrounding temperature ππ is constant Solution a.Derive a model If π 2 is finite, then we must now account for the heat flow into or out of the container Assume that π > ππ > ππ : the heat flows from the cube into the bath and then into the surroundings §8.Dynamic Model of Thermal Systems From conservation of energy, we have the desired model ππ 1 πΆ = − (π − ππ ) (1) ππ‘ π 1 πππ 1 1 (2) πΆπ = π − ππ − (ππ − ππ ) ππ‘ π 1 π 2 b.The model’s characteristic roots and the form of the response of π(π‘) Applying the Laplace transform with zero initial conditions π 1 πΆπ + 1 π π − π π = 0 (3) π 1 π 2πΆπ π + π 1 + π 2 ππ π − π 2 π π = π 1 ππ (4) Solving eq.(3) for ππ π and substituting into eq.(4) π(π ) 1 (5) = ππ (π ) π 1 π 2 πΆπ πΆπ 2 + [ π 1 + π 2 πΆ + π 2 πΆπ ]π + 1 HCM City Univ. of Technology, Faculty of Mechanical Engineering HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.113 Nguyen Tan Tien Fluid and Thermal Systems §8.Dynamic Model of Thermal Systems The denominator gives the characteristic equation π 1π 2 πΆπ πΆπ 2 + π 1 + π 2 πΆ + π 2 πΆπ π + 1 = 0 So there will be two nonzero characteristic roots. If these roots are real, say π = −1/π1 and π = −1/π2, and if ππ is constant, the response will have the form π π‘ = π΄π −π‘/π1 + π΅π −π‘/π2 + π· System Dynamics 7.114 Nguyen Tan Tien Fluid and Thermal Systems §8.Dynamic Model of Thermal Systems ππ 1 πΆ = − (π − ππ ) ππ‘ π 1 πππ 1 1 πΆπ = π − ππ − (ππ − ππ ) ππ‘ π 1 π 2 the constants π΄ and π΅ depend on the initial conditions Note that lim π(π‘) = π· π‘→∞ Applying the final value theorem to eq.(5) gives lim π = ππ π‘→∞ and thus π· = ππ We could have also obtained this result through physical reasoning HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien The thermal model of the quenching with a variable bath temperature and finite container resistance is analogous to a circuit shown on the figure. The voltages π£ and π£π are analogous to the temperatures π and ππ (π 2 is finite) HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien 19 8/25/2013 System Dynamics 7.115 Fluid and Thermal Systems System Dynamics 7.116 Fluid and Thermal Systems §8.Dynamic Model of Thermal Systems 3.Experimental Determination of Thermal Resistance - Thermal parameters can get from the properties of materials • the mass density π • the thermal capacitance πΆ • the specific heat ππ βΉ • the conductive resistance πΏ/ππ΄ • the thermal conductivity π - However, determination of the convective resistance is difficult to do analytically, and we must usually resort to experimentally determined values - In some cases, we may not be able to distinguish between the effects of conduction, convection, and radiation heat transfer, and the resulting model will contain a thermal resistance that expresses the aggregated effects §8.Dynamic Model of Thermal Systems - Example 7.8.4 Temperature Dynamics of a Cooling Object Consider the experiment with a cooling cup of water. Water of volume 250ππ in a glass measuring cup was allowed to cool after being heated to 204 0πΉ . The surrounding air temperature was 70 0πΉ. The measured water temperature at various times is given in the table HCM City Univ. of Technology, Faculty of Mechanical Engineering HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics Nguyen Tan Tien 7.117 Fluid and Thermal Systems From that data we derived the following model of the water temperature as a function of time π = 129π −0.0007π‘ + 70 (1) where π is in 0πΉ and time π‘ is in seconds. Estimate the thermal resistance of this system System Dynamics 7.118 §8.Dynamic Model of Thermal Systems Solution Model the cup and water as the object shown in the figure Assume that • the convection has mixed the water well so that the water has the same temperature throughout • the air temperature ππ is constant and select it as the reference temperature Let π be the aggregated thermal resistance due to the combined effects of • conduction through the sides and bottom of the cup • convection from the water surface and from the sides of the cup into the air • radiation from the water to the surroundings §8.Dynamic Model of Thermal Systems Solution The heat energy in the water is πΈ = ππππ (π − ππ ) HCM City Univ. of Technology, Faculty of Mechanical Engineering HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics Nguyen Tan Tien 7.119 Fluid and Thermal Systems §8.Dynamic Model of Thermal Systems The model’s complete response is π‘ π π‘ = π 0 π −π‘/π πΆ + 1 − π −π πΆ ππ = π 0 − ππ π −π‘/π πΆ + ππ Comparing this with equation (1), we see that 1 π πΆ = = 1429π ππ 0.0007 1429 0πΉ βΉπ = πΆ ππ‘ππ where πΆ = ππππ HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien Nguyen Tan Tien Fluid and Thermal Systems From conservation of heat energy ππΈ 1 = − (π − ππ ) ππ‘ π or, since π, π, ππ , and ππ are constant ππ 1 ππππ = − (π − ππ ) ππ‘ π The water’s thermal capacitance is πΆ = ππππ and the model can be expressed as ππ π πΆ + π = ππ (2) ππ‘ System Dynamics 7.120 Nguyen Tan Tien Fluid and Thermal Systems §8.Dynamic Model of Thermal Systems - Example 7.8.5 Temperature Sensor Response A thermocouple can be used to measure temperature. The electrical resistance of the device is a function of the temperature of the surrounding fluid. By calibrating the thermocouple and measuring its resistance, we can determine the temperature. Because the thermocouple has mass, it has thermal capacitance, and thus its temperature change (and electrical resistance change) will lag behind any change in the fluid temperature. Estimate the response time of a thermocouple suddenly immersed in a fluid. Model the device as a sphere of copper constantin alloy, whose diameter is 2ππ , and whose properties are π = 8920ππ/π3 , π = 19π/π 0πΆ , and ππ = 362π½/ππ 0πΆ . Take the convection coefficient to be β = 200π/π3 HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien 20 8/25/2013 System Dynamics 7.121 Fluid and Thermal Systems System Dynamics 7.122 Fluid and Thermal Systems §8.Dynamic Model of Thermal Systems Solution The Biot number π (4/3)ππ 3 π 0.001 πΏ= = = = = 3.33 × 10−4 π΄ 4ππ 2 3 3 βπΏ 200 × 3.33 × 10−4 βΉ ππ΅ = = 0.0035 π 19 ππ΅ < 0.1: so we can use a lumped-parameter model Applying conservation of heat energy to the sphere ππ ππ ππ = βπ΄(ππ − π) π: the temperature of the sphere ππ‘ π0 : the fluid temperature The time constant of this model is ππ π π 362 × 8920 π= = 3.33 × 10−4 = 5.38π β π΄ 200 System will reach 98% of the fluid temperature within 4π = 21.5π §8.Dynamic Model of Thermal Systems - Example 7.8.6 State-Variable Model of Wall Temperature Dynamics Consider the wall shown in cross section in the figure. In that example the thermal capacitances of the layers were neglected. We now want to develop a model that includes their effects. Neglect any convective resistance on the inside and outside surfaces HCM City Univ. of Technology, Faculty of Mechanical Engineering HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.123 Nguyen Tan Tien Fluid and Thermal Systems §8.Dynamic Model of Thermal Systems Solution Lump each thermal mass at the centerline of its respective layer and assign half of the layer’s thermal resistance to the heat flow path on the left and half to the path on the right side of the lumped mass as shown π 1 π 1 π 2 π 2 π 3 π 3 π 4 π 4 ,π = + , π π = + , π π = + , π π = 2 π 2 2 2 2 2 2 2 An equivalent electrical circuit is shown π π = HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.125 Nguyen Tan Tien Fluid and Thermal Systems §8.Dynamic Model of Thermal Systems These four equations may be put into state variable form ππ» = π¨π» + π©π ππ‘ where π11 π12 0 0 π1 π11 0 π π22 π23 0 π π 0 0 π» = 2 , π = π , π¨ = 21 ,π© = π3 ππ 0 π32 π33 π34 0 0 π4 0 π42 0 0 π43 π44 π π + π π 1 1 π π + π π π11 = − ,π = ,π = ,π = − πΆ1 π π π π 12 πΆ1 π π 21 πΆ2 π π 22 πΆ2 π π π π 1 1 π π + π π 1 π23 = , π32 = , π33 = − , π34 = πΆ2 π π πΆ3 π π πΆ3 π π π π πΆ3 π π 1 π π + π π 1 1 π43 = , π44 = − , π11 = , π42 = πΆ4 π π πΆ4 π π π π πΆ1 π π πΆ4 π π HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien System Dynamics 7.124 Nguyen Tan Tien Fluid and Thermal Systems §8.Dynamic Model of Thermal Systems For thermal capacitance πΆ1 , conservation of energy gives ππ1 ππ − π1 π1 − π2 πΆ1 = − ππ‘ π π π π For thermal capacitance πΆ2 ππ2 π1 − π2 π2 − π3 πΆ2 = − ππ‘ π π π π For thermal capacitance πΆ3 ππ3 π2 − π3 π3 − π4 πΆ3 = − ππ‘ π π π π For thermal capacitance πΆ4 ππ4 π3 − π4 π4 − π0 πΆ4 = − ππ‘ π π π π HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.126 Nguyen Tan Tien Fluid and Thermal Systems Part 3. Matlab and Simulink Applications HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien 21 8/25/2013 System Dynamics 7.127 Fluid and Thermal Systems System Dynamics 7.128 Fluid and Thermal Systems §9.Matlab Applications - Exampe 7.9.1 Liquid Height in a Spherical Tank The figure shows a spherical tank for storing water. The tank is filled through a hole in the top and drained through a hole in the bottom. The following model for the liquid height β πβ π 2π β − β2 = −πΆπ π΄π 2πβ (1) ππ‘ For water, πΆπ = 0.6 is a common value Use Matlab to solve this equation to determine how long it will take for the tank to empty if the initial height is 9ππ‘. The tank has a radius of π = 5ππ‘ and has a 1ππ diameter hole in the bottom. Use π = 32.2ππ‘/π ππ 2 . Discuss how to check the solution §9.Matlab Applications Solution With πΆπ = 0.6 , π = 5 , π = 32.2 , and π΄π = π × (1/24) × 2, eq.(1) becomes πβ 0.0334 β =− ππ‘ 10β − β2 We can use our physical insight to guard against grossly incorrect results. We can also check the preceding expression for πβ/ππ‘ for singularities. The denominator does not become zero unless β = 0 or β = 10, which correspond to a completely empty and a completely full tank. So we will avoid singularities if 0 < β(0) < 10 HCM City Univ. of Technology, Faculty of Mechanical Engineering HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.129 Nguyen Tan Tien Fluid and Thermal Systems System Dynamics 7.130 §9.Matlab Applications Matab function hdot = height(t,h) hdot = -(0.0334*sqrt(h))/(10*h-h^2); [t, h] = ode45(@height, [0, 2475], 9); plot(t,h),xlabel('Time (sec)'),ylabel('Height (ft)') §9.Matlab Applications - Exampe 7.9.2 HCM City Univ. of Technology, Faculty of Mechanical Engineering HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.131 Nguyen Tan Tien Fluid and Thermal Systems §9.Matlab Applications Solution The model was developed in Example 7.8.6. The given information shows that the outside temperature is described by π0 π‘ = 5 − 15π‘, 0 ≤ π‘ ≤ 3600π Matlab % htwall.m Heat transfer thru a multilayer wall % Resistance and capacitance data Ra = 0.018; Rb = 2.023; Rc = 2.204; Rd = 0.223; Re = 0.019; C1 = 8720; C2 = 6210; C3 = 6637; C4 = 20800; % Compute the matrix coefficients a11 = -(Ra+Rb)/(C1*Ra*Rb); a12 = 1/(C1*Rb); a21 = 1/(C2*Rb); a22 = -(Rb+Rc)/(C2*Rb*Rc); a23 = 1/(C2*Rc); a32 = 1/(C3*Rc); a33 = -(Rc+Rd)/(C3*Rc*Rd); a34 = 1/(C3*Rd); a43 = 1/(C4*Rd); a44 = -(Rd+Re)/(C4*Rd*Re); b11 = 1/(C1*Ra); b42 = 1/(C4*Re); % Define the A and B matrices A = [a11,a12,0,0; a21,a22,a23,0; 0,a32,a33,a34; 0,0,a43,a44]; B = [b11,0; 0,0; 0,0; 0,b42]; HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien Nguyen Tan Tien Fluid and Thermal Systems Heat Transfer Through a Wall Consider the wall cross section shown in the figure. The temperature model was developed in Ex. 7.8.6 Use the following values and plot the temperatures versus time for the case where the inside temperature is constant at ππ = 20 0πΆ and the outside temperature ππ decreases linearly from 5 0πΆ to −10 0πΆ in 1β. The initial wall temperatures are 10 0πΆ. The resistances and capacitances are π π = 0.0180πΆ/π, π π = 2.023 0πΆ/π, π π = 2.204 0πΆ/π π π = 0.2230πΆ/π, π π = 0.019 0πΆ/π πΆ1 = 8720π½/ 0πΆ, πΆ2 = 6210π½/ 0πΆ πΆ3 = 6637π½/ 0πΆ, πΆ2 = 2.08 × 104 π½/ 0πΆ System Dynamics 7.132 Nguyen Tan Tien Fluid and Thermal Systems §9.Matlab Applications Matlab % Define the C and D matrices % The outputs are the four wall temperatures C = eye(4); D = zeros(size(B)); % Create the LTI model sys = ss(A,B,C,D); % Create the time vector for 1 hour (3600 seconds) t = (0:1:3600); % Create the input vector u = [20*ones(size(t));(5-15*ones(size(t)).*t/3600)]; % Compute the forced response [yforced,t] = lsim(sys,u,t); % Compute the free response [yfree,t] = initial(sys,[10,10,10,10],t); % Plot the response along with the outside temperature plot(t,yforced+yfree,t,u(2,:)) % Compute the time constants tau =(-1./real(eig(A)))/60 HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien 22 8/25/2013 System Dynamics 7.133 Fluid and Thermal Systems §9.Matlab Applications The results System Dynamics 7.134 Fluid and Thermal Systems §10. Simulink Applications - One potential disadvantage of a graphical interface such as Simulink is that to simulate a complex system, the diagram can become rather large, and therefore somewhat cumbersome - Simulink, however, provides for the creation of subsystem blocks, which play a role analogous to subprograms in a programming language - A subsystem block is actually a Simulink program represented by a single block. A subsystem block, once created, can be used in other Simulink programs HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.135 Nguyen Tan Tien Fluid and Thermal Systems §10. Simulink Applications 1.Subsystem Blocks HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.136 Nguyen Tan Tien Fluid and Thermal Systems §10. Simulink Applications - Create the following simulink model - The resistances are nonlinear and obey the following signed-squareroot relation 1 π’/π π’ ≥ 0 π = πππ (βπ) = π − π’/π π’ < 0 π: the mass flow rate π : the resistance π: the pressure difference across the resistance - The model of the system in the figure is the following πβ 1 1 ππ΄ = π + πππ ππ − π − πππ (π − ππ ) ππ‘ π π π π ππ , ππ : the gage pressures at the left and right-hand sides π΄: the bottom area π: a mass flow rate π = ππβ HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.137 Nguyen Tan Tien Fluid and Thermal Systems §10. Simulink Applications - Suppose we want to create a simulation of the system shown in the figure, where the mass inflow rate π1 is a step function Create the Simulink model Run the model with π΄1 = 2, π΄2 = 5 π = 1.94, π = 32.2 π 1 = 20, π 2 = 50 π1 = 20, β10 = 1, β20 = 10 HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien - Create Subsystem from the Edit menu HCM City Univ. of Technology, Faculty of Mechanical Engineering System Dynamics 7.138 Nguyen Tan Tien Fluid and Thermal Systems §10. Simulink Applications 2.Simulation of Thermal Systems - Example 7.10.1 Thermostatic Control of Temperature a.Develop a Simulink model of a thermostatic control system in which the temperature model is ππ π πΆ + π = π π + ππ (π‘) ππ‘ π: the room air temperature in 0πΉ; ππ : the ambient (outside) air temperature in 0πΉ; π‘: time, is measured in hours; π: the input from the heating system in ππ‘ππ/βπ; π : the thermal resistance; πΆ: the thermal capacitance The thermostat switches π on at the value ππππ₯ whenever the temperature drops below 690 , and switches π to π = 0 whenever the temperature is above 710 . The value of ππππ₯ indicates the heat output of the heating system HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien 23 8/25/2013 System Dynamics 7.139 Fluid and Thermal Systems System Dynamics 7.140 §10. Simulink Applications Run the simulation for the case where π(0) = 700 and ππ π‘ = 50 + 10sin(ππ‘/12) . Use the values π = 5 × 10−5 0πΉβπ/ππππ‘ , πΆ = 4 × 104 ππππ‘/ 0πΉ . Plot the temperatures π and ππ versus π‘ on the same graph, for 0 ≤ π‘ 24βπ Do this for two cases • ππππ₯ = 4 × 105ππππ‘/βπ • ππππ₯ = 8 × 105ππππ‘/βπ Investigate the effectiveness of each case b.The integral of π over time is the energy used. Plot π ππ‘ versus π‘ and determine how much energy is used in 24βπ for the case where ππππ₯ = 8 × 105ππππ‘/βπ §10. Simulink Applications Solution The model can be arranged as follows ππ 1 = π π + ππ π‘ − π ππ‘ π πΆ The Simulink model is shown in the figure HCM City Univ. of Technology, Faculty of Mechanical Engineering HCM City Univ. of Technology, Faculty of Mechanical Engineering Nguyen Tan Tien Fluid and Thermal Systems Nguyen Tan Tien 24