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

#include <sootMeanProperties.hpp>

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

Public Member Functions

 SootMeanProperties (std::shared_ptr< EOS > eosIn)
 
ThermodynamicFunction GetRadiationPropertiesFunction (RadiationProperty property, const std::vector< domain::Field > &fields) const
 
ThermodynamicTemperatureFunction GetRadiationPropertiesTemperatureFunction (RadiationProperty property, const std::vector< domain::Field > &fields) const
 

Static Public Member Functions

static PetscErrorCode SootAbsorptionTemperatureFunction (const PetscReal *conserved, PetscReal temperature, PetscReal *kappa, void *ctx)
 
static PetscErrorCode SootEmissionTemperatureFunction (const PetscReal *conserved, PetscReal temperature, PetscReal *epsilon, void *ctx)
 
static PetscReal GetRefractiveIndex ()
 

Detailed Description

A radiation soot absorption model which computes the absorptivity of soot based on temperature and number density

Member Function Documentation

◆ GetRadiationPropertiesTemperatureFunction()

ablate::eos::ThermodynamicTemperatureFunction ablate::eos::radiationProperties::SootMeanProperties::GetRadiationPropertiesTemperatureFunction ( RadiationProperty  property,
const std::vector< domain::Field > &  fields 
) const
virtual

Function to produce radiation absorption properties 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 solid carbon field.

< Create a struct to hold the offsets

< Create a struct to hold the offsets

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

◆ SootAbsorptionTemperatureFunction()

PetscErrorCode ablate::eos::radiationProperties::SootMeanProperties::SootAbsorptionTemperatureFunction ( const PetscReal *  conserved,
PetscReal  temperature,
PetscReal *  kappa,
void *  ctx 
)
static

This model depends on mass fraction, temperature, and density in order to predict the absorption properties of the medium.

< Variables to hold information gathered from the fields Standard PETSc error code returned by PETSc functions

< Get the density value at this location

< Get the mass fraction of carbon here


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