Go to the source code of this file.
|
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...
|
|
◆ cs_gas_mix_type_t
Enumerator |
---|
CS_GAS_MIX_OFF | gas mix model off
|
CS_GAS_MIX_AIR_HELIUM | air/helium, helium deduced
|
CS_GAS_MIX_AIR_HYDROGEN | air/hydrogen, hydrogen deduced
|
CS_GAS_MIX_AIR_STEAM | air/steam, steam deduced
|
CS_GAS_MIX_AIR_HELIUM_STEAM | helium/steam, steam deduced
|
CS_GAS_MIX_AIR_HYDROGEN_STEAM | hydrogen/steam, steam deduced
|
CS_GAS_MIX_HELIUM_AIR | helium/air, O2 from air deduced
|
CS_GAS_MIX_USER | user defined
|
◆ cs_gas_mix_add_property_fields()
void cs_gas_mix_add_property_fields |
( |
void |
| ) |
|
Add property fields specific to a gas mix.
◆ cs_gas_mix_add_species()
void cs_gas_mix_add_species |
( |
int |
f_id | ) |
|
Add a species field to the gas mix (set of fields).
- Parameters
-
[in] | f_id | field id of an already created scalar model field |
◆ cs_gas_mix_add_species_with_properties()
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).
- Parameters
-
[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 |
◆ cs_gas_mix_finalize()
void cs_gas_mix_finalize |
( |
void |
| ) |
|
Free array mapping gas mix species ids to field ids.
◆ cs_gas_mix_get_field_key()
int cs_gas_mix_get_field_key |
( |
void |
| ) |
|
Get the field key for gas mix properties.
- Returns
- field key id for gas mix properties
◆ cs_glob_gas_mix