ABLATE Source Documentation  0.12.34
ablate::eos::ChemistryModel Class Referenceabstract

#include <chemistryModel.hpp>

+ Inheritance diagram for ablate::eos::ChemistryModel:

Classes

class  SourceCalculator
 
struct  ThermodynamicTemperatureMassFractionFunction
 

Public Member Functions

 ChemistryModel (std::string name)
 
virtual std::shared_ptr< SourceCalculatorCreateSourceCalculator (const std::vector< domain::Field > &fields, const ablate::domain::Range &cellRange)=0
 
virtual std::vector< std::tuple< ablate::solver::CellSolver::SolutionFieldUpdateFunction, void *, std::vector< std::string > > > GetSolutionFieldUpdates ()
 
virtual double GetEnthalpyOfFormation (std::string_view speciesName) const
 
virtual std::map< std::string, double > GetSpeciesMolecularMass () const
 
virtual std::map< std::string, double > GetElementInformation () const
 
virtual std::map< std::string, std::map< std::string, int > > GetSpeciesElementalInformation () const
 
virtual ThermodynamicTemperatureMassFractionFunction GetThermodynamicTemperatureMassFractionFunction (ThermodynamicProperty property, const std::vector< domain::Field > &fields) const
 
- Public Member Functions inherited from ablate::eos::EOS
 EOS (std::string typeIn)
 
virtual void View (std::ostream &stream) const =0
 
virtual ThermodynamicFunction GetThermodynamicFunction (ThermodynamicProperty property, const std::vector< domain::Field > &fields) const =0
 
virtual ThermodynamicTemperatureFunction GetThermodynamicTemperatureFunction (ThermodynamicProperty property, const std::vector< domain::Field > &fields) const =0
 
virtual EOSFunction GetFieldFunctionFunction (const std::string &field, ThermodynamicProperty property1, ThermodynamicProperty property2, std::vector< std::string > otherProperties) const =0
 
virtual const std::vector< std::string > & GetSpeciesVariables () const =0
 
virtual const std::vector< std::string > & GetProgressVariables () const =0
 
virtual std::vector< std::string > GetFieldTags () const
 
virtual std::vector< std::shared_ptr< domain::FieldDescriptor > > GetAdditionalFields () const
 
virtual const std::vector< std::string > & GetFieldFunctionProperties () const
 

Additional Inherited Members

- Static Public Attributes inherited from ablate::eos::EOS
static const std::string YI = "Yi"
 
static const std::string PROGRESS = "Progress"
 
- Protected Attributes inherited from ablate::eos::EOS
const std::string type
 

Detailed Description

The ChemistryModel is an extension of the equation of state. All ChemistryModels support computing source terms based upon conserved variables

Constructor & Destructor Documentation

◆ ChemistryModel()

ablate::eos::ChemistryModel::ChemistryModel ( std::string  name)
inlineexplicit

provide constructor to eos

Parameters
name

Member Function Documentation

◆ CreateSourceCalculator()

virtual std::shared_ptr<SourceCalculator> ablate::eos::ChemistryModel::CreateSourceCalculator ( const std::vector< domain::Field > &  fields,
const ablate::domain::Range cellRange 
)
pure virtual

Function to create the batch source specific to the provided cell range

Parameters
cellRange
Returns

Implemented in ablate::eos::zerorkEOS, ablate::eos::TChemSoot, ablate::eos::TChem, and ablate::eos::ChemTab.

◆ GetSolutionFieldUpdates()

virtual std::vector<std::tuple<ablate::solver::CellSolver::SolutionFieldUpdateFunction, void*, std::vector<std::string> > > ablate::eos::ChemistryModel::GetSolutionFieldUpdates ( )
inlinevirtual

Optional function to get a solution update

Reimplemented in ablate::eos::ChemTab.


The documentation for this class was generated from the following file: