• Nie Znaleziono Wyników

FEM solution for example problem of stationary heat flow

N/A
N/A
Protected

Academic year: 2021

Share "FEM solution for example problem of stationary heat flow"

Copied!
89
0
0

Pełen tekst

(1)

FEM solution for example problem of stationary heat flow

Piotr Pluciński e-mail: pplucin@L5.pk.edu.pl

Jerzy Pamin e-mail: jpamin@L5.pk.edu.pl

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(2)

Determination of shape functions for 3-node element

Shape function N i (x, y)

1 x i y i 1 x j y j

1 x k y k

 α 1i α 2i

α 3i

 =

 1 0 0

W =

1 x i y i

1 x j y j

1 x k y k

= 2P 4

y x

i k

j e

y N i (x e , y e )

x 1 i

k j

α 1i = x j y k − x k y j

2P 4 α 2i = y j − y k

2P 4

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(3)

Determination of shape functions for 3-node element

Shape function N i (x, y)

1 x i y i 1 x j y j

1 x k y k

 α 1i α 2i

α 3i

 =

 1 0 0

W =

1 x i y i

1 x j y j

1 x k y k

= 2P 4

y x

i k

j e

y N i (x e , y e )

x 1 i

k j

α 1i = x j y k − x k y j

2P 4 α 2i = y j − y k

2P 4

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(4)

Determination of shape functions for 3-node element

Shape function N i (x, y)

1 x i y i 1 x j y j 1 x k y k

 α 1i α 2i α 3i

 =

 1 0 0

W =

1 x i y i

1 x j y j

1 x k y k

= 2P 4

W α 1i =

1 x i y i

0 x j y j

0 x k y k

= x j y k − x k y j

α 1i = W α 1i

W = x j y k − x k y j 2P 4

y x

i k

j e

y N i (x e , y e )

x 1 i

k j

α 1i = x j y k − x k y j

2P 4 α 2i = y j − y k

2P 4

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(5)

Determination of shape functions for 3-node element

Shape function N i (x, y)

1 x i y i 1 x j y j 1 x k y k

 α 1i α 2i α 3i

 =

 1 0 0

W =

1 x i y i

1 x j y j

1 x k y k

= 2P 4

W α 1i =

1 x i y i

0 x j y j

0 x k y k

= x j y k − x k y j

α 1i = W α 1i

W = x j y k − x k y j

2P 4

y x

i k

j e

y N i (x e , y e )

x 1 i

k j

α 1i = x j y k − x k y j

2P 4 α 2i = y j − y k

2P 4

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(6)

Determination of shape functions for 3-node element

Shape function N i (x, y)

1 x i y i 1 x j y j 1 x k y k

 α 1i α 2i α 3i

 =

 1 0 0

W =

1 x i y i

1 x j y j

1 x k y k

= 2P 4

W α 2i =

1 1 y i

1 0 y j

1 0 y k

= y j − y k

α 2i = W α 2i

W = y j − y k

2P 4

y x

i k

j e

y N i (x e , y e )

x 1 i

k j α 1i = x j y k − x k y j

2P 4

α 2i = y j − y k

2P 4

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(7)

Determination of shape functions for 3-node element

Shape function N i (x, y)

1 x i y i 1 x j y j 1 x k y k

 α 1i α 2i α 3i

 =

 1 0 0

W =

1 x i y i

1 x j y j

1 x k y k

= 2P 4

W α 2i =

1 1 y i

1 0 y j

1 0 y k

= y j − y k

α 2i = W α 2i

W = y j − y k

2P 4

y x

i k

j e

y N i (x e , y e )

x 1 i

k j α 1i = x j y k − x k y j

2P 4

α 2i = y j − y k

2P 4

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(8)

Determination of shape functions for 3-node element

Shape function N i (x, y)

1 x i y i

1 x j y j

1 x k y k

 α 1i

α 2i

α 3i

 =

 1 0 0

W =

1 x i y i 1 x j y j 1 x k y k

= 2P 4

W α 3i =

1 x i 1 1 x j 0 1 x k 0

= x k − x j

α 3i = W α 3i

W = x k − x j

