#include <mixtureFractionCalculator.hpp>
Public Member Functions | |
| MixtureFractionCalculator (const std::shared_ptr< ablate::eos::EOS > &eos, std::map< std::string, double > massFractionsFuel, std::map< std::string, double > massFractionsOxidizer, const std::vector< std::string > &trackingElements={}) | |
| MixtureFractionCalculator (const std::shared_ptr< ablate::eos::EOS > &eos, const std::shared_ptr< ablate::mathFunctions::FieldFunction > &massFractionsFuel, const std::shared_ptr< ablate::mathFunctions::FieldFunction > &massFractionsOxidizer, const std::vector< std::string > &trackingElements={}) | |
| template<class T > | |
| T | Calculate (T *yi) const |
| std::shared_ptr< ablate::eos::ChemistryModel > | GetEos () |
Calculate mixture fraction given a list of species using elemental species based on Bilger's (1980) definition of mixture fraction Zeta = (Zi-Zi,ox)/(Zi,f-Zi,ox) which is the normalized elemental mass fraction of any element where f denotes the fuel stream and ox denotes the oxidizer stream.
| ablate::monitors::MixtureFractionCalculator::MixtureFractionCalculator | ( | const std::shared_ptr< ablate::eos::EOS > & | eos, |
| std::map< std::string, double > | massFractionsFuel, | ||
| std::map< std::string, double > | massFractionsOxidizer, | ||
| const std::vector< std::string > & | trackingElements = {} |
||
| ) |
Create the MixtureFractionCalculator to compute the zMixFuel, zMixOxidizer, and trackingElements
| eos | The equation of state must be tChem |
| massFractionsFuel | |
| massFractionsOxidizer | |
| trackingElements | defaults to C & H |
| ablate::monitors::MixtureFractionCalculator::MixtureFractionCalculator | ( | const std::shared_ptr< ablate::eos::EOS > & | eos, |
| const std::shared_ptr< ablate::mathFunctions::FieldFunction > & | massFractionsFuel, | ||
| const std::shared_ptr< ablate::mathFunctions::FieldFunction > & | massFractionsOxidizer, | ||
| const std::vector< std::string > & | trackingElements = {} |
||
| ) |
Create the MixtureFractionCalculator to compute the zMixFuel, zMixOxidizer, and trackingElements using field functions. The point is evaluated at [0, 0, 0] with t = 0; This is used to allow reuse of field function setup in input files
| eos | The equation of state must be tChem |
| massFractionsFuel | |
| massFractionsOxidizer | |
| trackingElements | defaults to C & H |
|
inline |
Computes the mixture fraction for a give set of Yi's
| T |
| yi. | The yi's are assumed to be of length/order of the species in the eos |
|
inline |
Return accesses the base eos