ABLATE Source Documentation  0.12.34
ablate::eos::PerfectGas Class Reference
+ Inheritance diagram for ablate::eos::PerfectGas:

Public Member Functions

 PerfectGas (const std::shared_ptr< ablate::parameters::Parameters > &, std::vector< std::string > species={})
 
void View (std::ostream &stream) const override
 
PetscReal GetSpecificHeatRatio () const
 
PetscReal GetGasConstant () const
 
ThermodynamicFunction GetThermodynamicFunction (ThermodynamicProperty property, const std::vector< domain::Field > &fields) const override
 
ThermodynamicTemperatureFunction GetThermodynamicTemperatureFunction (ThermodynamicProperty property, const std::vector< domain::Field > &fields) const override
 
EOSFunction GetFieldFunctionFunction (const std::string &field, ThermodynamicProperty property1, ThermodynamicProperty property2, std::vector< std::string > otherProperties) const override
 
const std::vector< std::string > & GetSpeciesVariables () const override
 
virtual const std::vector< std::string > & GetProgressVariables () const override
 
- Public Member Functions inherited from ablate::eos::EOS
 EOS (std::string typeIn)
 
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
 

Member Function Documentation

◆ GetFieldFunctionFunction()

ablate::eos::EOSFunction ablate::eos::PerfectGas::GetFieldFunctionFunction ( const std::string &  field,
ThermodynamicProperty  property1,
ThermodynamicProperty  property2,
std::vector< std::string >  otherProperties 
) const
overridevirtual

Single function to produce fieldFunction function for any two properties, velocity, and species mass fractions. These calls can be slower and should be used for init/output only

Parameters
field
property1
property2

Implements ablate::eos::EOS.

◆ GetGasConstant()

PetscReal ablate::eos::PerfectGas::GetGasConstant ( ) const
inline

Get constant gas constant for a perfect gas

Returns

◆ GetProgressVariables()

virtual const std::vector<std::string>& ablate::eos::PerfectGas::GetProgressVariables ( ) const
inlineoverridevirtual

Returns a vector of all extra variables required to utilize the equation of state

Returns

Implements ablate::eos::EOS.

◆ GetSpeciesVariables()

const std::vector<std::string>& ablate::eos::PerfectGas::GetSpeciesVariables ( ) const
inlineoverridevirtual

returns the species supported by this EOS

Returns

Implements ablate::eos::EOS.

◆ GetSpecificHeatRatio()

PetscReal ablate::eos::PerfectGas::GetSpecificHeatRatio ( ) const
inline

Get constant specific heat ratio for a perfect gas.

Returns

◆ GetThermodynamicFunction()

ablate::eos::ThermodynamicFunction ablate::eos::PerfectGas::GetThermodynamicFunction ( ThermodynamicProperty  property,
const std::vector< domain::Field > &  fields 
) const
overridevirtual

Single function to produce thermodynamic function for any property based upon the available fields

Parameters
property
fields
Returns

Implements ablate::eos::EOS.

◆ GetThermodynamicTemperatureFunction()

ablate::eos::ThermodynamicTemperatureFunction ablate::eos::PerfectGas::GetThermodynamicTemperatureFunction ( ThermodynamicProperty  property,
const std::vector< domain::Field > &  fields 
) const
overridevirtual

Single function to produce thermodynamic function for any property based upon the available fields and temperature

Parameters
property
fields
Returns

Implements ablate::eos::EOS.

◆ View()

void ablate::eos::PerfectGas::View ( std::ostream &  stream) const
overridevirtual

Print the details of this eos

Parameters
stream

Implements ablate::eos::EOS.


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