Numerical methods for differential equations
Introduction
PDEs
- Elliptic
- Parabolic
- Hyperbolic
- Advection - Diffusion
- Stokes - Navier-Stokes
Unknown: u(x) u(x,t)
1) Elliptic problems
\[-Δu = f\] or \[ -div(▽u) = f \] , or \[ \frac{∂^2u}{∂x^2} - \frac{∂^2u}{∂y^2} = f (\text{in 2D}) \]
e.g. \[ \int div \ q = f \quad (\text{Heat transfer}) \] \[ q = -k ▽T \ (\text{Fourier}) \]
Could be either constant or variable e.g. deformation of elastic rod → boundary conditions
In order to solve the problem bc must be added:
- ΓD: Dirichlet boundary → b.c.: u = g(x)
- ΓN: Neumann boundary → b.c.: -▽u•n = h(x)
- ΓR: Robin boundary → b.c. linear combination of ΓN, ΓD: αu + β▽u • n = l(x)
Velocity of propagation of info is infinite in any direction: any perturbation is immediately felt everywhere.
2) Parabolic problems
\[ \frac{∂u}{∂t} - Δu = f \] (Unsteady counterpart of Elliptic Problems)
1st order time derivative requires an i.c.: u(x,0) = u0(x)
bc are the same as before, but g, h, l can be also functions of time
In elastic problem example:
- Dirichlet → imposed displacement
- Neumann → imposed traction
Numerical methods for differential eqns
Introduction
PDEs model problems
- Elliptic
- Parabolic
- Hyperbolic
- Advection-Diffusion
- Stokes - Navier-Stokes
Unknown: u(x)u(x, t)
Elliptic problems
-Δu = for -div(∇u) = f , or ∂2u/∂x2 + ∂2u/∂y2 = f (in 2D)
e.g. ∫div q = f (Heat Transfer)
q = -k∇T (Fourier)
e.g. deformation of elastic rod
In order to solve the problem b.c. must be added:
- ΓD: dirichlet boundary ➔ b.c.: u = g(x)
- ΓN: neumann boundary ➔ b.c.: -∇u·n = h(x)
- ΓR: robin boundary ➔ b.c. Linear combination of ΓN, ΓD: αu +β∇u·n = ℓ(x)
Velocity of propagation of info is infinite in any direction: any perturbation is immediately felt everywhere
Parabolic problems
∂u/∂t - Δu = f(Unsteady counterpart of Elliptic Problems)
1st order time derivative requires an i.c. : u(x,0) = u0(x)
b.c. are the same as before, but g, h, ℓ can be also functions of time
In elastic problem example: dirichlet ➔ imposed displacement neumann ➔ imposed traction
If purely Neumann conditions on all the boundary we have a constant & NOT well posed problem , so we need a piece of boundary with Dirichlet conditions.
In theory, in parabolic problems time can go to infinity (coil to interval); more often time domain of definition of the problem is limited, so :
Domain of definition of the problem: Ω x (0, T]
Velocity of propagation as in elliptic, is infinite ; there is, obviously, a preferential direction in time (forward, from i.c.), although backward problems in time are also common.
B) Hyperbolic problems
They include waves equation (sound, elastic...), Euler equations,...
We'll limit to 1st order. Linear hyperbolic equations in 1D :
∂u/∂t + ∂u/∂x = 0 (Transport equation)
(Transport field) (velocity, for example)
Since we do not have diffusion, the i.c. will be transported without deformations.
For b.c. situation is totally ≠ from the previous ones, because we have a finite velocity of propagation of the info and a preferential direction : what happens downstream is influenced by what happens upstream.
Info travels downstream → b.c. have to be provided upstream, not needed downstream
In multi-dimensional case:
Usually I have to provide b.c. in case I have ∂ · n < 0 (Domain of dependence: what happens downstream is influenced by upstream.)
If a = const. analytical solution is u(x, t) = u0 (x - a t) prediction of amplitude propagation...
There are cases in which u is a vector, A a matrix ⇒ system of hyperbolic equations
∂u/∂t + A ∂u/∂x = 0
4) Advection-Diffusion problems
Could be seen as 1.a. or 2.a. from mathematical point of view fits into elliptic/parabolic
1.a) -μ ▽ ⋅ ▽ u + b ⋅ ▽ u = f(steady)
(diffusion coefficient) (transport term)
2.a) ∂u/∂t -μ ▽ ⋅ ▽ u + b ⋅ ▽ u = f
More generally
∂u/∂t - μ Δu + b · ∇u + ru = f
- Diffusion + transport - reaction
- Advection - convection - reaction
- Reaction (e.g. chemical reaction)
- If transport dominant, more similar to hyperbolic problems (|b| >> μ)
- If diffusion dominant, more similar to elliptic/parabolic equation (|b| << μ)
b.c. must be provided for all the domain (diff. term is the most important), and i.c. as well
Navier-Stokes or Stokes equations
∂y/∂t + (y · ∇)y - μ Δy + ∇p = f
div (y) = 0
non-linear term, one of the main issues
Wide possibility of b.c.
b. Stokes problem (steady):
{ - Δu + ∇p = f
{ - div(u) = 0 meaningful approximation of Navier-Stokes, to understand its main issues
Properties of numerical methods we'll use to analyze problems
Generic physical problem
P(u,g) = 0
- Unknown (scalar or vector)
- d: differential operator
- Data
Well posedness
- The solution exists
- The solution is unique
- The solution depends continuously on the data
∀E>0 ∃δ>0 ∃J⊆J(E) ; P(uδ, gδ + δg) = 0 , |δj|∈J <= δ ⇒ |u-uδ| <= E
If bounded perturbation on the data; perturbation on the solution can be controlled ⟺ ‖u‖ ≤ ‖g‖C→ here a slight modification on the data implies great modifications on the solution (from u to 2 or more) ⇒ Not well-posed
We will always consider well-posed problems
-
Introduction To Private Law
-
Introduction to management
-
Introduction, Waterjet, Hydroforming
-
Introduction to Law