2P 4

y x

i k

j e

y N i (x e , y e )

x 1 i

k j α 1i = x j y k − x k y j

2P 4 α 2i = y j − y k

2P 4

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(9)

Determination of shape functions for 3-node element

Shape function N i (x, y)

1 x i y i

1 x j y j

1 x k y k

 α 1i

α 2i

α 3i

 =

 1 0 0

W =

1 x i y i 1 x j y j 1 x k y k

= 2P 4

W α 3i =

1 x i 1 1 x j 0 1 x k 0

= x k − x j

α 3i = W α 3i

W = x k − x j

2P 4

y x

i k

j e

y N i (x e , y e )

x 1 i

k j α 1i = x j y k − x k y j

2P 4 α 2i = y j − y k

2P 4

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(10)

2D example of heat flow – 3-node elements

q n = 0

q n = 0 q n = 5 J/m 2 s

T = 20 ◦ C

4 m

3 m

k = 0.9 J/ms C f = 2 J/m 2 s h = 1 m

X Y

1 i

2 j

3 k

i

j k

4 Discretization

1 2

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(11)

2D example of heat flow – 3-node elements

q n = 0

q n = 0 q n = 5 J/m 2 s

T = 20 ◦ C

4 m

3 m

k = 0.9 J/ms C f = 2 J/m 2 s h = 1 m

X Y

1 i

2 j

3 k

i

j k

4 Discretization

1 2

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(12)

Heat flow in 2D

Z

A

(∇w) T Dh∇T dA = − Z

Γ q

wh qdΓ − b Z

Γ T

whq n dΓ + Z

A

whf dA

+ boundary condition

T = b T on Γ T

T = NΘ, w = Nβ = β T N T , ∇T = BΘ

∇w = β T B T , D = kI, h = const

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(13)

Heat flow in 2D

Z

A

(∇w) T Dh∇T dA = − Z

Γ

whq n dΓ + Z

A

whf dA + boundary condition

T = b T on Γ T

T = NΘ, w = Nβ = β T N T , ∇T = BΘ

∇w = β T B T , D = kI, h = const

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(14)

Heat flow in 2D

Z

A

(∇w) T Dh∇T dA = − Z

Γ

whq n dΓ + Z

A

whf dA + boundary condition

T = b T on Γ T

T = NΘ, w = Nβ = β T N T , ∇T = BΘ

∇w = β T B T , D = kI, h = const

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(15)

Heat flow in 2D

Z

A

(∇w) T Dh∇T dA = − Z

Γ

whq n dΓ + Z

A

whf dA + boundary condition

T = b T on Γ T

T = NΘ, w = Nβ = β T N T , ∇T = BΘ

∇w = β T B T , D = kI, h = const β T

Z

A

B T kBdA Θ = −β T Z

Γ

N T q n dΓ + β T Z

A

N T f dA, ∀β 6= 0

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(16)

Heat flow in 2D

Z

A

(∇w) T Dh∇T dA = − Z

Γ

whq n dΓ + Z

A

whf dA + boundary condition

T = b T on Γ T

T = NΘ, w = Nβ = β T N T , ∇T = BΘ

∇w = β T B T , D = kI, h = const Z

A

B T kBdA Θ = − Z

Γ

N T q n dΓ + Z

A

N T f dA

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(17)

Heat flow in 2D

Z

A

(∇w) T Dh∇T dA = − Z

Γ

whq n dΓ + Z

A

whf dA + boundary condition

T = b T on Γ T

T = NΘ, w = Nβ = β T N T , ∇T = BΘ

∇w = β T B T , D = kI, h = const Z

A

B T kBdA Θ = − Z

Γ

N T q n dΓ + Z

A

N T f dA

K = Z

A

B T kBdA, F = Z

A

N T f dA, F b = − Z

Γ

N T q n dΓ

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(18)

Heat flow in 2D

Z

A

(∇w) T Dh∇T dA = − Z

Γ

whq n dΓ + Z

A

whf dA + boundary condition

T = b T on Γ T

T = NΘ, w = Nβ = β T N T , ∇T = BΘ

∇w = β T B T , D = kI, h = const Z

