Sie sind auf Seite 1von 6

> restart

> with linalg :


> phi unapply a x3 b x2 y c x y2 d y3 , x, y
x, y a x3 b x2 y c x y2 d y3 (1)
> sigma11 unapply diff phi x, y , y, y , x, y
11 x, y 2cx 6dy (2)
> sigma12 unapply diff phi x, y , x, y , x, y
12 x, y 2bx 2cy (3)
> sigma22 unapply diff phi x, y , x, x , x, y
22 x, y 6ax 2by (4)
Para el contorno No1, contorno que tiene contacto con el agua
> x 0
x 0 (5)
> CD1 Matrix 1 , 0
1
CD1 (6)
0
> F1 Matrix gamma y , 0
y
F1 (7)
0
> sigma1 Matrix sigma11 x, y , sigma12 x, y , sigma12 x, y , sigma22 x, y
6dy 2cy
1 (8)
2cy 2by
> Fint sigma1.CD1
6dy
Fint (9)
2cy
> Fext F1
y
Fext (10)
0
> solucion solve Fint 1, 1 = Fext 1, 1 , Fint 2, 1 = Fext 2, 1 , c, d
1
solucion c = 0, d = (11)
6
> c subs solucion, c
c 0 (12)
> d subs solucion, d
1
d (13)
6
Para el contorno No2, contorno inclinado
> x y tan beta
x y tan (14)
> CD2 cos beta , sin beta
cos
CD2 (15)
sin
> F2 0, 0
0
F2 (16)
0
> sigma2 Matrix sigma11 x, y , sigma12 x, y , sigma12 x, y , sigma22 x, y
y 2 b y tan
2 (17)
2 b y tan 6 a y tan 2by
> Fint sigma2.CD2
y cos 2 b y tan sin
Fint (18)
2 b y tan cos 6 a y tan 2 b y sin
> Fext F2
0
Fext (19)
0
> solucion solve Fint 1 = Fext 1 , Fint 2 = Fext 2 , a, b
1 cos tan sin cos 1 cos
solucion a= 2 2
,b= (20)
6 tan sin 2 tan sin

cos beta 2 = 1 sin beta 2


> eqns :
> a simplify subs solucion, a
3
cos
a 2
(21)
3 sin cos 3 sin
> b simplify subs solucion, b
2
1 cos
b 2
(22)
2 sin
> x 'x': y 'y'
y y (23)
Reemplazando las constantes a,b,c,d en la funcion de Airy
> phi0 unapply phi x, y , x, y
3 3 2 2
cos x 1 cos x y 1
0 x, y 2 2
y3 (24)
3 sin cos 3 sin 2 sin 6

Ploteamos el diagrama de variacion de tensiones en el contorno de apoyo


> sigma0 unapply diff phi0 x, y , x, x , x, y, gamma, beta

(25)
3 2
6 cos x cos y
0 x, y, , 2 2
(25)
3 sin cos 3 sin sin
> tau0 unapply diff phi0 x, y , x, y , x, gamma, beta
2
cos x
0 x, , 2
(26)
sin
> plot sigma0 x, 1, 1, 45 , x = 0 ..1, color = "NavyBlue", thickness = 3, filled = color = "blue",
transparency = 0.5

0
0.2 0.4 0.6 0.8 1
x

0.1

0.2

0.3

> plot tau0 x, 1, 45 , x = 0 ..1, color = "NavyBlue", thickness = 3, filled = color = "blue",
transparency = 0.5
0
0.2 0.4 0.6 0.8 1
x

0.1

0.2

0.3

Ploteamos el diagrama de variacion de tensiones en el contorno que se encuentra en contacto con


el agua
> sigma01 unapply diff phi0 x, y , y, y , y, gamma
01 y, y (27)
> tau01 unapply diff phi0 x, y , x, y , x, gamma, beta
2
cos x
01 x, , 2
(28)
sin
> plot sigma01 y, 1 , y = 0 ..1, color = "NavyBlue", thickness = 3, filled = color = "blue",
transparency = 0.5
1

0.8

0.6

0.4

0.2

0
0 0.2 0.4 0.6 0.8 1
y
> plot tau01 0, 1, 45 , y = 0 ..1, color = "NavyBlue", thickness = 3, filled = color = "blue",
transparency = 0.5
1

0.5

0
0.2 0.4 0.6 0.8 1
y

0.5

Das könnte Ihnen auch gefallen