Professional Documents
Culture Documents
Dissipation
Dispersion
Both the dissipation and dispersion terms are zero for the CFL number, c = 1 This happens for the higher order terms also. Hence, FTBS is exact for a CFL for 1 with the wave equation Note that as c decreases, the MDE has a higher coefficient of dissipation. This is what was reflected in our simulations
See Hoffmann and Chiang, Vol 1, Appendix C for the algebra in all its glory
Gives the exact solution because FTBS has the same form as the exact solution for CFL = 1 All the truncation error terms in the MDE cancel for CFL = 1
Solution diffusive because of the dissipative term in the MDE is not zero. Note that the MDE is still consistent as truncation error goes to zero as grid size decreases
Solution diffusive because of the dissipative term in the MDE is not zero. Since 1-c is smaller than that for CFL = 0.5, solution is less dissipative for this CFL.
Solution anti-diffusive because of the coefficient of artificial dissipation is negative. (Never, never confuse this for the whole dissipation term itself) This gives additional significance to why the CFL 1 for stability
FTFS
The original equation is used in the Taylor series expansion to obtain the finite difference equation. Hence, spatial and temporal derivatives are connected Second order accurate in space and time Stability for c 1
Solution is oscillatory, unlike FTBS Solution shows both dissipation and dispersion
Solution is oscillatory, unlike FTBS Solution shows both dissipation and dispersion. More of all non-idealities than CFL = 0.9
Solution is oscillatory, unlike FTBS Solution shows both dissipation and dispersion. More of all non-idealities than CFL = 0.9
Can be viewed as addition of artificial dissipation to FTCS. For CFL < 1, the dissipation is not enough to kill all the oscillations caused by the central scheme. (When would the scheme be the same as FTBS?) Since the scheme is second order accurate, the truncation error term starts with a third order derivative which explains the dispersion
BTBS
u in++11 u in + 1 u in + 1 u in + a t x
= 0
= 0
Crank Nicholson
The stability restriction on the time step explicit schemes for the wave equation is proportional to the grid size unlike the parabolic equation where is it is proportional to x2 Since we require accurate solutions in time, the time step is already restricted even for implicit schemes by the accuracy constraint Often, we dont gain anything by using implicit schemes for the wave equation. Explicit schemes are hence far more used for hyperbolic problems and for the Navier-Stokes, the convective terms are often computed explicitly.
Summary of Lecture 10
Modified Differential Equation (MDE) for FTBS shows why it is increasingly dissipative as CFL decreases FTBS is a first-order upwind method. Higher order upwind methods can also be derived Lax-Wendroff : Explicit scheme which is second accurate in time and space. However, it adds non-physical oscillations and is also dispersive
Deriving finite difference formulas of any order for a uniform and non-uniform stencil
Taylor series table, polynomial fit
Assignments,Minors,Projects, etc
Assignments Next assignment will be given tomorrow. Please submit the previous assignment by then No late assignments from now on Minors Minor 2 will be a take home exam i.e. effectively a (longish!) homework except that no discussions would be allowed. Final Project Will not be a long coding exercise but analysis of a subject and a few papers. Please give me a subject of your interest and I can find something of interest to you (by this Friday). If you do not have anything particular you are interested in, I can assign you something by myself. Etc Please fill in the mid-term evaluations and return them to me
Assignments,Minors,Projects, etc
Assignments Next assignment will be given tomorrow. Please submit the previous assignment by then No late assignments from now on Minors Minor 2 will be a take home exam i.e. effectively a (longish!) homework except that no discussions would be allowed. Final Project Will not be a long coding exercise but analysis of a subject and a few papers. Please give me a subject of your interest and I can find something of interest to you (by this Friday). If you do not have anything particular you are interested in, I can assign you something by myself. Etc Please fill in the mid-term evaluations and return them to me
All of them express the same physical law but one form or the other can be more correct for numerical approximation. The laws of physics a fluid obeys at every point
Conservation of mass. Newtons second Law. F = ma Conservation of energy
Concept of a fluid
What distinguishes a fluid from a solid?
A fluid deforms continuously under an applied shear force (i.e. a force tangential to its surface) Hence, on a static free surface will always be perpendicular to the net force. Note: A fluids resistance depends on rate of strain (i.e. rate of deformation) instead of strain. Linear elastic solid => Stress is proportional to strain Newtonian fluid => Stress is proportional to rate-of-strain
Net force
Density and other quantities are molecular averages over a volume which is big enough to contain sufficient molecules but small enough not to include macroscopic variations
Differential Analysis
Concentrate on the dynamics of an infinitesimal fluid element and apply the physical conservation laws Results in differential form of equations Can derive finite difference methods from this form of equations The equation does not hold through discontinuities as derivatives are not defined
Differential Analysis
Concentrate on the dynamics of an infinitesimal fluid element and apply the physical conservation laws Results in differential form of equations Can derive finite difference methods from this form of equations The equation does not hold through discontinuities as derivatives are not defined
Two perspectives of looking at flow Eulerian : Looking at a fixed point in space Lagrangian : Following an individual material particle. Physical laws are known for individual particles but we are interested at a fixed point in space. The connection between the two ideas: The substantial derivative
Taylor series
d D dt Dt
Conservation of mass
Mass is conserved => Rate of change of mass in volume = Inlet mass flux Outgoing mass flux
Momentum equation
To give an idea of an alternate approach (the previous approach would give the same result), consider a moving infinitesimal fluid element
r r Dv Use a = Dt
Newtonian fluid
Stokes hypothesis
Energy equation
Uses first law of thermodynamics
Equations of motion
Continuity (mass) System of coupled, non-linear PDEs
Momentum
Energy
Summary
Concept of a fluid: Deforms continuously under shear Continuum hypothesis Eulerian and Lagrangian viewpoints Conservation equations Continuity: Mass is conserved Momentum : F = ma Energy. First law of thermodynamics These laws + some constitutive laws give the full equations for flow The full equations can be simplified for various cases : inviscid, incompressible, boundary layers, low Reynolds number, etc. The simplified equations often also exhibit purely hyperbolic, elliptic, parabolic etc.