void cs_ctwr_add_property_fields(void)
Definition: cs_ctwr.c:724
void cs_ctwr_log_balance(void)
Perform balances in packing zones.
Definition: cs_ctwr.c:1670
void cs_ctwr_fields_init1(void)
Definition: cs_ctwr.c:1191
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.c:1255
void cs_ctwr_add_variable_fields(void)
Definition: cs_ctwr.c:418
void cs_ctwr_bulk_mass_source_term(cs_real_t mass_source[])
Phase change mass source term from the evaporating liquid to the bulk, humid air.
Definition: cs_ctwr.c:3674
void cs_ctwr_init_flow_vars(cs_real_t liq_mass_flow[])
Initialize the flow variables relevant to the cooling tower scalars inside the packing zones.
Definition: cs_ctwr.c:2066
void cs_ctwr_restart_field_vars(cs_real_t rho0, cs_real_t t0, cs_real_t p0, cs_real_t humidity0, cs_real_t molmassrat)
Reset the field variables based on the restart values.
Definition: cs_ctwr.c:2312
void cs_ctwr_all_destroy(void)
Destroy cs_ctwr_t structures.
Definition: cs_ctwr.c:1547
void cs_ctwr_source_term(int f_id, cs_real_t exp_st[], cs_real_t imp_st[])
Phase change source terms - Exchange terms between the injected liquid and the water vapor phase in t...
Definition: cs_ctwr.c:2878
void cs_ctwr_bcond(void)
Definition: cs_ctwr.c:986
cs_ctwr_option_t * cs_get_glob_ctwr_option(void)
Definition: cs_ctwr.c:1230
cs_ctwr_zone_t * cs_ctwr_by_id(int ct_id)
Definition: cs_ctwr.c:3707
void cs_ctwr_init_field_vars(cs_real_t rho0, cs_real_t t0, cs_real_t p0, cs_real_t molmassrat)
Initialize the field variables.
Definition: cs_ctwr.c:1870
cs_ctwr_zone_type_t
Definition: cs_ctwr.h:69
@ CS_CTWR_INJECTION
Definition: cs_ctwr.h:73
@ CS_CTWR_COUNTER_CURRENT
Definition: cs_ctwr.h:71
@ CS_CTWR_CROSS_CURRENT
Definition: cs_ctwr.h:72
cs_ctwr_model_t
Definition: cs_ctwr.h:59
@ CS_CTWR_MERKEL
Definition: cs_ctwr.h:63
@ CS_CTWR_NONE
Definition: cs_ctwr.h:61
@ CS_CTWR_POPPE
Definition: cs_ctwr.h:62
void cs_ctwr_field_pointer_map(void)
Map fields used by the cooling tower module to pointers.
Definition: cs_ctwr.c:1421
void cs_ctwr_fields_init0(void)
Definition: cs_ctwr.c:1111
void cs_ctwr_phyvar_update(cs_real_t rho0, cs_real_t t0, cs_real_t p0)
Update the thermo physical properties fields for the humid air and the liquid.
Definition: cs_ctwr.c:2556
void cs_ctwr_build_all(void)
Define the cells belonging to the different packing zones.
Definition: cs_ctwr.c:1517
void cs_ctwr_transport_vars(int iflag)
Convert injected liquid scalars from and to their transported form.
void cs_ctwr_define_zones(void)
Define zones.
Definition: cs_ctwr.c:1449
const cs_ctwr_option_t * cs_glob_ctwr_option
void cs_ctwr_log_setup(void)
Log Packing zone definition setup information.
Definition: cs_ctwr.c:1575
struct _cs_ctwr_zone_t cs_ctwr_zone_t
Definition: cs_ctwr.h:77
#define BEGIN_C_DECLS
Definition: cs_defs.h:514
double cs_real_t
Floating-point value.
Definition: cs_defs.h:319
#define END_C_DECLS
Definition: cs_defs.h:515
real(c_double), pointer, save p0
reference pressure for the total pressure.
Definition: cstphy.f90:170
real(c_double), pointer, save t0
reference temperature.
Definition: cstphy.f90:217
cs_ctwr_model_t evap_model
Definition: cs_ctwr.h:89
bool has_rain
Definition: cs_ctwr.h:90
bool solve_rain_velocity
Definition: cs_ctwr.h:91