A

B T kBdA Θ = − Z

Γ

N T q n dΓ + Z

A

N T f dA

K = Z

A

B T kBdA, F = Z

A

N T f dA, F b = − Z

Γ

N T q n dΓ

KΘ = F + F b

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(19)

2D example of heat flow – 3-node elements

qn = 0 q n = 0 qn = 5 J/m2 s

T = 20 ◦ C

k = 0.9 J/ms ◦ C f = 2 J/m 2 s h = 1 m

X Y

Discretization

1 i

2 j

3 k

i 1 j k 4

2

K matrix – element 1 N 1 = 

1 − 1 4 x 1 4 x − 1 3 y 1 3 y 

B 1 = ∇N =

 −0.250 0.250 0.000 0.000 −0.333 0.333



K 1 = Z

A 1

B T kBdA = A 1 B T kB

=

0.338 −0.338 0.000

−0.388 0.938 −0.600 0.000 −0.600 0.600

K 2 =

0.600 0.000 −0.600 0.000 0.338 −0.338

−0.600 −0.338 0.938

F 1 = F 2 =

 4 4 4

F 1 b =

 0 0 0

 ,

F 2 b =

 f b 1

10 f b 4 + 10

K =

0.938 −0.338 0.000 −0.600

−0.388 0.938 −0.600 0.000 0.000 −0.600 0.938 −0.338

−0.600 0.000 −0.338 0.938

F =

 8 4 8 4

 ,

Fb =

 fb1

0 10 fb4 + 10

Θ =

 20 48.040 57.145 20

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(20)

2D example of heat flow – 3-node elements

qn = 0 q n = 0 qn = 5 J/m2 s

T = 20 ◦ C

k = 0.9 J/ms ◦ C f = 2 J/m 2 s h = 1 m

X Y

Discretization

1 i

2 j

3 k

i 1 j k 4

2

K matrix – element 1 N 1 = 

1 − 1 4 x 1 4 x − 1 3 y 1 3 y  B 1 = ∇N =

 −0.250 0.250 0.000 0.000 −0.333 0.333



K 1 = Z

A 1

B T kBdA = A 1 B T kB

=

0.338 −0.338 0.000

−0.388 0.938 −0.600 0.000 −0.600 0.600

K 2 =

0.600 0.000 −0.600 0.000 0.338 −0.338

−0.600 −0.338 0.938

F 1 = F 2 =

 4 4 4

F 1 b =

 0 0 0

 ,

F 2 b =

 f b 1

10 f b 4 + 10

K =

0.938 −0.338 0.000 −0.600

−0.388 0.938 −0.600 0.000 0.000 −0.600 0.938 −0.338

−0.600 0.000 −0.338 0.938

F =

 8 4 8 4

 ,

Fb =

 fb1

0 10 fb4 + 10

Θ =

 20 48.040 57.145 20

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(21)

2D example of heat flow – 3-node elements

qn = 0 q n = 0 qn = 5 J/m2 s

T = 20 ◦ C

k = 0.9 J/ms ◦ C f = 2 J/m 2 s h = 1 m

X Y

Discretization

1 i

2 j

3 k

i 1 j k 4

2

K matrix – element 1 N 1 = 

1 − 1 4 x 1 4 x − 1 3 y 1 3 y  B 1 = ∇N =

 −0.250 0.250 0.000 0.000 −0.333 0.333



K 1 = Z

A 1

B T kBdA = A 1 B T kB

=

0.338 −0.338 0.000

−0.388 0.938 −0.600 0.000 −0.600 0.600

K 2 =

0.600 0.000 −0.600 0.000 0.338 −0.338

−0.600 −0.338 0.938

F 1 = F 2 =

 4 4 4

F 1 b =

 0 0 0

 ,

F 2 b =

 f b 1

10 f b 4 + 10

K =

0.938 −0.338 0.000 −0.600

−0.388 0.938 −0.600 0.000 0.000 −0.600 0.938 −0.338

−0.600 0.000 −0.338 0.938

F =

 8 4 8 4

 ,

Fb =

 fb1

0 10 fb4 + 10

