( ) Notes. Fluid mechanics. Inviscid Euler model. Lagrangian viewpoint. " = " x,t,#, #

Similar documents
Notes. Multi-Dimensional Plasticity. Yielding. Multi-Dimensional Yield criteria. (so rest state includes plastic strain): #=#(!

Fluid Animation. Christopher Batty November 17, 2011

An Overview of Fluid Animation. Christopher Batty March 11, 2014

Conservation of mass. Continuum Mechanics. Conservation of Momentum. Cauchy s Fundamental Postulate. # f body

Math background. Physics. Simulation. Related phenomena. Frontiers in graphics. Rigid fluids

Soft Bodies. Good approximation for hard ones. approximation breaks when objects break, or deform. Generalization: soft (deformable) bodies

fluid mechanics as a prominent discipline of application for numerical

Game Physics. Game and Media Technology Master Program - Utrecht University. Dr. Nicolas Pronost

Chapter 5. The Differential Forms of the Fundamental Laws

Basic hydrodynamics. David Gurarie. 1 Newtonian fluids: Euler and Navier-Stokes equations

Modeling, Simulating and Rendering Fluids. Thanks to Ron Fediw et al, Jos Stam, Henrik Jensen, Ryan

CHAPTER 7 SEVERAL FORMS OF THE EQUATIONS OF MOTION

V (r,t) = i ˆ u( x, y,z,t) + ˆ j v( x, y,z,t) + k ˆ w( x, y, z,t)

PDE Solvers for Fluid Flow

INDEX 363. Cartesian coordinates 19,20,42, 67, 83 Cartesian tensors 84, 87, 226

Course Syllabus: Continuum Mechanics - ME 212A

Chapter 2: Fluid Dynamics Review

Introduction to Aerodynamics. Dr. Guven Aerospace Engineer (P.hD)

AA214B: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS

7 The Navier-Stokes Equations

2. FLUID-FLOW EQUATIONS SPRING 2019

Introduction to Fluid Mechanics

Differential relations for fluid flow

AA210A Fundamentals of Compressible Flow. Chapter 5 -The conservation equations

3. FORMS OF GOVERNING EQUATIONS IN CFD

Contents. I Introduction 1. Preface. xiii

Fundamentals of Fluid Dynamics: Elementary Viscous Flow

2 Equations of Motion

MAE 3130: Fluid Mechanics Lecture 7: Differential Analysis/Part 1 Spring Dr. Jason Roney Mechanical and Aerospace Engineering

Conservation of Mass. Computational Fluid Dynamics. The Equations Governing Fluid Motion

Computational Astrophysics

Continuum Mechanics Fundamentals

AA210A Fundamentals of Compressible Flow. Chapter 1 - Introduction to fluid flow

Several forms of the equations of motion

Detailed Outline, M E 320 Fluid Flow, Spring Semester 2015

Physics-Based Animation

Chapter 1: Basic Concepts

Particle Systems. CSE169: Computer Animation Instructor: Steve Rotenberg UCSD, Winter 2017

Entropy generation and transport

NDT&E Methods: UT. VJ Technologies CAVITY INSPECTION. Nondestructive Testing & Evaluation TPU Lecture Course 2015/16.

Review of fluid dynamics

Chapter 4: Fluid Kinematics

CHAPTER 8 ENTROPY GENERATION AND TRANSPORT

Detailed Outline, M E 521: Foundations of Fluid Mechanics I

Computer Fluid Dynamics E181107

Getting started: CFD notation

Navier-Stokes Equation: Principle of Conservation of Momentum

2.29 Numerical Fluid Mechanics Fall 2011 Lecture 7

From the last time, we ended with an expression for the energy equation. u = ρg u + (τ u) q (9.1)

The Hopf equation. The Hopf equation A toy model of fluid mechanics

Notes 4: Differential Form of the Conservation Equations

COURSE NUMBER: ME 321 Fluid Mechanics I 3 credit hour. Basic Equations in fluid Dynamics

Chapter 1. Continuum mechanics review. 1.1 Definitions and nomenclature

Review of Fluid Mechanics

Fluid Dynamics Exercises and questions for the course

Chapter 0. Preliminaries. 0.1 Things you should already know

CHAPTER 4. Basics of Fluid Dynamics

KINEMATICS OF CONTINUA

(Refer Slide Time: 2:14)

Fluid Dynamics: Theory, Computation, and Numerical Simulation Second Edition

1. Introduction, tensors, kinematics

Numerical methods for the Navier- Stokes equations

IV. Compressible flow of inviscid fluids

High Speed Aerodynamics. Copyright 2009 Narayanan Komerath

The Navier-Stokes Equations

UNIVERSITY of LIMERICK

Aerodynamics. Lecture 1: Introduction - Equations of Motion G. Dimitriadis

Continuum Mechanics Lecture 5 Ideal fluids

Quick Recapitulation of Fluid Mechanics

in this web service Cambridge University Press

Dan s Morris s Notes on Stable Fluids (Jos Stam, SIGGRAPH 1999)

