9.0
general documentation
Loading...
Searching...
No Matches
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.cpp):

{
/* Activate cooling tower model */
/* Evaporation model */
}

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.

{
cs_real_t surface = 0.48 * 6540.; /* 48% of the total disc */
cs_real_t qw = surface * 2.64; /* Water flow rate (kg/s) */
cs_ctwr_define("2 or 3", /* selection criteria (or nullptr) */
-1, /* zone_id (or -1) */
CS_CTWR_COUNTER_CURRENT, /* Zone type */
-1., /* Imposed temperature delta if positive */
0.1, /* Associated relaxation time */
36., /* Liquid injected water temperature */
qw,
0.2, /* Evaporation law constant A */
0.5, /* Evaporation law constant n */
surface,
-1.); /* Leaking factor, ignored if negative */
}