|
My Project
programmer's documentation
|
void cs_fan_log_iteration(void)
Log fan information for a given iteration.
Definition: cs_fan.c:383
void cs_fan_destroy_all(void)
Destroy the structures associated with fans.
Definition: cs_fan.c:304
cs_real_t cs_real_3_t[3]
vector of 3 floating-point values
Definition: cs_defs.h:315
void cs_fan_build_all(const cs_mesh_t *mesh, const cs_mesh_quantities_t *mesh_quantities)
Define the cells belonging to the different fans.
Definition: cs_fan.c:417
int cs_fan_n_fans(void)
Return number of fans.
Definition: cs_fan.c:326
void cs_fan_log_setup(void)
Log fans definition setup information.
Definition: cs_fan.c:338
void cs_real_t cs_real_t rhofac[]
Definition: cs_fan.h:74
#define END_C_DECLS
Definition: cs_defs.h:468
void cs_real_t cs_real_t cs_real_t crvexp[]
Definition: cs_lagr_precipitation_model.h:42
struct _cs_fan_t cs_fan_t
Definition: cs_fan.h:51
void cs_fan_cells_select(void *input, cs_lnum_t *n_cells, cs_lnum_t **cell_ids)
Selection function for cells belonging to fans.
Definition: cs_fan.c:956
double cs_real_t
Floating-point value.
Definition: cs_defs.h:302
#define BEGIN_C_DECLS
Definition: cs_defs.h:467
void cs_fan_define(int fan_dim, const cs_real_t inlet_axis_coords[3], const cs_real_t outlet_axis_coords[3], cs_real_t fan_radius, cs_real_t blades_radius, cs_real_t hub_radius, const cs_real_t curve_coeffs[3], cs_real_t axial_torque)
Fan definition (added to the ones previously defined)
Definition: cs_fan.c:226
Definition: cs_mesh_quantities.h:90
void cs_real_t cs_real_t cs_real_t rhofab[]
Definition: cs_fan.h:74
void cs_fan_compute_flows(const cs_mesh_t *mesh, const cs_mesh_quantities_t *mesh_quantities, const cs_real_t i_mass_flux[], const cs_real_t b_mass_flux[], const cs_real_t c_rho[], const cs_real_t b_rho[])
Compute the flows through the fans.
Definition: cs_fan.c:610
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:298
void cs_fan_compute_force(const cs_mesh_quantities_t *mesh_quantities, cs_real_3_t source_t[])
Compute the force induced by the fans (needs a previous calculation of the flows through each fan).
Definition: cs_fan.c:750
void cs_fan_flag_cells(const cs_mesh_t *mesh, int cell_fan_id[])
Flag the cells belonging to the different fans (by the fan id, -1 otherwise)
Definition: cs_fan.c:904
void cs_real_t flumab[]
Definition: cs_fan.h:74
void CS_PROCF(debvtl, DEBVTL)(cs_real_t flumas[]