Está en la página 1de 4

7.1.

1 Problem Description
The problem is designed to illustrate different boundary conditions, discontinuous and variable
conductivity, and a nonuniform source term. The physical situation is shown in Fig. 7.1. The
numerical values and property relations are given by:
L=1 Tw1=100 Tw2=20 Tinf=5 k1=5 k2=1+0.01T he=20
qw=800 S=0 in the shaded area, and S=100-25T in the unshaded area.
Con un tamaño de malla de 14 y 8 nodos:

Con un tamaño de malla de 28 y 16 nodos:


Para poder obtener los datos en conduct hay que cambiar lo siguiente en la programación.
ENTRY PHI
DO 20 J=2,M2
DO 20 I=2,L2
GAM(I,J)= AK1
IF(I.GE.20.AND.J.GE.10) GO TO 25
SC(I,J) = 1000.
SP(I,J) = -2.5
GO TO 20
25 GAM(I,J)= 1.+ 0.01*T(I,J)
20 CONTINUE
DO 21 I=2,18
KBCM1(I)=2
KBCJ1(I)=2
21 FLXC(I,1)=QW
DO 22 I=20,26
22 KBCJ1(I)=2
DO 23 J=2,M2
KBCL1(J)=2
FLXC(L1,J)=HE*TINF
23 FLXP(L1,J)=-HE
RETURN
END

Con un tamaño de malla de 56 y 32 nodos:


Para poder obtener los datos en conduct hay que cambiar lo siguiente en la programación.
ENTRY PHI
DO 20 J=2,M2
DO 20 I=2,L2
GAM(I,J)= AK1
IF(I.GE.40.AND.J.GE.20) GO TO 25
SC(I,J) = 1000.
SP(I,J) = -2.5
GO TO 20
25 GAM(I,J)= 1.+ 0.01*T(I,J)
20 CONTINUE
DO 21 I=2,36
KBCM1(I)=2
KBCJ1(I)=2
21 FLXC(I,1)=QW
DO 22 I=40,52
22 KBCJ1(I)=2
DO 23 J=2,M2
KBCL1(J)=2
FLXC(L1,J)=HE*TINF
23 FLXP(L1,J)=-HE
RETURN
END

Además, se cambia:

PARAMETER(NI=56,NJ=56,NIJ=56,NFMAX=5)

También podría gustarte