AE/ME 339. K. M. Isaac. 8/31/2004 topic4: Implicit method, Stability, ADI method. Computational Fluid Dynamics (AE/ME 339) MAEEM Dept.

Similar documents
FUNDAMENTALS OF FINITE DIFFERENCE METHODS

BAR & TRUSS FINITE ELEMENT. Direct Stiffness Method

3/31/ = 0. φi φi. Use 10 Linear elements to solve the equation. dx x dx THE PETROV-GALERKIN METHOD

MEMBRANE ELEMENT WITH NORMAL ROTATIONS

Additional Codes using Finite Difference Method. 1 HJB Equation for Consumption-Saving Problem Without Uncertainty

Transfer Functions. Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: ( ) system

Complex Numbers Practice 0708 & SP 1. The complex number z is defined by

Solutions to selected problems from homework 1.

SE Story Shear Frame. Final Project. 2 Story Bending Beam. m 2. u 2. m 1. u 1. m 3. u 3 L 3. Given: L 1 L 2. EI ω 1 ω 2 Solve for m 2.

CLOSED-FORM CHARACTERIZATION OF THE CHANNEL CAPACITY OF MULTI-BRANCH MAXIMAL RATIO COMBINING OVER CORRELATED NAKAGAMI FADING CHANNELS

CHAPTER 5 NUMERICAL EVALUATION OF DYNAMIC RESPONSE

Lecture 21: Numerical methods for pricing American type derivatives

Solutions to exam in SF1811 Optimization, Jan 14, 2015

Chapter 4 The Wave Equation

CME 302: NUMERICAL LINEAR ALGEBRA FALL 2005/06 LECTURE 13

Problem Set 1 Issued: Wednesday, February 11, 2015 Due: Monday, February 23, 2015

Computer Graphics. Curves and Surfaces. Hermite/Bezier Curves, (B-)Splines, and NURBS. By Ulf Assarsson

Exact Solutions for Nonlinear D-S Equation by Two Known Sub-ODE Methods

Lecture 13 APPROXIMATION OF SECOMD ORDER DERIVATIVES

Numerical Heat and Mass Transfer

Chapter 12. Ordinary Differential Equation Boundary Value (BV) Problems

