8.3
general documentation
cs_drift_convective_flux.h File Reference
#include "cs_defs.h"
+ Include dependency graph for cs_drift_convective_flux.h:

Go to the source code of this file.

Functions

void cs_drift_boundary_mass_flux (const cs_mesh_t *m, const cs_mesh_quantities_t *mq, cs_real_t bmasfl[])
 Update boundary flux mass of the mixture. More...
 
void cs_drift_convective_flux (cs_field_t *f_sc, cs_real_t i_mass_flux[], cs_real_t b_mass_flux[], cs_real_t fimp[], cs_real_t rhs[])
 Compute the modified convective flux for scalars with a drift. More...
 

Function Documentation

◆ cs_drift_boundary_mass_flux()

void cs_drift_boundary_mass_flux ( const cs_mesh_t m,
const cs_mesh_quantities_t mq,
cs_real_t  b_mass_flux[] 
)

Update boundary flux mass of the mixture.

Parameters
[in]mpointer to associated mesh structure
[in]mqpointer to associated mesh quantities structure
[in,out]bmasflboundary face mass flux

◆ cs_drift_convective_flux()

void cs_drift_convective_flux ( cs_field_t f_sc,
cs_real_t  i_mass_flux[],
cs_real_t  b_mass_flux[],
cs_real_t  fimp[],
cs_real_t  rhs[] 
)

Compute the modified convective flux for scalars with a drift.

Parameters
[in]f_scdrift scalar field
[in,out]i_mass_fluxscalar mass flux at interior face centers
[in,out]b_mass_fluxscalar mass flux at boundary face centers
[in,out]fimpimplicit term
[in,out]rhsright hand side term