Vous êtes sur la page 1sur 9

Ejercicio 1- Estado estable

TITLE 'TAREA 3 - Cubo con aletas-Estado estable'

COORDINATES cartesian2

VARIABLES

temp

DEFINITIONS

k=25 {W/m °C} { conductividad termica }

qgen=3*10^6 {W/m3}

h1=80 {W/m2°C }

h2=65 {W/m2°C }

temp1=25 {°C }

temp2=90 {°C }

deltax=0.01

deltay=0.01 {unidades m}

cp = 897 {acero AISI 316 J/Kg k}

d = 2698.4 {acero AISI 316 Kg/m3}

EQUATIONS

div(k*grad(temp))+qgen=0

BOUNDARIES

REGION 1

START(0,0.02)

natural(temp)=-h1*(temp-temp1)
LINE TO (0.02,0.02)

natural(temp)=-h1*(temp-temp1)

line TO (0.02,0)

natural(temp)=0

line TO (0.07,0)

natural(temp)=0

line to (0.07,0.02)

natural(temp)=-h1*(temp-temp1)

line to (0.09,0.02)

natural(temp)=-h1*(temp-temp1)

line to (0.09,0.03)

natural(temp)=-h1*(temp-temp1)

line to (0.07,0.03)

natural(temp)=-h1*(temp-temp1)

line to (0.07,0.05)

natural(temp)=0

line to (0.02,0.05)

natural(temp)=0

line to (0.02,0.03)

natural(temp)=-h1*(temp-temp1)

line to (0,0.03)

natural(temp)=-h1*(temp-temp1)

line TO CLOSE

START(0.04,0.01)

natural(temp)=-h2*(temp-temp2)

line to (0.05,0.01)
natural(temp)=-h2*(temp-temp2)

line to (0.05,0.04)

natural(temp)=-h2*(temp-temp2)

line to (0.04,0.04)

natural(temp)=-h2*(temp-temp2)

line to close

PLOTS

CONTOUR(temp) {Distribución de temperatura}

CONTOUR(temp) painted {Distribución de temperatura}

VECTOR (-k*grad(temp)) {direccion de vetores de calor}

ELEVATION(temp) from (0,0.02) to (0.04,0.04)

GRID (x,y) {Nodos}

END

Ejercicio 1-Estado Transitorio


TITLE 'TAREA 3 - Cubo con aletas-Estado transitorio'

COORDINATES cartesian2

VARIABLES

temp (threshold=0.01)
DEFINITIONS

k=25 {W/m °C} { conductividad termica }

qgen=3*10^6 {W/m3}

h1=80 {W/m2°C }

h2=65 {W/m2°C }

temp1=25 {°C }

temp2=90 {°C }

deltax=0.01

deltay=0.01 {unidades m}

cp = 897 {acero AISI 316 J/Kg k}

d = 2698.4 {acero AISI 316 Kg/m3}

EQUATIONS

div(k*grad(temp))+qgen=(d*cp)*dt(temp)

BOUNDARIES

REGION 1

START(0,0.02)

natural(temp)=-h1*(temp-temp1)

LINE TO (0.02,0.02)

natural(temp)=-h1*(temp-temp1)

line TO (0.02,0)

natural(temp)=0

line TO (0.07,0)

natural(temp)=0

line to (0.07,0.02)

natural(temp)=-h1*(temp-temp1)

line to (0.09,0.02)
natural(temp)=-h1*(temp-temp1)

line to (0.09,0.03)

natural(temp)=-h1*(temp-temp1)

line to (0.07,0.03)

natural(temp)=-h1*(temp-temp1)

line to (0.07,0.05)

natural(temp)=0

line to (0.02,0.05)

natural(temp)=0

line to (0.02,0.03)

natural(temp)=-h1*(temp-temp1)

line to (0,0.03)

natural(temp)=-h1*(temp-temp1)

line TO CLOSE

START(0.04,0.01)

natural(temp)=-h2*(temp-temp2)

line to (0.05,0.01)

natural(temp)=-h2*(temp-temp2)

line to (0.05,0.04)

natural(temp)=-h2*(temp-temp2)

line to (0.04,0.04)

natural(temp)=-h2*(temp-temp2)

line to close

TIME 0 To 1500
MONITORS

for t=0 by 60 to 1500

PLOTS

CONTOUR(temp) {Distribución de temperatura}

CONTOUR(temp) painted {Distribución de temperatura}

VECTOR (-k*grad(temp)) {Direccion de vectores de calor }

HISTORY(temp) at (0,0.02)

GRID (x,y)

END

Ejercicio 2- Estado Estable


TITLE 'Horno-Estado estable '

COORDINATES cartesian2
VARIABLES
Temp

DEFINITIONS

Tempinf1=773 { K}
Tempinf2=288{ K}
h1=60 { W/m2 °K}
h2=80 { W/m2 °K}
K=1.3 { W/m2°K}
EQUATIONS
dx(K*dx(Temp))+dy(k*dy(Temp))=0

BOUNDARIES
REGION 1

START(0,0)

natural (Temp)= 0

LINE TO (0.2,0)
natural (Temp)= -h1*(Temp-Tempinf1)
arc(center=0.7,0)

TO (1.2, 0.0)
natural (Temp)=0

line TO (1.4,0.0)
natural (Temp)= -h2*(Temp-Tempinf2)

line TO (1.4,0.3)
natural (Temp)= -h2*(Temp-Tempinf2)

line TO (1.2,0.3)
natural (Temp)= -h2*(Temp-Tempinf2)
line TO (1.2,0.5)
natural (Temp)= -h2*(Temp-Tempinf2)

line TO (1,0.5)
natural (Temp)= -h2*(Temp-Tempinf2)

line TO (1,0.7)
natural (Temp)= -h2*(Temp-Tempinf2)

line TO (0.4,0.7)
natural (Temp)= -h2*(Temp-Tempinf2)

line TO (0.4,0.5)
natural (Temp)= -h2*(Temp-Tempinf2)

line TO (0.2,0.5)
natural (Temp)= -h2*(Temp-Tempinf2)

line TO (0.2,0.3)
natural (Temp)= -h2*(Temp-Tempinf2)

line TO (0.0,0.3) to close


TIME 0 To 1600
MONITORS
for t=0 by 600 to 1600
PLOTS

MONITORS
PLOTS
CONTOUR(Temp)
CONTOUR(Temp) paint as 'distribucion de temperatura'
vector (-k*dx(Temp),-k*dy(Temp)) norm
history (temp) at (0.2,0)
elevation(temp) from (0,0) to (1.2,0.5)

END

Vous aimerez peut-être aussi