9.0
general documentation
Loading...
Searching...
No Matches
cs_drift_convective_flux.h File Reference
#include "base/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, cs_real_t bmasfl[])
 Update boundary flux mass of the mixture.
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.

Function Documentation

◆ cs_drift_boundary_mass_flux()

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

Update boundary flux mass of the mixture.

Parameters
[in]mpointer to associated mesh 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