CFD Simulation of Deep-Bed Paddy Drying Process and Performance
CFD Simulation of Deep-Bed Paddy Drying Process and Performance
net/publication/262374804
CITATIONS READS
85 2,040
3 authors:
Dariush Zare
Shiraz University
60 PUBLICATIONS 1,294 CITATIONS
SEE PROFILE
All content following this page was uploaded by Dariush Zare on 06 December 2015.
To cite this article: Mohsen Ranjbaran , Bagher Emadi & Dariush Zare (2014) CFD Simulation of Deep-Bed Paddy Drying
Process and Performance, Drying Technology: An International Journal, 32:8, 919-934, DOI: 10.1080/07373937.2013.875561
Taylor & Francis makes every effort to ensure the accuracy of all the information (the “Content”) contained
in the publications on our platform. However, Taylor & Francis, our agents, and our licensors make no
representations or warranties whatsoever as to the accuracy, completeness, or suitability for any purpose of the
Content. Any opinions and views expressed in this publication are the opinions and views of the authors, and
are not the views of or endorsed by Taylor & Francis. The accuracy of the Content should not be relied upon and
should be independently verified with primary sources of information. Taylor and Francis shall not be liable for
any losses, actions, claims, proceedings, demands, costs, expenses, damages, and other liabilities whatsoever
or howsoever caused arising directly or indirectly in connection with, in relation to or arising out of the use of
the Content.
This article may be used for research, teaching, and private study purposes. Any substantial or systematic
reproduction, redistribution, reselling, loan, sub-licensing, systematic supply, or distribution in any
form to anyone is expressly forbidden. Terms & Conditions of access and use can be found at http://
www.tandfonline.com/page/terms-and-conditions
Drying Technology, 32: 919–934, 2014
Copyright # 2014 Taylor & Francis Group, LLC
ISSN: 0737-3937 print=1532-2300 online
DOI: 10.1080/07373937.2013.875561
919
920 RANJBARAN ET AL.
provided a review that summarizes the using of exergy To analyze the energetic and exergetic perfor-
analysis in drying operations. They also identified mance of deep-bed paddy drying
prospects for future research in this area. Icier et al.[12] per- To validate the CFD drying model using experi-
formed exergetic analysis on the performance of broccoli mental results
drying in three different drying systems. They investigated To develop user-defined functions (UDFs) and
the effect of drying air temperature on the exergy efficiency, macros to be used in the Fluent (Fluent Inc.,
exergy destruction, and the improvement potential of dry- Lebanon, NH) software
ing processes. Aghbashlo et al.[13] carried out energy and
exergy analyses of drying of potato slices in a semi-
MATERIALS AND METHODS
industrial continuous-band dryer. They showed that the
feeding rate and temperature and flow rate of drying air In the present model, it was assumed that grains were
had important effects on the energy and exergy consump- in temperature equilibrium with inter-granular drying air
tion during drying. Prommas et al.[14] carried out energy (i.e., grains and inter-granular air were at the same
and exergy analyses in the hot-air drying process of porous temperature[19]), which can be seen in the work of
media. They studied the effects of particle size on the Thorpe.[20] Moreover, similar to the experimental deep-bed
performance parameters. paddy drying apparatus of Zare et al.,[6] which was used to
Although several investigations have been performed on validate the results of the present CFD simulations,
the energy and exergy analysis of drying processes based on the walls in the computational geometry were considered
Downloaded by [New York University] at 15:26 14 May 2014
The enthalpy of air and solids were defined as: where a is the permeability, C2 is the internal resistance
factor, and v is air velocity in vertical direction. To calcu-
Ia ¼ Cpa þ wCpv T ð5Þ late these two parameters, the relationship reported by
Hunter[21] was used:
Is ¼ Cps T ð6Þ
dP
¼ Rv Sv2 ð10Þ
where Cpa, Cpv, and Cps are specific heat capacity of air, dy
vapor, and moist solids, respectively. T is the absolute
temperature of drying air and solids. where R and S are constants which are dependent on the
grain type. Thus, the values of a and C2 were calculated
Exergy Balance as below:
As reported by Assari et al.,[17] the exergy balance
equation was derived by multiplying the entropy by T0 (ref- 1 R
¼ ð11Þ
erence ambient temperature) and subtracting the obtained a l
expression from the energy equation.
2S
C2 ¼ ð12Þ
@ T qa
q e 1a T0 Cpa þ wCpv ln
@t a T0
Downloaded by [New York University] at 15:26 14 May 2014
The following empirical equation reported by Zuritz and l ¼ 1:691 105 þ 4:984 108 ðT 273:15Þ 3:187
Singh[24] can be applied to predict the equilibrium moisture
content (Me) of paddy: 1011 ðT 273:15Þ2 þ1:319 1014 ðT 273:15Þ3
ð24Þ
c
A
Me ¼ 0:001 ð15Þ 6887 T
B Pvs ¼ 0:1 exp 27:0214 5:31 ln ð25Þ
T 273:16
A ¼ lnð1 RHÞT
101:3w
23:438 RH ¼ ð26Þ
7 T 0:62189Psv þ wPvs
B ¼ 2:667 10 1
641:7
1 Performance Analysis
C¼ 5 2:1166 As reported by Ranjbaran and Zare,[15] the energy
4 10 T
efficiency of the drying process is defined as the ratio of
the energy demanded in evaporation of moisture from
Energy source term. The energy source term due to the
grains to the energy incorporated in the inlet air. The
effect of evaporative cooling can be considered as[5,20]:
energy consumed in evaporation was calculated in all com-
Downloaded by [New York University] at 15:26 14 May 2014
PN
M i¼1 1 TT0 Sh dV i
CPs ¼ 1110 þ 44:8 ð18Þ gex ¼ ð29Þ
M þ1 E_ xa;in
M
ks ¼ 0:0863 þ 0:00134 ð19Þ
M þ1
101:325
qa ¼ ð22Þ
0:287T
where E_ xa;in is exergy rate of inlet air: the flow field. The corresponding results are not shown
for the sake of brevity. Grid-independent results were
T obtained using a two-block grid with resolutions of
_E xa;in ¼ m
_ a Cpa þ wCpv T T0 T0 ln : ð30Þ
T0 80 80 50 for bed and plenum chamber. The quality of
the grid was also examined by taking into account the cell
aspect ratio, cell equi-angle skew, and cell growth factor.
Simulations Procedure As reported by Ranjbaran and Zare,[5] the optimum values
The GAMBIT grid generator (Fluent Inc., Lebanon, for these parameters might be regarded to be less than 5,
NH) was used to divide the solution domain (i.e., a 40 cm 0.5, and 1.10, respectively. In the present study, the
40 cm 25 cm bed and a plenum chamber with a 10 cm maximum value for cell aspect ratio of the structured hexa-
10 cm inlet and height of 22 cm) into structured hexahedral hedral grid was 3, for equi-angle skew it was 0.38, and for
computational cells (see Fig. 1). To ensure obtaining cell growth factor it was 1. By taking into consideration the
grid-independent results, a grid study was performed and Courant number requirements,[5] a time step of 0.01 s was
several grid resolutions were used in the simulations of chosen. The simulations were performed using a
TABLE 1
Description of simulation settings
Downloaded by [New York University] at 15:26 14 May 2014
Description Method=value
Geometry and grid
Geometrical space 3D
Mesh resolution at porous bed 80 80 50
Mesh resolution at plenum chamber 80 80 50
Maximum grid aspect ratio 3
Maximum cell growth factor 1
Maximum equi-angle skew 0.38
Porous bed section area (m2) 0.16
Porous bed height (m) 0.25
Plenum chamber inlet section area (m2) 0.01
Plenum chamber height (m) 0.22
Materials
Paddy bulk density (kg=m3) 608.4
Paddy specific heat capacity (J=kg.K) 1117.5
Paddy thermal conductivity (W=m.K) 0.0866
UDS (moisture) diffusivity in gas phase (kg=m.s) 4.90 107
Operating, boundary, and initial conditions
Operating pressure (Pa) 101325
Gravitational acceleration (m=s2) 9.81
Inlet boundary condition Velocity-inlet
Outlet boundary condition Pressure-outlet, zero gage pressure
Bed wall boundary condition Wall, adiabatic
Viscous resistance of porous zone (1=m2) 10.626 107 (vertical direction), 7.44 107 (horizontal direction)
Inertial resistance of porous zone (1=m) 18605 (vertical direction), 13023 (horizontal direction)
Fluid porosity 0.57
Solution
Solver Pressure based
Discretization method Second-order upwind
Time step (s) 0.01
Unsteady formulation Second-order implicit
Maximum number of iterations per time step 30
Convergence criteria 0.001
Under-relaxation factors 0.5 0.8
Pressure-velocity coupling SIMPLE[29]
924 RANJBARAN ET AL.
3ddp-varsion of Fluent 6.3.26. Moisture in the gas phase To calculate the moisture and heat source terms
was considered to be a UDS. Thus, a UDS transport equa- To calculate the performance parameters
tion was activated in Fluent to calculate the distribution of
Fluent has provided several macros that can be emplo-
absolute humidity of drying air in the bed. A UDF written
yed in writing of UDFs. Table 2 introduces some of these
in C language was prepared to expand the ability of Fluent
macros and their applications. Furthermore, the complete
for this study. The air flow in the porous zone was con-
UDF has also been provided in the Appendix. This code
sidered to be laminar. The standard k-E turbulence
can be modified and used to simulate the deep-bed drying
model[19] was considered at the plenum chamber. The gov-
process and performance of other cereals and granular
erning equations were solved by applying a pressure-based
materials.
segregated solver. The typical values of under-relaxation
factors were 0.5–0.8. The complete simulation settings are
listed in Table 1. Stepwise Procedure to Run the Model
Generally, a 3D CFD simulation of the deep-bed drying
User-Defined Function (UDF) process using a 3ddp-version of Fluent was performed as
The UDF was used for the following aims in each time follows:
step:
Read the 3D mesh into Fluent (File ! Read !
To update grain moisture content and calculate Case), check it (Grid ! Check), and scale it
Downloaded by [New York University] at 15:26 14 May 2014
TABLE 2
Selected macros[19] that are useful for writing UDFs to simulate a deep-bed drying process and performance
Macro Application
DEFINE macros
DEFINE_INIT(initial_humidity, d) Introducing initial values of grains moisture content and gas absolute
humidity to Fluent
DEFINE_ADJUST(moisture_update, d) Updating grain moisture content at each time step for each
computational cell according to the temperature and absolute humidity
of inter-granular air; performing energy and exergy analysis at each
time step
DEFINE_SOURCE(moisture_source, d) Calculating the moisture source term (Eq. (13)) and returning it to the
solver
DEFINE_SOURCE(evaporative_cooling, d) Calculating the energy source term (Eq. (16)) and returning it to the
solver
Flow variable macros
C_T (c, t) Returning cell temperature (K)
User-defined scalar and memory macros
C_UDSI (c, t, i) Accessing to the value of ith user-defined scalar (UDS)
C_UDMI (c, t, i) Accessing to the value of ith user-defined memory
Geometry macros
C_VOLUME (c, t) Returning the value of cell volume (m3)
Looping macros
thread_loop_c (t, d) Looping over all cell threads in a domain
begin . . . end_c_loop (c, t) Looping over all cells in a cell thread
Time macros
RP_Get_Real (‘‘flow-time’’) Returning current simulation time (s)
RP_Get_Real (‘‘physical-time-step’’) Returning current time step size (s)
RP_Get_Integer (‘‘time-step’’) Returning the integer number of run time steps
Note that some of the commonly used Fluent data types are as below:.
cell_t, which is a data type for a cell identifier (e.g., cell_t c).
face_t, which is a data type for a face identifier (e.g., face_t f).
Thread, which is a data structure in Fluent (e.g., Thread t).
Domain, which is the highest-level data structure in Fluent (e.g., Domain d).
CFD SIMULATION OF DEEP-BED PADDY DRYING 925
TABLE 3
Experimental drying conditions[26]
Grains initial Inlet air Inlet air Inlet air Temperature of
moisture content, temperature mass flow absolute humidity, surroundings Bed
Test no. d.b (kg=kg) ( C) rate (kg=m2 s) (kg=kg of dry air) ( C) depth (cm)
1 0.2587 45 0.22 0.01 27 25
2 0.2587 50 0.22 0.01 27 25
3 0.2557 50 0.10 0.01 27 25
Activate a UDS transport equation (Define ! Error of Prediction (SEP), and also the Maximum Error
User-Defined ! Scalars). of Predictions (MEP) for several drying variables.
Set the number of required User-defined Memor-
ies (Define ! User-Defined ! Memory). 0 !2 112
Read the concatenated UDF (Define ! 1X n
/exp;j /pre;j
MRD ¼ @ A 100 ð31Þ
User-Defined ! Functions ! Interpreted) and n j¼1 /exp;j
select each part in its suitable place (i.e., DEFI-
Downloaded by [New York University] at 15:26 14 May 2014
TABLE 4
Results of verification tests
Paddy moisture Air absolute humidity
content (%, d.b) Air temperature ( C) (%, kg=kg of dry air)
Depth Depth Depth Depth Depth Depth Depth Depth
Drying condition 9 cm 18 cm 9 cm 18 cm 25 cm 9 cm 18 cm 25 cm
MRD(%)
45 C and 0.22 kg=m2 s 4.39 4.21 8.03 8.67 8.30 7.45 7.18 7.55
50 C and 0.22 kg=m2 s 3.81 5.72 7.39 8.69 8.42 8.08 8.49 7.32
50 C and 0.10 kg=m2 s 5.03 5.21 9.36 8.45 6.16 7.27 8.09 7.00
SEP
45 C and 0.22 kg=m2 s 0.232 0.243 1.145 1.158 1.133 0.036 0.039 0.035
50 C and 0.22 kg=m2 s 0.220 0.323 1.020 1.168 1.142 0.038 0.057 0.030
50 C and 0.10 kg=m2 s 0.249 0.281 1.238 1.155 0.605 0.030 0.045 0.022
MEP
45 C and 0.22 kg=m2 s 1.55 1.34 6.55 6.65 2.64 0.14 0.37 0.29
Downloaded by [New York University] at 15:26 14 May 2014
50 C and 0.22 kg=m2 s 1.35 2.24 5.02 5.33 5.11 0.13 0.23 0.19
50 C and 0.10 kg=m2 s 1.41 1.90 5.07 6.80 3.28 0.14 0.27 0.20
were also obtained for other drying conditions. The results errors in measurement of experimental values of grain
showed that the model was capable of predicting grain moisture content, air temperature and absolute humidity,[6]
moisture content, drying air temperature, and absolute and probable errors in estimation of pressure drop of air
humidity with a reasonable accuracy.[28] The deviations passing through the bed.
of predicted drying variables from corresponding experi-
mental data can be due to several sources, such as making
Simulation of Drying Process
the assumption that grains were in temperature equilibrium
with inter-granular air (this may yield errors in prediction Variations in paddy moisture content towards the bed
of grain temperature, especially in the early stages of dry- center line for different drying conditions are provided
ing; however, after some time they can be assumed to be in Fig. 5. As expected, a higher drying air temperature
at the same temperature[19]), probable errors in prediction resulted in lower final grain moisture content after
of drying rates using the thin-layer drying model (for 150 min of drying time. This is due to the fact that by appli-
example, the thin-layer drying equation may not be so cation of higher temperatures the vapor pressure gradient
accurate for that particular variety of paddy), and also between inside grains and outside surrounding increases,
physical and thermal properties of materials, probable which favors higher moisture removals. Moreover, applying
FIG. 2. Variation in paddy moisture content predicted by CFD model FIG. 3. Variation in drying air temperature predicted by CFD model vs.
vs. experimental data[26] at inlet air temperature of 50 C and mass flow experimental data[26] at inlet air temperature of 50 C and mass flow rate of
rate of 0.22 kg=m2 s. 0.22 kg=m2 s.
CFD SIMULATION OF DEEP-BED PADDY DRYING 927
rates. Similar results have also been reported by other were dried with higher drying rates.
researchers.[6,8] Figure 7 illustrates the variations in air temperature dis-
tribution towards the bed center line for different drying
conditions. At drying air temperature of 50 C, applying a
lower level of mass flow rate (i.e., 0.10 kg=m2 s) resulted
in a cooler bed. As predicted by the model, the temperature
distribution in the bed is closely linked with the value of
grain moisture content. In the early stages of drying, the
effect of evaporative cooling was higher due to higher dry-
ing rates, especially for drying condition of 50 C and
0.10 kg=m2 s, such that at t ¼ 5 min the temperature of
grains located on the top region of the bed decreased to
about 25 C. Meanwhile, the variation in the rate of energy
consumption in evaporation of moisture from grains is
shown in Fig. 8. In the early stages of drying, energy was
FIG. 5. Variations in paddy moisture content towards the bed center line FIG. 6. Contours of paddy moisture content after 55 min of drying with
for different drying conditions. inlet air temperature of 50 C and mass flow rate of 0.22 kg=m2 s.
928 RANJBARAN ET AL.
FIG. 7. Variations in air temperature towards the bed center line for
different drying conditions.
Performance Analysis
FIG. 10. Variation in the rate of moisture transfer from paddy into air at In addition to the prediction of the deep-bed drying pro-
inlet air temperature of 50 C and mass flow rate of 0.10 kg=m2 s towards cess of paddy, the energetic and exergetic performance of dif-
the bed center line. ferent drying conditions were also simulated. Figure 12
illustrates the variations in energy and exergy efficiencies
flow rates of drying air were 0.22 and 0.10 kg=m2 s, for two different levels of inlet air temperature and at mass
Downloaded by [New York University] at 15:26 14 May 2014
respectively. Figure 11 shows the variations in relative flow rate of 0.22 kg=m2 s. At the initial stage of the drying
humidity of inter-granular air towards the bed center line process, the air temperature declined to less than reference
for different drying conditions. The relative humidity of ambient temperature (27 C). Thus, the value of exergy
inter-granular air was higher at the top regions of the efficiency at this stage was calculated as a negative value.
bed, especially for lower mass flow rates in the early stage
the choice of inlet air temperature and mass flow rate. e Equilibrium
Further work is needed to equip commercial CFD software exp Experimental
for prediction of probable mold production inside grains in Inlet
during several drying and aeration conditions. pre Predicted
s Solids
NOMENCLATURE v Vapor
C2 Inertial resistance factor, 1=m
Cp Specific heat capacity, J=kg K
Deff Effective moisture diffusion coefficient
ACKNOWLEDGMENTS
through bulk grain, m2=s
The authors would like to acknowledge Ferdowsi
d.b Dry basis
University of Mashhad (FUM) for all its support of this
E_ Energy rate, W
work.
E_ x Exergy rate, W
e_ xdest Rate of exergy destruction per unit volume
of each cell, W=m3
REFERENCES
g Gravity acceleration, m=s2
1. Dincer, I. Exergy as a potential tool for sustainable drying systems.
I Fluid enthalpy, J=kg Sustainable Cities and Society 2011, 1, 91–96.
hfg Latent heat of vaporization of water,
Downloaded by [New York University] at 15:26 14 May 2014
17. Assari, M.R.; Basirat Tabrizi, H.; Najafpour, E. Energy and exergy 24. Zuritz, C.A.; Singh, P. An equation to compute the heat of evapor-
analysis of fluidized bed dryer based on two-fluid modeling. Inter- ation of water for rough rice during drying. Drying Technology
national Journal of Thermal Sciences 2013, 64, 213–219. 1985, 3(3), 421–435.
18. Amantéa, R.P.; Fortes, M.; Martins, J.H.; Ferreira, W.R. Numerical 25. Meeso, N.; Nathakaranakule, A.; Madhiyanon, T.; Soponronnarit, S.
simulation techniques for optimizing thermodynamic efficiencies of Modelling of far-infrared irradiation in paddy drying process. Journal
cereal grain dryers. Drying Technology 2013, 31, 672–683. of Food Engineering 2007, 78, 1248–1258.
19. Fluent 6.3, User Manual; Fluent, Inc.: Lebanon, NH, 2006. 26. Zare, D. Computer simulation of rough rice drying in a deep bed
20. Thorpe, G.R. The application of computational fluid dynamics codes batch dryer. Ph.D. thesis, Tarbiat Modares University, Tehran, Iran,
to simulate heat and moisture transfer in stored grains. Journal of 2006.
Stored Products Research 2008, 44, 21–31. 27. Zare, D.; Chen, G. Evaluation of a simulation model in predicting
21. Hunter, A.J. Pressure difference across an aerated seed bulk for some the drying parameters for deep-bed paddy drying. International
common duct and store cross-sections. Journal of Agricultural Journal of Computers and Electronics in Agriculture 2009, 68,
Engineering Research 1983, 28, 437–450. 78–87.
22. American Society of Agricultural and Biological Engineers. Resistance 28. Brooker, D.B.; Bakker-Arkema, F.W.; Hall, C.W. Drying and
to Airflow of Grains, Seeds, other Agricultural Products, and Perforated Storage of Grains and Oilseeds; Van Nostrand Reinhold: New York,
Metal Sheets, D272.3; ASABE: St. Joseph, MI, 2007. 1992.
23. American Society of Agricultural and Biological Engineers. Thin-Layer 29. Patankar, S.V. Numerical Heat Transfer and Fluid Flow; Hemisphere:
Drying of Agricultural Crops, S448.1; ASABE: St. Joseph, MI, 2006. Washington, DC, 1980.
Downloaded by [New York University] at 15:26 14 May 2014
APPENDIX
= =
= UDF for simulation of Deep-bed Paddy Drying Process and Performance =
= By: Mohsen Ranjbaran =
= Ferdowsi University of Mashhad (FUM), Mashhad, Iran =
# include ‘‘udf.h"
= definitions of constants & initial values: =
= M: initial moisture content of paddy, d.b., (kg=kg). =
= RHO: paddy true density (kg=m3). =
= E: bed void fraction (decimal). =
= Tref: reference ambient temperature (K). =
= Tin: initial temperature of paddy (K) =
= Ein: energy rate of inlet air (W) =
= Ex_in: exergy rate of inlet air (W) =
# define M —
# define RHO —
# define E —
# define Tref —
# define Tin —
# define E_in —
# define Ex_in —
int last_timestep ¼ 1;
DEFINE_INIT(initial_humidity, d)
f
real Tabs, w, a, b, C, Pvs, RH;
Thread t;
cell_t c;
thread_loop_c (t, d)
f
begin_c_loop(c, t)
f
C_T(c, t) ¼ Tin;
C_UDMI(c, t, 0) ¼ M;
Tabs ¼ C_T(c, t);
CFD SIMULATION OF DEEP-BED PADDY DRYING 933
Pvs ¼ 0.1 exp(27.0214 - (6887 = Tabs) - (5.31 log (Tabs = 273.16))); = Eq (25) =
b ¼ 2.667e-7 pow((1-(Tabs=641.7)),-23.438);
C ¼ 1 = (4e5 pow(Tabs,-2.1166));
a ¼ b pow (1000 M, 1=C);
RH ¼ 1 - exp (- a = Tabs); = Eq (15) =
if (RH > 0.99)
f RH ¼ 0.99;g
w ¼ (Pvs RH 0.62189)=(101.3 - Pvs RH); = Eq (26) =
C_UDSI(c, t, 0) ¼ w;
g
end_c_loop(c, t)
g
g
DEFINE_ADJUST (moisture_update, d)
f
real n_ts,m,time,dMdt, Tabs,RH,mr,t_hour,Psat,time_step,k,power, a,b,C,Me,Mnew, w, Pvs,E_evp;
real Ex_evp, V,n, Hfg, etta_E, etta_Ex,t_E_evp, t_Ex_evp,d_E_evp,d_Ex_evp;
Thread t;
Downloaded by [New York University] at 15:26 14 May 2014
cell_t c;
n_ts ¼ RP_Get_Integer (‘‘time-step’’);
time_step ¼ RP_Get_Real (‘‘physical-time-step’’);
time ¼ RP_Get_Real (‘‘flow-time’’);
t_hour ¼ time=3600;
if (last_timestep ! ¼ n_ts)
f
last_timestep ¼ n_ts;
thread_loop_c (t, d)
f
begin_c_loop(c, t)
f
m ¼ C_UDMI(c, t, 0);
w ¼ C_UDSI(c, t, 0);
Tabs ¼ C_T(c, t);
Pvs ¼ 0.1 exp(27.0214 - (6887 = Tabs) - (5.31 log (Tabs = 273.16))); = Eq (25) =
RH ¼ (101.3 w)= (Pvs (0.62189 þ w)); = Eq (26) =
if (RH > 0.99)
f RH ¼ 0.99;g
C_UDMI(c, t, 1) ¼ RH;
a ¼ -1 Tabs log (1-RH);
b ¼ 2.667e-7 pow((1-(Tabs=641.7)),-23.438);
C ¼ 1 = (4e5 pow(Tabs,-2.1166));
Me ¼ 0.001 pow((a=b),C); = Eq (15) =
k ¼ 0.02958-(0.4456 RH)þ(0.01215 (Tabs - 273.16));
n ¼ 0.13365 þ (1.93653 RH)-(1.77431 pow(RH, 2))þ( 0.009468 (Tabs - 273.16));
dMdt ¼ (m - Me) (- k n pow(t_hour, (n-1))) pow(3600, -1); = Eq (14) =
Mnew ¼ (time_step dMdt) þm;
C_UDMI(c, t, 0) ¼ Mnew;
C_UDMI(c, t, 2) ¼ dMdt;
V ¼ C_VOLUME (c, t);
Hfg ¼ - 2386 (Tabs - 273.16) þ 2503000; = Eq (17) =
E_evp ¼ - RHO (1-E) V dMdt Hfg;
if (E_evp <0)
f E_evp ¼ 0;g;
Ex_evp ¼ E_evp (1-(Tref=Tabs));
C_UDMI(c, t, 3) ¼ E_evp;
934 RANJBARAN ET AL.
C_UDMI(c, t, 4) ¼ Ex_evp;
t_E_evp þ ¼ E_evp;
t_Ex_evp þ ¼ Ex_evp;
g
end_c_loop(c, t)
d_E_evp þ ¼ t_E_evp;
d_Ex_evp þ ¼ t_Ex_evp;
g
etta_E ¼ 100 d_E_evp = E_in; = Eq (27) =
etta_Ex ¼ 100 d_Ex_evp = Ex_in; = Eq (29) =
printf(‘‘Energy efficiency ¼ %g nn’’,etta_E);
printf(‘‘Exergy efficiency ¼ %g nn’’,etta_Ex);
g
g
DEFINE_SOURCE (moisture_source, c, t, dS, eqn)
f
real Sw, dMdt;
Downloaded by [New York University] at 15:26 14 May 2014