1#ifndef __CS_BOUNDARY_CONDITIONS_PRIV_H__
2#define __CS_BOUNDARY_CONDITIONS_PRIV_H__
64 CS_BC_VEL_RESCALE_NONE,
65 CS_BC_VEL_RESCALE_MASS_FLOW_RATE,
66 CS_BC_VEL_RESCALE_VOLUME_FLOW_RATE
68} cs_bc_velocity_rescale_t;
77 CS_BC_TURB_BY_HYDRAULIC_DIAMETER,
78 CS_BC_TURB_BY_TURBULENT_INTENSITY
80} cs_bc_turbulence_compute_t;
83#define CS_BC_OPEN_CONSTANT (1 << 1)
86#define CS_BC_OPEN_UNIFORM_QUANTITY (1 << 2)
89#define CS_BC_OPEN_UNIFORM_DIRECTION (1 << 3)
92#define CS_BC_OPEN_NORMAL_DIRECTION (1 << 4)
124 cs_bc_velocity_rescale_t vel_rescale;
125 cs_bc_turbulence_compute_t turb_compute;
150 void *vel_func_input;
156 void *flow_func_input;
161 void *scale_func_input;
176} cs_boundary_conditions_open_t;
194cs_boundary_conditions_open_t *
207cs_boundary_conditions_open_t *
cs_boundary_conditions_open_t * cs_boundary_conditions_open_find(const cs_zone_t *zone)
Get an open boundary context structure for a given zone.
Definition: cs_boundary_conditions.cpp:1825
cs_boundary_conditions_open_t * cs_boundary_conditions_open_find_or_add(const cs_zone_t *zone)
Find or add an open boundary context for a given zone.
Definition: cs_boundary_conditions.cpp:1730
#define BEGIN_C_DECLS
Definition: cs_defs.h:542
double cs_real_t
Floating-point value.
Definition: cs_defs.h:342
void *() cs_destructor_t(void *s)
Destroy a given structure.
Definition: cs_defs.h:634
#define END_C_DECLS
Definition: cs_defs.h:543
void() cs_eval_at_location_t(int location_id, cs_lnum_t n_elts, const cs_lnum_t *elt_ids, void *input, void *vals)
Function pointer for evaluation of local function values.
Definition: cs_function.h:112
void() cs_dof_func_t(cs_lnum_t n_elts, const cs_lnum_t *elt_ids, bool dense_output, void *input, cs_real_t *retval)
Generic function pointer for computing a quantity at predefined locations such as degrees of freedom ...
Definition: cs_param_types.h:154
Definition: cs_time_control.h:96