Chapter 2. General concepts. 2.1 The Navier-Stokes equations

Similar documents
6.2 Governing Equations for Natural Convection

Computational Fluid Dynamics 2

Robust Monolithic - Multigrid FEM Solver for Three Fields Formulation Rising from non-newtonian Flow Problems

1 The Stokes System. ρ + (ρv) = ρ g(x), and the conservation of momentum has the form. ρ v (λ 1 + µ 1 ) ( v) µ 1 v + p = ρ f(x) in Ω.

Mixed Finite Element Methods. Douglas N. Arnold, University of Minnesota The 41st Woudschoten Conference 5 October 2016

Numerical methods for the Navier- Stokes equations

UNIVERSITY of LIMERICK

Pseudo-divergence-free element free Galerkin method for incompressible fluid flow

1 Exercise: Linear, incompressible Stokes flow with FE

Discrete Projection Methods for Incompressible Fluid Flow Problems and Application to a Fluid-Structure Interaction

Numerical Methods for the Navier-Stokes equations

Getting started: CFD notation

Fundamentals of Fluid Dynamics: Elementary Viscous Flow

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

Adaptive C1 Macroelements for Fourth Order and Divergence-Free Problems

Review of fluid dynamics

FINITE ELEMENT APPROXIMATION OF STOKES-LIKE SYSTEMS WITH IMPLICIT CONSTITUTIVE RELATION

Chapter 2: Fluid Dynamics Review

J. Liou Tulsa Research Center Amoco Production Company Tulsa, OK 74102, USA. Received 23 August 1990 Revised manuscript received 24 October 1990

Fluid Dynamics Exercises and questions for the course

Differential relations for fluid flow

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

Newton-Multigrid Least-Squares FEM for S-V-P Formulation of the Navier-Stokes Equations

Candidates must show on each answer book the type of calculator used. Log Tables, Statistical Tables and Graph Paper are available on request.

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

FEniCS Course. Lecture 6: Incompressible Navier Stokes. Contributors Anders Logg André Massing

Chapter 1. Governing Equations of GFD. 1.1 Mass continuity

PAPER. Stabilized and Galerkin Least Squares Formulations

7.4 The Saddle Point Stokes Problem

Level Set Tumor Growth Model

Scientific Computing I

Introduction to Fluid Mechanics

Yongdeok Kim and Seki Kim

FEM techniques for nonlinear fluids

DELFT UNIVERSITY OF TECHNOLOGY

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

Numerical Solutions to Partial Differential Equations

UNIVERSITY OF OSLO. Faculty of Mathematics and Natural Sciences. MEK4300/9300 Viscous flow og turbulence

Non-Newtonian Fluids and Finite Elements

Quick Recapitulation of Fluid Mechanics

Navier-Stokes Equation: Principle of Conservation of Momentum

Courant Institute of Mathematical Sciences, New York University, New York, NY 10012,

Some remarks on grad-div stabilization of incompressible flow simulations

WELL POSEDNESS OF PROBLEMS I

DUE: WEDS MARCH 26TH 2018

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

Weierstraß-Institut. für Angewandte Analysis und Stochastik. Leibniz-Institut im Forschungsverbund Berlin e. V. Preprint ISSN

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

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

Basic concepts in viscous flow

Implementation of 3D Incompressible N-S Equations. Mikhail Sekachev

FREE BOUNDARY PROBLEMS IN FLUID MECHANICS

Shell Balances in Fluid Mechanics

Chapter 2: Basic Governing Equations

Exercise 5: Exact Solutions to the Navier-Stokes Equations I

Numerical Methods for Problems with Moving Fronts Orthogonal Collocation on Finite Elements

2 Law of conservation of energy

New Discretizations of Turbulent Flow Problems

CIV-E1060 Engineering Computation and Simulation Examination, December 12, 2017 / Niiranen

Chapter 5. The Differential Forms of the Fundamental Laws

Stability of Shear Flow

Efficient Augmented Lagrangian-type Preconditioning for the Oseen Problem using Grad-Div Stabilization

Preconditioners for the incompressible Navier Stokes equations

Chapter 1. Continuum mechanics review. 1.1 Definitions and nomenclature

A Two-Grid Stabilization Method for Solving the Steady-State Navier-Stokes Equations

Chapter 9: Differential Analysis

Chapter 5 Structural Elements: The truss & beam elements

Analysis of Newtonian Viscous Flows Through Tubes of Arbitrary Varying Cross Sections

Les Houches School of Foam: Rheology of Complex Fluids

FEAP - - A Finite Element Analysis Program

Computational Fluid Dynamics Lecture Notes Summer Term R. Verfürth. Fakultät für Mathematik, Ruhr-Universität Bochum

