topic13_grid_generation

Slides:



Advertisements
Similar presentations
Matrix Representation
Advertisements

Chapter 8 Elliptic Equation.
By S Ziaei-Rad Mechanical Engineering Department, IUT.
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac Professor of Aerospace Engineering.
1 MECH 221 FLUID MECHANICS (Fall 06/07) Tutorial 6 FLUID KINETMATICS.
CHAPTER 8 APPROXIMATE SOLUTIONS THE INTEGRAL METHOD
ME 231 Thermofluid Mechanics I Navier-Stokes Equations.
Systems and Matrices (Chapter5)
Scientific Computing Partial Differential Equations Introduction and
Copyright © 2007 Pearson Education, Inc. Slide 7-1.
Copyright © 2007 Pearson Education, Inc. Slide 7-1.
1 EEE 431 Computational Methods in Electrodynamics Lecture 4 By Dr. Rasime Uyguroglu
Linear algebra: matrix Eigen-value Problems Eng. Hassan S. Migdadi Part 1.
CIS/ME 794Y A Case Study in Computational Science & Engineering 2-D Conservation of Mass uu dx dy vv (x,y)
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac Professor of Aerospace Engineering Introduction and Scope.
Engineering Analysis – Computational Fluid Dynamics –
1 Chapter 6 Flow Analysis Using Differential Methods ( Differential Analysis of Fluid Flow)
1 Section 5.3 Linear Systems of Equations. 2 THREE EQUATIONS WITH THREE VARIABLES Consider the linear system of three equations below with three unknowns.
Lecture Objectives: Define 1) Reynolds stresses and
Lecture Objectives: - Numerics. Finite Volume Method - Conservation of  for the finite volume w e w e l h n s P E W xx xx xx - Finite volume.
Advanced Numerical Techniques Mccormack Technique CFD Dr. Ugur GUVEN.
Chapter 7: Systems of Equations and Inequalities; Matrices
Modeling and Simulation Dr. Mohammad Kilani
Finite Difference Methods
Chapter 30.
ECE 3301 General Electrical Engineering
Boyce/DiPrima 9th ed, Ch 10.8 Appendix A: Derivation of the Heat Conduction Equation Elementary Differential Equations and Boundary Value Problems, 9th.
Computer Graphics Lecture 37
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
Copyright © Cengage Learning. All rights reserved.
ME/AE 339 Computational Fluid Dynamics K. M. Isaac Topic2_PDE
Topic 6 FluidFlowEquations_Introduction
Analytical Tools in ME Course Objectives
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac 12/3/2018
Topic 3 Discretization of PDE
topic13_grid_generation
One dimensional Poisson equation
Computer Graphics Lecture 36 CURVES II Taqdees A. Siddiqi
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac
topic8_NS_vectorForm_F02
topic13_grid_generation
topic4: Implicit method, Stability, ADI method
topic4: Implicit method, Stability, ADI method
Topic 3 Discretization of PDE
topic16_cylinder_flow_relaxation
Topic 5 NavierStokes Equations
topic11_shocktube_problem
Copyright © Cengage Learning. All rights reserved.
topic4: Implicit method, Stability, ADI method
Topic 6 NavierStokes Equations
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac 2/28/2019
Steady-State Heat Transfer (Initial notes are designed by Dr
Topic9_Pressure_Correction
topic8_NS_vectorForm_F02
topic11_shocktube_problem
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac 4/30/2019
Topic 8 Pressure Correction
topic4: Implicit method, Stability, ADI method
Laplace Transforms Important analytical method for solving linear ordinary differential equations. - Application to nonlinear ODEs? Must linearize first.
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
Laplace Transforms Important analytical method for solving linear ordinary differential equations. - Application to nonlinear ODEs? Must linearize first.
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:

topic13_grid_generation AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac February 22, 2019 topic13_grid_generation

topic13_grid_generation Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR The basic idea behind grid generation is the creation of the transformation laws between the physical space and the computational space. These laws are known as the metrics of the transformation. We have already performed a simple grid generation without realizing it for the flow over a heated wall when we used the t, x, h coordinates for the numerical scheme. This was simply a transformation from one rectangular domain to another rectangular domain. February 22, 2019 topic13_grid_generation

topic13_grid_generation Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR Grid Generation (Chapter 5) Quality of the CFD solution is strongly dependent on the quality of the grid. Why is grid generation necessary? Figure 5.1(next slide)can be used to explain. Note that the standard finite difference methods require a uniformly spaced rectangular grid. If a rectangular grid is used, few grid points fall on the surface. Flow close to the surface being very important in terms of forces, heat transfer, etc., a rectangular grid will give poor results in such regions. Also uniform grid spacing often does not yield accurate solutions. Typically, the grid will be closely spaced in boundary layers. February 22, 2019 topic13_grid_generation

topic13_grid_generation Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR Rectangular grid on curved boundary. Few grid points lie on the boundary February 22, 2019 topic13_grid_generation

topic13_grid_generation Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR Figure shows a physical flow domain that surrounds the body and the corresponding rectangular flow domain. Note that if the airfoil is cut and the surface straightened out, it would form the x-axis. Similarly, the outer boundary would become the top boundary of the computational domain. The left and right boundaries of the computational domain would represent the cut surface. Note the locations of points a, b, and c in the two figures. February 22, 2019 topic13_grid_generation

topic13_grid_generation Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR Note that in the physical space the cells are not rectangular and the grid is uniformly spaced. There is a one-to-one correspondence between the physical space and the computational space. Each point in the computational space represents a point in the physical space. The procedure is as follows: 1. Establish the necessary transformation relations between the physical space and the computational space 2. Transform the governing equations and the boundary conditions into the computational space. 3. Solve the equations in the computational space using the uniformly spaced rectangular grid. 4. Perform a reverse transformation to represent the flow properties in the physical space. February 22, 2019 topic13_grid_generation

topic13_grid_generation Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR General Transformation Relations Consider a two-dimensional unsteady flow with independent variables t, x, y. The variables in the computational domain are represented by t, x, h, and The relations between the two sets of variables can be represented as follows.   February 22, 2019 topic13_grid_generation

topic13_grid_generation Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR The derivatives appearing in the governing equations must be transformed using the chain rule of differentiation.   The subscripts are used to emphasize significance of the partial derivatives and they will not be included in the equations that follow. February 22, 2019 topic13_grid_generation

topic13_grid_generation Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR February 22, 2019 topic13_grid_generation

topic13_grid_generation Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR The first derivatives in the governing equations can be transformed using Eqs. (5.2), (5.3) and (5.5). The coefficients of the transformed derivatives such as the ones given below are known metrics.   Similarly, chain rule should be used to transform higher order derivatives. Example: February 22, 2019 topic13_grid_generation

topic13_grid_generation Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR Metrics and Jacobian (5.3) In CFD, the metric terms are not often available as analytical expressions. Instead they are often represented numerically. The following inverse transformation is often more convenient to use than the original transformation   February 22, 2019 topic13_grid_generation

topic13_grid_generation Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR Let x = x(x, h), y = y(x, h) and u = u(x, y). then we can write   Eqs. (5.21) and (5.22) are two equations for the two unknown derivatives. February 22, 2019 topic13_grid_generation

topic13_grid_generation Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR Solving for the partial derivate w. r. t. x gives (using Cramer’s rule)   Define the Jacobian, J, as Eq. (5.22) can now be written in terms of I. February 22, 2019 topic13_grid_generation

topic13_grid_generation Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR Similarly we can write the derivative w.r.t y as   and we can define the following February 22, 2019 topic13_grid_generation

topic13_grid_generation Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR The above equations can be easily extended to three space dimensions (x, y an z). The above equations can also be obtained formally as follows   February 22, 2019 topic13_grid_generation

topic13_grid_generation Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR Similarly   February 22, 2019 topic13_grid_generation

topic13_grid_generation Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR Eq. (5.30) can be solved for dx, dh February 22, 2019 topic13_grid_generation

topic13_grid_generation Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR   Using results from matrix algebra for inversion of matrices, RHS can be written as follows February 22, 2019 topic13_grid_generation

topic13_grid_generation Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR Since the determinants of a matrix and its transpose are the same we can write Substitute Eq. (5.34) into Eq. (5.33) February 22, 2019 topic13_grid_generation

topic13_grid_generation Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR Comparing corresponding elements of the two matrices on the LHS and the RHS gives the following relations. February 22, 2019 topic13_grid_generation

topic13_grid_generation Program Completed University of Missouri-Rolla Copyright 2002 Curators of University of Missouri February 22, 2019 topic13_grid_generation