8.0
general documentation
cs_atmo_aerosol.c File Reference
#include "cs_defs.h"
#include <assert.h>
#include <errno.h>
#include <ctype.h>
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <float.h>
#include "bft_mem.h"
#include "bft_error.h"
#include "bft_printf.h"
#include "cs_air_props.h"
#include "cs_base.h"
#include "cs_boundary_conditions.h"
#include "cs_domain.h"
#include "cs_field.h"
#include "cs_field_default.h"
#include "cs_field_pointer.h"
#include "cs_log.h"
#include "cs_math.h"
#include "cs_mesh.h"
#include "cs_mesh_location.h"
#include "cs_mesh_quantities.h"
#include "cs_parall.h"
#include "cs_physical_constants.h"
#include "cs_prototypes.h"
#include "cs_thermal_model.h"
#include "cs_atmo.h"
#include "cs_atmo_aerosol.h"
#include "cs_atmo_aerosol_ssh.h"
+ Include dependency graph for cs_atmo_aerosol.c:

Functions

void cs_atmo_aerosol_initialize (void)
 This function initializes the external aerosol code. More...
 
void cs_atmo_aerosol_finalize (void)
 This function finalizes the external aerosol code. More...
 
void cs_atmo_aerosol_get_aero (cs_real_t *array)
 This function fills the given array with aerosol concentrations and numbers from the external aerosol code. More...
 
void cs_atmo_aerosol_get_gas (cs_real_t *array)
 This function fills the given array with gas concentrations from the external aerosol code. More...
 
void cs_atmo_aerosol_time_advance (void)
 This function computes a time step of gaseous chemistry and aerosols dynamic using the external aerosol code. More...
 
void cs_atmo_aerosol_nuclea (cs_real_t *nc, const cs_real_t *rom, const cs_real_t *qldia, const cs_real_t *pphy, const cs_real_t *refrad)
 Compute aerosol cloud droplets nucleation when using the atmospheric humid model using a microphysical model. More...
 

Function Documentation

◆ cs_atmo_aerosol_finalize()

void cs_atmo_aerosol_finalize ( void  )

This function finalizes the external aerosol code.

◆ cs_atmo_aerosol_get_aero()

void cs_atmo_aerosol_get_aero ( cs_real_t array)

This function fills the given array with aerosol concentrations and numbers from the external aerosol code.

This function fills the given array with aerosol concentrations and numbers from the external aerosol code..

Parameters
[out]arrayaerosol concentrations and numbers

◆ cs_atmo_aerosol_get_gas()

void cs_atmo_aerosol_get_gas ( cs_real_t array)

This function fills the given array with gas concentrations from the external aerosol code.

Parameters
[out]arraygas concentrations

◆ cs_atmo_aerosol_initialize()

void cs_atmo_aerosol_initialize ( void  )

This function initializes the external aerosol code.

◆ cs_atmo_aerosol_nuclea()

void cs_atmo_aerosol_nuclea ( cs_real_t nc,
const cs_real_t rom,
const cs_real_t qldia,
const cs_real_t pphy,
const cs_real_t refrad 
)

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]ncdroplet number (scalar) in 1/cm**3
[in]romdensity of air in kg/m**3
[in]qldiamass fraction of liquid water in kg/kg
[in]pphytrue pressure in pascals
[in]refradradiative cooling

◆ cs_atmo_aerosol_time_advance()

void cs_atmo_aerosol_time_advance ( void  )

This function computes a time step of gaseous chemistry and aerosols dynamic using the external aerosol code.