#include "cs_defs.h"
#include <assert.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "bft_mem.h"
#include "bft_error.h"
#include "bft_printf.h"
#include "cs_air_props.h"
#include "cs_atmo.h"
#include "cs_base.h"
#include "cs_boundary_conditions.h"
#include "cs_boundary_zone.h"
#include "cs_field.h"
#include "cs_field_default.h"
#include "cs_field_operator.h"
#include "cs_field_pointer.h"
#include "cs_halo.h"
#include "cs_halo_perio.h"
#include "cs_log.h"
#include "cs_math.h"
#include "cs_mesh.h"
#include "cs_mesh_location.h"
#include "cs_mesh_quantities.h"
#include "cs_parameters.h"
#include "cs_parall.h"
#include "cs_physical_constants.h"
#include "cs_physical_model.h"
#include "cs_post.h"
#include "cs_prototypes.h"
#include "cs_thermal_model.h"
#include "cs_velocity_pressure.h"
#include "cs_volume_zone.h"
#include "cs_ctwr.h"
#include "cs_ctwr_source_terms.h"
Functions | |
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_define_zones (void) |
Define cooling tower 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_all_destroy | ( | void | ) |
Destroy cs_ctwr_t structures.
void cs_ctwr_build_all | ( | void | ) |
Define the cells belonging to the different packing zones.
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.
[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) |
void cs_ctwr_define_zones | ( | void | ) |
Define cooling tower zones.
Define zones.
TODO rename this: definition (at setup stage) and build (instanciation on actual mesh are not the same).
void cs_ctwr_log_balance | ( | void | ) |
Perform balances in packing zones.
void cs_ctwr_log_setup | ( | void | ) |
Log Packing zone definition setup information.
int * cs_get_glob_ctwr_n_zones | ( | void | ) |
cs_ctwr_option_t * cs_get_glob_ctwr_option | ( | void | ) |
cs_ctwr_zone_t ** cs_get_glob_ctwr_zone | ( | void | ) |