Activate the cooling tower module
As with other predefined physical models, the cooling tower module may be activated by setting the matching value in cs_glob_physical_model_flag, in the cs_user_model function (cs_user_parameters.cpp):
{
}
cs_ctwr_option_t * cs_get_glob_ctwr_option(void)
Definition: cs_ctwr.cpp:307
@ CS_CTWR_POPPE
Definition: cs_ctwr.h:62
int cs_glob_physical_model_flag[CS_N_PHYSICAL_MODEL_TYPES]
Definition: cs_physical_model.c:108
@ CS_COOLING_TOWERS
Definition: cs_physical_model.h:67
Definition: cs_ctwr.h:151
cs_ctwr_model_t evap_model
Definition: cs_ctwr.h:153
Define exchange zones
Cooling tower exchange zones and their parameters may be defined in the general cs_user_parameters function (cs_user_parameters.cpp).
The following code block shows an example of definition of a cooling tower exchange zone.
{
-1,
-1.,
0.1,
36.,
0.2,
0.5,
surface,
-1.);
}
void cs_ctwr_define(const char zone_criteria[], int z_id, cs_ctwr_zone_type_t zone_type, cs_real_t delta_t, cs_real_t relax, cs_real_t t_l_bc, cs_real_t q_l_bc, cs_real_t xap, cs_real_t xnp, cs_real_t surface, cs_real_t xleak_fac)
Define a cooling tower exchange zone.
Definition: cs_ctwr.cpp:352
@ CS_CTWR_COUNTER_CURRENT
Definition: cs_ctwr.h:71
double cs_real_t
Floating-point value.
Definition: cs_defs.h:342
double precision, dimension(:,:,:), allocatable qw
Definition: atimbr.f90:108