#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"
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... | |
void cs_atmo_aerosol_finalize | ( | void | ) |
This function finalizes the external aerosol code.
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..
[out] | array | aerosol concentrations and numbers |
void cs_atmo_aerosol_get_gas | ( | cs_real_t * | array | ) |
This function fills the given array with gas concentrations from the external aerosol code.
[out] | array | gas concentrations |
void cs_atmo_aerosol_initialize | ( | void | ) |
This function initializes the external aerosol code.
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.
[out] | nc | droplet number (scalar) in 1/cm**3 |
[in] | rom | density of air in kg/m**3 |
[in] | qldia | mass fraction of liquid water in kg/kg |
[in] | pphy | true pressure in pascals |
[in] | refrad | radiative cooling |
void cs_atmo_aerosol_time_advance | ( | void | ) |
This function computes a time step of gaseous chemistry and aerosols dynamic using the external aerosol code.