8.3
general documentation
cs_drift_convective_flux.cpp File Reference
#include "cs_defs.h"
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <math.h>
#include <mpi.h>
#include "bft_printf.h"
#include "cs_array.h"
#include "cs_assert.h"
#include "cs_balance.h"
#include "cs_boundary_conditions.h"
#include "cs_boundary_conditions_set_coeffs.h"
#include "cs_convection_diffusion.h"
#include "cs_divergence.h"
#include "cs_face_viscosity.h"
#include "cs_field_default.h"
#include "cs_field_pointer.h"
#include "cs_mesh.h"
#include "cs_mesh_quantities.h"
#include "cs_physical_constants.h"
#include "cs_turbulence_model.h"
#include "cs_volume_mass_injection.h"
#include "cs_drift_convective_flux.h"
+ Include dependency graph for cs_drift_convective_flux.cpp:

Functions

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. 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...
 

Detailed Description

!

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