9.0
general documentation
Loading...
Searching...
No Matches
cs_atmo_aerosol_ssh.cpp File Reference
#include "base/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/bft_mem.h"
#include "bft/bft_error.h"
#include "bft/bft_printf.h"
#include "atmo/cs_air_props.h"
#include "base/cs_base.h"
#include "cdo/cs_domain.h"
#include "base/cs_field.h"
#include "base/cs_field_default.h"
#include "base/cs_field_pointer.h"
#include "base/cs_log.h"
#include "base/cs_math.h"
#include "mesh/cs_mesh.h"
#include "mesh/cs_mesh_location.h"
#include "mesh/cs_mesh_quantities.h"
#include "base/cs_parall.h"
#include "base/cs_physical_constants.h"
#include "base/cs_prototypes.h"
#include "base/cs_post.h"
#include "base/cs_thermal_model.h"
#include "atmo/cs_atmo.h"
#include "atmo/cs_atmo_aerosol.h"
#include "atmo/cs_atmo_aerosol_ssh.h"
Include dependency graph for cs_atmo_aerosol_ssh.cpp:

Functions

void cs_atmo_aerosol_ssh_initialize (void)
 This function initializes SSH-aerosol.
void cs_atmo_aerosol_ssh_finalize (void)
 This function finalizes SSH-aerosol.
void cs_atmo_aerosol_ssh_compute_numbers (cs_real_t *dlconc0)
 This function computes the number of aerosols using the given array.
void cs_atmo_aerosol_ssh_set_t_p_h (cs_real_t *T, cs_real_t *P, cs_real_t *yw)
 This function takes as input absolute temperature T total pressure P water mass fraction yw It computes absolute temperature relative humidity Then updates the humidity in SSH.
void cs_atmo_aerosol_ssh_set_aero (cs_real_t *array)
 This function uses the given array to update the aerosol concentrations and numbers in SSH-aerosol.
void cs_atmo_aerosol_ssh_get_aero (cs_real_t *array)
 This function fills the given array with aerosol concentrations and numbers from SSH-aerosol.
void cs_atmo_aerosol_ssh_set_gas (cs_real_t *array)
 This function uses the given array to update the gas concentrations in SSH-aerosol.
void cs_atmo_aerosol_ssh_get_gas (cs_real_t *array)
 This function fills the given array with gas concentrations from SSH-aerosol.
void cs_atmo_aerosol_ssh_time_advance (void)
 This function computes a time step of gaseous chemistry and aerosols dynamic using SSH-aerosol.

Function Documentation

◆ cs_atmo_aerosol_ssh_compute_numbers()

void cs_atmo_aerosol_ssh_compute_numbers ( cs_real_t * dlconc0)

This function computes the number of aerosols using the given array.

◆ cs_atmo_aerosol_ssh_finalize()

void cs_atmo_aerosol_ssh_finalize ( void )

This function finalizes SSH-aerosol.

◆ cs_atmo_aerosol_ssh_get_aero()

void cs_atmo_aerosol_ssh_get_aero ( cs_real_t * array)

This function fills the given array with aerosol concentrations and numbers from SSH-aerosol.

◆ cs_atmo_aerosol_ssh_get_gas()

void cs_atmo_aerosol_ssh_get_gas ( cs_real_t * array)

This function fills the given array with gas concentrations from SSH-aerosol.

◆ cs_atmo_aerosol_ssh_initialize()

void cs_atmo_aerosol_ssh_initialize ( void )

This function initializes SSH-aerosol.

◆ cs_atmo_aerosol_ssh_set_aero()

void cs_atmo_aerosol_ssh_set_aero ( cs_real_t * array)

This function uses the given array to update the aerosol concentrations and numbers in SSH-aerosol.

◆ cs_atmo_aerosol_ssh_set_gas()

void cs_atmo_aerosol_ssh_set_gas ( cs_real_t * array)

This function uses the given array to update the gas concentrations in SSH-aerosol.

◆ cs_atmo_aerosol_ssh_set_t_p_h()

void cs_atmo_aerosol_ssh_set_t_p_h ( cs_real_t * T,
cs_real_t * P,
cs_real_t * yw )

This function takes as input absolute temperature T total pressure P water mass fraction yw It computes absolute temperature relative humidity Then updates the humidity in SSH.

◆ cs_atmo_aerosol_ssh_time_advance()

void cs_atmo_aerosol_ssh_time_advance ( void )

This function computes a time step of gaseous chemistry and aerosols dynamic using SSH-aerosol.