Θ =

 20 48.040 57.145 20

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(22)

2D example of heat flow – 3-node elements

qn = 0 q n = 0 qn = 5 J/m2 s

T = 20 ◦ C

k = 0.9 J/ms ◦ C f = 2 J/m 2 s h = 1 m

X Y

Discretization

i

2 j k

1 1

i

3 j k 4

2

K matrix – element 2 N 2 = 

1 − 1 3 y 1 4 x 1 3 y − 1 4 x 

B 2 = ∇N =

 0.000 0.250 −0.250

−0.333 0.000 0.333



K 2 = Z

A 2

B T kBdA = A 2 B T kB

=

0.600 0.000 −0.600 0.000 0.338 −0.338

−0.600 −0.338 0.938

K 1 =

0.338 −0.338 0.000

−0.388 0.938 −0.600 0.000 −0.600 0.600

K 2 =

0.600 0.000 −0.600 0.000 0.338 −0.338

−0.600 −0.338 0.938

F 1 = F 2 =

 4 4 4

F 1 b =

 0 0 0

 ,

F 2 b =

 f b 1

10 f b 4 + 10

K =

0.938 −0.338 0.000 −0.600

−0.388 0.938 −0.600 0.000 0.000 −0.600 0.938 −0.338

−0.600 0.000 −0.338 0.938

F =

 8 4 8 4

 ,

Fb =

 fb1

0 10 fb4 + 10

Θ =

 20 48.040 57.145 20

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(23)

2D example of heat flow – 3-node elements

qn = 0 q n = 0 qn = 5 J/m2 s

T = 20 ◦ C

k = 0.9 J/ms ◦ C f = 2 J/m 2 s h = 1 m

X Y

Discretization

i

2 j k

1 1

i

3 j k 4

2

K matrix – element 2 N 2 = 

1 − 1 3 y 1 4 x 1 3 y − 1 4 x  B 2 = ∇N =

 0.000 0.250 −0.250

−0.333 0.000 0.333



K 2 = Z

A 2

B T kBdA = A 2 B T kB

=

0.600 0.000 −0.600 0.000 0.338 −0.338

−0.600 −0.338 0.938

K 1 =

0.338 −0.338 0.000

−0.388 0.938 −0.600 0.000 −0.600 0.600

K 2 =

0.600 0.000 −0.600 0.000 0.338 −0.338

−0.600 −0.338 0.938

F 1 = F 2 =

 4 4 4

F 1 b =

 0 0 0

 ,

F 2 b =

 f b 1

10 f b 4 + 10

K =

0.938 −0.338 0.000 −0.600

−0.388 0.938 −0.600 0.000 0.000 −0.600 0.938 −0.338

−0.600 0.000 −0.338 0.938

F =

 8 4 8 4

 ,

Fb =

 fb1

0 10 fb4 + 10

Θ =

 20 48.040 57.145 20

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(24)

2D example of heat flow – 3-node elements

qn = 0 q n = 0 qn = 5 J/m2 s

T = 20 ◦ C

k = 0.9 J/ms ◦ C f = 2 J/m 2 s h = 1 m

X Y

Discretization

i

2 j k

1 1

i

3 j k 4

2

K matrix – element 2 N 2 = 

1 − 1 3 y 1 4 x 1 3 y − 1 4 x  B 2 = ∇N =

 0.000 0.250 −0.250

−0.333 0.000 0.333



K 2 = Z

A 2

B T kBdA = A 2 B T kB

=

0.600 0.000 −0.600 0.000 0.338 −0.338

−0.600 −0.338 0.938

K 1 =

0.338 −0.338 0.000

−0.388 0.938 −0.600 0.000 −0.600 0.600

K 2 =

0.600 0.000 −0.600 0.000 0.338 −0.338

−0.600 −0.338 0.938

F 1 = F 2 =

 4 4 4

F 1 b =

 0 0 0

 ,

F 2 b =

 f b 1

10 f b 4 + 10

K =

0.938 −0.338 0.000 −0.600

−0.388 0.938 −0.600 0.000 0.000 −0.600 0.938 −0.338

−0.600 0.000 −0.338 0.938

