#include "cs_defs.h"
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "cs_log.h"
#include "bft_mem.h"
#include "bft_error.h"
#include "bft_printf.h"
#include "cs_field.h"
#include "cs_parall.h"
#include "cs_physical_model.h"
#include "cs_post.h"
#include "cs_gas_mix.h"
Functions | |
int | cs_gas_mix_get_field_key (void) |
Get the field key for gas mix properties. More... | |
void | cs_gas_mix_add_species (int f_id) |
Add a species field to the gas mix (set of fields). More... | |
void | cs_gas_mix_add_species_with_properties (int f_id, cs_real_t mol_mass, cs_real_t cp, cs_real_t vol_diff, cs_real_t mu_a, cs_real_t mu_b, cs_real_t lambda_a, cs_real_t lambda_b, cs_real_t mu_ref, cs_real_t lambda_ref, cs_real_t tref_mu, cs_real_t tref_lambda, cs_real_t s_mu, cs_real_t s_lambda) |
Add a species field to the gas mix (set of fields). More... | |
void | cs_gas_mix_add_property_fields (void) |
Add property fields specific to a gas mix. More... | |
void | cs_gas_mix_finalize (void) |
Free array mapping gas mix species ids to field ids. More... | |
Variables | |
const cs_gas_mix_t * | cs_glob_gas_mix = &_gas_mix |
Base gas mix data.
void cs_gas_mix_add_property_fields | ( | void | ) |
Add property fields specific to a gas mix.
void cs_gas_mix_add_species | ( | int | f_id | ) |
Add a species field to the gas mix (set of fields).
[in] | f_id | field id of an already created scalar model field |
void cs_gas_mix_add_species_with_properties | ( | int | f_id, |
cs_real_t | mol_mass, | ||
cs_real_t | cp, | ||
cs_real_t | vol_diff, | ||
cs_real_t | mu_a, | ||
cs_real_t | mu_b, | ||
cs_real_t | lambda_a, | ||
cs_real_t | lambda_b, | ||
cs_real_t | mu_ref, | ||
cs_real_t | lambda_ref, | ||
cs_real_t | tref_mu, | ||
cs_real_t | tref_lambda, | ||
cs_real_t | s_mu, | ||
cs_real_t | s_lambda | ||
) |
Add a species field to the gas mix (set of fields).
[in] | f_id | id of field representing species mixture fraction. |
[in] | mol_mass | molar mass |
[in] | cp | specific heat |
[in] | col_diff | volume diffusion |
[in] | mu_a | dynamic viscosity a |
[in] | mu_b | dynamic viscosity b |
[in] | lambda_a | thermal conductivity a |
[in] | lambda_b | thermal conductivity b |
[in] | mu_ref | reference viscosity (Sutherland) |
[in] | lambda_ref | reference conductivity (Sutherland) |
[in] | tref_mu | reference temperature for viscosity |
[in] | tref_lambda | reference temperature for conductivity |
[in] | s_mu | Sutherland temperature for viscosity |
[in] | s_lambda | Sutherland temperature for conductivity |
void cs_gas_mix_finalize | ( | void | ) |
Free array mapping gas mix species ids to field ids.
int cs_gas_mix_get_field_key | ( | void | ) |
Get the field key for gas mix properties.
const cs_gas_mix_t* cs_glob_gas_mix = &_gas_mix |