57:020 Mechanics of Fluids and Transport Processes Professor Fred Stern Fall 2007 Chapter 3 1 Chapter 3 Bernoulli Equation 3.1 Flow Patterns: Streamlines, Streaklines, Pathlines A streamline is a line that is everywhere tangent to the velocity field. Streamlines are obtained analytically by integrating the equations defining lines tangent to the velocity field. For two-dimensional flows the slope of the streamline, ππ¦⁄ππ₯, must be equal to the tangent of the angle that the velocity vector makes with the π₯ axis or ππ¦ π£ = ππ₯ π’ If the velocity field is known as a function of π₯ and π¦ (and π‘ if the flow is unsteady), this equation can be integrated to give the equation of the streamlines. A pathline is the line traced out by a given particle as it flows from one point to another. The pathline is a Lagrangian concept that can be produced in the laboratory by marking a fluid particle (dying a small fluid element) and taking a time exposure photograph of its motion. Illustration of a pathline (left) and an example of pathlines, motion of water induced by surface waves (right). 57:020 Mechanics of Fluids and Transport Processes Professor Fred Stern Fall 2007 Chapter 3 2 A streakline consists of all particles in a flow that have previously passed through a common point. Streaklines are more of a laboratory tool than an analytical tool. They can be obtained by taking instantaneous photographs of marked particles that all passed through a given location in the flow field at some earlier time. Such a line can be produced by continuously injecting marked fluid (neutrally buoyant smoke in air, or dye in water) at a given location. Illustration of a streakline (left) and an example of streaklines, flow past a full-sized streamlined vehicle in the GM aerodynamics laboratory wind tunnel, and 18-ft by 34-ft test section facility driven by a 4000-hp, 43-ft-diameter fan (right). If the flow is steady pathlines, streamlines, and streaklines are the same. For unsteady flows none of these three types of lines need be the same. 3.2 Streamline Coordinates In the streamline coordinate system the flow is described in terms of one coordinate along the streamlines, denoted π , and the second coordinate normal to the streamlines, denoted π. Unit vectors in these two directions are denoted Μ , as shown in Fig. 4.8. Of the major advantages of using the streamline by πΜ and π coordinate system is that the velocity is always tangent to the π direction. That is, V = π£π πΜ This allows simplifications in describing the fluid particle acceleration and in solving the equations governing the flow. Chapter 3 3 57:020 Mechanics of Fluids and Transport Processes Professor Fred Stern Fall 2007 Figure 4.8 Streamline coordinate system for two-dimensional flow. For two-dimensional flow we can determine the acceleration as π= π·V Μ = ππ πΜ + ππ π π·π‘ where ππ and ππ are the streamline and normal acceleration, respectively. In general, for steady flow both the speed and the flow direction are a function of location π = π(π , π) and πΜ = πΜ(π , π). Thus, application of the chain rule gives π= π·(π£π πΜ) π·π£π π·πΜ = πΜ + π£π π·π‘ π·π‘ π·π‘ or π=( ππ£π ππ£π ππ ππ£π ππ ππΜ ππΜ ππ ππΜ ππ + + + ) πΜ + π£π ( + ) ππ‘ ππ ππ‘ ππ ππ‘ ππ‘ ππ ππ‘ ππ ππ‘ This can be simplified by using the fact that the velocity along the streamline is π£π = ππ ππ‘ and the particle remains on its streamline (π = constant) so that ππ =0 ππ‘ Chapter 3 4 57:020 Mechanics of Fluids and Transport Processes Professor Fred Stern Fall 2007 Hence, π=( ππ£π ππ£π ππΜ ππΜ + π£π ) πΜ + π£π ( + π£π ) ππ‘ ππ ππ‘ ππ Figure 4.9 Relationship between the unit vector along the streamline, πΜ, and the radius of curvature of the streamline, π½ The quantity ππΜ⁄ππ represents the limit as πΏπ → 0 of the change in the unit vector along the streamline, πΏπΜ, per change in distance along the streamline, πΏπ . The magnitude of πΜ is constant (|πΜ| = 1; it is a unit vector), but its direction is variable if the streamlines are curved. πΏπΜ = πΜ(π + πΏπ ) − πΜ(π ) = (πΜ + ππΜ ππΜ πΏπ ) − πΜ = πΏπ ππ ππ In the limit πΏπ → 0, the direction of πΏπΜ⁄πΏπ is seen to be normal to the streamline. That is, Μ = πΏππ Μ πΏπΜ = |πΜ|πΏππ Thus, by equating the above two equations of πΏπΜ ππΜ Μ πΏπ = πΏππ ππ ππΜ⁄ππ can be expressed as Chapter 3 5 57:020 Mechanics of Fluids and Transport Processes Professor Fred Stern Fall 2007 Μ ππΜ πΏπ πΏπ π Μ= Μ= = π π ππ πΏπ ℜπΏπ ℜ where πΏπ = ℜπΏπ from Fig. 4.9. Similarly, the quantity ππΜ⁄ππ‘ represents the limit as πΏπ‘ → 0 of the change in the unit vector along the streamline, πΏπΜ, per change in time, πΏπ‘. πΏπΜ = πΜ(π‘ + πΏπ‘) − πΜ(π‘) = (πΜ + ππΜ ππΜ πΏπ‘) − (πΜ) = πΏπ‘ ππ‘ ππ‘ In the limit πΏπ‘ → 0, the direction of πΏπΜ⁄πΏπ‘ is also seen to be normal to the streamline. That is, ππΜ Μ πΏπ‘ = πΏππ ππ‘ Thus, as πΏπ‘ → 0 ππΜ πΏπ ππ Μ= Μ = lim π π ππ‘ πΏπ‘→0 πΏπ‘ ππ‘ Finally by multiplying π£π with ππΜ⁄ππ‘ we get π£π ππ ππ£π Μ= Μ π π ππ‘ ππ‘ Μ is directed from the streamline toward the center of Note that the unit vector π curvature. Hence, the acceleration for two-dimensional flow can be written in terms of its streamwise and normal components in the form ππ£π ππ ππ£π π£π 2 Μ π=( + π£π ) πΜ + ( + )π ππ‘ ππ ππ‘ ℜ or ππ£π ππ£π ππ£π π£π 2 ππ = + π£π , ππ = + ππ‘ ππ ππ‘ ℜ 57:020 Mechanics of Fluids and Transport Processes Professor Fred Stern Fall 2007 Chapter 3 6 The first term ππ£π ⁄ππ‘ represents the local acceleration in streamline direction, the second term π£π ππ£π ⁄ππ represents the convective acceleration along the streamline due to the spatial gradient i.e., convergence/divergence streamlines, the third term ππ£π ⁄ππ‘ represents the local acceleration normal to flow, and the last term π£π 2 ⁄ℜ represents centrifugal acceleration (one type of convective acceleration) normal to the flow motion due to the streamline curvature. 3.3 Euler Equation For an inviscid flow in which all the shearing stresses are zero (π = 0) the general equations of motion (See Chapter 6) reduce to ππ − ∇π = ππ or ππ − ∇π = π [ πV + (V ⋅ ∇)V] ππ‘ These equations are commonly referred to as Euler’s equations of motion, named in honor of Leonhard Euler (1707 – 1783), a famous Swiss mathematician who pioneered work on the relationship between pressure and flow. Although Euler’s equations are considerably simpler than the general equations of motion, they are still not amenable to a general analytical solution that would allow us to determine the pressure and velocity at all points within an inviscid flow field. The main difficulty arises from the nonlinear velocity terms (π’ ππ’⁄ππ₯, π£ ππ’⁄ππ₯, etc.), which appear in the convective acceleration. Because of these terms, Euler’s equations are nonlinear partial differential equations for which we do not have a general method of solving. However, under some circumstances we can use them to obtain useful information about inviscid flow fields. For example, as shown in the following section we can integrate the equations to obtain a relationship (the Bernoulli equation) between elevation, pressure, and velocity along a streamline. 57:020 Mechanics of Fluids and Transport Processes Professor Fred Stern Fall 2007 Chapter 3 7 3.4 Bernoulli Equation From Euler’s equation in vector form ππ − ∇π = π [ πV + (V ⋅ ∇)V] ππ‘ we wish to integrate this differential equation along some arbitrary streamline and select the coordinate system with the π§ axis vertical (with “up” being positive) so that the acceleration of gravity vector can be expressed as π = −ππΜ = −π∇π§ where π is the acceleration of gravity vector. Also, it will be convenient to use the vector identity 1 (V ⋅ ∇)V = ∇(V ⋅ V) − V × (∇ × V) 2 Euler equation can now be written in the form πV 1 −ππ∇π§ − ∇π = π [ + ∇(V ⋅ V) − V × (∇ × V)] ππ‘ 2 and this equation can be rearranged to yield π πV π + ∇π + ∇(V 2 ) + ππ∇π§ = V × ω ππ‘ 2 where π = ∇ × V . If we restrict our attention to steady flow (π⁄ππ‘ = 0) and incompressible fluids (π = constant) Euler’s equation becomes π 1 ∇ [ + V 2 + ππ§] = V × ω π 2 or in a simple form, ∇π΅ = V × ω where π΅ ≡ π⁄π + 1⁄2 V 2 + ππ§. Chapter 3 8 57:020 Mechanics of Fluids and Transport Processes Professor Fred Stern Fall 2007 1) Along a streamline Along a streamline V × πΜ = 0 where πΜ is tangent to the streamline, and ∇π΅ is perpendicular to V since V × ω is perpendicular to both V and ω. Thus, πΜ ⋅ ∇π΅ = ππ΅ =0 ππ π΅ is constant along the streamline. Thus, for inviscid, incompressible fluids (commonly called ideal fluids) this can be written as π π2 + + ππ§ = constant π 2 And this equation is the Bernoulli equation. It is often convenient to write the equation between two points (1) and (2) along a streamline and to express the equation in the “head” form by dividing each term by π so that π1 π12 π2 π22 + + π§1 = + + π§2 πΎ 2π πΎ 2π It should be emphasized that the Bernoulli equation is restricted to the following: ο· ο· ο· ο· inviscid flow steady flow incompressible flow flow along a streamline 2) Irrotational flow For irrotational flow, π ≡ ∇ × V = 0, so ∇π΅ = 0 where π΅ = π⁄π + 1⁄2 V 2 + ππ§ = constant and the constant is the same throughout the flow field. Thus for incompressible, irrotational flow the Bernoulli equation can be written as 57:020 Mechanics of Fluids and Transport Processes Professor Fred Stern Fall 2007 Chapter 3 9 π1 π12 π2 π22 + + π§1 = + + π§2 πΎ 2π πΎ 2π between any two points in the flow field. Above equation is restricted to ο· ο· ο· ο· inviscid flow steady flow incompressible flow irrotational flow 3) Unsteady irrotational flow For an irrotational flow the velocity vector can be expressed in terms of a scalar function π(π₯, π¦, π§, π‘) as V = ∇π where π is called the velocity potential (See Chapter 6). Then Euler’s equation can be written as ∂Ο π 1 ∇ [ + + V 2 + ππ§] = 0 ∂t π 2 For inviscid, incompressible, irrotational, and unsteady fluids the Bernoulli equation can be written as π2 π ππ‘ + + + ππ§ = F(π‘) 2 π 4) Streamline coordinates As an alternate derivation, Euler’s equation for steady flow using streamline coordinates becomes ππ = −∇s (π + πΎπ§) where 57:020 Mechanics of Fluids and Transport Processes Professor Fred Stern Fall 2007 Chapter 3 10 ππ£π π£π 2 Μ π = π£π πΜ + π ππ ℜ ∇s = π π Μ πΜ + π ππ ππ Along a streamline From the components of the Euler equation in streamline direction, ππ£π ππ£π π(π + πΎπ§) =− ππ ππ This equation can be rearranged to yield π π£π 2 π [ + + ππ§] = 0 ππ 2 π and can be integrated to give the Bernoulli equation along a streamline π£π 2 π + + ππ§ = ππππ π‘πππ‘ 2 π Normal to a streamline From the components of the Euler equation normal to streamlines, π£π 2 π(π + πΎπ§) π =− ℜ ππ by rearranging and integrating the Bernoulli equation across streamlines is written as π£π 2 π ∫ ππ + + ππ§ = ππππ π‘πππ‘ ℜ π 57:020 Mechanics of Fluids and Transport Processes Professor Fred Stern Fall 2007 Chapter 3 11 3.5 Physical interpretation of Bernoulli equation Integration of the equation of motion to give the Bernoulli equation actually corresponds to the work-energy principle often used in the study of dynamics. This principle results from a general integration of the equations of motion for an object in a very similar to that done for the fluid particle. With certain assumptions, a statement of the work-energy principle may be written as follows: The work done on a particle by all forces acting on the particle is equal to the change of the kinetic energy of the particle. The Bernoulli equation is a mathematical statement of this principle. In fact, an alternate method of deriving the Bernoulli equation is to use the first and second laws of thermodynamics (the energy and entropy equations), rather than Newton’s second law. With the approach restrictions, the general energy equation reduces to the Bernoulli equation. An alternate but equivalent form of the Bernoulli equation is π π2 + + π§ = ππππ π‘πππ‘ πΎ 2π along a streamline. Pressure head: Velocity head: π πΎ π2 2π Elevation head: π§ The Bernoulli equation states that the sum of the pressure head, the velocity head, and the elevation head is constant along a streamline. 57:020 Mechanics of Fluids and Transport Processes Professor Fred Stern Fall 2007 Chapter 3 12 3.6 Static, Stagnation, Dynamic, and Total Pressure 1 π + ππ 2 + πΎπ§ = ππ = ππππ π‘πππ‘ 2 along a streamline. Static pressure: π 1 Dynamic pressure: ππ 2 2 Hydrostatic pressure: πΎπ§ Stagnation points on bodies in flowing fluids. 1 Stagnation pressure: π + ππ 2 (assuming elevation effects are negligible) 2 1 Total pressure: ππ = π + ππ 2 + πΎπ§ (along a streamline) 2 57:020 Mechanics of Fluids and Transport Processes Professor Fred Stern Fall 2007 The Pito-static tube (left) and typical Pitot-static tube designs (right). Typical pressure distribution along a Pitot-static tube. Chapter 3 13 Chapter 3 14 57:020 Mechanics of Fluids and Transport Processes Professor Fred Stern Fall 2007 3.7 Applications of Bernoulli Equation 1) Stagnation Tube π12 π22 π1 + π = π2 + π 2 2 π12 = 2 (π − π1 ) π 2 = 2 (πΎπ) π π1 = √2ππ π§1 = π§2 π1 = πΎπ, π2 = 0 π2 = πΎ(π + π) ππππ Limited by length of tube and need for free surface reference Chapter 3 15 57:020 Mechanics of Fluids and Transport Processes Professor Fred Stern Fall 2007 2) Pitot Tube π1 π12 π2 π22 + + π§1 = + + π§2 πΎ 2π πΎ 2π 1 2 π2 = {2π [( π1 π2 + π§1 ) − ( + π§2 )]} πΎ πΎ β β β1 β2 where, π1 = 0 and β = piezometric head π = π2 = √2π(β1 − β2 ) β1 − β2 from manometer or pressure gage For gas flow Δπ⁄πΎ β« Δπ§ π=√ 2Δπ π 57:020 Mechanics of Fluids and Transport Processes Professor Fred Stern Fall 2007 Chapter 3 16 3) Free Jets Vertical flow from a tank Application of Bernoulli equation between points (1) and (2) on the streamline shown gives 1 1 π1 + ππ12 + πΎπ§1 = π2 + ππ22 + πΎπ§2 2 2 Since π§1 = β, π§2 = 0, π1 ≈ 0, π1 = 0, π2 = 0, we have 1 πΎβ = ππ22 2 π2 = √2 πΎβ = √2πβ π Bernoulli equation between points (1) and (5) gives π5 = √2π(β + π») 57:020 Mechanics of Fluids and Transport Processes Professor Fred Stern Fall 2007 4) Simplified form of the continuity equation Steady flow into and out of a tank Obtained from the following intuitive arguments: Volume flow rate: π = ππ΄ Mass flow rate: πΜ = ππ = πππ΄ Conservation of mass requires π1 π1 π΄1 = π2 π2 π΄2 For incompressible flow π1 = π2 , we have π1 π΄1 = π2 π΄2 or π1 = π2 Chapter 3 17 Chapter 3 18 57:020 Mechanics of Fluids and Transport Processes Professor Fred Stern Fall 2007 5) Volume Rate of Flow (flowrate, discharge) 1. Cross-sectional area oriented normal to velocity vector (simple case where π ⊥ π΄) π = constant: π = volume flux = ππ΄ [m/s ο΄ m2 = m3/s] π ≠ constant: π = ∫π΄ πππ΄ Similarly the mass flux = πΜ = ∫π΄ ππππ΄ 2. General case π = ∫ V ⋅ πππ΄ πΆπ = ∫ |V| cos π ππ΄ πΆπ πΜ = ∫ π(V ⋅ π)ππ΄ πΆπ Average velocity: πΜ = π π΄ Chapter 3 19 57:020 Mechanics of Fluids and Transport Processes Professor Fred Stern Fall 2007 Example: At low velocities the flow through a long circular tube, i.e. pipe, has a parabolic velocity distribution (actually paraboloid of revolution). π 2 π’ = π’πππ₯ (1 − ( ) ) π i.e., centerline velocity a) find π and πΜ π = ∫ V ⋅ π ππ΄ = ∫ π’ππ΄ π΄ π΄ 2π ∫ π’ππ΄ = ∫ π΄ π ∫ π’(π)πππππ 0 0 π = 2π ∫ π’(π)πππ 0 2π where, ππ΄ = 2ππππ, π’ = π’(π) and not π, ∴ ∫0 ππ = 2π π π 2 1 π = 2π ∫ π’πππ₯ (1 − ( ) ) πππ = π’πππ₯ ππ 2 π 2 0 57:020 Mechanics of Fluids and Transport Processes Professor Fred Stern Fall 2007 Chapter 3 20 6) Flowrate measurement Various flow meters are governed by the Bernoulli and continuity equations. Typical devices for measuring flowrate in pipes. Three commonly used types of flow meters are illustrated: the orifice meter, the nozzle meter, and the Venturi meter. The operation of each is based on the same physical principles—an increase in velocity causes a decrease in pressure. The difference between them is a matter of cost, accuracy, and how closely their actual operation obeys the idealized flow assumptions. We assume the flow is horizontal (π§1 = π§2 ), steady, inviscid, and incompressible between points (1) and (2). The Bernoulli equation becomes: 1 1 π1 + ππ12 = π2 + ππ22 2 2 If we assume the velocity profiles are uniform at sections (1) and (2), the continuity equation can be written as: 57:020 Mechanics of Fluids and Transport Processes Professor Fred Stern Fall 2007 Chapter 3 21 π = π1 π΄1 = π2 π΄2 where π΄2 is the small (π΄2 < π΄1 ) flow area at section (2). Combination of these two equations results in the following theoretical flowrate 2(π1 − π2 ) π = π΄2 √ π[1 − (π΄2 ⁄π΄1 )2 ] Other flow meters based on the Bernoulli equation are used to measure flowrates in open channels such as flumes and irrigation ditches. Two of these devices, the sluice gate and the sharp-crested weir, are discussed below under the assumption of steady, inviscid, incompressible flow. Sluice gate geometry We apply the Bernoulli and continuity equations between points on the free surfaces at (1) and (2) to give: 1 1 π1 + ππ12 + πΎπ§1 = π2 + ππ22 + πΎπ§2 2 2 and π = π1 π΄1 = ππ1 π§1 = π2 π΄2 = ππ2 π§2 With the fact that π1 = π2 = 0: Chapter 3 22 57:020 Mechanics of Fluids and Transport Processes Professor Fred Stern Fall 2007 2π(π§1 − π§2 ) π = π§2 π√ 1 − (π§2 ⁄π§1 )2 In the limit of π§1 β« π§2 : π = π§2 π√2ππ§1 Rectangular, sharp-crested weir geometry For such devices the flowrate of liquid over the top of the weir plate is dependent on the weir height, ππ€ , the width of the channel, π, and the head, π», of the water above the top of the weir. Between points (1) and (2) the pressure and gravitational fields cause the fluid to accelerate from velocity π1 to velocity π2 . At (1) the pressure is π1 = πΎβ, while at (2) the pressure is essentially atmospheric, π2 = 0. Across the curved streamlines directly above the top of the weir plate (section a–a), the pressure changes from atmospheric on the top surface to some maximum value within the fluid stream and then to atmospheric again at the bottom surface. For now, we will take a very simple approach and assume that the weir flow is similar in many respects to an orifice-type flow with a free streamline. In this instance we would expect the average velocity across the top of the weir to be proportional to √2ππ» and the flow area for this rectangular weir to be proportional to π»π. Hence, it follows that 3 π = πΆ1 π»π√2ππ» = πΆ1 π√2ππ»2 Chapter 3 23 57:020 Mechanics of Fluids and Transport Processes Professor Fred Stern Fall 2007 3.8 Energy grade line (EGL) and hydraulic grade line (HGL) In this chapter, we neglect losses and/or minor losses, and energy input or output by pumps or turbines: βπΏ = 0, βπ = 0, βπ‘ = 0 π1 π12 π2 π22 + + π§1 = + + π§2 πΎ 2π πΎ 2π Define π π»πΊπΏ = + π§ πΎ π π2} πΎ 2π πΈπΊπΏ = + π§ + point-by point application is graphically displayed HGL corresponds to pressure tap measurement + π§ EGL corresponds to stagnation tube measurement + π§ πΈπΊπΏ = π»πΊπΏ if π = 0 βπΏ = π πΈπΊπΏ1 = πΈπΊπΏ2 + βπΏ πΏ π2 π· 2π i.e., linear variation in πΏ for π· , π , and π constant for βπ = βπ‘ = 0 π = friction factor π = π(π π) Pressure tap: π2 πΎ =β Stagnation tube: π2 πΎ + π22 2π =β 57:020 Mechanics of Fluids and Transport Processes Professor Fred Stern Fall 2007 Helpful hints for drawing π»πΊπΏ and πΈπΊπΏ 1. πΈπΊπΏ = π»πΊπΏ + π 2 ⁄2π = π»πΊπΏ for π = 0 2. π = 0 ⇒ π»πΊπΏ = π§ 3. for change in π· ⇒ change in π i.e. π1 π΄1 = π2 π΄2 π1 ππ·12 4 π1 π·12 = π2 = ππ·22 4 π2 π·22 }⇒ Change in distance between π»πΊπΏ & πΈπΊπΏ and slope change due to change in βπΏ 4. If π»πΊπΏ < π§ then π⁄πΎ < 0 i.e., cavitation possible Chapter 3 24 57:020 Mechanics of Fluids and Transport Processes Professor Fred Stern Fall 2007 Chapter 3 25 Condition for cavitation: π = ππ£π = 2000 N⁄m2 Gage pressure ππ£π,π = ππ£π − πππ‘π ≈ −πππ‘π = −100,000 N⁄m2 ππ£π,π ≈ −10m πΎ where πΎ = 9810 N⁄m2 3.9 Limitations of Bernoulli Equation Assumptions used in the derivation Bernoulli Equation: (1) Inviscid (2) Incompressible (3) Steady (4) Conservative body force 1) Compressibility Effects: The Bernoulli equation can be modified for compressible flows. A simple, although specialized, case of compressible flow occurs when the temperature of a perfect gas remains constant along the streamline—isothermal flow. Thus, we consider π = ππ π, where π is constant (In general, π, π, and π will vary). An equation similar to the Bernoulli equation can be obtained for isentropic flow of a perfect gas. For steady, inviscid, isothermal flow, Bernoulli equation becomes π π ∫ ππ 1 2 + π + ππ§ = ππππ π‘ π 2 The constant of integration is easily evaluated if π§1 , π1 , and π1 are known at some location on the streamline. The result is π12 π π π1 π22 + π§1 + ln ( ) = + π§2 2π π π2 2π Chapter 3 26 57:020 Mechanics of Fluids and Transport Processes Professor Fred Stern Fall 2007 2) Unsteady Effects: The Bernoulli equation can be modified for unsteady flows. With the inclusion of the unsteady effect (ππ ⁄ππ‘ ≠ 0) the following is obtained: π ππ ππ‘ 1 ππ + ππ + ππ(π 2 ) + πΎππ§ = 0 (along a streamline) 2 For incompressible flow this can be easily integrated between points (1) and (2) to give 1 π ππ 2 1 π1 + ππ12 + πΎπ§1 = π ∫π 2 ππ‘ 1 ππ + π2 + ππ22 + πΎπ§2 (along a streamline) 2 3) Rotational Effects Care must be used in applying the Bernoulli equation across streamlines. If the flow is “irrotational” (i.e., the fluid particles do not “spin” as they move), it is appropriate to use the Bernoulli equation across streamlines. However, if the flow is “rotational” (fluid particles “spin”), use of the Bernoulli equation is restricted to flow along a streamline. 4) Other Restrictions Another restriction on the Bernoulli equation is that the flow is inviscid. The Bernoulli equation is actually a first integral of Newton's second law along a streamline. This general integration was possible because, in the absence of viscous effects, the fluid system considered was a conservative system. The total energy of the system remains constant. If viscous effects are important the system is nonconservative and energy losses occur. A more detailed analysis is needed for these cases. The Bernoulli equation is not valid for flows that involve pumps or turbines. The final basic restriction on use of the Bernoulli equation is that there are no mechanical devices (pumps or turbines) in the system between the two points along the streamline for which the equation is applied. These devices represent sources or sinks of energy. Since the Bernoulli equation is actually one form of the energy equation, it must be altered to include pumps or turbines, if these are present.