F =

 8 4 8 4

 ,

Fb =

 fb1

0 10 fb4 + 10

Θ =

 20 48.040 57.145 20

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(25)

2D example of heat flow – 3-node elements

qn = 0 q n = 0 qn = 5 J/m2 s

T = 20 ◦ C

k = 0.9 J/ms ◦ C f = 2 J/m 2 s h = 1 m

X Y

Discretization

1 i

2 j

3 k

1 1

i

3 j k 4

2

F vector – element 1 and 2 - A 1 = A 2

F e = Z

A e

N T f dA = f 3 A e

 1 1 1

 =

 4 4 4

K 1 =

0.338 −0.338 0.000

−0.388 0.938 −0.600 0.000 −0.600 0.600

K 2 =

0.600 0.000 −0.600 0.000 0.338 −0.338

−0.600 −0.338 0.938

F 1 = F 2 =

 4 4 4

F 1 b =

 0 0 0

 ,

F 2 b =

 f b 1

10 f b 4 + 10

K =

0.938 −0.338 0.000 −0.600

−0.388 0.938 −0.600 0.000 0.000 −0.600 0.938 −0.338

−0.600 0.000 −0.338 0.938

F =

 8 4 8 4

 ,

Fb =

 fb1

0 10 fb4 + 10

Θ =

 20 48.040 57.145 20

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(26)

2D example of heat flow – 3-node elements

qn = 0 q n = 0 qn = 5 J/m2 s

T = 20 ◦ C

k = 0.9 J/ms ◦ C f = 2 J/m 2 s h = 1 m

X Y

Discretization

1 i

2 j

3 k

i 1 j k 4

2

F b vector – element 1 F 1 b = −

Z

Γ 1 ij

(N 1 ) T q n dΓ − Z

Γ 1 jk

(N 1 ) T q n

− Z

Γ 1 ki

(N 1 ) T q n

F 1 b =

 0 0 0

K 1 =

0.338 −0.338 0.000

−0.388 0.938 −0.600 0.000 −0.600 0.600

K 2 =

0.600 0.000 −0.600 0.000 0.338 −0.338

−0.600 −0.338 0.938

F 1 = F 2 =

 4 4 4

F 1 b =

 0 0 0

 ,

F 2 b =

 f b 1

10 f b 4 + 10

K =

0.938 −0.338 0.000 −0.600

−0.388 0.938 −0.600 0.000 0.000 −0.600 0.938 −0.338

−0.600 0.000 −0.338 0.938

F =

 8 4 8 4

 ,

Fb =

 fb1

0 10 fb4 + 10

Θ =

 20 48.040 57.145 20

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(27)

2D example of heat flow – 3-node elements

qn = 0 q n = 0 qn = 5 J/m2 s

T = 20 ◦ C

k = 0.9 J/ms ◦ C f = 2 J/m 2 s h = 1 m

X Y

Discretization

1 i

2 j

3 k

i 1 j k 4

2

F b vector – element 1 F 1 b = −

Z

Γ 1 ij

(N 1 ) T q n b.c. = 0

dΓ−

Z

Γ 1 jk

(N 1 ) T q n b.c. = 0

flow continuity along edge 1-3 q n 1

ki = −q n 2 ij

− Z

Γ 1 ki

(N 1 ) T q n

F 1 b =

 0 0 0

K 1 =

0.338 −0.338 0.000

−0.388 0.938 −0.600 0.000 −0.600 0.600

K 2 =

0.600 0.000 −0.600 0.000 0.338 −0.338

−0.600 −0.338 0.938

F 1 = F 2 =

 4 4 4

F 1 b =

 0 0 0

 ,

F 2 b =

 f b 1

10 f b 4 + 10

K =

0.938 −0.338 0.000 −0.600

−0.388 0.938 −0.600 0.000 0.000 −0.600 0.938 −0.338

−0.600 0.000 −0.338 0.938

F =

 8 4 8 4

 ,

Fb =

 fb1

0 10 fb4 + 10

Θ =

 20 48.040 57.145 20

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(28)

2D example of heat flow – 3-node elements

