#include "fvm_nodal.h"
#include "cs_base.h"
#include "cs_halo.h"
#include "cs_mesh.h"
#include "cs_mesh_quantities.h"
Go to the source code of this file.
|
cs_ctwr_option_t * | cs_get_glob_ctwr_option (void) |
|
cs_ctwr_zone_t ** | cs_get_glob_ctwr_zone (void) |
|
int * | cs_get_glob_ctwr_n_zones (void) |
|
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. More...
|
|
void | cs_ctwr_field_pointer_map (void) |
| Map fields used by the cooling tower module to pointers. More...
|
|
void | cs_ctwr_define_zones (void) |
| Define zones. More...
|
|
void | cs_ctwr_build_all (void) |
| Define the cells belonging to the different packing zones. More...
|
|
void | cs_ctwr_all_destroy (void) |
| Destroy cs_ctwr_t structures. More...
|
|
void | cs_ctwr_log_setup (void) |
| Log Packing zone definition setup information. More...
|
|
void | cs_ctwr_log_balance (void) |
| Perform balances in packing zones. More...
|
|
void | cs_ctwr_transport_vars (int iflag) |
| Convert injected liquid scalars from and to their transported form. More...
|
|
cs_ctwr_zone_t * | cs_ctwr_by_id (int ct_id) |
|
◆ cs_ctwr_model_t
Type of cooling tower model
Enumerator |
---|
CS_CTWR_NONE | no cooling tower model
|
CS_CTWR_POPPE | Poppe's model
|
CS_CTWR_MERKEL | Merkel's model
|
◆ cs_ctwr_zone_type_t
Type of cooling tower exchange zone
Enumerator |
---|
CS_CTWR_COUNTER_CURRENT | counter-current zone
|
CS_CTWR_CROSS_CURRENT | cross-current zone
|
CS_CTWR_INJECTION | water injection zone
|
◆ cs_ctwr_all_destroy()
void cs_ctwr_all_destroy |
( |
void |
| ) |
|
Destroy cs_ctwr_t structures.
◆ cs_ctwr_build_all()
void cs_ctwr_build_all |
( |
void |
| ) |
|
Define the cells belonging to the different packing zones.
◆ cs_ctwr_by_id()
cs_ctwr_zone_t * cs_ctwr_by_id |
( |
int |
ct_id | ) |
|
◆ cs_ctwr_define()
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.
- Parameters
-
[in] | zone_criteria | zone selection criteria |
[in] | z_id | z_id if zone already created (-1 otherwise) |
[in] | zone_type | exchange zone type |
[in] | delta_t | imposed delta temperature delta between inlet and oulet of the zone |
[in] | relax | relaxation of the imposed delta temperature |
[in] | t_l_bc | liquid water temperature at the inlet |
[in] | q_l_bc | mass flow rate at the inlet |
[in] | xap | beta_x_0 of the exchange law |
[in] | xnp | exponent n of the exchange law |
[in] | surface | total Surface of ingoing water |
[in] | xleak_fac | leakage factor (ratio of outlet/inlet flow rate) |
[in] | zone_criteria | zone selection criteria (or nullptr) |
[in] | z_id | z_id if zone already created (-1 otherwise) |
[in] | zone_type | exchange zone type |
[in] | delta_t | imposed delta temperature delta between inlet and outlet of the zone |
[in] | relax | relaxation of the imposed delta temperature |
[in] | t_l_bc | liquid water temperature at the inlet |
[in] | q_l_bc | mass flow rate at the inlet |
[in] | xap | beta_x_0 of the exchange law |
[in] | xnp | exponent n of the exchange law |
[in] | surface | total Surface of ingoing water |
[in] | xleak_fac | leakage factor (ratio of outlet/inlet flow rate) |
◆ cs_ctwr_define_zones()
void cs_ctwr_define_zones |
( |
void |
| ) |
|
Define zones.
Define zones.
TODO rename this: definition (at setup stage) and build (instanciation on actual mesh are not the same).
◆ cs_ctwr_field_pointer_map()
void cs_ctwr_field_pointer_map |
( |
void |
| ) |
|
Map fields used by the cooling tower module to pointers.
◆ cs_ctwr_log_balance()
void cs_ctwr_log_balance |
( |
void |
| ) |
|
Perform balances in packing zones.
◆ cs_ctwr_log_setup()
void cs_ctwr_log_setup |
( |
void |
| ) |
|
Log Packing zone definition setup information.
◆ cs_ctwr_transport_vars()
void cs_ctwr_transport_vars |
( |
int |
iflag | ) |
|
Convert injected liquid scalars from and to their transported form.
- Parameters
-
[in] | iflag | 1: Convert transported variables to physical variables 2: Convert physical variables to transported variables |
◆ cs_get_glob_ctwr_n_zones()
int * cs_get_glob_ctwr_n_zones |
( |
void |
| ) |
|
◆ cs_get_glob_ctwr_option()
◆ cs_get_glob_ctwr_zone()
cs_ctwr_zone_t ** cs_get_glob_ctwr_zone |
( |
void |
| ) |
|
◆ cs_glob_ctwr_option