1 #ifndef __CS_CDOFB_NAVSTO_H__ 2 #define __CS_CDOFB_NAVSTO_H__ 102 const void *nsc_input);
116 const void *nsc_input);
Store common elements used when building an algebraic system related to an equation.
Definition: cs_equation_common.h:63
time step descriptor
Definition: cs_time_step.h:51
void cs_cdofb_navsto_init_ac_vpp_context(const cs_navsto_param_t *nsp, const void *nsc_input)
Initialize a cs_cdofb_navsto_t structure storing in the case of an Artificial Compressibility - VPP a...
Definition: cs_cdofb_navsto.c:282
Set of parameters to handle an unsteady convection-diffusion-reaction equation with term sources...
Definition: cs_equation_param.h:159
void cs_cdofb_navsto_init_proj_context(const cs_navsto_param_t *nsp, const void *nsc_input)
Initialize a cs_cdofb_navsto_t structure storing in the case of an incremental Projection approach...
Definition: cs_cdofb_navsto.c:318
void cs_cdofb_navsto_init_common(const cs_cdo_quantities_t *quant, const cs_cdo_connect_t *connect, const cs_time_step_t *time_step, const cs_matrix_structure_t *sms, const cs_matrix_structure_t *vms)
Set shared pointers from the main domain members for CDO face-based schemes.
Definition: cs_cdofb_navsto.c:249
#define BEGIN_C_DECLS
Definition: cs_defs.h:462
void cs_cdofb_navsto_proj_compute(const cs_mesh_t *mesh, double dt_cur, const cs_navsto_param_t *nsp, void *nsc_input)
Solve the Navier-Stokes system with a CDO face-based scheme using an incremental correction-projectio...
Definition: cs_cdofb_navsto.c:415
Definition: cs_cdo_connect.h:74
Structure storing the parameters related to the resolution of the Navier-Stokes system.
Definition: cs_navsto_param.h:141
double cs_real_t
Floating-point value.
Definition: cs_defs.h:297
void cs_cdofb_navsto_ac_vpp_compute(const cs_mesh_t *mesh, double dt_cur, const cs_navsto_param_t *nsp, void *nsc_input)
Solve the Navier-Stokes system with a CDO face-based scheme using an Artificial Compressibility - VPP...
Definition: cs_cdofb_navsto.c:381
Definition: cs_cdo_quantities.h:94
void cs_cdofb_navsto_set_zero_mean_pressure(cs_real_t values[])
Update the pressure field in order to get a field with a zero-mean average.
Definition: cs_cdofb_navsto.c:511
cs_real_t * cs_cdofb_navsto_get_face_velocity(void)
Retrieve the values of the velocity on the faces.
Definition: cs_cdofb_navsto.c:444
cs_real_t * cs_cdofb_navsto_get_face_pressure(void)
Retrieve the values of the pressure on the faces.
Definition: cs_cdofb_navsto.c:461
void cs_cdofb_navsto_free_context(const cs_navsto_param_t *nsp)
Destroy a cs_cdofb_navsto_t structure.
Definition: cs_cdofb_navsto.c:351
#define END_C_DECLS
Definition: cs_defs.h:463
void cs_cdofb_navsto_update_fields(const cs_real_t *solu, const cs_real_t *rhs, const cs_equation_param_t *eqp, cs_equation_builder_t *eqb, void *data, cs_real_t *field_val)
Store solution(s) of the linear system into a field structure Update extra-field values if required (...
Definition: cs_cdofb_navsto.c:484
Structure and routines handling the specific settings related to a cs_equation_t structure.
struct _cs_matrix_structure_t cs_matrix_structure_t
Definition: cs_matrix.h:86