qn = 0 q n = 0 qn = 5 J/m2 s

T = 20 ◦ C

k = 0.9 J/ms ◦ C f = 2 J/m 2 s h = 1 m

X Y

Discretization

1 i

2 j

3 k

i 1 j k 4

2

F b vector – element 1 F 1 b = −

Z

Γ 1 ij

(N 1 ) T q n b.c. = 0

dΓ−

Z

Γ 1 jk

(N 1 ) T q n b.c. = 0

flow continuity along edge 1-3 q n 1

ki = −q n 2 ij

− Z

Γ 1 ki

(N 1 ) T q n

F 1 b =

 0 0 0

K 1 =

0.338 −0.338 0.000

−0.388 0.938 −0.600 0.000 −0.600 0.600

K 2 =

0.600 0.000 −0.600 0.000 0.338 −0.338

−0.600 −0.338 0.938

F 1 = F 2 =

 4 4 4

F 1 b =

 0 0 0

 ,

F 2 b =

 f b 1

10 f b 4 + 10

K =

0.938 −0.338 0.000 −0.600

−0.388 0.938 −0.600 0.000 0.000 −0.600 0.938 −0.338

−0.600 0.000 −0.338 0.938

F =

 8 4 8 4

 ,

Fb =

 fb1

0 10 fb4 + 10

Θ =

 20 48.040 57.145 20

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(29)

2D example of heat flow – 3-node elements

qn = 0 q n = 0 qn = 5 J/m2 s

T = 20 ◦ C

k = 0.9 J/ms ◦ C f = 2 J/m 2 s h = 1 m

X Y

Discretization

i

2 j k

1 1

i

3 j k 4

2

F b vector – element 2

F 2 b = − Z

Γ 2 ij

(N 2 ) T q n dΓ

− Z

Γ 2 jk

(N 2 ) T q n dΓ − Z

Γ 2 ki

(N 2 ) T q n dΓ

K 1 =

0.338 −0.338 0.000

−0.388 0.938 −0.600 0.000 −0.600 0.600

K 2 =

0.600 0.000 −0.600 0.000 0.338 −0.338

−0.600 −0.338 0.938

F 1 = F 2 =

 4 4 4

F 1 b =

 0 0 0

 ,

F 2 b =

 f b 1

10 f b 4 + 10

K =

0.938 −0.338 0.000 −0.600

−0.388 0.938 −0.600 0.000 0.000 −0.600 0.938 −0.338

−0.600 0.000 −0.338 0.938

F =

 8 4 8 4

 ,

Fb =

 fb1

0 10 fb4 + 10

Θ =

 20 48.040 57.145 20

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(30)

2D example of heat flow – 3-node elements

qn = 0 q n = 0 qn = 5 J/m2 s

T = 20 ◦ C

k = 0.9 J/ms ◦ C f = 2 J/m 2 s h = 1 m

X Y

Discretization

i

2 j k

1 1

i

3 j k 4

2

F b vector – element 2

F 2 b = − Z

Γ 2 ij

(N 2 ) T q n dΓ

flow continuity along edge 1-3 q n 1

ki = −q n 2 ij

− Z

Γ 2 jk

(N 2 ) T q n dΓ − Z

Γ 2 ki

(N 2 ) T q n

K 1 =

0.338 −0.338 0.000

−0.388 0.938 −0.600 0.000 −0.600 0.600

K 2 =

0.600 0.000 −0.600 0.000 0.338 −0.338

−0.600 −0.338 0.938

F 1 = F 2 =

 4 4 4

F 1 b =

 0 0 0

 ,

F 2 b =

 f b 1

10 f b 4 + 10

K =

0.938 −0.338 0.000 −0.600

−0.388 0.938 −0.600 0.000 0.000 −0.600 0.938 −0.338

−0.600 0.000 −0.338 0.938

F =

 8 4 8 4

 ,

Fb =

 fb1

0 10 fb4 + 10

Θ =

 20 48.040 57.145 20

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(31)

2D example of heat flow – 3-node elements

qn = 0 q n = 0 qn = 5 J/m2 s

T = 20 ◦ C

