CFD 2 – 1 David Apsley 2. FLUID-FLOW EQUATIONS SPRING

Total Page:16

File Type:pdf, Size:1020Kb

CFD 2 – 1 David Apsley 2. FLUID-FLOW EQUATIONS SPRING 2. FLUID-FLOW EQUATIONS SPRING 2021 2.1 Introduction 2.2 Conservative differential equations 2.3 Non-conservative differential equations 2.4 Non-dimensionalisation Summary Examples 2.1 Introduction Fluid dynamics is governed by conservation equations for: • mass; • momentum; • energy; • (for a non-homogenous fluid, any other constituents). Equations for these can be expressed mathematically as: • integral (control-volume) equations; • differential equations. This course focuses on the control-volume approach (the basis of the finite-volume method) because it relates naturally to physical quantities, is intrinsically conservative and is easier to apply in modern, unstructured-mesh CFD with complex geometries. However, the equivalent differential equations are easier to write down, manipulate and, in a few cases, solve analytically. The aims of this section are: (i) to derive differential equations for fluid flow; (ii) to demonstrate equivalence of integral and differential forms; (iii) to show that, although there are many different physical V quantities, all satisfy a single generic equation: the scalar- transport or advection-diffusion equation: TIME DERIVATIVE ADVECTIVE + DIFFUSIVE FLUX SOURCE ( ) + ( ) = ( ) (1) of amount in 푉 through boundary of 푉 in 푉 The finite-volume method is a natural discretisation of this. CFD 2 – 1 David Apsley 2.2 Conservative Differential Equations 2.2.1 Mass Conservation (Continuity) Mass is neither created nor destroyed, so: rate of change of mass in cell = net inward mass flux With the more conventional flux direction (positive outward): time derivative of mass in cell + net outward mass flux = 0 d (2) (mass) + ∑ (mass flux) = 0 d푡 faces For a cell volume 푉 and a typical face area 퐴: u mass of fluid in the cell: ρ푉 V un mass flux through one face: 퐶 = ρu • A A t z n A differential equation for mass conservation can be derived by w considering the small cartesian control volume shown left b y s e x If density and velocity are averages over cell volume or cell face, respectively: d(ρ푉) + ⏟(ρ 푢퐴 ) − ( ρ 푢퐴 ) + ( ρ 푣퐴 ) − ( ρ푣퐴 ) + ( ρ푤퐴 ) − (ρ 푤퐴 ) = 0 ⏟d 푡 푒 푤 푛 푠 푡 푏 net outward mass flux time derivative of mass Writing volume 푉 = Δ푥Δ푦Δ푧 and areas 퐴푤 = 퐴푒 = Δ푦Δ푧 etc: d(ρΔ푥Δ푦Δ푧) + [(ρ푢) − (ρ푢) ]Δ푦Δ푧 + [(ρ푣) − (ρ푣) ]Δ푧Δ푥 + [(ρ푤) − (ρ푤) ]Δ푥Δ푦 = 0 d푡 푒 푤 푛 푠 푡 푏 Dividing by the volume, 푥푦푧: dρ (ρ푢) − (ρ푢) (ρ푣) − (ρ푣) (ρ푤) − (ρ푤) + 푒 푤 + 푛 푠 + 푡 푏 = 0 d푡 Δ푥 Δ푦 Δ푧 dρ Δ(ρ푢) Δ(ρ푣) Δ(ρ푤) i.e. + + + = 0 d푡 Δ푥 Δ푦 Δ푧 Taking the limit as Δ푥, Δ푦, Δ푧 → 0: ∂ρ ∂(ρ푢) ∂(ρ푣) ∂(ρ푤) + + + = 0 (3) ∂푡 ∂푥 ∂푦 ∂푧 This analysis is analogous to the finite-volume procedure, but there the control volume does not shrink to a point (finite-volume, not infinitesimal-volume) and cells can be any shape. CFD 2 – 2 David Apsley (*** Advanced / optional ***) For an arbitrary volume 푉 with closed surface 휕푉: d ∫ρ d푉 + ∮ ρu • dA = 0 (4) d푡 ⏟푉 ⏟∂ 푉 mass in cell net mass flux For a fixed control volume, take d/d푡 under the integral sign and apply the divergence theorem to turn the surface integral into a volume integral: ∂ρ ∫ { + ∇ • (ρu)} d푉 = 0 푉 ∂푡 u Since 푉 is arbitrary, the integrand must be identically zero. Hence, V un ∂ρ A + ∇ • (ρu) = 0 (5) ∂푡 Incompressible Flow For incompressible flow, volume as well as mass is conserved, so that: ⏟(푢퐴 ) 푒 − ( 푢퐴 ) 푤 + ( 푣퐴 )푛 − ( 푣퐴 ) 푠 + (푤퐴 ) 푡 − (푤퐴 ) 푏 = 0 net outward VOLUME flux Substituting for face areas, dividing by volume and proceeding to the limit as above produces ∂푢 ∂푣 ∂푤 + + = 0 (6) ∂푥 ∂푦 ∂푧 This is usually taken as the continuity equation in incompressible flow. 2.2.2 Momentum Newton’s Second Law: rate of change of momentum = force time derivative of momentum in cell + net outward momentum flux = force d (mass × u) + ∑ (mass flux × u) = F d푡 (7) faces For a cell volume 푉 and a typical face area 퐴: momentum of fluid in the cell = mass u = (ρ푉)u momentum flux through a face = mass flux × u = (ρu • A)u Momentum and force are vectors, giving (in principle) 3 equations. CFD 2 – 3 David Apsley Fluid Forces There are two main types: • surface forces (proportional to area; act on control-volume faces) • body forces (proportional to volume) (i) Surface forces are usually expressed in terms of stress: force stress = or force = stress × area area The main surface forces are: • pressure 푝: acts normal to a surface; • viscous stresses τ: frictional forces arising from relative motion; y • reaction forces from boundaries. For a simple shear flow there is only one non-zero stress component: ∂푢 τ ≡ τ = μ U 12 ∂푦 but, in general, τ푖푗 is a symmetric tensor with a more complex expression for its components. 1 In incompressible flow , 22 12 ∂푢푖 ∂푢푗 τ푖푗 = μ( + ) y 21 ∂푥푗 ∂푥푖 11 x 11 21 (ii) Body forces are often expressed as forces per unit volume, or force densities. 12 22 The main body forces are: z ● gravity: the force per unit volume is g ρg = −ρ푔e푧 (For constant-density fluids, pressure and weight can be combined as a piezometric pressure 푝∗ = 푝 + ρ푔푧; gravity then no longer appears explicitly in the flow equations.) • centrifugal and Coriolis forces (apparent forces in a rotating reference frame): axis 2 R R centrifugal force: 2 ρΩ R r u Coriolis force: 2 −2ρΩ ∧ u In inertial frame In rotating frame 1 There is a slightly extended expression in compressible flow; see the recommended textbooks. 2 The symbol ˄ here means vector product; Ω is the angular velocity vector, its direction that of the rotation axis. CFD 2 – 4 David Apsley Because the centrifugal force can be written as the gradient of some quantity (in this case, 1 ρΩ2푅2) it can, like gravity, be absorbed into a modified pressure; see the Examples. 2 t Differential Equation For Momentum z Consider a fixed cartesian control volume with sides Δ푥, Δ푦, Δ푧. w n Follow the same process as for mass conservation. y b e s For the 푥-component of momentum: x d (ρ푉푢) + ⏟(ρ 푢퐴 ) 푢 − (ρ 푢퐴 ) 푢 + ( ρ푣퐴 ) 푢 − ( ρ 푣퐴 ) 푢 + (ρ 푤퐴 ) 푢 − ( ρ 푤퐴 ) 푢 d⏟푡 푒 푒 푤 푤 푛 푛 푠 푠 푡 푡 푏 푏 net outward momentum flux time derivative of momentum = ⏟(푝 푤 퐴 푤 − 푝 푒퐴 푒 ) + viscous and other forces pressure force in 푥 direction Substituting cell dimensions: d (ρΔ푥Δ푦Δ푧 푢) + [(ρ푢푢) − (ρ푢푢) ]Δ푦Δ푧 + [(ρ푣푢) − (ρ푣푢) ]Δ푧Δ푥 + [(ρ푤푢) − (ρ푤푢) ]Δ푥Δ푦 d푡 푒 푤 푛 푠 푡 푏 = (푝푤 − 푝푒)Δ푦Δ푧 + viscous and other forces Dividing by volume Δ푥Δ푦Δ푧 (and changing the order of 푝푒 and 푝푤): d(ρ푢) (ρ푢푢) − (ρ푢푢) (ρ푣푢) − (ρ푣푢) (ρ푤푢) − (ρ푤푢) + 푒 푤 + 푛 푠 + 푡 푏 d푡 Δ푥 Δ푦 Δ푧 (푝 − 푝 ) = − 푒 푤 + viscous and other forces Δ푥 In the limit as Δ푥, Δ푦, Δ푧 → 0: ∂(ρ푢) ∂(ρ푢푢) ∂(ρ푣푢) ∂(ρ푤푢) ∂푝 + + + = − + μ∇2푢 + other forces (8) ∂푡 ∂푥 ∂푦 ∂푧 ∂푥 Notes. (1) The viscous term is given without proof (but see the optional notes below). ∂2 ∂2 ∂2 ∇2 is the Laplacian operator + + . ∂푥2 ∂푦2 ∂푧2 (2) The pressure force per unit volume in any direction is minus the pressure gradient in that direction. (3) The 푦 and 푧-momentum equations can be obtained by inspection / pattern-matching. CFD 2 – 5 David Apsley (*** Advanced / optional ***) With surface forces determined by stress tensor σ푖푗 and body forces determined by force density 푓푖, the control-volume equation for the component of momentum may be written d ∫ρ푢푖 d푉 + ∮ ρ푢푖푢푗 d퐴푗 = ∮ σ푖푗 d퐴푗 + ∫푓푖 d푉 d푡 ⏟푉 ⏟∂ 푉 ⏟∂ 푉 ⏟푉 (9) momentum in cell net momentum flux surface forces body forces For fixed 푉, take d/d푡 inside integrals and apply the divergence theorem to surface integrals: ∂(ρ푢푖) ∂(ρ푢푖푢푗) ∂σ푖푗 ∫ { + − − 푓푖} d푉 = 0 푉 ∂푡 ∂푥푗 ∂푥푗 As 푉 is arbitrary, the integrand vanishes identically. Hence, for arbitrary forces: ∂(ρ푢푖) ∂(ρ푢푖푢푗) ∂σ푖푗 + = + 푓푖 (10) ∂푡 ∂푥푗 ∂푥푗 The stress tensor has pressure and viscous parts: σ푖푗 = −푝δ푖푗 + τ푖푗 (11) ∂(ρ푢푖) ∂(ρ푢푖푢푗) ∂푝 ∂τ푖푗 + = − + + 푓푖 (12) ∂푡 ∂푥푗 ∂푥푖 ∂푥푗 For a Newtonian fluid, the viscous stress tensor (including compressible part) is given by ∂푢푖 ∂푢푗 2 ∂푢푘 τ푖푗 = μ( + − δ푖푗 ) ∂푥푗 ∂푥푖 3 ∂푥푘 If the fluid is incompressible and viscosity is uniform then the viscous term simplifies: ∂(ρ푢 푢 ) ∂(ρ푢푖) 푖 푗 ∂푝 2 + = − + μ∇ 푢푖 + 푓푖 ∂푡 ∂푥푗 ∂푥푖 CFD 2 – 6 David Apsley 2.2.3 General Scalar A similar equation may be derived for any physical quantity that is advected and diffused in a fluid flow. Examples include salt, sediment and chemical pollutants. For each such quantity an equation is solved for the concentration (amount per unit mass of fluid) ϕ. Diffusion causes net transport from regions of high concentration to regions of low concentration. For many scalars this rate of transport is proportional to area and concentration gradient and may be quantified by Fick’s diffusion law: rate of diffusion = −diffusivity × gradient × area ∂ϕ = −Γ 퐴 ∂푛 This is often referred to as gradient diffusion. An example is heat conduction. u For an arbitrary control volume: V un amount in cell: ρ푉ϕ (mass concentration) A advective flux: (ρu • A)ϕ (mass flux concentration) diffusive flux: ∂ϕ (– diffusivity gradient area) −Γ 퐴 ∂푛 source: 푆 = 푠푉 (source density volume) Balancing the time derivative of the amount in the cell, the net flux through the boundary and rate of production yields the general scalar-transport (or advection-diffusion) equation: time derivative + net outward flux = source d ∂ϕ (mass × ϕ) + ∑ (mass flux × ϕ − Γ 퐴) = 푆 d푡 ∂푛 (13) faces (Conservative) differential equation: ∂(ρϕ) ∂ ∂ϕ ∂ ∂ϕ ∂ ∂ϕ + (ρ푢ϕ − Γ ) + (ρ푣ϕ − Γ ) + (ρ푤ϕ − Γ ) = 푠 (14) ∂푡 ∂푥 ∂푥 ∂푦 ∂푦 ∂푧 ∂푧 (*** Advanced / optional ***) The integral equation may be expressed more mathematically as: d ∫ρϕ d푉 + ∮ (ρuϕ − Γ∇ϕ) • dA = ∫푠 d푉 (15) d푡 푉 ∂푉 푉 For a fixed control volume, taking the time derivative under the integral sign and using the divergence theorem gives a corresponding conservative differential equation: ∂(ρϕ) + ∇ • (ρuϕ − Γ∇ϕ) = 푠 (16) ∂푡 CFD 2 – 7 David Apsley 2.2.4 Momentum Components as Transported Scalars In the momentum equation, if the viscous force τ퐴 = μ(∂푢/ ∂푛)퐴 is transferred to the LHS it looks like a diffusive flux.
Recommended publications
  • A Brief Tour of Vector Calculus
    A BRIEF TOUR OF VECTOR CALCULUS A. HAVENS Contents 0 Prelude ii 1 Directional Derivatives, the Gradient and the Del Operator 1 1.1 Conceptual Review: Directional Derivatives and the Gradient........... 1 1.2 The Gradient as a Vector Field............................ 5 1.3 The Gradient Flow and Critical Points ....................... 10 1.4 The Del Operator and the Gradient in Other Coordinates*............ 17 1.5 Problems........................................ 21 2 Vector Fields in Low Dimensions 26 2 3 2.1 General Vector Fields in Domains of R and R . 26 2.2 Flows and Integral Curves .............................. 31 2.3 Conservative Vector Fields and Potentials...................... 32 2.4 Vector Fields from Frames*.............................. 37 2.5 Divergence, Curl, Jacobians, and the Laplacian................... 41 2.6 Parametrized Surfaces and Coordinate Vector Fields*............... 48 2.7 Tangent Vectors, Normal Vectors, and Orientations*................ 52 2.8 Problems........................................ 58 3 Line Integrals 66 3.1 Defining Scalar Line Integrals............................. 66 3.2 Line Integrals in Vector Fields ............................ 75 3.3 Work in a Force Field................................. 78 3.4 The Fundamental Theorem of Line Integrals .................... 79 3.5 Motion in Conservative Force Fields Conserves Energy .............. 81 3.6 Path Independence and Corollaries of the Fundamental Theorem......... 82 3.7 Green's Theorem.................................... 84 3.8 Problems........................................ 89 4 Surface Integrals, Flux, and Fundamental Theorems 93 4.1 Surface Integrals of Scalar Fields........................... 93 4.2 Flux........................................... 96 4.3 The Gradient, Divergence, and Curl Operators Via Limits* . 103 4.4 The Stokes-Kelvin Theorem..............................108 4.5 The Divergence Theorem ...............................112 4.6 Problems........................................114 List of Figures 117 i 11/14/19 Multivariate Calculus: Vector Calculus Havens 0.
    [Show full text]
  • Part IA — Vector Calculus
    Part IA | Vector Calculus Based on lectures by B. Allanach Notes taken by Dexter Chua Lent 2015 These notes are not endorsed by the lecturers, and I have modified them (often significantly) after lectures. They are nowhere near accurate representations of what was actually lectured, and in particular, all errors are almost surely mine. 3 Curves in R 3 Parameterised curves and arc length, tangents and normals to curves in R , the radius of curvature. [1] 2 3 Integration in R and R Line integrals. Surface and volume integrals: definitions, examples using Cartesian, cylindrical and spherical coordinates; change of variables. [4] Vector operators Directional derivatives. The gradient of a real-valued function: definition; interpretation as normal to level surfaces; examples including the use of cylindrical, spherical *and general orthogonal curvilinear* coordinates. Divergence, curl and r2 in Cartesian coordinates, examples; formulae for these oper- ators (statement only) in cylindrical, spherical *and general orthogonal curvilinear* coordinates. Solenoidal fields, irrotational fields and conservative fields; scalar potentials. Vector derivative identities. [5] Integration theorems Divergence theorem, Green's theorem, Stokes's theorem, Green's second theorem: statements; informal proofs; examples; application to fluid dynamics, and to electro- magnetism including statement of Maxwell's equations. [5] Laplace's equation 2 3 Laplace's equation in R and R : uniqueness theorem and maximum principle. Solution of Poisson's equation by Gauss's method (for spherical and cylindrical symmetry) and as an integral. [4] 3 Cartesian tensors in R Tensor transformation laws, addition, multiplication, contraction, with emphasis on tensors of second rank. Isotropic second and third rank tensors.
    [Show full text]
  • Generalized Stokes' Theorem
    Chapter 4 Generalized Stokes’ Theorem “It is very difficult for us, placed as we have been from earliest childhood in a condition of training, to say what would have been our feelings had such training never taken place.” Sir George Stokes, 1st Baronet 4.1. Manifolds with Boundary We have seen in the Chapter 3 that Green’s, Stokes’ and Divergence Theorem in Multivariable Calculus can be unified together using the language of differential forms. In this chapter, we will generalize Stokes’ Theorem to higher dimensional and abstract manifolds. These classic theorems and their generalizations concern about an integral over a manifold with an integral over its boundary. In this section, we will first rigorously define the notion of a boundary for abstract manifolds. Heuristically, an interior point of a manifold locally looks like a ball in Euclidean space, whereas a boundary point locally looks like an upper-half space. n 4.1.1. Smooth Functions on Upper-Half Spaces. From now on, we denote R+ := n n f(u1, ... , un) 2 R : un ≥ 0g which is the upper-half space of R . Under the subspace n n n topology, we say a subset V ⊂ R+ is open in R+ if there exists a set Ve ⊂ R open in n n n R such that V = Ve \ R+. It is intuitively clear that if V ⊂ R+ is disjoint from the n n n subspace fun = 0g of R , then V is open in R+ if and only if V is open in R . n n Now consider a set V ⊂ R+ which is open in R+ and that V \ fun = 0g 6= Æ.
    [Show full text]
  • LECTURE 27: the LAPLAST ONE Monday, November 25, 2019 5:23 PM
    LECTURE 27: THE LAPLAST ONE Monday, November 25, 2019 5:23 PM Today: Three little remaining topics related to Laplace I- 3 DIMENSIONS Previously: Solved Laplace's equation in 2 dimensions by converting it into polar coordinates. The same idea works in 3 dimensions if you use spherical coordinates. 3 Suppose u = u(x,y,z) solves u xx + u yy + u zz = 0 in R Using spherical coordinates, you eventually get urr + 2 ur + JUNK = 0 r (where r = x 2 + y 2 + z 2 and JUNK doesn't depend on r) If we're looking for radial solutions, we set JUNK = 0 Get u rr + 2 u r = 0 which you can solve to get r u(x,y,z) = -C + C' solves u xx + u yy + u zz = 0 r Finally, setting C = -1/(4π) and C' = 0, you get Fundamental solution of Laplace for n = 3 S(x,y,z) = 1 = 4πr 4π x 2 + y 2 + z 2 Note: In n dimensions, get u rr + n-1 ur = 0 r => u( r ) = -C + C' rn-2 => S(x) = Blah (for some complicated Blah) rn-1 Why fundamental? Because can build up other solutions from this! Fun Fact: A solution of -Δ u = f (Poisson's equation) in R n is u(x) = S(x) * f(x) = S(x -y) f(y) dy (Basically the constant is chosen such that -ΔS = d0 <- Dirac at 0) II - DERIVATION OF LAPLACE Two goals: Derive Laplace's equation, and also highlight an important structure of Δu = 0 A) SETTING n Definition: If F = (F 1, …, F n) is a vector field in R , then div(F) = (F 1)x1 + … + (F n)xn Notice : If u = u(x 1, …, x n), then u = (u x1 , …, u xn ) => div( u) = (u x1 )x1 + … + (u xn )xn = u x1 x1 + … + u xn xn = Δu Fact: Δu = div( u) "divergence structure" In particular, Laplace's equation works very well with the divergence theorem Divergence Theorem: F n dS = div(F) dx bdy D D B) DERIVATION Suppose you have a fluid F that is in equilibrium (think F = temperature or chemical concentration) Equilibrium means that for any region D, the net flux of F is 0.
    [Show full text]
  • Green Gauss Theorem Yesterday, We Continued Discussions on Index Notations That Can Be Used to Represent Tensors
    15/02/2017 LECTURE – 15 Green Gauss Theorem Yesterday, we continued discussions on index notations that can be used to represent tensors. In index notations we saw the Gradient of a scalar Divergence of a vector Cross product of vector etc. We also saw that a second rank tensor can be written as a sum of a symmetric & asymmetric tensor. 11 i.e, BBBBB[][] ij22 ij ji ij ji First part is symmetric & second part is asymmetric Today we will briefly discuss about Green Gauss Theorem etc. Green Gauss Theorem relates the volume & surface integrals. The most common form of Gauss’s theorem is the Gauss divergence theorem which you have studied in previous courses. 푛 푣 ds If you have a volume U formed by surface S, the Gauss divergence theorem for a vector v suggest that v.. ndSˆ vdU SU where, S = bounding surface on closed surface U = volumetric domain nˆ = the unit outward normal vector of the elementary surface area ds This Gauss Divergence theorem can also be represented using index notations. v v n dS i dU ii SUxi For any scalar multiple or factor for vector v , say v , the Green Gauss can be represented as (v . nˆ ) dS .( v ) dU SU i.e. (v . nˆ ) dS ( . v ) dU ( v . ) dU SUU v or v n dSi dU v dU i i i SUUxxii Gauss’s theorem is applicable not only to a vector . It can be applied to any tensor B (say) B B n dSij dU B dU ij i ij SUUxxii Stoke’s Theorem Stoke’s theorem relates the integral over an open surface S, to line integral around the surface’s bounding curve (say C) You need to appropriately choose the unit outward normal vector to the surface 푛 푡 dr v.
    [Show full text]
  • Vector Calculus Applicationsž 1. Introduction 2. the Heat Equation
    Vector Calculus Applications 1. Introduction The divergence and Stokes’ theorems (and their related results) supply fundamental tools which can be used to derive equations which can be used to model a number of physical situations. Essentially, these theorems provide a mathematical language with which to express physical laws such as conservation of mass, momentum and energy. The resulting equations are some of the most fundamental and useful in engineering and applied science. In the following sections the derivation of some of these equations will be outlined. The goal is to show how vector calculus is used in applications. Generally speaking, the equations are derived by first using a conservation law in integral form, and then converting the integral form to a differential equation form using the divergence theorem, Stokes’ theorem, and vector identities. The differential equation forms tend to be easier to work with, particularly if one is interested in solving such equations, either analytically or numerically. 2. The Heat Equation Consider a solid material occupying a region of space V . The region has a boundary surface, which we shall designate as S. Suppose the solid has a density and a heat capacity c. If the temperature of the solid at any point in V is T.r; t/, where r x{ y| zkO is the position vector (so that T depends upon x, y, z and t), then theE total heatE eergyD O containedC O C in the solid is • cT dV : V Heat energy can get in or out of the region V by flowing across the boundary S, or it can be generated inside V .
    [Show full text]
  • The Divergence Theorem.Doc 1/2
    9/16/2005 The Divergence Theorem.doc 1/2 The Divergence Theorem Recall we studied volume integrals of the form: ∫∫∫ g (rdv) V It turns out that any and every scalar field can be written as the divergence of some vector field, i.e.: g (rr) = ∇⋅A( ) Therefore we can equivalently write any volume integral as: ∫∫∫ ∇⋅A (r )dv V The divergence theorem states that this integral is equal to: ∫∫∫∇⋅AA(rr)dv =w ∫∫ ( ) ⋅ ds VS where S is the closed surface that completely surrounds volume V, and vector ds points outward from the closed surface. For example, if volume V is a sphere, then S is the surface of that sphere. The divergence theorem states that the volume integral of a scalar field can be likewise evaluated as a surface integral of a vector field! Jim Stiles The Univ. of Kansas Dept. of EECS 9/16/2005 The Divergence Theorem.doc 2/2 What the divergence theorem indicates is that the total “divergence” of a vector field through the surface of any volume is equal to the sum (i.e., integration) of the divergence at all points within the volume. 4 2 0 -2 -4 -4 - 2 0 2 4 In other words, if the vector field is diverging from some point in the volume, it must simultaneously be converging to another adjacent point within the volume—the net effect is therefore zero! Thus, the only values that make any difference in the volume integral are the divergence or convergence of the vector field across the surface surrounding the volume—vectors that will be converging or diverging to adjacent points outside the volume (across the surface) from points inside the volume.
    [Show full text]
  • Differential Forms: Unifying the Theorems of Vector Calculus
    Differential Forms: Unifying the Theorems of Vector Calculus In class we have discussed the important vector calculus theorems known as Green's Theorem, Divergence Theorem, and Stokes's Theorem. Interestingly enough, all of these results, as well as the fundamental theorem for line integrals (so in particular the fundamental theorem of calculus), are merely special cases of one and the same theorem named after George Gabriel Stokes (1819-1903). This all-including theorem is stated in terms of differential forms. Without giving exact definitions, let us use the language of differential forms to unify the theorems we have learned. A striking pattern will emerge. 0-forms. A scalar field (i.e. a real-valued function) is also called a 0-form. 1-forms. Recall the following notation for line integrals (in 3-space, say): Z Z b Z F(r) · dr = P x0(t)dt +Q y0(t)dt +R z0(t)dt = P dx + Qdy + Rdz; C a | {z } | {z } | {z } C dx dy dz where F = P i + Qj + Rk. The expression P (x; y; z)dx + Q(x; y; z)dy + R(x; y; z)dz is called a 1-form. 2-forms. In evaluating surface integrals we can introduce similar notation: ZZ F · n dS S ZZ @r × @r @r @r @u @v = F · × dudv Γ @r @r @u @v @u × @v ZZ @y @y ZZ @x @x ZZ @x @x @u @v @u @v @u @v = P @z @z dudv − Q @z @z dudv + R @y @y dudv Γ @u @v Γ @u @v Γ @u @v | {z } | {z } | {z } dy^dz dx^dz dx^dy ZZ = P dy ^ dz − Qdx ^ dz + Rdx ^ dy: S We call P (x; y; z)dy ^ dz − Q(x; y; z)dx ^ dz + R(x; y; z)dx ^ dy a 2-form.
    [Show full text]
  • 1.14 Tensor Calculus I: Tensor Fields
    Section 1.14 1.14 Tensor Calculus I: Tensor Fields In this section, the concepts from the calculus of vectors are generalised to the calculus of higher-order tensors. 1.14.1 Tensor-valued Functions Tensor-valued functions of a scalar The most basic type of calculus is that of tensor-valued functions of a scalar, for example the time-dependent stress at a point, S S(t) . If a tensor T depends on a scalar t, then the derivative is defined in the usual way, dT T(t t) T(t) lim , dt t0 t which turns out to be dT dT ij e e (1.14.1) dt dt i j The derivative is also a tensor and the usual rules of differentiation apply, d dT dB T B dt dt dt d dT d (t)T T dt dt dt d da dT Ta T a dt dt dt d dB dT TB T B dt dt dt T d dT TT dt dt For example, consider the time derivative of QQ T , where Q is orthogonal. By the product rule, using QQ T I , T d dQ dQ T dQ dQ QQ T Q T Q Q T Q 0 dt dt dt dt dt Thus, using Eqn. 1.10.3e T Q QT QQ T Q QT (1.14.2) Solid Mechanics Part III 115 Kelly Section 1.14 which shows that Q Q T is a skew-symmetric tensor. 1.14.2 Vector Fields The gradient of a scalar field and the divergence and curl of vector fields have been seen in §1.6.
    [Show full text]
  • Fluid Dynamics I - Fall 2017 Tensor Algebra and Calculus for Fluid Dynamics
    Fluid Dynamics I - Fall 2017 Tensor Algebra and Calculus for Fluid Dynamics Fluid dynamics quantities and equations are naturally described in terms of tensors. We'll make precise later what makes something a tensor, but for now, it suffices that scalars are zeroth order tensors (rank 0 tensors), vectors are first order tensors (rank 1 tensors), and square matrices may be thought of as second-order tensors (rank two tensors). The notes that follow consider concepts and operations with tensors expressed in terms of Cartesian coordinates (x; y; z) = (x1; x2; x3). T The standard Cartesian basic vectors are ei, i = 1; 2; 3 where for example, e1 = (1; 0; 0) .A vector v may be represented in terms of this basis as the linear combination v = v1e1 + v2e2 + v3e3: (1) The scalars v1, v2, v3 are the coordinates of v with respect to the standard Cartesian basis. The expression for v above can also be written 3 X v = vjej = vjej (2) j=1 The second term in this equation uses Σ to indicate summation over the indicated range of the index j. The third term uses the summation convention (or Einstein convention) that when an index is repeated in a term, summation over that index is implied and the range of the index has to be inferred from context. Summation convention is concise, but if you are ever confused, just resort to the use of explicit Σ symbols. In an equation, e.g., 3 X ai = bi + cij j=1 j is a dummy index used for the summation, while i is a free index.
    [Show full text]
  • EXTERIOR CALCULUS in Rn
    DISCRETE DIFFERENTIAL GEOMETRY: AN APPLIED INTRODUCTION Keenan Crane • CMU 15-458/858B • Fall 2017 LECTURE 5: EXTERIOR CALCULUS IN Rn DISCRETE DIFFERENTIAL GEOMETRY: AN APPLIED INTRODUCTION Keenan Crane • CMU 15-458/858B • Fall 2017 Exterior Calculus—Overview • Previously: • Today: exterior calculus •1-form—linear measurement of a vector •how do k-forms change? •k-form—multilinear measurement of volume •how do we integrate k-forms? •differential k-form—k-form at each point u a a(u) 1-form 3-form differential 2-form Integration and Differentiation •Two big ideas in calculus: •differentiation •integration •linked by fundamental theorem of calculus •Exterior calculus generalizes these ideas •differentiation of k-forms (exterior derivative) •integration of k-forms (measure volume) •linked by Stokes’ theorem •Goal: integrate differential forms over meshes to get discrete exterior calculus (DEC) Exterior Derivative Derivative—Many Interpretations… “best linear approximation” “slope of the graph”/ “rise over run” “difference in the limit” “pushforward” Vector Derivatives—Visualized f X Y grad f div X curl Y Review—Vector Derivatives in Coordinates How do we express grad, div, and curl in coordinates? grad div curl Exterior Derivative differential product rule exactness Where do these rules come from? (What’s the geometric motivation?) Exterior Derivative—Differential Review: Directional Derivative •The directional derivative of a scalar function at a point p with respect to a vector X is the rate at which that function X increases as we walk away from p with velocity X. •More precisely: p •Alternatively, suppose that X is a vector field, rather than just a vector at a single point.
    [Show full text]
  • Divergence Theorems and the Supersphere
    Divergence Theorems and the Supersphere Josua Groeger1 Humboldt-Universit¨at zu Berlin, Institut f¨ur Mathematik, Rudower Chaussee 25, 12489 Berlin, Germany [email protected] Abstract The transformation formula of the Berezin integral holds, in the non-compact case, only up to boundary integrals, which have recently been quantified by Alldridge- Hilgert-Palzer. We establish divergence theorems in semi-Riemannian supergeom- etry by means of the flow of vector fields and these boundary integrals, and show how superharmonic functions are related to conserved quantities. An integration over the supersphere was introduced by Coulembier-De Bie-Sommen as a generali- sation of the Pizzetti integral. In this context, a mean value theorem for harmonic superfunctions was established. We formulate this integration along the lines of the general theory and give a superior proof of two mean value theorems based on our divergence theorem. 1 Introduction The analogon of the classical integral transformation formula in supergeometry holds for compactly supported quantities only. The nature of the additional boundary terms occurring in the non-compact case was only recently studied in [AHP12], where it was observed that a global Berezin integral can be defined by introducing a retraction as an additional datum. In the present article, we establish divergence theorems in semi-Riemannian superge- ometry by means of the flow of vector fields as studied in [MSV93] together with the main result of [AHP12] concerning the change of retractions. We focus on the non-degenerate case, but also yield a divergence theorem for a degenerate boundary, thus generalising a result in [Una95].¨ While the lack of boundary compatibility conditions in general leads to the aforementioned boundary terms, we show, moreover, that divergence-free vector arXiv:1309.1341v1 [math-ph] 5 Sep 2013 fields are conserved quantities in a very natural sense for any boundary supermanifold.
    [Show full text]