ABLATE Source Documentation  0.12.34
ablate::eos::radiationProperties::Zimmer Class Reference

#include <zimmer.hpp>

+ Inheritance diagram for ablate::eos::radiationProperties::Zimmer:

Public Member Functions

 Zimmer (std::shared_ptr< eos::EOS > eosIn, PetscReal upperLimitIn=0, PetscReal lowerLimitIn=0)
 
 Zimmer (const Zimmer &)=delete
 
void operator= (const Zimmer &)=delete
 
ThermodynamicTemperatureFunction GetRadiationPropertiesTemperatureFunction (RadiationProperty property, const std::vector< domain::Field > &fields) const override
 
PetscInt GetFieldComponentOffset (const std::string &str, const domain::Field &field) const
 

Public Attributes

PetscReal upperLimitStored
 
PetscReal lowerLimitStored
 

Detailed Description

A radiation gas absorption model which computes the absorptivity based on the presence of certain species.

Member Function Documentation

◆ GetFieldComponentOffset()

PetscInt ablate::eos::radiationProperties::Zimmer::GetFieldComponentOffset ( const std::string &  str,
const domain::Field field 
) const

Returns the index where a certain field component can be found. The index will be set to -1 if the component does not exist in the field. Convert all component names to lower case for string comparison

◆ GetRadiationPropertiesTemperatureFunction()

ablate::eos::ThermodynamicTemperatureFunction ablate::eos::radiationProperties::Zimmer::GetRadiationPropertiesTemperatureFunction ( RadiationProperty  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

Check if the species exist in this run. If all don't exist, throw an error. If some don't exist, then the values should be set to zero for their mass fractions in all cases.

Get the offsets that locate the position of the species mass fractions in the fields.

< Create a struct to hold the offsets

< Create a struct to hold the offsets

Implements ablate::eos::radiationProperties::RadiationModel.


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