Numerical Solution for Unsteady Heat Conduction: Explicit Euler & Central Difference - Pro, Study Guides, Projects, Research of Mechanical Engineering

A computational project on the unsteady heat conduction problem in a square region with variable heat conductivity. Students are required to discretize the problem using explicit euler time discretization and central difference in space for fluxes, and then solve it numerically up to a certain time for different sets of parameters. The document also asks students to analyze the accuracy, consistency, and stability of the scheme, as well as find the net heat flux through the top boundary and compare the solutions for all three cases.

Typology: Study Guides, Projects, Research

Pre 2010

Uploaded on 02/13/2009

koofers-user-g2m
koofers-user-g2m 🇺🇸

10 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Computational Project # 7
Due April 29
Consider the unsteady heat conduction problem in a square region with variable heat
conductivity. The temperature at the top boundary is
0
T
, the left and right boundaries are
adiabatic. The thermal conductivity in region I is
1
k
and region II is
2
k
. The initial
temperature in the entire region is
0
T T
=
. At time
t
=
the constant heat flux is supplied
through the bottom boundary.
The equation describing the time evolution
of the temperature in the region is given
T T T
c k k
t x x y y
ρ
= +
.
The initial conditions are
(
)
0
, ,0
T x y T
=
,
While the boundary conditions are
( ) ( )
( ) ( )
0 1
0, , , , 0,
, , , ,0, .
w
T T
y t L y t
x x
T
T x L t T k x t q
x
= =
= =
This problem can be rewritten in non-dimensional form by using the following
transformation:
0 1 2
1 2
2
0 1 1 0
, , , , 1, , w
w
T T x y tk k q L
X Y q
T L L cL k k T
θ τ α α
ρ
= = = = = = =
ɶ.
With this transformation the problem becomes
,
X X Y Y
θ θ θ
α α
τ
= +
where
2
1 2 1 2
,
3 3 3 3
1 elsewhere
X Y
α
α
=
The initial conditions are given by
(
)
, ,0 0
x y
θ
=
while the boundary conditions are
( ) ( )
( ) ( )
0, , 1, , 0,
,1, 0, , 0, .
w
Y Y
X X
X X q
x
θ θ
τ τ
θ
θ τ τ
= =
= =
ɶ
0
T
x
=
0
T
x
=
0
T
T=
w
q
L
L
Region I
Region
II
pf2

Partial preview of the text

Download Numerical Solution for Unsteady Heat Conduction: Explicit Euler & Central Difference - Pro and more Study Guides, Projects, Research Mechanical Engineering in PDF only on Docsity!

Computational Project # 7

Due April 29

Consider the unsteady heat conduction problem in a square region with variable heat

conductivity. The temperature at the top boundary is

0

T , the left and right boundaries are

adiabatic. The thermal conductivity in region I is

1

k and region II is

2

k. The initial

temperature in the entire region is

0

T = T. At time t = 0 the constant heat flux is supplied

through the bottom boundary.

The equation describing the time evolution

of the temperature in the region is given

T T T

c k k

t x x y y

The initial conditions are

0

T x y , ,0 = T ,

While the boundary conditions are

0 1

w

T T

y t L y t

x x

T

T x L t T k x t q

x

This problem can be rewritten in non-dimensional form by using the following

transformation:

0 1 2

1 2

2

0 1 1 0

w

w

T T x y tk k q L

X Y q

T L L cL k k T

With this transformation the problem becomes

X X Y Y

where

2

1 elsewhere

α X Y

The initial conditions are given by

θ x y , ,0 = 0

while the boundary conditions are

w

Y Y

X X

X X q

x

0

T

x

=

0

T

x

=

0

T = T

q w

L

L

Region I

Region

II

Discretize the problem using explicit Euler time discretization and central difference in

space for fluxes, i.e.

1, , , 1, 1 1

,

n n n n

i i j i j i i j i j i i

n j j

x x

x

i j

X X X X

Y Y

X X

What is the accuracy of the solution in terms of ∆

t

x

y

Is the scheme consistent?

Is your scheme stable?

What is the maximum time step

max

t

∆ you can take in terms of ∆

x

and ∆

y

For spatial discretization use the uniform gird with ∆

x

y

=1/30. Solve the problem

numerically up to a time of τ = 10 for the following set of parameters:

a)

2

α = 1 , qw = 1

b)

2

α = 2 , qw = 1

c)

2

α = , qw = 1

Show the solutions for all three cases for the final time. For each case find the net heat

flux through the top boundary an plot it as a function of time. Compare the solutions for

all three cases and explain the differences.

P.S. Email your code to [email protected]. Bring your solution and discussion of

the results to class or e-mail it together with the code. The program that you send should

be a working program. All the codes will be checked whether they run or not. If they are

erroneous, but run, points will be taken for the errors. If the code does not run (it has

some syntax errors), an additional 25% will be taken off. The goal of this class is for you

to be comfortable solving engineering problems. Please take your time and learn how to

trust the computer.