k = 0.9 J/ms ◦ C f = 2 J/m 2 s h = 1 m

X Y

Discretization

i

2 j k

1 1

i

3 j k 4

2

F b vector – element 2 F 2 b = −

Z

Γ 2 jk

(N 2 ) T q n dΓ − Z

Γ 2 ki

(N 2 ) T q n dΓ

− Z

Γ 2 jk

(N 2 ) T q n dΓ = − Z 4

0

N 2 (x, y = 3)  T (−5)dx

=

 0 10 10

K 1 =

0.338 −0.338 0.000

−0.388 0.938 −0.600 0.000 −0.600 0.600

K 2 =

0.600 0.000 −0.600 0.000 0.338 −0.338

−0.600 −0.338 0.938

F 1 = F 2 =

 4 4 4

F 1 b =

 0 0 0

 ,

F 2 b =

 f b 1

10 f b 4 + 10

K =

0.938 −0.338 0.000 −0.600

−0.388 0.938 −0.600 0.000 0.000 −0.600 0.938 −0.338

−0.600 0.000 −0.338 0.938

F =

 8 4 8 4

 ,

Fb =

 fb1

0 10 fb4 + 10

Θ =

 20 48.040 57.145 20

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(32)

2D example of heat flow – 3-node elements

qn = 0 q n = 0 qn = 5 J/m2 s

T = 20 ◦ C

k = 0.9 J/ms ◦ C f = 2 J/m 2 s h = 1 m

X Y

Discretization

i

2 j k

1 1

i

3 j k 4

2

F b vector – element 2 F 2 b =

 0 10 10

 − Z

Γ 2 ki

(N 2 ) T q n

− Z

Γ 2 ki

(N 2 ) T q n dΓ = − Z 3

0

N 2 (x = 0, y)  T q n dx

=

 f b1

0 f b4

K 1 =

0.338 −0.338 0.000

−0.388 0.938 −0.600 0.000 −0.600 0.600

K 2 =

0.600 0.000 −0.600 0.000 0.338 −0.338

−0.600 −0.338 0.938

F 1 = F 2 =

 4 4 4

F 1 b =

 0 0 0

 ,

F 2 b =

 f b 1

10 f b 4 + 10

K =

0.938 −0.338 0.000 −0.600

−0.388 0.938 −0.600 0.000 0.000 −0.600 0.938 −0.338

−0.600 0.000 −0.338 0.938

F =

 8 4 8 4

 ,

Fb =

 fb1

0 10 fb4 + 10

Θ =

 20 48.040 57.145 20

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(33)

2D example of heat flow – 3-node elements

qn = 0 q n = 0 qn = 5 J/m2 s

T = 20 ◦ C

k = 0.9 J/ms ◦ C f = 2 J/m 2 s h = 1 m

X Y

Discretization

1 i

2 j

3 k

i 1 j k 4

2

Assembly

K 1 =

0.338 −0.338 0.000

−0.388 0.938 −0.600 0.000 −0.600 0.600

K =

0.338 −0.338 0.000 0.000

−0.388 0.938 −0.600 0.000 0.000 −0.600 0.600 0.000 0.000 0.000 0.000 0.000

K 1 =

0.338 −0.338 0.000

−0.388 0.938 −0.600 0.000 −0.600 0.600

K 2 =

0.600 0.000 −0.600 0.000 0.338 −0.338

−0.600 −0.338 0.938

F 1 = F 2 =

 4 4 4

F 1 b =

 0 0 0

 , F 2 b =

 f b 1

10 f b 4 + 10

K =

0.938 −0.338 0.000 −0.600

−0.388 0.938 −0.600 0.000 0.000 −0.600 0.938 −0.338

−0.600 0.000 −0.338 0.938

F =

 8 4 8 4

 ,

Fb =

 fb1

0 10 fb4 + 10

Θ =

 20 48.040 57.145 20

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(34)

2D example of heat flow – 3-node elements

qn = 0 q n = 0 qn = 5 J/m2 s

T = 20 ◦ C

k = 0.9 J/ms ◦ C f = 2 J/m 2 s h = 1 m

X Y

Discretization

i

2 j k

1 1

