1#ifndef CS_MACFB_MONOLITHIC_H
2#define CS_MACFB_MONOLITHIC_H
time step descriptor
Definition: cs_time_step.h:60
int cs_boundary_type_t
Definition: cs_boundary.h:65
double cs_real_t
Floating-point value.
Definition: cs_defs.h:332
cs_real_t * cs_equation_get_face_values(const cs_equation_t *eq, bool previous)
For a given equation, retrieve an array of values related to each face of the mesh for the unknowns.
Definition: cs_equation.cpp:3253
cs_equation_t * cs_equation_by_name(const char *eqname)
Find the cs_equation_t structure with name eqname Return null if not find.
Definition: cs_equation.cpp:495
void cs_macfb_monolithic_steady(const cs_mesh_t *mesh, const cs_navsto_param_t *nsp, cs_macfb_monolithic_t *sc)
Solve the steady Navier-Stokes system with a MAC face-based scheme using a monolithic approach.
Definition: cs_macfb_monolithic.cpp:1303
cs::cdo_navsto_ctx_t * cs_macfb_monolithic_init_scheme_context(const cs_navsto_param_t *nsp, cs_adv_field_t *adv_field, cs_real_t *mflux, cs_real_t *mflux_pre, cs_boundary_type_t *bf_type, void *cc_context)
Initialize a cs_macfb_monolithic_t structure.
Definition: cs_macfb_monolithic.cpp:1033
void cs_macfb_monolithic(const cs_mesh_t *mesh, const cs_navsto_param_t *nsp, cs_macfb_monolithic_t *sc)
Solve the unsteady Navier-Stokes system with a MAC face-based scheme using a monolithic approach....
Definition: cs_macfb_monolithic.cpp:1549
void cs_macfb_monolithic_init_sharing(const cs_equation_param_t *mom_eqp, const cs_mesh_t *mesh, const cs_cdo_quantities_t *quant, const cs_cdo_connect_t *connect, const cs_time_step_t *time_step)
Set shared pointers from the main domain members.
Definition: cs_macfb_monolithic.cpp:972
void cs_macfb_monolithic_steady_nl(const cs_mesh_t *mesh, const cs_navsto_param_t *nsp, cs_macfb_monolithic_t *sc)
Solve the steady Navier-Stokes system with a MAC face-based scheme using a monolithic approach and Pi...
Definition: cs_macfb_monolithic.cpp:1383
void cs_macfb_monolithic_nl(const cs_mesh_t *mesh, const cs_navsto_param_t *nsp, cs_macfb_monolithic_t *sc)
Solve the unsteady Navier-Stokes system with a MAC face-based scheme using a monolithic approach....
Definition: cs_macfb_monolithic.cpp:1627
void cs_macfb_monolithic_finalize_common(void)
Free shared pointers with lifecycle dedicated to this file.
Definition: cs_macfb_monolithic.cpp:1015
void * cs_macfb_monolithic_free_scheme_context(cs_macfb_monolithic_t *sc)
Destroy a cs_macfb_monolithic_t structure.
Definition: cs_macfb_monolithic.cpp:1259
static cs_real_t * cs_macfb_monolithic_get_face_velocity(bool previous)
Retrieve the values of the velocity on the faces.
Definition: cs_macfb_monolithic.h:74
Structures and function pointers useful to build and solve the Navier-Stokes equations with MAC face-...
struct _macfb_monolithic_t cs_macfb_monolithic_t
Definition: cs_macfb_monolithic_priv.h:72
Context related to CDO face-based discretization when dealing with Navier-Stokes equations and vector...
Definition: cs_navsto_context.h:48
Definition: cs_advection_field.h:151
Definition: cs_cdo_connect.h:57
Definition: cs_cdo_quantities.h:142
Set of parameters to handle an unsteady convection-diffusion-reaction equation with term sources.
Definition: cs_equation_param.h:190
Structure storing the parameters related to the resolution of the Navier-Stokes system.
Definition: cs_navsto_param.h:296