A note on accurate and efficient higher order Galerkin time stepping schemes for the nonstationary Stokes equations

AMS 529: Finite Element Methods: Fundamentals, Applications, and New Trends

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

Chapter 9: Differential Analysis of Fluid Flow

NUMERICAL SIMULATION OF INTERACTION BETWEEN INCOMPRESSIBLE FLOW AND AN ELASTIC WALL

Solving Partial Differential Equations Numerically. Miklós Bergou with: Gary Miller, David Cardoze, Todd Phillips, Mark Olah

BOUNDARY LAYER ANALYSIS WITH NAVIER-STOKES EQUATION IN 2D CHANNEL FLOW

Fluid Mechanics II Viscosity and shear stresses

Mechanics of solids and fluids -Introduction to continuum mechanics

A Finite Element Method for the Surface Stokes Problem

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

Global well-posedness and decay for the viscous surface wave problem without surface tension

Weak-Strong Uniqueness of the Navier-Stokes-Smoluchowski System

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

Basic Principles of Weak Galerkin Finite Element Methods for PDEs

MAE 101A. Homework 7 - Solutions 3/12/2018

Lecture 1: Introduction to Linear and Non-Linear Waves

Total energy in volume

8 A pseudo-spectral solution to the Stokes Problem

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

Viscous Fluids. Amanda Meier. December 14th, 2011

THE STOKES SYSTEM R.E. SHOWALTER

AMS subject classifications. Primary, 65N15, 65N30, 76D07; Secondary, 35B45, 35J50

Mathematical Theory of Non-Newtonian Fluid

Forchheimer law derived by homogenization of gas flow in turbomachines

Chapter 2 Finite Element Spaces for Linear Saddle Point Problems

Chapter 7 The Time-Dependent Navier-Stokes Equations Turbulent Flows

Numerical Simulation of Potential Flow using the Finite Element Method

AA214B: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS

Transcription:

