Classes | |
struct | FunctionContext |
Public Member Functions | |
TChemBase (const std::string &eosName, std::filesystem::path mechanismFile, const std::shared_ptr< ablate::monitors::logs::Log > &={}, const std::shared_ptr< ablate::parameters::Parameters > &options={}) | |
void | View (std::ostream &stream) const override |
tChemLib::KineticModelData & | GetKineticModelData () |
real_type_1d_view | GetEnthalpyOfFormation () |
const std::vector< std::string > & | GetSpeciesVariables () const override |
virtual const std::vector< std::string > & | GetProgressVariables () const override |
double | GetEnthalpyOfFormation (std::string_view speciesName) const override |
Public Member Functions inherited from ablate::eos::ChemistryModel | |
ChemistryModel (std::string name) | |
virtual std::shared_ptr< SourceCalculator > | CreateSourceCalculator (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 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 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 std::vector< std::string > | GetFieldTags () const |
virtual std::vector< std::shared_ptr< domain::FieldDescriptor > > | GetAdditionalFields () const |
virtual const std::vector< std::string > & | GetFieldFunctionProperties () const |
Static Public Attributes | |
static const double | TREF = 298.15 |
Static Public Attributes inherited from ablate::eos::EOS | |
static const std::string | YI = "Yi" |
static const std::string | PROGRESS = "Progress" |
Protected Attributes | |
tChem::SourceCalculator::ChemistryConstraints | constraints |
hold a copy of the constrains that can be used for single or batch source calculation | |
const std::filesystem::path | mechanismFile |
the mechanismFile may be chemkin or yaml based | |
std::shared_ptr< ablate::monitors::logs::Log > | log |
an optional log file for tchem echo redirection | |
tChemLib::KineticModelData | kineticsModel |
std::shared_ptr< tChemLib::KineticModelGasConstData< typename Tines::UseThisDevice< host_exec_space >::type > > | kineticsModelDataHost |
std::shared_ptr< tChemLib::KineticModelGasConstData< typename Tines::UseThisDevice< exec_space >::type > > | kineticsModelDataDevice |
std::vector< std::string > | species |
real_type_1d_view | enthalpyReferenceDevice |
real_type_1d_view_host | enthalpyReferenceHost |
Protected Attributes inherited from ablate::eos::EOS | |
const std::string | type |
Static Protected Attributes | |
static const std::array< std::string, 2 > | validFileExtensions = {".yaml", ".yml"} |
|
explicit |
The tChem EOS can utilize either a mechanical & thermo file using the Chemkin file format for a modern yaml file.
mechFile | |
optionalThermoFile |
|
inline |
Get the reference enthalpy per species
|
inlineoverridevirtual |
Helper function to get the specific EnthalpyOfFormation
species |
Reimplemented from ablate::eos::ChemistryModel.
|
inline |
return reference to kinetic data for other users
|
inlineoverridevirtual |
Returns a vector of all extra variables required to utilize the equation of state
Implements ablate::eos::EOS.
Reimplemented in ablate::eos::TChemSoot.
|
inlineoverridevirtual |
|
overridevirtual |
Print the details of this eos
stream |
Implements ablate::eos::EOS.
Reimplemented in ablate::eos::TChemSoot.
|
protected |
The reference enthalpy per species
|
protected |
The reference enthalpy per species
|
protected |
The kinetic model data
|
protected |
Store the primary kinetics data on the device
|
protected |
Store the primary kinetics data on the device
|
protected |
keep the species names as
|
inlinestaticprotected |
only allow modern input files