programmer's documentation
Cooling tower parameters definition

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.c):

Define exchange zones

Cooling tower exchange zones and their parameters may be defined in the general cs_user_parameters function (cs_user_parameters.c).

The following code block shows an example of definition of a cooling tower exchange zone.

{
/* Evaporation model:
CS_CTWR_NONE None,
CS_CTWR_POPPE Poppe,
CS_CTWR_MERKEL Merkel*/
cs_real_t surface = 0.48 * 6540.; /* 48% of the total disc */
cs_real_t qw = surface * 2.64; /* Water flow rate (kg/s) */
"2 or 3", /* selction criterion */
CS_CTWR_COUNTER_CURRENT counter current,
CS_CTWR_CROSS_CURRENT cross,
CS_CTWR_RAIN rain zone */
-1., /* Imposed delta temperature if positive */
0.1, /* Associated relaxation time */
36., /* Liquid injected water temperature */
qw,
0.2, /* Evaportaion law constant A */
0.5, /* Evaportaion law constant n */
surface,
-1.); /* Leaking factor, not taken into account if negative */
}