9.2
general documentation
cs_atmo_source_terms.cpp File Reference
#include "base/cs_defs.h"
#include <assert.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <float.h>
#include <mpi.h>
#include "alge/cs_gradient.h"
#include "atmo/cs_air_props.h"
#include "atmo/cs_atmo_1d_rad.h"
#include "atmo/cs_atmo.h"
#include "atmo/cs_atmo_profile_std.h"
#include "atmo/cs_intprf.h"
#include "base/cs_array.h"
#include "base/cs_boundary_conditions.h"
#include "base/cs_field.h"
#include "base/cs_field_default.h"
#include "base/cs_field_pointer.h"
#include "base/cs_measures_util.h"
#include "base/cs_mem.h"
#include "base/cs_parall.h"
#include "base/cs_physical_constants.h"
#include "base/cs_reducers.h"
#include "base/cs_thermal_model.h"
#include "mesh/cs_mesh.h"
#include "mesh/cs_mesh_quantities.h"
#include "pprt/cs_physical_model.h"
#include "rayt/cs_rad_transfer.h"
#include "turb/cs_turbulence_model.h"
#include "atmo/cs_atmo_source_terms.h"
+ Include dependency graph for cs_atmo_source_terms.cpp:

Functions

void cs_atmo_source_term (int f_id, cs_real_t exp_st[], cs_real_t imp_st[])
 Phase change source terms - Exchange terms between the injected liquid and the water vapor phase in the bulk, humid air. More...
 
void cs_atmo_scalar_source_term (int f_id, cs_real_t st_exp[])
 Additional right-hand side source terms for scalar equations taking into account dry and humid atmospheric variables. If 1D atmospheric radiative is used additional source terms for the thermal scalar equation to take into account the radiative forcing. More...
 
void cs_atmo_source_term_for_inlet (cs_real_3_t exp_st[])
 Additional right-hand side source terms for momentum equation in case of free inlet. More...
 
void cs_atmo_aerosol_nuclea (cs_field_t *f_ntdrp, const cs_real_t *rom)
 Compute aerosol cloud droplets nucleation when using the atmospheric humid model using a microphysical model. More...
 

Detailed Description

compute source terms

Function Documentation

◆ cs_atmo_aerosol_nuclea()

void cs_atmo_aerosol_nuclea ( cs_field_t f_ntdrp,
const cs_real_t rom 
)

Compute aerosol cloud droplets nucleation when using the atmospheric humid model using a microphysical model.

It is taken into account as an additional step split from advection-diffusion equation, hence the droplet number is first clipped if necessary.

Parameters
[out]f_ntdrpdroplet number field in 1/cm**3
[in]romdensity of air in kg/m**3

◆ cs_atmo_scalar_source_term()

void cs_atmo_scalar_source_term ( int  f_id,
cs_real_t  st_exp[] 
)

Additional right-hand side source terms for scalar equations taking into account dry and humid atmospheric variables. If 1D atmospheric radiative is used additional source terms for the thermal scalar equation to take into account the radiative forcing.

Additional right-hand side source terms for scalar equations taking into account dry and humid atmospheric variables. If 1D atmospheric radiative module is used additional source terms for the thermal scalar equation to take into account the radiative forcing.

Parameters
[in]f_idfield id
[in,out]st_expExplicit source term

◆ cs_atmo_source_term()

void cs_atmo_source_term ( int  f_id,
cs_real_t  exp_st[],
cs_real_t  imp_st[] 
)

Phase change source terms - Exchange terms between the injected liquid and the water vapor phase in the bulk, humid air.

Parameters
[in]f_idfield id
[in,out]exp_stExplicit source term
[in,out]imp_stImplicit source term

◆ cs_atmo_source_term_for_inlet()

void cs_atmo_source_term_for_inlet ( cs_real_3_t  exp_st[])

Additional right-hand side source terms for momentum equation in case of free inlet.

Parameters
[in,out]exp_stExplicit source term