1 Discretization of Fluid Models (Navier Stokes) Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal.

Slides:



Advertisements
Similar presentations
Stable Fluids A paper by Jos Stam.
Advertisements

My First Fluid Project Ryan Schmidt. Outline MAC Method How far did I get? What went wrong? Future Work.
HE 316 Term Project Presentation Symmetry Analysis in Fluid Dynamics
Computational Methods II (Elliptic)
Lecture 15: Capillary motion
Chapter 8 Elliptic Equation.
Continuity Equation. Continuity Equation Continuity Equation Net outflow in x direction.
Lecture Objectives: Simple algorithm Boundary conditions.
Chapter 3 Steady-State Conduction Multiple Dimensions
UNSTEADY VISCOUS FLOW Viscous effects confined to within some finite area near the boundary → boundary layer In unsteady viscous flows at low Re the boundary.
12/21/2001Numerical methods in continuum mechanics1 Continuum Mechanics On the scale of the object to be studied the density and other fluid properties.
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac Professor of Aerospace Engineering.
1 Lecture 11: Unsteady Conduction Error Analysis.
Modeling, Simulating and Rendering Fluids Thanks to Ron Fediw et al, Jos Stam, Henrik Jensen, Ryan.
Numerical methods for PDEs PDEs are mathematical models for –Physical Phenomena Heat transfer Wave motion.
FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION
© Fluent Inc. 9/5/2015L1 Fluids Review TRN Solution Methods.
Lecture Objectives Review SIMPLE CFD Algorithm SIMPLE Semi-Implicit Method for Pressure-Linked Equations Define Residual and Relaxation.
Chapter 9: Differential Analysis of Fluid Flow SCHOOL OF BIOPROCESS ENGINEERING, UNIVERSITI MALAYSIA PERLIS.
MAE 3241: AERODYNAMICS AND FLIGHT MECHANICS Compressible Flow Over Airfoils: Linearized Subsonic Flow Mechanical and Aerospace Engineering Department Florida.
MA5251: Spectral Methods & Applications
1 Computational Methods Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal Pulau Pinang Week.
Governing equations: Navier-Stokes equations, Two-dimensional shallow-water equations, Saint-Venant equations, compressible water hammer flow equations.
1 Computational Methods II (Elliptic) Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal Pulau.
1 Discretization of Fluid Models (Navier Stokes) Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal.
Lecture Objectives: Explicit vs. Implicit Residual, Stability, Relaxation Simple algorithm.
1 Computational Methods II (Elliptic) Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal Pulau.
1 Discretization of Fluid Models (Navier Stokes) Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal.
CEE 262A H YDRODYNAMICS Lecture 15 Unsteady solutions to the Navier-Stokes equation.
1 Discretization Methods Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal Pulau Pinang Week.
IIT-Madras, Momentum Transfer: July 2005-Dec 2005 Perturbation: Background n Algebraic n Differential Equations.
Lecture Objectives Review Define Residual and Relaxation SIMPLE CFD Algorithm SIMPLE Semi-Implicit Method for Pressure-Linked Equations.
CIS888.11V/EE894R/ME894V A Case Study in Computational Science & Engineering We will apply several numerical methods to find a steady state solution of.
IIT-Madras, Momentum Transfer: July 2005-Dec 2005 Von Karman Integral Method (BSL) PRANDTL BOUNDARY LAYER EQUATIONS for steady flow are Continuity N-S.
Stream Function & Velocity Potential
Von Karman Integral Method (BSL) PRANDTL BOUNDARY LAYER EQUATIONS for steady flow are Continuity N-S (approx) 12  If we solve these, we can get V x, (and.
The Stability of Laminar Flows - 2
CEE 262A H YDRODYNAMICS Lecture 13 Wind-driven flow in a lake.
FREE CONVECTION 7.1 Introduction Solar collectors Pipes Ducts Electronic packages Walls and windows 7.2 Features and Parameters of Free Convection (1)
1 EMT 101 – Engineering Programming Dr. Farzad Ismail School of Aerospace Engineering Universiti Sains Malaysia Nibong Tebal Pulau Pinang Week 6.
1 Scalar Conservation Law Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal Pulau Pinang Week.
Differential Analysis of Fluid Flow. Navier-Stokes equations Example: incompressible Navier-Stokes equations.
Lecture 6 The boundary-layer equations
Computer Animation Rick Parent Computer Animation Algorithms and Techniques Computational Fluid Dynamics.
Computational Fluid Dynamics Lecture II Numerical Methods and Criteria for CFD Dr. Ugur GUVEN Professor of Aerospace Engineering.
I- Computational Fluid Dynamics (CFD-I)
Chapter 4 Fluid Mechanics Frank White
Objective Numerical methods SIMPLE CFD Algorithm Define Relaxation
EMT 101 – Engineering Programming
Lecture Objectives: Review Explicit vs. Implicit
© Fluent Inc. 1/10/2018L1 Fluids Review TRN Solution Methods.
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac 11/13/2018
Lecture Objectives: Advance discretization methods
Objective Unsteady state Numerical methods Discretization
CFD – Fluid Dynamics Equations
Navier - Stokes Equation
Objective Numerical methods Finite volume.
topic8_NS_vectorForm_F02
Driven Lid Partially Filled Porous Cavity - Single Domain Approach
Introduction to Fluid Dynamics & Applications
topic4: Implicit method, Stability, ADI method
topic16_cylinder_flow_relaxation
FLAIR:General Idea Reconstructs interface by: New “f” calculated by:
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac 2/28/2019
Topic9_Pressure_Correction
topic8_NS_vectorForm_F02
Part 5:Vorticity.
Topic 8 Pressure Correction
14. Computational Fluid Dynamics
Stream Function & Velocity Potential
Presentation transcript:

1 Discretization of Fluid Models (Navier Stokes) Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal Pulau Pinang Week 5 (Lecture 1 and 2)

2 Preview We have talked about various schemes to solve model problems. Would like to use the knowledge to solve real fluid models. Before we do that, first need to understand the mathematical and physical nature of fluid dynamics.

3 The Compressible Navier Stokes One of the most complete mathematical models for fluids. Includes compressibility, viscous, heat transfer, advection, pressure effects. Can also be used to account for reacting fluids

4 2D Compressible NS

5 The Compressible Navier Stokes (cont’d) In 2D, a system of 4 x 4 (3D - 5 x 5) A hybrid of hyperbolic and parabolic types for unsteady cases Elliptic in nature for steady cases Decompose NS model into inviscid (compressible) and viscous (incompressible) parts

6 2D Incompressible Navier Stokes (NS) How do you know that mass equation is numerically satisfied?

7 Pressure Poisson (1) (2) (3)(4) (1) (4) (3)

8 Pressure Poisson (cont’d) (3) Solve * and ** for incompressible NS (*) (**)

9 2D Incompressible Navier Stokes (NS) The momentum can be rewritten (***)

10 Exercise Take the gradient of Eqn (***), apply the mass equation and show that What does this equation provide? More importantly, what is the nature of this eqn And how to solve it?

11 2D Incompressible NS (cont’d) Incompressible flow has only mass and momentum equations –The energy equation drops out (3 eqns, 3 unknowns) Mass is implicitly solved through the pressure-Poisson equation –Pressure-based solver (i.e. SIMPLE, PISO) –Requires iterations to satisfy velocity divergence- expensive! Adds an elliptic nature to pde on top of the hyperbolic and parabolic natures Flow is ‘smooth’

12 Choice of Grid Discretization It is not critical for unsteady problems but it is crucial for steady-state problems –Elliptic problems have issues with certain errors not being removed even after many iterations. Collocated: all variables are stored at the same location –Worst choice, since there will be some errors that will never be removed! Compact: –Better choice, but there will be at least one type of errors that will never be removed! Staggered- best choice for elliptic problem, but…

13 Staggered Grid What about p, F,G, H’s?

14 Initial & Boundary Conditions For elliptic problems, IC is not so much a big deal –Will just determine how quick solution reach steady-state But the BC is very critical! –Not only determines the efficiency of the computations –But will also determine what is the final outcome –Unphysical BC may lead to huge problems?Why? Concept of Ghost Cells No slip condition along and no outflow/inflow through boundaries

15 Boundary Conditions (cont’d) How to compute ghost cells? –Combine BC and the equations of motions to extrapolate the values outside the computational domain –Take horizontal boundary, v=0 (obvious) but u may not be unless wall is not moving (no slip) –Can use mass equation

16 Boundary Conditions (cont’d) Nature of u,v at boundaries –v=0 at boundary but u may not be zero; v even function –v y = -u x = 0 (by mass), implies that u is constant along wall and that integrating u wrt x gives u(x,y) as a constant plus a linear Variation along y. –The ghost quantities (previous Fig) via the y-momentum:

17 Vo and H(y) are zero on the boundary, this simplifies to where v T are expanded from v 0 via Taylor series where v T are expanded from v 0 via Taylor series Since v 0 =0 and assume that the square of v and the high order terms are negligible, hence

18 Since v is an even function, The same can be done for other walls and similar approach for (u,v)

19 Algorithm for Incompressible NS Apply the appropriate BC Solve for the preliminary u*, v* based on (u,v,p) of IC and BC Compute the Pressure-Poisson equation to solve for p* –Iterate until reach required error tolerance Check the discrete velocity divergence, if criterion is met, proceed to the next time level. If not go back to step 1 and continue the iteration within the same time-level