Docsity

Problem Set 4 | Computational Fluid Dynamics | ENAE 684, Assignments of Aerospace Engineering

Toggle sidebar
bg1
Page 1 of 2
ENAE684, Problem Set #4
Spectral Resolution and Fourier Stability Analysis
Due Thursday, October 2nd, 2008 (50 points)
(4.1) Assume the following interpolant for a mixed trigonometric/power polynomial
approximation (note: this is with N = 4 for the trigonometric terms, 8 points per wavelength):
!
u(x)=a0+a1x"xj
( )
+a2x"xj
( )
2+a3cos #
4
x"xj
$x
%
&
'
(
)
* +a4sin #
4
x"xj
$x
%
&
'
(
)
*
Use the information at
!
uj+2,uj+1,uj,uj"1,uj"2
to derive the corresponding
approximation to the first derivative at j (Note: solution is given below!). What is the Taylor
series accuracy of the approximation you derived (you may use a Taylor Table)?
(4.2) Find the expression for the modified wave number times ∆x (k*Δx) for the following finite
difference approximations to
!
"
xu
( )
j
in terms of k∆x (i.e. let
uj=eikj!x
):
a) 5-pt. Lagrangian Power Polynomial (4th order accurate):
!
"
xu
( )
j=1
12#x
8uj+1$uj$1
( )
$uj+2$uj$2
( )
[ ]
b) 5-pt. Mixed Trigonometric/Power Polynomial (N = 4 for trig. terms) (2nd order accurate):
!
"
xu
( )
j=1
8 2 #1
( )
$x
2%#4
( )
uj+1#uj#1
( )
# % # 2 2
( )
uj+2#uj#2
( )
[ ]
c) 3-pt. Hermetian Power Polynomial (4th order accurate):
!
1
6
"
xu
( )
j+1+4
"
xu
( )
j+
"
xu
( )
j#1
[ ]
=1
2$xuj+1#uj#1
( )
[ ]
d) 4-pt. Lagrangian Power Polynomial (3rd order accurate):
e) 3-pt. Hermetian Power Polynomial (3rd order accurate):
!
1
3
2
"
xu
( )
j+
"
xu
( )
j#1
[ ]
=1
6$xuj+1+4uj#5uj#1
[ ]
(4.3) For the schemes from problem (4.2) plot the resulting expressions for the modified wave
number times ∆x (k*Δx) against k∆x from 0 to π. Use any plotting package that you want:
a) For central difference schemes k*Δx should be real. Please plot the real parts versus k∆x
on one figure for the schemes in 4.2 a) through c). Also plot the exact relation: k*Δx = k∆x.
b) For biased schemes (4.2 d & e) the results for k*Δx should all be complex. Please plot the
real parts versus k∆x in one figure (along with the exact relation: k*Δx = k∆x). In another
figure plot the imaginary parts against k∆x (dissipation resolution – why?).
c) Please note any observations and discuss. What is the effect of trigonometric terms? What
is the effect of Hermetian interpolation? What is the effect of biased versus central? etc.
pf2

Partial preview of the text

Download Problem Set 4 | Computational Fluid Dynamics | ENAE 684 and more Assignments Aerospace Engineering in PDF only on Docsity!

Page 1 of 2

ENAE684, Problem Set

Spectral Resolution and Fourier Stability Analysis

Due Thursday , October 2nd, 2008 (50 points)

(4.1) Assume the following interpolant for a mixed trigonometric/power polynomial approximation (note: this is with N = 4 for the trigonometric terms, 8 points per wavelength): !

u ( x ) = a 0 + a 1 ( x " x j ) + a 2 ( x " x j )

2

  • a 3 cos

x " x (^) j $ x

  • +^ a 4 sin^

x " x (^) j $ x

Use the information at ! u (^) j + 2 , u (^) j + 1 , u (^) j , u (^) j " 1 , u (^) j " 2 to derive the corresponding approximation to the first derivative at j (Note: solution is given below!). What is the Taylor series accuracy of the approximation you derived (you may use a Taylor Table)? (4.2) Find the expression for the modified wave number times ∆x (k*Δx) for the following finite difference approximations to !

(^ " x u ) j in terms of^ k∆x^ (i.e. let^ uj =^ e

ikj! x ): a) 5-pt. Lagrangian Power Polynomial (4th^ order accurate): !

(^ " x u ) j =^

12 # x

[^8 ( u^^ j + 1 $^ u^ j $ 1 )^ $^ (^ u^ j + 2 $^ u^ j $ 2 )]

b) 5-pt. Mixed Trigonometric/Power Polynomial (N = 4 for trig. terms) (2nd^ order accurate): !

(^ " x u ) j =^

8 ( 2 # 1 )$ x

[( 2 %^ #^4 )^ ( u^^ j + 1 #^ u^ j # 1 )^ #^ (% #^2 2 ) (^ u^ j + 2 #^ u^ j # 2 )]

c) 3-pt. Hermetian Power Polynomial (4th^ order accurate): !

[( "^ x u )^ j + 1 +^4 (^ "^ x u )^ j +(^ "^ x u )^ j # 1 ] =^

2 $ x

[( u^^ j + 1 #^ u^ j # 1 )]

d) 4-pt. Lagrangian Power Polynomial (3rd^ order accurate):

(! x u ) j =

6 " x

[ 2 uj + 1 +^3 uj #^6 uj # 1 +^ uj # 2 ]

e) 3-pt. Hermetian Power Polynomial (3rd^ order accurate): !

[^2 (^ "^ x u )^ j +(^ "^ x u )^ j # 1 ] =^

6 $ x

[ u^ j + 1 +^4 u^ j #^5 u^ j # 1 ]

(4.3) For the schemes from problem (4.2) plot the resulting expressions for the modified wave number times ∆x (kΔx) against k∆x from 0 to π. Use any plotting package that you want: a) For central difference schemes kΔx should be real. Please plot the real parts versus k∆x on one figure for the schemes in 4.2 a) through c). Also plot the exact relation: kΔx = k∆x. b) For biased schemes (4.2 d & e) the results for kΔx should all be complex. Please plot the real parts versus k∆x in one figure (along with the exact relation: k*Δx = k∆x). In another figure plot the imaginary parts against k∆x (dissipation resolution – why?). c) Please note any observations and discuss. What is the effect of trigonometric terms? What is the effect of Hermetian interpolation? What is the effect of biased versus central? etc.

Page 2 of 2 Lax’s method for solving linear convection is similar to Euler Explicit time-marching with 3-pt central in space, except for the solution at the previous time step is averaged in space. Thus the point operator is given as: ! u nj^ +^1 = u (^) j + 1 n

  • u (^) j " 1 n 2

a # t

_x

u_ (^) j + 1 n " u (^) j " 1 n 2

(4.4) Please perform a Fourier stability analysis for Lax’s method and find an expression for σ in terms of the phase (kΔx) and CFL number (aΔt/Δx). Under what conditions on the CFL number is the solution stable? Is the method conditionally stable for a < 0? (4.5) Plot the amplitude (|σ|) for Lax’s method versus phase (kΔx) from 0 to π for CFL numbers of 0.25, 0.50, 0.75, 1.00 and 1.50 on a single figure. Any comments?