MAIA bb96820c
Multiphysics at AIA
|
Stores all NASA coefficients. NASA coefficients are used to compute the cp and cv values. Additional, modified NASA coefficients are stored, which are used to compute the sensible energy. For now only valid for NASA-7 coefficients, which have low temperature and high temperature regions, each one described by a different polynomial. More...
#include <fvcartesiansyseqndetchem.h>
Public Member Functions | |
NASACoefficients (const MInt noSpecies, const FvSysEqnDetChem< nDim > &sysEqn) | |
Construct a new FvSysEqnDetChem<nDim>::NASACoefficients::NASACoefficients object. This object stores all the information about the NASA coefficients. More... | |
~NASACoefficients () | |
Destroy the FvSysEqnDetChem<nDim>::NASACoefficients::NASACoefficients object. More... | |
Public Attributes | |
MFloat * | lowTemp = nullptr |
MFloat * | highTemp = nullptr |
MFloat * | integralLowTemp = nullptr |
MFloat * | integralHighTemp = nullptr |
MFloat * | lowTempIntegrationConstantsEnergy = nullptr |
MFloat * | highTempIntegrationConstantsEnergy = nullptr |
MFloat * | lowTempIntegrationConstantsEnthalpy = nullptr |
MFloat * | highTempIntegrationConstantsEnthalpy = nullptr |
Static Public Attributes | |
static constexpr MFloat | referenceTemp = 298.0 |
static constexpr MFloat | transitionTemp = 1000.0 |
static constexpr MInt | totalNumberCoefficientsPerSpecies = 15 |
static constexpr MInt | noNASACoefficients = 7 |
static constexpr MInt | noNASACoefficientsCpPolynomial = 5 |
Private Member Functions | |
void | getNASACoefficients (const MInt noSpecies, const FvSysEqnDetChem< nDim > &sysEqn) |
Gets the species 7-NASA Coefficients from the given mechanism file. The NASA Coefficients are then used to compute the temperature-dependant specific heat capacity The integral coefficients are the NASA COEFFICIENTS multiplied by 1/(n + 1) and are used for the integration of the heat capacities to compute the sensible energy. More... | |
void | computeSensibleEnergyIntegrationConstants (const FvSysEqnDetChem< nDim > &sysEqn) |
Computes the sensible energy and enthalpy integration constants to reuse later (for low and high temp regions). The constants are a result from definite integration. The low temp constant is computed with the low temp NASA polynomial and reference temperature. The high temperature constant is composed of two different terms: one arises from the integration with the low temperature NASA polynomial from reference temperature to the transition temperature. The other term is the lower bound of the definite integral at the high temeprature region. These constants appear in the computation of the sensible energy and are stored and reused to save computational time. More... | |
Friends | |
class | FvSysEqnDetChem< nDim > |
nDim | Number of dimensions |
Definition at line 304 of file fvcartesiansyseqndetchem.h.
FvSysEqnDetChem< nDim >::NASACoefficients::NASACoefficients | ( | const MInt | noSpecies, |
const FvSysEqnDetChem< nDim > & | sysEqn | ||
) |
nDim | Number of dimensions |
noSpecies | Number of species |
sysEqn | Equation system |
Definition at line 232 of file fvcartesiansyseqndetchem.cpp.
FvSysEqnDetChem< nDim >::NASACoefficients::~NASACoefficients |
nDim | Number of dimensions |
Definition at line 261 of file fvcartesiansyseqndetchem.cpp.
|
private |
nDim | Number of dimensions |
sysEqn | Equation system |
Definition at line 385 of file fvcartesiansyseqndetchem.cpp.
|
private |
nDim | Number of dimensions |
noSpecies | Number of species |
sysEqn | Equation system |
Definition at line 286 of file fvcartesiansyseqndetchem.cpp.
|
friend |
Definition at line 293 of file fvcartesiansyseqndetchem.h.
MFloat* FvSysEqnDetChem< nDim >::NASACoefficients::highTemp = nullptr |
Definition at line 314 of file fvcartesiansyseqndetchem.h.
MFloat* FvSysEqnDetChem< nDim >::NASACoefficients::highTempIntegrationConstantsEnergy = nullptr |
Definition at line 320 of file fvcartesiansyseqndetchem.h.
MFloat* FvSysEqnDetChem< nDim >::NASACoefficients::highTempIntegrationConstantsEnthalpy = nullptr |
Definition at line 323 of file fvcartesiansyseqndetchem.h.
MFloat* FvSysEqnDetChem< nDim >::NASACoefficients::integralHighTemp = nullptr |
Definition at line 317 of file fvcartesiansyseqndetchem.h.
MFloat* FvSysEqnDetChem< nDim >::NASACoefficients::integralLowTemp = nullptr |
Definition at line 316 of file fvcartesiansyseqndetchem.h.
MFloat* FvSysEqnDetChem< nDim >::NASACoefficients::lowTemp = nullptr |
Definition at line 313 of file fvcartesiansyseqndetchem.h.
MFloat* FvSysEqnDetChem< nDim >::NASACoefficients::lowTempIntegrationConstantsEnergy = nullptr |
Definition at line 319 of file fvcartesiansyseqndetchem.h.
MFloat* FvSysEqnDetChem< nDim >::NASACoefficients::lowTempIntegrationConstantsEnthalpy = nullptr |
Definition at line 322 of file fvcartesiansyseqndetchem.h.
|
staticconstexpr |
Definition at line 310 of file fvcartesiansyseqndetchem.h.
|
staticconstexpr |
Definition at line 311 of file fvcartesiansyseqndetchem.h.
|
staticconstexpr |
Definition at line 306 of file fvcartesiansyseqndetchem.h.
|
staticconstexpr |
Definition at line 309 of file fvcartesiansyseqndetchem.h.
|
staticconstexpr |
Definition at line 307 of file fvcartesiansyseqndetchem.h.