Math 575-Lecture Viscous Newtonian fluid and the Navier-Stokes equations

Astrophysical Fluid Dynamics (2)

A Study on Numerical Solution to the Incompressible Navier-Stokes Equation

A unifying model for fluid flow and elastic solid deformation: a novel approach for fluid-structure interaction and wave propagation

Chapter 6: Incompressible Inviscid Flow

1. Fluid properties and concept of continuum

CH.9. CONSTITUTIVE EQUATIONS IN FLUIDS. Multimedia Course on Continuum Mechanics

- Marine Hydrodynamics. Lecture 4. Knowns Equations # Unknowns # (conservation of mass) (conservation of momentum)

The conservation equations

Nonlinear Theory of Elasticity. Dr.-Ing. Martin Ruess

CS 542G: The Poisson Problem, Finite Differences

1. The Properties of Fluids

Chapter 9: Differential Analysis

Lecture 1: Introduction to Linear and Non-Linear Waves

Lecture 3: 1. Lecture 3.

Hydrodynamics. l. mahadevan harvard university

Chapter 9: Differential Analysis of Fluid Flow

An Introduction to Theories of Turbulence. James Glimm Stony Brook University

4.2 Concepts of the Boundary Layer Theory

Convection Heat Transfer

Duality methods for variational inequalities and Non-Newtonian fluid mechanics

Numerical Heat and Mass Transfer

Before we consider two canonical turbulent flows we need a general description of turbulence.

5.2 Infinite Series Brian E. Veitch

Lecture 3: The Navier-Stokes Equations: Topological aspects

i.e. the conservation of mass, the conservation of linear momentum, the conservation of energy.

Elmer :Heat transfert with phase change solid-solid in transient problem Application to silicon properties. SIF file : phasechange solid-solid

Lesson 3-1: Solving Linear Systems by Graphing

Chapter 1 Fluid Characteristics

Transcription:

Notes Assignment 4 due today (when I check email tomorrow morning) Don t be afraid to make assumptions, approximate quantities, In particular, method for computing time step bound (look at max eigenvalue of Jacobian) already made lots of assumptions about linearity etc. so it won t hurt to make a few more! Fluid mechanics We already figured out the equations of motion for continuum mechanics " x = # $ % + "g Just need a constitutive model ( ) " = " x,t,#, # We ll look at the constitutive model for Newtonian fluids today Remarkably good model for water, air, and many other simple fluids Only starts to break down in extreme situations, or more complex fluids (e.g. viscoelastic substances) Inviscid Euler model Inviscid=no viscosity Great model for most situations Numerical methods end up with viscosity-like error terms anyways Constitutive law is very simple: " ij = #p$ ij New scalar unknown: pressure p Barotropic flows: p is just a function of density (e.g. perfect gas law p=k(!-! 0 )+p 0 perhaps) For more complex flows need heavy-duty thermodynamics: an equation of state for pressure, equation for evolution of internal energy (heat), Lagrangian viewpoint We ve been working with Lagrangian methods so far Identify chunks of material, track their motion in time, differentiate world-space position or velocity w.r.t. material coordinates to get forces In particular, use a mesh connecting particles to approximate derivatives (with FVM or FEM) Bad idea for most fluids [vortices, turbulence] At least with a fixed mesh

Eulerian viewpoint Take a fixed grid in world space, track how velocity changes at a point Even for the craziest of flows, our grid is always nice (Usually) forget about object space and where a chunk of material originally came from Irrelevant for extreme inelasticity Just keep track of velocity, density, and whatever else is needed Conservation laws Identify any fixed volume of space Integrate some conserved quantity in it (e.g. mass, momentum, energy, ) Integral changes in time only according to how fast it is being transferred from/to surrounding space Called the flux [divergence form] " $ q = % $ f q "t # "# q t + ' & f = 0 ( ) & n Conservation of Mass Also called the continuity equation (makes sure matter is continuous) Let s look at the total mass of a volume (integral of density) Mass can only be transferred by moving it: flux must be!u " % # = & % #u' n "t $ "$ # t + ( ' #u ( ) = 0 Material derivative A lot of physics just naturally happens in the Lagrangian viewpoint E.g. the acceleration of a material point results from the sum of forces on it How do we relate that to rate of change of velocity measured at a fixed point in space? Can t directly: need to get at Lagrangian stuff somehow The material derivative of a property q of the material (i.e. a quantity that gets carried along with the fluid) is Dq Dt

