9.0
general documentation
Loading...
Searching...
No Matches
cs_cdofb_predco.h File Reference
Include dependency graph for cs_cdofb_predco.h:

Go to the source code of this file.

Functions

void cs_cdofb_predco_init_common (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.
void * cs_cdofb_predco_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 *fb_type, void *nsc_input)
 Initialize a cs_cdofb_predco_t structure.
void * cs_cdofb_predco_free_scheme_context (void *scheme_context)
 Destroy a cs_cdofb_predco_t structure.
void cs_cdofb_predco_compute_implicit (const cs_mesh_t *mesh, const cs_navsto_param_t *nsp, void *scheme_context)
 Solve the unsteady Navier-Stokes system with a CDO face-based scheme using a Artificial Compressibility approach and an Euler time scheme.

Function Documentation

◆ cs_cdofb_predco_compute_implicit()

void cs_cdofb_predco_compute_implicit ( const cs_mesh_t * mesh,
const cs_navsto_param_t * nsp,
void * scheme_context )

Solve the unsteady Navier-Stokes system with a CDO face-based scheme using a Artificial Compressibility approach and an Euler time scheme.

Parameters
[in]meshpointer to a cs_mesh_t structure
[in]nsppointer to a cs_navsto_param_t structure
[in,out]scheme_contextpointer to a structure cast on-the-fly

Solve the unsteady Navier-Stokes system with a CDO face-based scheme using a Artificial Compressibility approach and an Euler time scheme.

Parameters
[in]meshpointer to a cs_mesh_t structure
[in]nsppointer to a cs_navsto_param_t structure
[in,out]scheme_contextpointer to a structure cast on-the-fly

◆ cs_cdofb_predco_free_scheme_context()

void * cs_cdofb_predco_free_scheme_context ( void * scheme_context)

Destroy a cs_cdofb_predco_t structure.

Parameters
[in]scheme_contextpointer to a scheme context structure to free
Returns
a null pointer

◆ cs_cdofb_predco_init_common()

void cs_cdofb_predco_init_common ( 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.

Parameters
[in]quantadditional mesh quantities struct.
[in]connectpointer to a cs_cdo_connect_t struct.
[in]time_steppointer to a cs_time_step_t structure

◆ cs_cdofb_predco_init_scheme_context()

void * cs_cdofb_predco_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 * fb_type,
void * nsc_input )

Initialize a cs_cdofb_predco_t structure.

Parameters
[in]nsppointer to a cs_navsto_param_t structure
[in]adv_fieldpointer to cs_adv_field_t structure
[in]mfluxcurrent values of the mass flux across primal faces
[in]mflux_preprevious values of the mass flux across primal faces
[in]fb_typetype of boundary for each boundary face
[in]nsc_inputpointer to a cs_navsto_projection_t structure
Returns
a pointer to a new allocated cs_cdofb_predco_t structure