1 #ifndef __CS_NAVSTO_COUPLING_H__ 2 #define __CS_NAVSTO_COUPLING_H__ void cs_navsto_uzawa_last_setup(const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_navsto_param_t *nsp, void *context)
Finalize the setup for the Navier-Stokes equations when an Uzawa Augmented Lagrangian algorithm is us...
Definition: cs_navsto_coupling.c:272
void cs_navsto_ac_vpp_last_setup(const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_navsto_param_t *nsp, void *context)
Finalize the setup for the Navier-Stokes equations when an Artificial Compressibility algorithm is us...
Definition: cs_navsto_coupling.c:711
void cs_navsto_ac_init_setup(const cs_navsto_param_t *nsp, void *context)
Start setting-up the Navier-Stokes equations when an Artificial Compressibility algorithm is used to ...
Definition: cs_navsto_coupling.c:409
void cs_navsto_monolithic_init_setup(const cs_navsto_param_t *nsp, void *context)
Start setting-up the Navier-Stokes equations when a monolithic algorithm is used to coupled the syste...
Definition: cs_navsto_coupling.c:850
cs_field_t * predicted_velocity
Definition: cs_navsto_coupling.h:143
Field descriptor.
Definition: cs_field.h:124
Set of parameters specific for solving the Navier-Stokes system with the "artificial compressibility"...
Definition: cs_navsto_coupling.h:91
void cs_navsto_monolithic_last_setup(const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_navsto_param_t *nsp, void *context)
Finalize the setup for the Navier-Stokes equations when a monolithic algorithm is used to coupled the...
Definition: cs_navsto_coupling.c:927
void * cs_navsto_monolithic_create_context(cs_navsto_param_t *nsp, cs_param_bc_type_t bc)
Allocate and initialize a context structure when the Navier-Stokes system is coupled using a monolith...
Definition: cs_navsto_coupling.c:780
cs_equation_t * cs_navsto_uzawa_get_momentum_eq(void *context)
Retrieve the pointer to the cs_equation_t structure related to the momentum equation in case of Uzawa...
Definition: cs_navsto_coupling.c:314
#define BEGIN_C_DECLS
Definition: cs_defs.h:467
void * cs_navsto_uzawa_create_context(cs_navsto_param_t *nsp, cs_param_bc_type_t bc)
Allocate and initialize a context structure when the Navier-Stokes system is coupled using an Uzawa-A...
Definition: cs_navsto_coupling.c:110
cs_equation_t * cs_navsto_ac_vpp_get_momentum_eq(void *context)
Retrieve the pointer to the cs_equation_t structure related to the momentum equation in case of artif...
Definition: cs_navsto_coupling.c:754
Definition: cs_cdo_connect.h:74
cs_property_t * zeta
Definition: cs_navsto_coupling.h:98
cs_equation_t * cs_navsto_ac_get_momentum_eq(void *context)
Retrieve the pointer to the cs_equation_t structure related to the momentum equation in case of artif...
Definition: cs_navsto_coupling.c:524
cs_real_t * bdy_pressure_incr
Definition: cs_navsto_coupling.h:137
cs_equation_t * energy
Definition: cs_navsto_coupling.h:158
Structure storing the parameters related to the resolution of the Navier-Stokes system.
Definition: cs_navsto_param.h:255
double cs_real_t
Floating-point value.
Definition: cs_defs.h:302
void * cs_navsto_projection_free_context(const cs_navsto_param_t *nsp, void *context)
Free the context structure related to a Projection approach.
Definition: cs_navsto_coupling.c:1056
Definition: cs_cdo_quantities.h:94
void cs_navsto_projection_last_setup(const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_navsto_param_t *nsp, void *context)
Finalize the setup for the Navier-Stokes equations when a projection algorithm is used to coupled the...
Definition: cs_navsto_coupling.c:1133
void * cs_navsto_ac_vpp_free_context(const cs_navsto_param_t *nsp, void *context)
Free the context structure related to an Artificial Compressibility with the VPP approach.
Definition: cs_navsto_coupling.c:612
void cs_navsto_uzawa_init_setup(const cs_navsto_param_t *nsp, void *context)
Start setting-up the Navier-Stokes equations when a Uzawa Augmented Lagrangian algorithm is used to c...
Definition: cs_navsto_coupling.c:185
void * cs_navsto_ac_create_context(cs_navsto_param_t *nsp, cs_param_bc_type_t bc)
Allocate and initialize a context structure when the Navier-Stokes system is coupled using an Artific...
Definition: cs_navsto_coupling.c:337
cs_equation_t * cs_navsto_projection_get_momentum_eq(void *context)
Retrieve the pointer to the cs_equation_t structure related to the momentum equation in case of a pro...
Definition: cs_navsto_coupling.c:1190
cs_equation_t * momentum
Definition: cs_navsto_coupling.h:111
cs_equation_t * correction
Definition: cs_navsto_coupling.h:126
void cs_navsto_ac_vpp_init_setup(const cs_navsto_param_t *nsp, void *context)
Start setting-up the Navier-Stokes equations when an Artificial Compressibility with VPP algorithm is...
Definition: cs_navsto_coupling.c:637
cs_equation_t * prediction
Definition: cs_navsto_coupling.h:124
void cs_navsto_ac_last_setup(const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_navsto_param_t *nsp, void *context)
Finalize the setup for the Navier-Stokes equations when an Artificial Compressibility algorithm is us...
Definition: cs_navsto_coupling.c:483
Set of parameters specific for solving the Navier-Stokes system with an incremental projection algori...
Definition: cs_navsto_coupling.h:122
cs_param_bc_type_t
Definition: cs_param.h:302
cs_real_t * div_st
Definition: cs_navsto_coupling.h:132
cs_equation_t * graddiv
Definition: cs_navsto_coupling.h:94
void cs_navsto_projection_init_setup(const cs_navsto_param_t *nsp, int loc_id, bool has_previous, void *context)
Start setting-up the Navier-Stokes equations when a projection algorithm is used to coupled the syste...
Definition: cs_navsto_coupling.c:1085
void * cs_navsto_projection_create_context(cs_navsto_param_t *nsp, cs_param_bc_type_t bc)
Allocate and initialize a context structure when the Navier-Stokes system is coupled using an increme...
Definition: cs_navsto_coupling.c:987
cs_equation_t * momentum
Definition: cs_navsto_coupling.h:77
void * cs_navsto_ac_vpp_create_context(cs_navsto_param_t *nsp, cs_param_bc_type_t bc)
Allocate and initialize a context structure when the Navier-Stokes system is coupled using an Artific...
Definition: cs_navsto_coupling.c:547
Set of parameters specific for solving the Navier-Stokes system with a fully coupled algorithm using ...
Definition: cs_navsto_coupling.h:155
#define END_C_DECLS
Definition: cs_defs.h:468
cs_equation_t * momentum
Definition: cs_navsto_coupling.h:93
void * cs_navsto_monolithic_free_context(const cs_navsto_param_t *nsp, void *context)
Free the context structure related to a monolithic approach.
Definition: cs_navsto_coupling.c:825
cs_equation_t * momentum
Definition: cs_navsto_coupling.h:157
cs_property_t * zeta
Definition: cs_navsto_coupling.h:160
cs_property_t * zeta
Definition: cs_navsto_coupling.h:79
Main structure to handle the discretization and the resolution of an equation.
void * cs_navsto_ac_free_context(const cs_navsto_param_t *nsp, void *context)
Free the context structure related to an Artificial Compressibility approach.
Definition: cs_navsto_coupling.c:384
cs_equation_t * cs_navsto_monolithic_get_momentum_eq(void *context)
Retrieve the pointer to the cs_equation_t structure related to the momentum equation in case of a mon...
Definition: cs_navsto_coupling.c:963
void * cs_navsto_uzawa_free_context(const cs_navsto_param_t *nsp, void *context)
Free the context structure related to an Uzawa-Augmented Lagrangian approach.
Definition: cs_navsto_coupling.c:160
Definition: cs_property.h:104
Set of parameters specific for solving the Navier-Stokes system with a fully coupled monolithic algor...
Definition: cs_navsto_coupling.h:109
Set of parameters specific for solving the Navier-Stokes system with the "artificial compressibility"...
Definition: cs_navsto_coupling.h:75