9.0
general documentation
Loading...
Searching...
No Matches
cs_drift_convective_flux.cpp File Reference
#include "base/cs_defs.h"
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <math.h>
#include "bft/bft_printf.h"
#include "base/cs_array.h"
#include "base/cs_assert.h"
#include "alge/cs_balance.h"
#include "base/cs_boundary_conditions.h"
#include "base/cs_boundary_conditions_set_coeffs.h"
#include "alge/cs_convection_diffusion.h"
#include "alge/cs_divergence.h"
#include "alge/cs_face_viscosity.h"
#include "base/cs_field_default.h"
#include "base/cs_field_pointer.h"
#include "base/cs_mem.h"
#include "mesh/cs_mesh.h"
#include "mesh/cs_mesh_quantities.h"
#include "base/cs_physical_constants.h"
#include "turb/cs_turbulence_model.h"
#include "base/cs_volume_mass_injection.h"
#include "base/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, cs_real_t b_mass_flux[])
 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.

Detailed Description

!

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