Chapter 2 General concepts 2.1 The Navier-Stokes equations The Navier-Stokes equations model the fluid mechanics. This set of differential equations describes the motion of a fluid. In the present work the fluid is assumed Newtonian, that is, the stress tensor σ is linearly related to the strain-rate tensor. These equations represent the effect of both external and internal forces in a fluid. These equations comprise the equations expressing conservation of mass (2.1) and linear momentum (2.2): dρ dt + ρ v = 0 (2.1) σ + ρb = ρ dv dt (2.2) where ρ is the fluid density, v the velocity vector and b the volume force per unit of mass. The Navier-Stokes equations are obtained combining both sets of balance equations. They read: ρ(v t + (v )v) = σ + ρb in Ω ]0, T [ (2.3) v = 0 in Ω ]0, T [ (2.4) These equations cannot be solved unless an extra condition is specified. All materials are expected to satisfy the previous balance equations (2.3) and (2.4). In order to describe the behavior of the different materials, a constitutive law has to be introduced. In this work, the constitutive law used to model the Navier-Stokes problem is the Stokes law: σ = pi + 2µ s v, (2.5) 7

where p is the hydrostatic pressure, µ the dynamic viscosity, v the velocity and s v the symmetric part of the velocity gradient. Combining the Stokes law (2.5) with the general Navier-Stokes differential equations (2.3), the most known version of Navier-Stokes equations is obtained: v t + (v )v 2ν s v + p = b (2.6) Here, p is the kinematic pressure, that is p = p/ρ and ν the kinematic viscosity, ν = µ/ρ. The incompressibility condition (2.4) expresses the fact that in an incompressible fluid the mass density does not vary along the time. Therefore, applying (2.1) this relation is easily derived. In this case, the Navier-Stokes equations can be transformed in a more convenient form, v t + (v )v ν 2 v + p = b (2.7) Some initial and boundary conditions have to be added in order to solve the system of differential equations. The most common boundary conditions consist on prescribing the value of the velocity on the total, or a part, of the boundary Γ. These are called Dirichlet conditions: v(x, t) = v D (x, t), x Γ (2.8) Another type of boundary conditions prescribes the traction on the total, or a part, of the boundary. These are called Neumann conditions: n σ(x, t) = t(x, t), x Γ (2.9) where n is the normal vector at every point of the boundary. The initial conditions needed for the time integration are represented by the value of the velocity field at every point of the fluid at a given time, normally t 0 = 0. But not every initial condition is possible. The velocity at t 0 has to be irrotational (see Huerta, 2003 for more details): v(x, 0) = v 0 (x), x Ω (2.10) v 0 (x) = 0, x Ω (2.11) Note that the initial conditions have only to be prescribed in velocities because there is no time derivative of the pressure. If the boundary conditions are just of the Dirichlet type, the pressure can be determined only up to a constant that is found imposing the value of the pressure at one point. 8

2.2 Stationary Stokes problem The stationary Stokes problem is a particular case of the Navier-Stokes equations where the convective terms and the time dependency is neglected. This case appears when studying highly viscous flows, that is flows with a small Reynolds number. The resulting equations are called the Stokes problem (2.12): ν 2 v + p = b (2.12) v = 0 (2.13) Here the problem is formulated in terms of velocity and pressure using the Stokes law (2.5) and the incompressibility condition (2.4). 2.2.1 Strong form The complete expression of the strong form of the stationary Stokes problem reads: 2.2.2 Weak form ν 2 v + p = b in Ω (2.14) v = 0 in Ω (2.15) v = v D on Γ D (2.16) pn + ν(n )v = t on Γ N (2.17) The weak form of the problem is obtained multiplying the equation of the stationary Stokes problem by the velocity test function w and applying the divergence theorem to the pressure gradient and to the viscous term. Then, the weak formulation of the stationary Stokes problem can be defined as: find (v, p) S V, such that a(w, v) + b(w, p) + b(v, q) = (w, b) + (w, t) ΓN (w, q) V Q (2.18) where, a(w, v) = w : ν v dω (2.19) Ω b(v, q) = q v dω (2.20) Ω (w, b) = w b dω (2.21) Ω 9

The spaces introduced in this formulation are the spaces of trial solutions for the velocity v, the weighting functions of the velocity w and the pressure p, respectively, S, V and Q. The definitions of these spaces are: S := {v H 1 (Ω) v = v D on Γ D } (2.22) V := H 1 Γ D (Ω) = {w H 1 (Ω) w = 0 on Γ D } (2.23) Q := L 2 (Ω) (2.24) 2.2.3 Galerkin formulation The Galerkin formulation of the stationary Stokes problem is based on a mixed finite element method. It is needed to use local approximations for the velocity, the pressure and their weighting functions. The velocity approximation v h can be expressed as v h = u h + v h D (2.25) where v h D satisfies the Dirichlet conditions on Γ D. Thus the Galerkin formulation can be expressed as: given a field of external forces b and the boundary conditions v D and t, find the velocity u h and the pressure p h such that, a(w h, u h ) + b(w h, p h ) = (w h, b h ) + (w h, t h ) ΓN a(w h, v h D) (2.26) b(u h, q h ) = b(v h D, q h ) (2.27) Here w h is the weighting function for the velocity and q h the one for the pressure. The interpolation of the velocity needs to satisfy an extra condition. It has to be continuous at the interface between elements. This condition is not necessary for the pressure due to the fact that there is no pressure gradient in this formulation. In order to solve the problem every velocity component vi h has to be approximated. This is done using the shape functions and their nodal values. It is important to make a distinction between the number of total nodes in the finite element mesh and the number of nodes with Dirichlet conditions. The difference between both number of nodes is the total number of nodal velocity unknowns. Therefore, some notation has to be introduced. The total nodes in the mesh is denoted by η = 1, 2,..., n np. Similarly, η D η the subset of nodes where the Dirichlet conditions are imposed. Using this 10

notation, u h (x) = A η\η D N A (x)u A + A η D N A (x)u D (x A ) (2.28) where N A is the shape function at node number A and u A its associated velocity unknown. Now it is possible to rewrite this expression for every component: u h i (x) = N A (x)u ia (2.29) A η\η id vid(x) h = N A (x)v id (x A ) (2.30) A η id The interpolation for the pressure can be made using the same set of nodes and shape functions but this is not mandatory. Thus in general, p h (x) =  ˆη ˆNÂ(x)p (2.31) 2.2.4 Matrix problem The implementation of the finite element method consists on separate the global problem in smaller problems defined in every element and then assembly all of these problems in the global one. In order to make it simpler to calculate, every problem in a element is transformed into a master element with normalized coordinates. This process is called isoparametrization. The physical coordinates can be expressed in terms of the reference coordinates as: [ ] x = [ ] ξi N y i (ξ, η) (2.32) η i i Moreover, dn dx dn dy = dξ dx dξ dy dη dx dη dy dn dξ dn dη (2.33) where the gradient of the shape functions is expressed through the Jacobian matrix. The elemental matrices for the discretization of the problem are (see details 11

in Huerta(2003), K e = a(w, u) Ω e = N NdΩ (2.34) Ω e G e = b(w, p) Ω e = N ˆNdΩ (2.35) Ω e f e = (w, b) Ω e + (w, t) Γ e N a(w, v D ) Ω e (2.36) h e = b(v D, q) Ω e (2.37) The global matrices can be represented through the action of an assembly operator A e applied on the local matrices: K = A e K e (2.38) G = A e G e (2.39) f = A e f e (2.40) h = A e h e (2.41) Then, the matrix system associated to the stationary Stokes problem can be written as, ( ) ( ) ( ) K G u f G T = (2.42) 0 p h The resulting matrix system is, in general, singular because the boundary conditions are not imposed yet. There are several options to introduce them in order to make the system solvable. In this work, the implementation using Lagrange multipliers is the chosen solution. The prescribed velocity values on the Dirichlet portion of the boundary are then expressed with these Lagrange multipliers. This method implies additional equations to the matrix system. The final system can be expressed as, K B T G B 0 0 G T 0 0 u λ p = f c h (2.43) where B T λ is the vector of reaction forces that enforce the constraints, B a rectangular matrix, c a vector with the prescribed values of the constraints and λ a vector containing the Lagrange multipliers. 2.2.5 The LBB condition The particular form of the system matrix associated to the stationary Stokes problem, see (2.43), with null submatrixes on the diagonal, implies that the 12

matrix may be singular in certain situations. In order to have u and p uniquely defined the matrix has to be non-singular. That is, the kernel of matrix G has to be zero. Thus, to have ker G = 0, the interpolation spaces for velocity and pressure have to satisfy a compatibility condition called the LBB condition (Ladyzhenskaya - Babuška - Brezzi), see Huerta,2003 for further details. This condition reads: The existence of a stable finite element approximate solution (u h, p h ) to the steady Stokes problem depends on choosing a pair of spaces V h and Q h, such that the following inf-sup condition holds: inf q h Q h sup w h V h (q h, w h ) q 0 w h 1 α > 0, (2.44) where α is independent of the mesh size h. If the LBB condition is satisfied, then ker G = 0 and there exists a unique u h V h and a p h Q h. In figure 2.1 there are some elements in 2D that pass and some that do not pass the LBB condition as an example. 2.2.6 Stabilization of the stationary Stokes problem In the last decades a lot of effort has been focused to find stabilization methods for the stationary Stokes problem in order to use the velocity-pressure pairs that are instable in the standard Galerkin formulation. One of the most used methods in this area is the Galerkin Least-Squares (GLS). The main idea behind this method resides in enforcing the positive definiteness of the matrix in equation (2.43). This is done by adding a non-null submatrix in the diagonal throughout the weak form of the problem. The method consists on modifying the variational form, see (2.14) with the addition of the minimization of the least-squares form: L S (v, p) := ( ν 2 v + p b, ν 2 v + p b) (2.45) dl S (v + ɛw, p + ɛq) = 0 (2.46) dɛ ɛ=0 The application of some algebraic operations in the derivative term (2.46) leads to, ( ν 2 w + q, ν 2 v + p b) = 0 (w, q) V Q (2.47) 13

Element type Element name Pass LBB condition Q1P0 NO Q1Q1 NO Q2Q1 YES Mini YES Crouziex-Raviart YES Velocity nodes Pressure nodes Figure 2.1: Examples of several 2D elements under LBB condition 14

Equation (2.47) can be separated into the velocity and pressure components: ( ν 2 w, ν 2 v + p b) = 0 w V (2.48) ( q, ν 2 v + p b) = 0 q Q (2.49) Then, the stabilized Galerkin formulation of the problem can be written as: n el a(w h, v h ) + b(w h, p h ) + τ e ( ν 2 w h, ν 2 v h + p h b h ) Ω e = = (w h, b h ) + (w h, t h ) ΓN (2.50) n el b(v h, q h ) τ e ( q h, ν 2 v h + p h b h ) Ω e = 0(2.51) where τ e is the stabilization parameter. Note that the non-null submatrix in the diagonal is obtained with the term ( q h, p h ) in equation (2.51). The above formulation can be simplified in the case of using linear elements to approximate the solution. Then, the variational form derives into (see more details in Huerta(2003)): a(w h, v h ) + b(w h, p h ) = (w h, b h ) + (w h, t h ) ΓN (2.52) n el n el b(v h, q h ) τ e ( q h, p h ) Ω h = τ e ( q h, b h ) Ω e (2.53) The stabilization parameter τ e is chosen as: τ e = α 0 h 2 e 4ν (2.54) where h e is the measure of the element size in the computational mesh and α 0 can be estimated by α 0 = 1/3 in the case of linear elements. The stabilization term added in (2.52) and (2.53) modifies the matrix system (2.43) as, K B T G B 0 0 G T 0 G LS u λ p = f b cd h (2.55) 15

where, n el G e LS = n el τ e ( q h, p h ) = ˆN ˆNdΩ (2.56) Ω e h e = h e τ e ( q h, b h ) Ω e (2.57) Note that a non-zero matrix, G LS, is added in the diagonal improving the condition number of the global matrix. That makes the global matrix nonsingular and therefore, the system has a unique solution. 16