C/CS/Phy191 Problem Set 3 Solutions Out: Oct 1, 2008., where ( 00. ), so the overall state of the system is ) ( ( ( ( 00 ± 11 ), Φ ± = 1

First day August 1, Problems and Solutions

Discretization. Consistency. Exact Solution Convergence x, t --> 0. Figure 5.1: Relation between consistency, stability, and convergence.

Implicit Integration Henyey Method

C PLANE ELASTICITY PROBLEM FORMULATIONS

MMA and GCMMA two methods for nonlinear optimization

FTCS Solution to the Heat Equation

Appendix B. The Finite Difference Scheme

The equation of motion of a dynamical system is given by a set of differential equations. That is (1)

2.29 Numerical Fluid Mechanics Spring 2015 Lecture 10

u(x, t) = u 0 (x ct). This Riemann invariant u is constant along characteristics λ with x = x 0 +ct (u(x, t) = u 0 (x 0 )):

Delhi School of Economics Course 001: Microeconomic Theory Solutions to Problem Set 2.

This model contains two bonds per unit cell (one along the x-direction and the other along y). So we can rewrite the Hamiltonian as:

2.3 Nilpotent endomorphisms

Introduction to Turbulence Modelling

Finite Element Modelling of truss/cable structures

Topic 5: Non-Linear Regression

2 Finite difference basics

Consistency & Convergence

Introduction to elastic wave equation. Salam Alnabulsi University of Calgary Department of Mathematics and Statistics October 15,2012

C PLANE ELASTICITY PROBLEM FORMULATIONS

Traceability and uncertainty for phase measurements

Lecture 2: Numerical Methods for Differentiations and Integrations

P A = (P P + P )A = P (I P T (P P ))A = P (A P T (P P )A) Hence if we let E = P T (P P A), We have that

= = = (a) Use the MATLAB command rref to solve the system. (b) Let A be the coefficient matrix and B be the right-hand side of the system.

Dynamic Systems on Graphs

Chapter 5. Solution of System of Linear Equations. Module No. 6. Solution of Inconsistent and Ill Conditioned Systems

Salmon: Lectures on partial differential equations. Consider the general linear, second-order PDE in the form. ,x 2

Lecture 10 Support Vector Machines II

Hidden Markov Models & The Multivariate Gaussian (10/26/04)

STRATEGIES FOR BUILDING AN AC-DC TRANSFER SCALE

Nonlinear Network Structures for Optimal Control

Bézier curves. Michael S. Floater. September 10, These notes provide an introduction to Bézier curves. i=0

2.29 Numerical Fluid Mechanics Fall 2011 Lecture 12

Week3, Chapter 4. Position and Displacement. Motion in Two Dimensions. Instantaneous Velocity. Average Velocity

Handout # 6 (MEEN 617) Numerical Integration to Find Time Response of SDOF mechanical system. and write EOM (1) as two first-order Eqs.

The Exact Formulation of the Inverse of the Tridiagonal Matrix for Solving the 1D Poisson Equation with the Finite Difference Method

Solution 1 for USTC class Physics of Quantum Information

Bernoulli Numbers and Polynomials

Now that we have laws or better postulates we should explore what they imply

ME 501A Seminar in Engineering Analysis Page 1

EQUATION CHAPTER 1 SECTION 1STRAIN IN A CONTINUOUS MEDIUM

Random Walks on Digraphs

U.C. Berkeley CS294: Beyond Worst-Case Analysis Luca Trevisan September 5, 2017

1 GSW Iterative Techniques for y = Ax

Section 8.3 Polar Form of Complex Numbers

HOMOGENEOUS LEAST SQUARES PROBLEM

Digital Signal Processing

APPENDIX A Some Linear Algebra

One-sided finite-difference approximations suitable for use with Richardson extrapolation

EMISSION MEASUREMENTS IN DUAL FUELED INTERNAL COMBUSTION ENGINE TESTS

Difference Equations

CS 3750 Machine Learning Lecture 6. Monte Carlo methods. CS 3750 Advanced Machine Learning. Markov chain Monte Carlo

Relaxation Methods for Iterative Solution to Linear Systems of Equations

Solution of Equilibrium Equation in Dynamic Analysis. Mode Superposition. Dominik Hauswirth Method of Finite Elements II Page 1

Solution of Linear System of Equations and Matrix Inversion Gauss Seidel Iteration Method

Problem Set 9 Solutions

Lectures - Week 4 Matrix norms, Conditioning, Vector Spaces, Linear Independence, Spanning sets and Basis, Null space and Range of a Matrix

The Order Relation and Trace Inequalities for. Hermitian Operators

Constraining the Sum of Multivariate Estimates. Behrang Koushavand and Clayton V. Deutsch

The Bellman Equation

LINEAR REGRESSION ANALYSIS. MODULE IX Lecture Multicollinearity

Feb 14: Spatial analysis of data fields

Experimental Errors and Error Analysis

Nonlinear Programming Formulations for On-line Applications

Research Note NONLINEAR ANALYSIS OF SEMI-RIGID FRAMES WITH RIGID END SECTIONS * S. SEREN AKAVCI **

Primary Velocity Distribution in Open Channels with Different Vegetation Layout - Experiment and Numerical Simulation -

PHYS 705: Classical Mechanics. Canonical Transformation II

NON-CENTRAL 7-POINT FORMULA IN THE METHOD OF LINES FOR PARABOLIC AND BURGERS' EQUATIONS

MATH 5630: Discrete Time-Space Model Hung Phan, UMass Lowell March 1, 2018

u(x, t) = u 0 (x ct). This Riemann invariant u is constant along characteristics λ with x = x 0 +ct (u(x, t) = u 0 (x 0 )):

By Samuel Schechter. (1) H = i-î -1 with 1 ^ i,j g n. [a, b,j

MTH 263 Practice Test #1 Spring 1999

1 Matrix representations of canonical matrices

Convexity preserving interpolation by splines of arbitrary degree

Ph 219a/CS 219a. Exercises Due: Wednesday 23 October 2013

PHYS 705: Classical Mechanics. Calculus of Variations II

1 i. δ ε. so all the estimators will be biased; in fact, the less correlated w. (i.e., more correlated to ε. is perfectly correlated to x 4 i.

Research Article Cubic B-Spline Collocation Method for One-Dimensional Heat and Advection-Diffusion Equations

Transcription:

AE/ME 339 Comptatonal Fld Dynamcs (CFD) Comptatonal Fld Dynamcs (AE/ME 339) Implct form of dfference eqaton In the prevos explct method, the solton at tme level n,,n, depended only on the known vales of, -,n-,,n-, and +,n-, all whch are at tme level n-. n ote:,n and mean the same. We wll be sng these nterchangeably.

Comptatonal Fld Dynamcs (AE/ME 339) atre of solton n explct method can be llstrated graphcally as shown below. 3 Comptatonal Fld Dynamcs (AE/ME 339) In ths formlaton, solton at (,n),,n s affected only by the vales along and below bondary PQR (regon A) n the prevos fgre.vales n regon above PQR (regon B) do not nflence,n. Exact solton (x,y) at Q depends on the vales at all tmes earler than t n, a property of parabolc PDE. Is a lmtaton of the explct method. CFL crteron for stablty: 0 ( x) 4

Comptatonal Fld Dynamcs (AE/ME 339) Flly Implct Method The nodes sed n mplct method are llstrated n the fgre below 5 Comptatonal Fld Dynamcs (AE/ME 339) As before, crosses (x) denote grd ponts sed for ( t ) t for ( xx ) x The eqaton now becomes + ( x) n, + n,, n+ n, + +, n+ and crcles (o) 6 3

Comptatonal Fld Dynamcs (AE/ME 339) IC and BC are the same as before. ( ) 0, n+ g0 n + ( ) Mn, + g n +,0 f ( x) Eqatons smlar to the above shold be wrtten for each grd pont M ote: left bondary has 0 and rght bondary has M, ths total of (M+) grd ponts (also knows as nodes) are present. Ths we have (M-) lnear smltaneos eqatons wth (M-) nknowns. Explct solton s not possble. 7 Comptatonal Fld Dynamcs (AE/ME 339) Convergence of Implct form Can show sng Taylor seres λ λ + λ + z n, + n,, n+ n, + +, n+ n, Where zn, ( x) 4 tt + xxxx + O ( t) + O ( x) tt and xxxx are evalated at (, n+). 8 4

Comptatonal Fld Dynamcs (AE/ME 339) From the leadng n the above z n, O t+ ( x) It can be shown that mplct method converges to the exact solton of the PDE as 0 and x 0 for any vale of ( x) The dfference eqaton s now wrtten for M (+ λ) λ + λg ( t ), n+, n+, n 0 n+, n+ n, + +, n+ n, as follows. for for λ + (+ λ) λ M 9 Comptatonal Fld Dynamcs (AE/ME 339) Fnally, (show M, n fgre) λ + ( + ) g ( t ) M, n λ + + M, n+ M, n λ n+ for M 0 5

Comptatonal Fld Dynamcs (AE/ME 339) ote: In the matrx shown above, change n sbscrpt M- s adopted for smplcty. The RHS terms d,d, d are known qanttes. All matrx elements not shown are zero. The matrx above s called a trdagonal matrx.e., only sb-dagonal, dagonal, and sper dagonal terms are non zero. Solton can be obtaned by Gass elmnaton. Recrson solton γ c + Constants and γ are to be determned. Comptatonal Fld Dynamcs (AE/ME 339) Sbstttng nto the th eqaton of the set for - gves a γ c + b + c d + Rewrte as d aγ c + ac ac b b c γ + 6

Comptatonal Fld Dynamcs (AE/ME 339) ADI method Comparng the two eqatons we have recrson relatons for and γ ac b γ d aγ From the frst eqaton (see matrx n slde 0) d c b b b Where and γ d γ c + 3 Comptatonal Fld Dynamcs (AE/ME 339) From the last eqaton (see matrx n slde 0) d a b c γ + d c a γ b 4 7

Comptatonal Fld Dynamcs (AE/ME 339) Rearrangng yelds d a γ ac b γ c γ + 5 Comptatonal Fld Dynamcs (AE/ME 339) Algorthm smmary: Recrson formlas for and γ b, d γ ac b,, 3,, γ d aγ,,, 3,, 6 8

Comptatonal Fld Dynamcs (AE/ME 339) Once the coeffcents have been calclated, the solton vector can be calclated startng wth and gong backwards, as follows: γ c + γ, -, -,, ote: n denotes tme level and denotes the last bt one node n the -drecton. 7 Comptatonal Fld Dynamcs (AE/ME 339) Recrson formlas for b, d γ ac b γ and γ,, 3,, d aγ,,, 3,, Gass elmnaton can case large rond-off errors. Implct schemes sally reqre more comptatonal steps, bt the rato /( x) has no restrctons, s a defnte advantage. 8 9

Comptatonal Fld Dynamcs (AE/ME 339) Stablty (7.0) A fnte dfference form s convergent f the solton tends to the exact solton as (, x) 0 (n the absence of rond off error). Stablty refers to amplfcaton of nformaton present n IC, BC or ntrodced by errors n the nmercal procedre sch as rond off error. Von-emann s stablty analyss: Stablty mples only bondedness, not the magntde of devaton from the tre solton. Key featres of stablty analyss: Assme that: ) At any stage, t0 here, a Forer expanson can be made of some ntal fncton f(x), and a typcal term n the expanson can be wrtten as e jx where s a postve constant and j 9 Comptatonal Fld Dynamcs (AE/ME 339) ) Separaton of tme and space dependence can be made. j x At tme t, the term becomes ψ ( t) e By sbstttng n the dfference eqaton, the form of ψ(t) can be determned and stablty crteron establshed. Example Explct fnte dfference form + ( x) n, + n,, n n, +, n Sbsttte for each. 0 0

Comptatonal Fld Dynamcs (AE/ME 339) ψ( t+) e jx ψ( t) e jx ψ( t) j ( x x) j x j ( x x) t ( ) e e e + + x Cancel exp (jx) throghot ψ( t + t) ψ( t) λ( e j x e j x + + ) e θ + e θ Trg. dentty: Cos ( θ ) can be sed to get ψ ( t + t) ψ ( t) + λ( + cos( x)) Comptatonal Fld Dynamcs (AE/ME 339) Snce cosθ sn ( θ / ) ( ) ( ) sn x ψ t + t ψ t λ ψ ( t t) ψ( t) 4λsn x + If we choose ψ(0), ths has the solton ( ) ( / x ) ψ () t 4λsn( /) t t And can be proven by sbsttton (see next slde).

Comptatonal Fld Dynamcs (AE/ME 339) ( ) ( )/ ψ ( t + t) 4λsn ( x/) t+ ψ()4 t λsn ( x/) For stablty, ψ(t) mst be bonded as (, x) 0 Ths reqres 4λsn ( x /) An amplfcaton factor ξ s sally defned as follows: 3 Comptatonal Fld Dynamcs (AE/ME 339) ξ 4λ sn ( x / ) Whch shows ξ for stablty. In the Forer expanson we consdered only one term correspondng to vale of. When all possble vales of are consdered sn( x/) cold become. Therefore, the stablty condton becomes λ ( x) λ 0.5, ξ λ.0, ξ 3 (nstable) Inttvely t mples that,n affects,n+ n a non-negatve manner. 4

Comptatonal Fld Dynamcs (AE/ME 339) A smlar analyss for the mplct method wold gve ξ + 4λsn ( x /) Snce ξ for all λ, the procedre s ncondtonally stable. Consstency means that the procedre may n fact approxmate the solton of the PDE nder stdy and not the solton of some other PDE. 5 Program Completed Unversty of Mssor-Rolla Copyrght 00 Crators of Unversty of Mssor 6 3