MA/CS471 Lecture 8 Fall 2003 Prof. Tim Warburton

Slides:



Advertisements
Similar presentations
Finite Volume II Philip Mocz. Goals Construct a robust, 2nd order FV method for the Euler equation (Navier-Stokes without the viscous term, compressible)
Advertisements

Lecture 15: Capillary motion
PH0101 UNIT 2 LECTURE 31 PH0101 Unit 2 Lecture 3  Maxwell’s equations in free space  Plane electromagnetic wave equation  Characteristic impedance 
By S Ziaei-Rad Mechanical Engineering Department, IUT.
MANE 4240 & CIVL 4240 Introduction to Finite Elements Introduction to differential equations Prof. Suvranu De.
1 MECH 221 FLUID MECHANICS (Fall 06/07) Tutorial 6 FLUID KINETMATICS.
Fluids. Eulerian View  In a Lagrangian view each body is described at each point in space. Difficult for a fluid with many particles.  In an Eulerian.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 11 Instructor: Tim Warburton.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 9 Instructor: Tim Warburton.
1 Finite-Volume Formulation. 2 Review of the Integral Equation The integral equation for the conservation statement is: Equation applies for a control.
Volume of Rectangular Prisms
Definitions and formulas for the shapes you love Perimeter and Area.
Introduction The distance formula can be used to find solutions to many real-world problems. In the previous lesson, the distance formula was used to find.
S3 BLOCK 8 Area and volume Area Learning Outcomes
Area Learning Outcomes I can find the area of the following 2D shapes.  Rectangle  Triangle  Trapezium  Parallelogram  Circle S3 BLOCK 8 Area and.
Scientific Computing Partial Differential Equations Introduction and
S3 BLOCK 8 Area and volume 1. Area I can find the area of the following 2D shapes.  Rectangle  Triangle  Trapezium  Circle.
The Finite Volume Method
PTT 204/3 APPLIED FLUID MECHANICS SEM 2 (2012/2013)
Finite Element Method.
Magnetic Induction April 1, 2005 Happenings Short Quiz Today New Topic: Magnetic Induction (Chapter 30) Quiz NEXT Friday Exam #3 – April 15 th. Should.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 5a.
Discontinuous Galerkin Methods and Strand Mesh Generation
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 21.
A conservative FE-discretisation of the Navier-Stokes equation JASS 2005, St. Petersburg Thomas Satzger.
Discontinuous Galerkin Methods for Solving Euler Equations Andrey Andreyev Advisor: James Baeder Mid.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 8.
1 MA/CS471 Lecture 7 Fall 2003 Prof. Tim Warburton
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.)
Stable, Circulation- Preserving, Simplicial Fluids Sharif Elcott, Yiying Tong, Eva Kanso, Peter Schröder, and Mathieu Desbrun.
Introduction to Level Set Methods: Part II
J.-Ph. Braeunig CEA DAM Ile-de-FrancePage 1 Jean-Philippe Braeunig CEA DAM Île-de-France, Bruyères-le-Châtel, LRC CEA-ENS Cachan
MA/CS 375 Fall MA/CS 375 Fall 2002 Lecture 12.
© Fluent Inc. 11/24/2015J1 Fluids Review TRN Overview of CFD Solution Methodologies.
CONVECTIVE FLUX, FLUID MASS CONSERVATION
Improved Simulation of Hydraulic System Pressure Transients Using EASY5 Dr. Arun K. Trikha Associate Technical Fellow The Boeing Company (206)
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 24.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 23.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 12 Instructor: Tim Warburton.
FALL 2015 Esra Sorgüven Öner
Discretization Methods Chapter 2. Training Manual May 15, 2001 Inventory # Discretization Methods Topics Equations and The Goal Brief overview.
Strength of Materials Malayer University Department of Civil Engineering Taught by: Dr. Ali Reza Bagherieh In The Name of God.
CHANGSHENG CHEN, HEDONG LIU, And ROBERT C. BEARDSLEY
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 17.
Multiplication of vectors Two different interactions (what’s the difference?)  Scalar or dot product : the calculation giving the work done by a force.
SPH weekly meeting Free surface flows in Code Saturne Results 23/11/2009 Olivier Cozzi.
Introduction to Meshes Lecture 22 Mon, Oct 20, 2003.
The story so far… ATM 562 Fovell Fall, Convergence We will deploy finite difference (FD) approximations to our model partial differential equations.
Welcome to our sixth seminar! We’ll begin shortly.
The Volume of 3 Dimensional Shapes 5 in 4 in 5 in 4 in We had previously learned the definition of the Area of an object. So what is Area? Find the area.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 28.
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.
Implementing Finite Volume Methods 1.  Continue on Finite Volume Methods for Elliptic Equations  Finite Volumes in Two-Dimensions  Poisson’s Equation.
Applied Electricity and Magnetism
Part 8 - Chapter 29.
EEE 431 Computational Methods in Electrodynamics
Modeling of Traffic Flow Problems
5. Conductors and dielectrics
Curl and Divergence.
Lecture 19 MA471 Fall 2003.
Lecture 30 Wave Equation and solution (Chap.47)
Area and Volume Area is the amount of space contained in a two-dimensional figure Volume is the amount of space in a three-dimensional figure.
Objective Review Reynolds Navier Stokes Equations (RANS)
Finite Difference Method
Topic 3 Discretization of PDE
Lecture 3 : Isosurface Extraction
Volume Graphics (lecture 4 : Isosurface Extraction)
Finite Volume Method Philip Mocz.
Topic 3 Discretization of PDE
Topic 3 Discretization of PDE
Presentation transcript:

