Docsity

Partial Differential Equations - Computational Fluid Dynamics - Lecture Slides, Slides of Dynamics

Toggle sidebar
bg1
Computational Fluid Dynamics (AE/ME 339)
This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.
This image cannot currently be displayed.
This image cannot currently be displayed.
This image cannot currently be displayed.
Partial Differential Equations (PDE) (CLW: 7.1, 7.3, 7.4)
PDE’s can be linear or nonlinear
Order : Determined by the order of the highest derivative.
Linear, 2nd order PDE’s are classified as the elliptic, hyperbolic
Parabolic type.
0
32
1
2
2
3
2
2
2
2
2
1
=++
∂
∂
+
∂
∂
+
∂
∂
+
∂
∂
+
∂
∂
+
∂
∂
DCu
z
u
B
y
u
B
x
u
B
z
u
A
y
u
A
x
u
A
Example:
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15

Partial preview of the text

Download Partial Differential Equations - Computational Fluid Dynamics - Lecture Slides and more Slides Dynamics in PDF only on Docsity!

Partial Differential Equations (PDE) (CLW: 7.1, 7.3, 7.4)^ This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.^ This image cannot currently be displayed.^ This image cannot currently be displayed. PDE’s can be linear or nonlinear Order : Determined by the order of the highest derivative. Linear, 2 Parabolic type. nd^ order PDE’s are classified as the elliptic, hyperbolic

2 1

2 2 3

2 2 2

2 1

B uy B uz Cu D

x

B u

z

A u

y

A u

x

A u

Example:

This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed. This image cannot currently be displayed. This image cannot currently be displayed. Coefficients (^) A 1 (^) , A 2 , A 3 May be +1, -1 or zero. u is the dependent variable and x, y, z are the independent variables. Note that we do not have any cross-derivative terms. Classification:

A 1 (^) , A 2 (^) , A 3 (^) are non-zero and have the same sign, then PDE is of the elliptic type.

Elliptic:

Examples^ This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.^ This image cannot currently be displayed.^ This image cannot currently be displayed.

2 2 2 2 0

u u x y

∂ (^) + ∂ = ∂ ∂

Elliptic

Hyperbolic 2 2 2 2 2 2

u u u t x y

∂ (^) = ∂ (^) + ∂ ∂ ∂ ∂ Parabolic 2 2 2 2

u u u t x y

∂ (^) = ∂ (^) + ∂ ∂ ∂ ∂ Docsity.com

Numerical solution of PDE requires a finite number of points to^ This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.^ This image cannot currently be displayed.^ This image cannot currently be displayed. Descretize the equations. Examples:

See Figure in the next slide.

This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed. This image cannot currently be displayed. This image cannot currently be displayed.

Solution requires initial and boundary conditions depending on the Problem. Indices i, j, n can be used to label the nodes in x, y, t directions(see fig.) If the origin has i=0, j=0 and n = 0, then the node i, j, n has coordinates i^ ∆ x ,^ j ∆ y , n ∆ t , where (^) ∆ x ,∆ y ,∆ t are the uniform intervals between nodes along x, y, t coordinate directions. Let u x y t ( ,^ , )^^ ≡ ui j n , , be the exact solution of the PDE and^ vi j n , , be the approximations to be determined at each grid point.

The derivatives of the original PDE are approximated using the symbol^ This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.^ This image cannot currently be displayed.^ This image cannot currently be displayed. and the discretization intervals (^) ∆ x , ∆ y ,∆ t. The procedure leads to a set of algebraic equations of which are then solved. Fine grids can be used to obtain solutions (^) that are close to ui j n , ,. Examples of PDE’s common in engineering 1.Unsteady heat conduction equation 1D form:

t c T x k T x p^ ∂  = ∂    

 ∂

∂ ∂

∂ ρ

vi j n , ,

vi j n , , vi j n , ,

In CFD , normalization of variables are often used to improve^ This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed. the solution (for proper scaling of the variables).

L ξ = x 2 L ,τ =^ α t

for heat conduction in a rod of length L. Figure.

Let

2 ∂∂ ξ T 2 (^) = ∂∂ T τ

The PDE then becomes

It is also possible to non-dimensionalize the dependent variable T.

Taylor’s Expansion.^ This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed. Let^ dydx^ = f (^) ( x y , (^) ). ( (^ )) ( (^ )) ( (^ ))

(^2) / 0 0 0 0 0 0 (^3) // 0 0

( ) ( ) , (^) 2! , 3! ,^ ...

y x h y x hf x y x h f x y x h (^) f x y x

  • = + +

( ( )) ( ( ))

f (^ x y ( ) x )^ ddxf (^ x y ( ) x )

f x y x dfdx x y x

2 //^2

/

Where =

Taylor series is as follows.

This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed. ( ) ( ) ( )

( , ) 0

......................

......................

, 0

, 2

, 2 ///

//

/

=

=

=

=

f x y

f x y

f x y

f x y x

n

( ) ( ) ( )

( , ) 0

........................

........................

, 0

, 2

, 2

0 0

/// 0 0

// 0 0

/ 0 0 0

=

=

=

=

f x y

f x y

f x y

f x y x

n

The function at the neighboring point (x = x0+h) becomes^ This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.

2 2 3

y x 0 + h = y x 0 + hx 0 + h x 0 +^ h 3

Example 2: f(x,y) is a function of y alone.

dxdy^ = f^ (^ x ,^ y )^ =^2 y

This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed. ( ) ( ) ( ) ( ) ( )

( ) (^ )^ (^ )

2 3 0 0 0 0 0 2 3 0

(^2 4) 2! 8 3!

1 2 2 2 ... 2! 3!

y x h y x hy x h^ y x h y x

y x h h^ h

  • = + + +

= ^ + + + +   

Taylor series can also be used for non-linear higher order equations.^ This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed. Example:

(^222)

(^222)

( , )

0

dxdy f x y ddxy^ xy

ddxy dxdy xy

= = +

− + =

y y 2 xyy y

y y xy = − −

= −

Computational Fluid Dynamics (AE/ME 339) PDE K. M. IsaacMAEEM Dept., UMR This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed. // / 2 /// // 2 /// ///

(0) (0) 0 (0) 1 (0) (0) (0) (0) 1 1 2 (0) (0) 4 1( 1) 2 4 2

iv

y y y y y y y y y

= − × = − = − = − − = − = − × − = − + =

Computational Fluid Dynamics (AE/ME 339) PDE K. M. IsaacMAEEM Dept., UMR This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.

(^12)! 3! 4! .....

1! 2! 3! ..... 2 3 4 1

/ //^2 ///^3 1

= − − − + +

  • = + + + +

y h h h^ h

y (^) k yk yk h yk h yk h

Since Taylor series gives

For k = 0, y1 becomes

  1. 894675

12

  1. 0001 3

  2. 001 2 1 0. 1 0.^01 1

1

= − − − + y

y

Letting h=0.1, we get