AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac 4/30/2019

Slides:



Advertisements
Similar presentations
Computational Modeling for Engineering MECN 6040
Advertisements

Chapter 8 Elliptic Equation.
Parabolic Partial Differential Equations
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac Professor of Aerospace Engineering.
MECH 221 FLUID MECHANICS (Fall 06/07) Chapter 9: FLOWS IN PIPE
CHE/ME 109 Heat Transfer in Electronics LECTURE 11 – ONE DIMENSIONAL NUMERICAL MODELS.
ME 231 Thermofluid Mechanics I Navier-Stokes Equations.
Simpson Rule For Integration.
Chapter 9: Differential Analysis of Fluid Flow SCHOOL OF BIOPROCESS ENGINEERING, UNIVERSITI MALAYSIA PERLIS.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Chapter 111.
Scientific Computing Partial Differential Equations Poisson Equation.
IIT-Madras, Momentum Transfer: July 2005-Dec 2005.
Mass Transfer Coefficient
Reynolds Transport Theorem We need to relate time derivative of a property of a system to rate of change of that property within a certain region (C.V.)
Engineering Analysis – Computational Fluid Dynamics –
Engineering Analysis – Computational Fluid Dynamics –
Background 1. Energy conservation equation If there is no friction.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Chapter 271 Boundary-Value.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 27.
Discretization Methods Chapter 2. Training Manual May 15, 2001 Inventory # Discretization Methods Topics Equations and The Goal Brief overview.
Linear Systems Numerical Methods. 2 Jacobi Iterative Method Choose an initial guess (i.e. all zeros) and Iterate until the equality is satisfied. No guarantee.
CSE 872 Dr. Charles B. Owen Advanced Computer Graphics1 Water Computational Fluid Dynamics Volumes Lagrangian vs. Eulerian modelling Navier-Stokes equations.
Computational Fluid Dynamics Lecture II Numerical Methods and Criteria for CFD Dr. Ugur GUVEN Professor of Aerospace Engineering.
Finite Difference Methods
Objective Numerical methods SIMPLE CFD Algorithm Define Relaxation
Manipulator Dynamics 1 Instructor: Jacob Rosen
Lecture Objectives: Review Explicit vs. Implicit
ME/AE 339 Computational Fluid Dynamics K. M. Isaac Topic1_ODE
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac 11/13/2018
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac 11/15/2018
Lecture Objectives: Advance discretization methods
Objective Unsteady state Numerical methods Discretization
Finite Volume Method for Unsteady Flows
ME/AE 339 Computational Fluid Dynamics K. M. Isaac Topic2_PDE
Chapter 27.
Topic 6 FluidFlowEquations_Introduction
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac 12/3/2018
Topic 3 Discretization of PDE
topic13_grid_generation
Objective Numerical methods Finite volume.
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac
topic8_NS_vectorForm_F02
Introduction to Fluid Dynamics & Applications
6.5 Taylor Series Linearization
topic13_grid_generation
topic13_grid_generation
topic4: Implicit method, Stability, ADI method
topic4: Implicit method, Stability, ADI method
Topic 3 Discretization of PDE
topic16_cylinder_flow_relaxation
Relaxation Technique CFD
Topic 5 NavierStokes Equations
topic11_shocktube_problem
topic4: Implicit method, Stability, ADI method
Topic 6 NavierStokes Equations
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac 2/28/2019
Topic9_Pressure_Correction
topic8_NS_vectorForm_F02
topic11_shocktube_problem
Topic 8 Pressure Correction
topic4: Implicit method, Stability, ADI method
Chapter 11 Chapter 11.
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac 7/24/2019
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac July 25, 2019
topic18_shock_tube_flow
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac
Topic 3 Discretization of PDE
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac
Presentation transcript:

AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac 4/30/2019 Topic10_PresCorr_2

The pressure correction formula (6.8.4) Calculation of p’. Computational Fluid Dynamics (AE/ME 339) K. M. Isaac Pressure Correction Method MAEEM Dept., UMR The pressure correction formula (6.8.4) Calculation of p’. Conservation form of the momentum equations are as follows: Note that these equations can be obtained from the non-conservation form by using the continuity equation. See Patankar for a slightly different formulation.   4/30/2019 Topic10_PresCorr_2