i

3 j k 4

2

Assembly

K 2 =

0.600 0.000 −0.600 0.000 0.338 −0.338

−0.600 −0.338 0.938

K =

0.938 −0.338 0.000 −0.600

−0.388 0.938 −0.600 0.000 0.000 −0.600 0.938 −0.338

−0.600 0.000 −0.338 0.938

K 1 =

0.338 −0.338 0.000

−0.388 0.938 −0.600 0.000 −0.600 0.600

K 2 =

0.600 0.000 −0.600 0.000 0.338 −0.338

−0.600 −0.338 0.938

F 1 = F 2 =

 4 4 4

F 1 b =

 0 0 0

 , F 2 b =

 f b 1

10 f b 4 + 10

K =

0.938 −0.338 0.000 −0.600

−0.388 0.938 −0.600 0.000 0.000 −0.600 0.938 −0.338

−0.600 0.000 −0.338 0.938

F =

 8 4 8 4

 ,

Fb =

 fb1

0 10 fb4 + 10

Θ =

 20 48.040 57.145 20

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(35)

2D example of heat flow – 3-node elements

qn = 0 q n = 0 qn = 5 J/m2 s

T = 20 ◦ C

k = 0.9 J/ms ◦ C f = 2 J/m 2 s h = 1 m

X Y

Discretization

1 i

2 j

3 k

i 1 j k 4

2

Assembly

F 1 =

 4 4 4

F =

 4 4 4 0

K 1 =

0.338 −0.338 0.000

−0.388 0.938 −0.600 0.000 −0.600 0.600

K 2 =

0.600 0.000 −0.600 0.000 0.338 −0.338

−0.600 −0.338 0.938

F 1 = F 2 =

 4 4 4

F 1 b =

 0 0 0

 , F 2 b =

 f b 1

10 f b 4 + 10

K =

0.938 −0.338 0.000 −0.600

−0.388 0.938 −0.600 0.000 0.000 −0.600 0.938 −0.338

−0.600 0.000 −0.338 0.938

F =

 8 4 8 4

 ,

Fb =

 fb1

0 10 fb4 + 10

Θ =

 20 48.040 57.145 20

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

(36)

2D example of heat flow – 3-node elements

qn = 0 q n = 0 qn = 5 J/m2 s

T = 20 ◦ C

k = 0.9 J/ms ◦ C f = 2 J/m 2 s h = 1 m

X Y

Discretization

i

2 j k

1 1

i

3 j k 4

2

Assembly

F 1 =

 4 4 4

 F 2 =

 4 4 4

F =

 8 4 8 4

K 1 =

0.338 −0.338 0.000

−0.388 0.938 −0.600 0.000 −0.600 0.600

K 2 =

0.600 0.000 −0.600 0.000 0.338 −0.338

−0.600 −0.338 0.938

F 1 = F 2 =

 4 4 4

F 1 b =

 0 0 0

 , F 2 b =

 f b 1

10 f b 4 + 10

K =

0.938 −0.338 0.000 −0.600

−0.388 0.938 −0.600 0.000 0.000 −0.600 0.938 −0.338

−0.600 0.000 −0.338 0.938

F =

 8 4 8 4

 ,

Fb =

 fb1

0 10 fb4 + 10

Θ =

 20 48.040 57.145 20

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the European Union within the European Social Fund

Cytaty

Powiązane dokumenty

Zbigniew Strzelecki , Professor of Main School of Economics in Warsaw, manager of the Development Trends of Mazovian Region project, director of the Mazovian Office for

Abstract: The article aims at presenting women’s and men’s political activity, both in its formal aspect (conventional political activity) – manifesting itself in participating

1 Stationary heat flow in 3D Model - strong formulation Model - weak formulation FE equations.. 2 Selection of approximation functions Shape functions for 1D problems Shape

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the

This lecture was prepared within project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction”, co-financed by the

Project ”The development of the didactic potential of Cracow University of Technology in the range of modern...

Project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction” is co-financed by the European Union.. Example for

Project ”The development of the didactic potential of Cracow University of Technology in the range of modern construction” is co-financed by the European Union within the confines