MA/CS471 Lecture 8 Fall 2003 Prof. Tim Warburton

Today Today we are going to discuss implementation of the simplest possible partial differential equations: Example domain discretization (L-shape domain with 3 cells):

Traveling Wave Solutions in 1D and 2D This PDE is the two-dimensional analogue to the PDE we saw last time: 2D 1D Solutions: t=0: Later t:

In Words The initial condition is translated with velocity: i.e. the density does not change shape – it simply translates with a constant velocity.

Conservation Law We first divide the full domain into quadrilateral cells. For each cell e the following conservation law holds: i.e. the total density change in a cell e is equal to the flux of density through the boundary of e -- or – the rate of change of material in the cell e is equal to the amount “translated” through the boundary.

Boundary Conditions Where do we need to apply boundary conditions: Hint – which way is the solution translating?

Boundary Conditions Where do we need to apply external boundary conditions ?: i.e. wherever where is the outwards facing normal for the cell e at the face f : e

Definition of Cell Average and Area

Use Upwinding At Boundary of e The tau variable acts as a switch. If tau=1 at a face then rho is approximated by the local cell average at the face If tau=0 at a face then rho is approximated by the neighbor cell average.

Upwind Switch In this case so i.e. for the surface flux term we should use the cell average density from the neighbor cell. rho e,1+ rho e

Euler Forward In Time For each cell we now have a discrete space in time and space which will compute approximations the cell average density at a given time level. We do need to specify an initial value at each cell for the cell average density We also need to specify boundary conditions at “inflow” edges.

Summary of Scheme

The time rate of change of total density in the cell e The flux through the boundary of the four faces of cell e

Implementation What do we need for the implementation: (1) A list of vertex locations (x0,y0,x1,y1…) (2) For each cell e a list of the four vertices (3) A routine to calculate the area of each cell {A e } (4) A routine to calculate the length of each cell edge {A e,f } (5) A routine to calculate the outwards facing normal to each cell edge (6) A routine to calculate the inflow switch tau for each cell edge. (7) A routine to calculate the initial density profile. (8) A routine to calculate dt in the following way (9) A routine to figure out which cells connect to each cell.

Details 1)Compute cell area by dividing each cell into two triangles, find their areas, and sum up. 2)Do not assume cells are right-angled quadrilaterals (can be deformed). 3)To compute normal to a face:

16 Project 2: continued Create a serial version of the 2d finite volume scheme for the above one way wave equation. Make it parallel.

17