avaliações numéricas de chaminés de equilÃbrio - ppgerha ...
avaliações numéricas de chaminés de equilÃbrio - ppgerha ...
avaliações numéricas de chaminés de equilÃbrio - ppgerha ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
a2[i] := a[i]*a[i]/g;<br />
celerida<strong>de</strong>}<br />
a3[i] := 0.5e0/dx[i];<br />
end;<br />
{coeficiente que inclui a<br />
{coeficiente <strong>de</strong>nominador}<br />
b1 := 0.5e0*kr/g; {coeficiente perda <strong>de</strong> carga da tomada}<br />
b2 := 0.5e0*dt/ac; {coeficiente <strong>de</strong> perda <strong>de</strong> carga <strong>de</strong><br />
saída}<br />
b3 := 0.5e0*kc/(ac*ac*g); {coeficiente fator para o<br />
cálculo}<br />
for i := 1 to 2 do<br />
begin<br />
aux := q0/at[i];<br />
for j := 0 to nx[i] do<br />
v[i,2]^[j] := aux;<br />
end;<br />
{velocida<strong>de</strong> inicial}<br />
h[1,2]^[0] := zr - b1*aux*aux;; {perda <strong>de</strong> carga no tubo1}<br />
aux := h1/nx[1];<br />
{distribuição da perda <strong>de</strong><br />
carga no tubo1}<br />
for j := 1 to nx[1] do<br />
{perda <strong>de</strong> carga em cada<br />
ponto}<br />
h[1,2]^[j] := zr - j*aux;<br />
hch[2] := h[1,2]^[nx[1]];<br />
qch[2] := 0.0e0;<br />
qvs[2] := q0;<br />
{nível inicial na chaminé}<br />
{vazão inicial na chaminé}<br />
{vazão inicial da valvula}<br />
h[2,2]^[0] := hch[2];<br />
{distribuição da perda <strong>de</strong><br />
carga no tubo2}<br />
aux := (h1/lt[1])*lt[2]/nx[2];<br />
for j := 1 to nx[2] do<br />
h[2,2]^[j] := hch[2] - j*aux;<br />
end;<br />
procedure lax;<br />
var<br />
vm,hm,<br />
dvx,dhx : double;<br />
i,j : integer;<br />
137