![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <evaporation_model.h>
Public Member Functions | |
| EvaporationModelTemperature (const Parameters::Evaporation &p_evaporation) | |
| double | saturation_pressure (const std::map< field, double > &field_values) |
| void | saturation_pressure (const std::map< field, std::vector< double > > &field_vectors, std::vector< double > &saturation_pressure_vector) |
| double | mass_flux (const std::map< field, double > &field_values) override |
| void | mass_flux (const std::map< field, std::vector< double > > &field_vectors, std::vector< double > &mass_flux_vector) override |
| double | heat_flux (const std::map< field, double > &field_values) override |
| void | heat_flux (const std::map< field, std::vector< double > > &field_vectors, std::vector< double > &heat_flux_vector) override |
| double | heat_flux_jacobian (const std::map< field, double > &field_values, const field id) override |
| void | heat_flux_jacobian (const std::map< field, std::vector< double > > &field_vectors, const field id, std::vector< double > &jacobian_vector) override |
| double | momentum_flux (const std::map< field, double > &field_values) override |
| void | momentum_flux (const std::map< field, std::vector< double > > &field_vectors, std::vector< double > &momentum_flux_vector) override |
| double | momentum_flux_jacobian (const std::map< field, double > &, const field) override |
| void | momentum_flux_jacobian (const std::map< field, std::vector< double > > &, const field, std::vector< double > &jacobian_vector) override |
| Public Member Functions inherited from EvaporationModel | |
| EvaporationModel ()=default | |
| virtual | ~EvaporationModel ()=default |
| bool | depends_on (const field &id) |
Private Attributes | |
| const double | evaporation_coefficient |
| const double | recoil_pressure_coefficient |
| const double | molar_mass |
| const double | boiling_temperature_inv |
| const double | latent_heat_evaporation |
| const double | ambient_pressure |
| const double | universal_gas_constant |
Additional Inherited Members | |
| Static Public Member Functions inherited from EvaporationModel | |
| static std::shared_ptr< EvaporationModel > | model_cast (const Parameters::Evaporation &evaporation_parameters) |
| Protected Attributes inherited from EvaporationModel | |
| std::map< field, bool > | model_depends_on |
EvaporationModelTemperature. Class that allows to calculate the evaporation mass, heat, and momentum fluxes when a temperature-dependent mass flux is considered.
| p_evaporation | Evaporation model parameters. |
Definition at line 391 of file evaporation_model.h.
|
inline |
Definition at line 394 of file evaporation_model.h.
References ambient_pressure, boiling_temperature_inv, evaporation_coefficient, latent_heat_evaporation, EvaporationModel::model_depends_on, molar_mass, recoil_pressure_coefficient, temperature, and universal_gas_constant.
|
inlineoverridevirtual |
heat_flux Calculates the value of the evaporation heat flux.
| field_values | Map storing the values of the various fields on which the heat flux may depend. |
Implements EvaporationModel.
Definition at line 533 of file evaporation_model.h.
References latent_heat_evaporation, and mass_flux().
|
inlineoverridevirtual |
heat_flux Calculates the values of the evaporation heat flux for multiple points.
| field_vectors | Map storing the vectors of the values for each field on which the heat flux may depend. Each vector contains the field values at the points of interest. |
| heat_flux_vector | Vector of heat flux values. |
Implements EvaporationModel.
Definition at line 549 of file evaporation_model.h.
References latent_heat_evaporation, and mass_flux().
|
inlineoverridevirtual |
heat_flux_jacobian Calculates the jacobian (the partial derivative) of the evaporation heat flux with respect to a field.
| field_values | Map storing the values of the various fields on which the heat flux evaluated at a point may depend. |
| id | Identifier of the field with respect to which the jacobian should be calculated. |
Implements EvaporationModel.
Definition at line 574 of file evaporation_model.h.
References ambient_pressure, boiling_temperature_inv, evaporation_coefficient, latent_heat_evaporation, molar_mass, temperature, and universal_gas_constant.
|
inlineoverridevirtual |
heat_flux_jacobian Calculates the derivative of the evaporation heat flux with respect to a field.
| field_vectors | Map storing the vectors of the values for each field on which heat flux evaluated at a point may depend. Each vector contains the field values at the points of interest. |
| id | Identifier of the field with respect to which a derivative should be calculated. |
| jacobian_vector | Vector of the values of the derivative of the heat flux with respect to the field. |
Implements EvaporationModel.
Definition at line 611 of file evaporation_model.h.
References ambient_pressure, boiling_temperature_inv, evaporation_coefficient, latent_heat_evaporation, molar_mass, temperature, and universal_gas_constant.
|
inlineoverridevirtual |
mass_flux Calculates the value of the evaporation mass flux.
| field_values | Map storing the values of the various fields on which the evaporation mass flux may depend. |
Implements EvaporationModel.
Definition at line 474 of file evaporation_model.h.
References evaporation_coefficient, molar_mass, saturation_pressure(), temperature, and universal_gas_constant.
|
inlineoverridevirtual |
mass_flux Calculates the values of the evaporation mass flux for multiple points.
| field_vectors | Map storing the vectors of the values for each field on which the evaporation mass flux may depend. Each vector contains the field values at the points of interest. |
| mass_flux_vector | Vector of mass flux values. |
Implements EvaporationModel.
Definition at line 499 of file evaporation_model.h.
References evaporation_coefficient, molar_mass, saturation_pressure(), temperature, and universal_gas_constant.
|
inlineoverridevirtual |
momentum_flux Calculates the value of the evaporation momentum flux.
| field_values | Map storing the values of the various fields on which the momentum flux may depend. |
Implements EvaporationModel.
Definition at line 653 of file evaporation_model.h.
References ambient_pressure, pressure, recoil_pressure_coefficient, and saturation_pressure().
|
inlineoverridevirtual |
momentum_flux Calculates the values of the evaporation momentum flux for multiple points.
| field_vectors | Map storing the vectors of the values for each field on which the momentum flux may depend. Each vector contains the field values at the points of interest. |
| momentum_flux_vector | Vectors of the momentum flux values. |
Implements EvaporationModel.
Definition at line 671 of file evaporation_model.h.
References ambient_pressure, recoil_pressure_coefficient, and saturation_pressure().
|
inlineoverridevirtual |
momentum_flux_jacobian Calculates the jacobian (the partial derivative) of the evaporation momentum flux with respect to a field.
| field_values | Map storing the values of the various fields on which the momentum flux may depend. |
| id | Identifier of the field with respect to which the jacobian should be calculated |
Implements EvaporationModel.
Definition at line 697 of file evaporation_model.h.
|
inlineoverridevirtual |
momentum_flux_jacobian Calculates the derivative of the evaporation momentum flux with respect to a field.
| field_vectors | Map storing the vectors of the values for each field flux may depend. Each vector contains the field values at the points of interest. |
| id | Identifier of the field with respect to which a derivative should be calculated. |
| jacobian_vector | Vector of the values of the derivative of the momentum flux with respect to the field. |
Implements EvaporationModel.
Definition at line 715 of file evaporation_model.h.
|
inline |
saturation_pressure Calculates the value of the saturation pressure.
| field_values | Map storing the values of the various field on which the saturated vapor pressure evaluated at a point may depend. |
Definition at line 413 of file evaporation_model.h.
References ambient_pressure, boiling_temperature_inv, latent_heat_evaporation, molar_mass, temperature, and universal_gas_constant.
|
inline |
mass_flux Calculates the values of the saturation pressure for multiple points.
| field_vectors | Map storing the vectors of the values for each field on which the saturated vapor pressure may depend. Each vector contains the field values at the points of interest. |
| saturation_pressure_vector | Vector of the saturation pressure values. |
Definition at line 440 of file evaporation_model.h.
References ambient_pressure, boiling_temperature_inv, latent_heat_evaporation, molar_mass, temperature, and universal_gas_constant.
|
private |
Definition at line 730 of file evaporation_model.h.
|
private |
Definition at line 728 of file evaporation_model.h.
|
private |
Definition at line 724 of file evaporation_model.h.
|
private |
Definition at line 729 of file evaporation_model.h.
|
private |
Definition at line 727 of file evaporation_model.h.
|
private |
Definition at line 725 of file evaporation_model.h.
|
private |
Definition at line 732 of file evaporation_model.h.