Académique Documents
Professionnel Documents
Culture Documents
Do if Tp[z][r][]<=Texit
If p=0
If p>0
For z=1 to z=n INITIALIZE Th[Z] = Th_ini Tf_ini Tp_ini For r= ri to r= ro For = 0 to = Th[z]= Th_next[z ] Tf[z][r]=Tf_next[z][r] Tp[z][r][]= Tp_next[z][r][]
Tf[z][r] = Tp[z][r][] =
For z= 1 to z=n
If z=1 Th[z]=Th_ini
For r= ri to r=ro
If r=ri Calc Tf[z][r] from Eq. (3) For =0 to = If =0 Calc Tp[z][r][] from Eq.(4) If >0 and < Calc Tp[z][r][] from Eq.(5) If = Calc Tp[z][r][] from Eq.(6)
If r>ri and r<ro Calc Tf[z][r] from Eq. (7) For =0 to = If =0 Calc Tp[z][r][] from Eq.(8) If >0 and < Calc Tp[z][r][] from Eq.(9) If = Calc Tp[z][r][] from Eq.(10)
If r=ro Calc Tf[z][r] from Eq. (11) For =0 to = If =0 Calc Tp[z][r][] from Eq.(12) If >0 and < Calc Tp[z][r][] from Eq.(13) If = Calc Tp[z][r][] from Eq.(14)
p=p+1
Stop
Meaning Thermal conductivity of the fin Density of the fin Specific heat of the fin Thermal conductivity of the PCM Density of the PCM Time step value Interval change in r-direction Interval change in -direction Interval change in z-direction No. of time steps Initial value of HTF fluid Temperature Initial value of Fin Temperature Initial value of PCM Temperature Exit value of PCM Temperature or loop exiting value HTF temperature at any time step p Fin temperature at any time step p PCM temperature at any time step p Largest value of z or length of the cylinder Maximum value of Inner radius of the cylinder Outer radius of the cylinder