Computational Fluid Dynamics (AE/ME 339) K. M. Isaac Pressure Correction Method MAEEM Dept., UMR 4/30/2019 Topic10_PresCorr_2

We need average values of v at points a and b. It is obtained by Computational Fluid Dynamics (AE/ME 339) K. M. Isaac Pressure Correction Method MAEEM Dept., UMR Figure 6.16 shows a staggered grid where the pressures are calculated at the solid grid points and the velocities are evaluated at the open grid points. Write the difference equation for Eq. 6.88 around the point (i+1/2 , j) shown in the figure. We need average values of v at points a and b. It is obtained by interpolation. at Point a:   at Point b: 4/30/2019 Topic10_PresCorr_2

Computational Fluid Dynamics (AE/ME 339) K. M. Isaac Pressure Correction Method MAEEM Dept., UMR Difference representation for Eq. 6.88 centered around point (i+1/2, j)     4/30/2019 Topic10_PresCorr_2

or where Computational Fluid Dynamics (AE/ME 339) K. M. Isaac Pressure Correction Method MAEEM Dept., UMR or where   4/30/2019 Topic10_PresCorr_2

Computational Fluid Dynamics (AE/ME 339) K. M. Isaac Pressure Correction Method MAEEM Dept., UMR   4/30/2019 Topic10_PresCorr_2

Computational Fluid Dynamics (AE/ME 339) K. M. Isaac Pressure Correction Method MAEEM Dept., UMR At Point c: At Point d:   Use forward difference in time and central difference in space in Eq. 6.89 gives 4/30/2019 Topic10_PresCorr_2

where Computational Fluid Dynamics (AE/ME 339) K. M. Isaac Pressure Correction Method MAEEM Dept., UMR where   4/30/2019 Topic10_PresCorr_2

be used in the formulation by Patankar and Spalding. Note that the two Computational Fluid Dynamics (AE/ME 339) K. M. Isaac Pressure Correction Method MAEEM Dept., UMR The staggered grid approach used can be seen from Figures 6.16 and 6.17. The shaded areas in these two figures represent finite volumes that would be used in the formulation by Patankar and Spalding. Note that the two areas don’t completely overlap. At the beginning of each iteration p = p*. Therefore, for this step Eqs. 6.92 and 6.93 become   4/30/2019 Topic10_PresCorr_2

Subtract Eq. 6.94 from Eq. 6.92 and Eq. 6.95 from Eq. 6.93 to get the Computational Fluid Dynamics (AE/ME 339) K. M. Isaac Pressure Correction Method MAEEM Dept., UMR Subtract Eq. 6.94 from Eq. 6.92 and Eq. 6.95 from Eq. 6.93 to get the following: where 4/30/2019 Topic10_PresCorr_2

where Computational Fluid Dynamics (AE/ME 339) K. M. Isaac Pressure Correction Method MAEEM Dept., UMR where 4/30/2019 Topic10_PresCorr_2

Eqs. 6.96 and 6.97 are the x and y momentum equations written in terms Computational Fluid Dynamics (AE/ME 339) K. M. Isaac Pressure Correction Method MAEEM Dept., UMR Eqs. 6.96 and 6.97 are the x and y momentum equations written in terms of the velocity and pressure correction terms. The next important step is to get an expression for pressure correction by using the condition that the velocity field must satisfy the conservation of mass equation. The p’ formula that will be used is not an exact representation. It is devised such that when convergence is achieved: and the formula for p’ tends to the physically correct continuity equation. 4/30/2019 Topic10_PresCorr_2

Patankar sets to zero in Eqs. 6.96 and 6.97 Computational Fluid Dynamics (AE/ME 339) K. M. Isaac Pressure Correction Method MAEEM Dept., UMR Patankar sets to zero in Eqs. 6.96 and 6.97 which would yield the following equations. Recall that 4/30/2019 Topic10_PresCorr_2

The continuity equation centered around the point (i,j) using Computational Fluid Dynamics (AE/ME 339) K. M. Isaac Pressure Correction Method MAEEM Dept., UMR Eq. 6.98 can be written as Similarly, Eq. 6.99 becomes The continuity equation centered around the point (i,j) using central differencing (CD) becomes 4/30/2019 Topic10_PresCorr_2