Finding the material derivative Using object-space coordinates p and map x=x(p) to world-space, then material derivative is just D Dt q(t, x) = d q dt ( t, X(t, p) ) = "q "x + #q$ "t "t = q t + u$ #q Notation: u is velocity (in fluids, usually use u but occasionally v or V, and components of the velocity vector are sometimes u,v,w) Compressible Flow In general, density changes as fluid compresses or expands When is this important? Sound waves (and/or high speed flow where motion is getting close to speed of sound - Mach numbers above 0.3?) Shock waves Often not important scientifically, almost never visually significant Though the effect of e.g. a blast wave is visible! But the shock dynamics usually can be hugely simplified for graphics Incompressible flow So we ll just look at incompressible flow, where density of a chunk of fluid never changes Note: fluid density may not be constant throughout space - different fluids mixed together That is, D!/Dt=0 Incompressibility: Simplifying Conservation of mass: Subtract the two equations, divide by!: " # u = 0 D" Dt = " t + u# $" = 0 " t + # $ ("u) = 0 " t + #" $ u + "# $ u = 0 Incompressible == divergence-free velocity Even if density isn t uniform!

Conservation of momentum Short cut - in " use material derivative: " Du = # $% + "g Dt " + u$ #u x = # $% + "g ( ) = # $ % + "g Or go by conservation law, with the flux due to transport of momentum and due to stress: Then simplify a bit using conservation of mass "u ( ) t + # $ ( u"u %&) = "g Inviscid momentum equation Plug in simplest consitutive law ("=-p#) from before to get "( + u # $u) = %$p + "g + u # $u + 1 " $p = g Together with conservation of mass: the Euler equations Incompressible inviscid flow So the equations are: + u" #u + 1 $ #p = g # " u = 0 4 equations, 4 unknowns (u, p) Pressure p is just whatever it takes to make velocity divergence-free In fact, incompressibility is a hard constraint; div and grad are transposes of each other and pressure p is the Lagrange multiplier Just like we figured out constraint forces before Pressure solve To see what pressure is, take divergence of momentum equation ( ) = 0 ( ) = %" # + u # "u " # + u# "u + 1 $ "p 1 " # "p $ ( ) For constant density, just get Laplacian (and this is Poisson s equation) Important numerical methods use this approach to find pressure

Projection Note that % =0 so in fact ( ) " # 1 $ "p = %" # u # "u After we add %p/! to u %u, divergence must be zero So if we tried to solve for additional pressure, we get zero Pressure solve is linear too Thus what we re really doing is a projection of u %u onto the subspace of divergence-free functions: +P(u %u)=g Viscosity In reality, nearby molecules travelling at different velocities occasionally bump into each other, transferring energy Differences in velocity reduced (damping) Measure this by strain rate (time derivative of strain, or how far velocity field is from rigid motion) Add terms to our constitutive law Strain rate At any instant in time, measure how fast chunk of material is deforming from its current state Not from its original state So we re looking at infinitesimal, incremental strain updates Can use linear Cauchy strain! (In fact, in solids, this leads to a more advanced true strain arrived at by integrating infinitesimal strain increments but not important here) So the strain rate tensor is $ #u " ij = 1 i + #u ' j 2 & %#x j #x ) i ( Viscous stress As with linear elasticity, end up with two parameters if we want isotropy: " viscous ij = 2µ # ij + $ # kk % ij µ and $ are coefficients of viscosity (first and second) These are not the Lame coefficients! Just use the same symbols $ damps only compression/expansion Usually $!-2/3µ (exact for monatomic gases) & So end up with " viscous ij = µ #u i + #u j $ 2 #u ) k ( % ij '#x j #x i 3 #x + k *

Navier-Stokes Navier-Stokes equations include the viscous stress Incompressible version: + u" #u + 1 #p = g + 1 # " µ #u + #ut $ $ ( ) # " u = 0 Often (but not always) viscosity µ is constant, and this reduces to Boundary conditions We ll sidestep this issue until it comes up in numerical methods There are some subtle mathematical details (and open problems) relating to what exactly you can or need to specify Generally: specify some mix of velocity and traction at the boundary Depends on whether or not you have viscosity + u" #u + 1 $ #p = g + µ $ # 2 u Inviscid boundaries Basic choice: At a closed boundary ( wall ) use the no-stick condition u " n = 0 Or if the boundary is moving in the normal direction, u" n = u wall " n At an open boundary ( free surface ) specify the traction, i.e. the pressure. For example: "u p = p atm "n = 0 Condition on normal derivative of u implicit Viscous (friction) boundaries Can use no-slip condition on walls: u=0 Or u=u wall Traction is no longer so simple at a free surface (stress tensor has more than just pressure)

Other quantities We may want to carry around auxiliary quantities E.g. temperature, the type of fluid (if we have a mix), concentration of smoke, etc. Use material derivative as before E.g. if quantity doesn t change, just is transported ( advected ) around: Dq Dt = q + u " #q t 12 3 = 0 advection Pressure stuff Just as we solved for pressure before, can do the same here But we take the divergence of the viscosity term as well What now? Can solve numerically the full equations Will do this later Not so simple, could be expensive (3D) Or make assumptions and simplify them, then solve numerically Simplify flow (e.g. irrotational) Simplify dimensionality (e.g. go to 2D) Potential flow If velocity is irrotational: " # u = 0 Which it often is in simple laminar flow Then there must be a stream function (potential) such that: u = "# Solve for incompressibility: " # "$ = 0