Substitute Eqs. (6.100) and and (6.101) in Eq. (6.102) and dropping Computational Fluid Dynamics (AE/ME 339) K. M. Isaac Pressure Correction Method MAEEM Dept., UMR Substitute Eqs. (6.100) and and (6.101) in Eq. (6.102) and dropping the superscript gives Eq. (6.103) can be rearranged to give (see next slide for expressions for a, b, c and d) 4/30/2019 Topic10_PresCorr_2

where a, b, c and d are given by the following expressions Computational Fluid Dynamics (AE/ME 339) K. M. Isaac Pressure Correction Method MAEEM Dept., UMR Where a, b, c and d are given by the following expressions Eq. (6.104) gives the pressure correction. 4/30/2019 Topic10_PresCorr_2

The pressure correction formula (Eq. 6.104) is approximate because Computational Fluid Dynamics (AE/ME 339) K. M. Isaac Pressure Correction Method MAEEM Dept., UMR The SIMPLE algorithm: The pressure correction formula (Eq. 6.104) is approximate because we set equal to zero. Hence the term “Semi-implicit” in the name. This makes the pressure effect to be localized. 4/30/2019 Topic10_PresCorr_2

for the staggered grid given in Figure 6.15 Computational Fluid Dynamics (AE/ME 339) K. M. Isaac Pressure Correction Method MAEEM Dept., UMR for the staggered grid given in Figure 6.15 Guess at all pressure nodes and set arbitrarily at the appropriate velocity nodes. Solve for using Eqs. (6,94) and (6.95) respectively. Substitute these values of in Eq. (104) and solve for p’ at the interior nodes (boundary nodes will be treated separately). Relaxation procedure would work. Calculate at all nodes. The values of (p)n+1obtained in the previous step are used for solving the momentum equations. 6. Repeat steps 2-5 until convergence criteria are satisfied. 4/30/2019 Topic10_PresCorr_2

in the sense that solution obtained from this procedure will not be Computational Fluid Dynamics (AE/ME 339) K. M. Isaac Pressure Correction Method MAEEM Dept., UMR The superscript (n) and (n+1) used in the above equations are pseudo-time in the sense that solution obtained from this procedure will not be “time-accurate.” Therefore, the method essentially is a “time-dependent” method for steady state problems. (n) and (n+1) therefore, can be thought of as representing sequential iteration steps. The above procedure can cause the solution to diverge. Extensive use of “under-relaxation factors” is employed as a remedy. The following equation is an example of how under-relaxation factor can be used. where a is the under relaxation factor. 4/30/2019 Topic10_PresCorr_2

Boundary conditions for pressure correction method (6.8.6) Computational Fluid Dynamics (AE/ME 339) K. M. Isaac Pressure Correction Method MAEEM Dept., UMR Boundary conditions for pressure correction method (6.8.6) Insert Figure 6.18   4/30/2019 Topic10_PresCorr_2

At the inflow boundary: Computational Fluid Dynamics (AE/ME 339) K. M. Isaac Pressure Correction Method MAEEM Dept., UMR At the inflow boundary: p and v are specified, u is allowed to float. Therefore, p’ = 0 at the inflow boundary. Outflow boundary: p is specified and u and v are allowed to float. At the walls: No slip condition gives all velocities to be zero. The y-momentum (Eq. 6.79) equation at the wall can be written as:   Since v = 0 at the wall, the first term on the RHS will be zero. Also we approximate the second term to be zero because it is usually small. 4/30/2019 Topic10_PresCorr_2

Computational Fluid Dynamics (AE/ME 339) K. M. Isaac Pressure Correction Method MAEEM Dept., UMR 4/30/2019 Topic10_PresCorr_2

Therefore, we have the following approximate condition at the wall Computational Fluid Dynamics (AE/ME 339) K. M. Isaac Pressure Correction Method MAEEM Dept., UMR Therefore, we have the following approximate condition at the wall 4/30/2019 Topic10_PresCorr_2

Program Completed University of Missouri-Rolla Copyright 2002 Curators of University of Missouri 4/30/2019 Topic10_PresCorr_2