GRINS-0.8.0
List of all members | Public Member Functions | Friends
GRINSTesting::AbsorptionCoeffTesting< Chemistry > Class Template Reference

#include <absorption_coeff_testing.h>

Inheritance diagram for GRINSTesting::AbsorptionCoeffTesting< Chemistry >:
Inheritance graph
[legend]
Collaboration diagram for GRINSTesting::AbsorptionCoeffTesting< Chemistry >:
Collaboration graph
[legend]

Public Member Functions

 AbsorptionCoeffTesting (GRINS::SharedPtr< Chemistry > &chem, GRINS::SharedPtr< GRINS::HITRAN > &hitran, libMesh::Real nu_min, libMesh::Real nu_max, libMesh::Real desired_nu, const std::string &species, libMesh::Real thermo_pressure)
 This class is intended solely for use in unit testing the AbsorptionCoeff class. More...
 
- Public Member Functions inherited from GRINS::AbsorptionCoeff< Chemistry >
 AbsorptionCoeff (SharedPtr< Chemistry > &chem, SharedPtr< HITRAN > &hitran, libMesh::Real nu_min, libMesh::Real nu_max, libMesh::Real desired_nu, const std::string &species, libMesh::Real thermo_pressure)
 
virtual libMesh::Real operator() (const libMesh::FEMContext &context, const libMesh::Point &qp_xyz, const libMesh::Real t)
 Calculate the absorption coefficient at a quadratue point. More...
 
virtual void operator() (const libMesh::FEMContext &context, const libMesh::Point &p, const libMesh::Real time, libMesh::DenseVector< libMesh::Real > &output)
 Not used. More...
 
virtual void derivatives (libMesh::FEMContext &context, const libMesh::Point &qp_xyz, const libMesh::Real &JxW, const unsigned int qoi_index, const libMesh::Real time)
 Calculate the derivative of the absorption coefficient at a QP with respect to all state variables. More...
 
virtual libMesh::UniquePtr< libMesh::FEMFunctionBase< libMesh::Real > > clone () const
 Not used. More...
 

Friends

class SpectroscopicAbsorptionTest
 

Additional Inherited Members

- Protected Member Functions inherited from GRINS::AbsorptionCoeff< Chemistry >
libMesh::Real kv (libMesh::Real T, libMesh::Real P, std::vector< libMesh::Real > Y, unsigned int i)
 Absorption coefficient [cm^-1]. More...
 
libMesh::Real d_kv_dT (libMesh::Real T, libMesh::Real P, std::vector< libMesh::Real > Y, unsigned int i)
 Absorption coefficient temperature derivative. More...
 
libMesh::Real d_kv_dP (libMesh::Real T, libMesh::Real P, std::vector< libMesh::Real > Y, unsigned int i)
 Absorption coefficient pressure derivative. More...
 
libMesh::Real d_kv_dY (libMesh::Real T, libMesh::Real P, std::vector< libMesh::Real > Y, unsigned int i)
 Absorption coefficient mass fraction derivative. More...
 
libMesh::Real Sw (libMesh::Real T, libMesh::Real P, unsigned int i)
 Linestrength [cm^-2 atm^-1]. More...
 
libMesh::Real dS_dT (libMesh::Real T, libMesh::Real P, unsigned int i)
 Linestrength temperature derivative. More...
 
libMesh::Real dS_dP (libMesh::Real T, libMesh::Real P, unsigned int i)
 Linestrength pressure derivative. More...
 
libMesh::Real nu_D (libMesh::Real T, libMesh::Real P, unsigned int i)
 Doppler broadening [cm^-1]. More...
 
libMesh::Real d_nuD_dT (libMesh::Real T, libMesh::Real P, unsigned int i)
 Doppler broadening temperature derivative. More...
 
libMesh::Real d_nuD_dP (libMesh::Real T, unsigned int i)
 Doppler broadening pressure derivative. More...
 
libMesh::Real nu_C (libMesh::Real T, libMesh::Real P, std::vector< libMesh::Real > Y, unsigned int i)
 Collisional broadening [cm^-1]. More...
 
libMesh::Real d_nuC_dT (libMesh::Real T, libMesh::Real P, std::vector< libMesh::Real > Y, unsigned int i)
 Collisional broadening temperature derivative. More...
 
libMesh::Real d_nuC_dP (libMesh::Real T, std::vector< libMesh::Real > Y, unsigned int i)
 Collisional broadening pressure derivative. More...
 
libMesh::Real d_nuC_dY (libMesh::Real T, libMesh::Real P, std::vector< libMesh::Real > Y, unsigned int i)
 Collisional broadening mass fraction derivative. More...
 
libMesh::Real voigt (libMesh::Real T, libMesh::Real P, std::vector< libMesh::Real > Y, unsigned int i)
 Calculate the Voigt profile [cm^-1]. More...
 
libMesh::Real d_voigt_dT (libMesh::Real T, libMesh::Real P, std::vector< libMesh::Real > Y, unsigned int i)
 Voigt profile temperature derivative. More...
 
libMesh::Real d_voigt_dP (libMesh::Real T, libMesh::Real P, std::vector< libMesh::Real > Y, unsigned int i)
 Voigt profile pressure derivative. More...
 
libMesh::Real d_voigt_dY (libMesh::Real T, libMesh::Real P, std::vector< libMesh::Real > Y, unsigned int i)
 Voigt profile mass fraction derivative. More...
 
void init_voigt ()
 Initialize the coeff matrix for calculating the Voigt profile. More...
 
libMesh::Real voigt_a (libMesh::Real T, libMesh::Real P, std::vector< libMesh::Real > Y, unsigned int i)
 Voigt a parameter. More...
 
libMesh::Real d_voigt_a_dT (libMesh::Real T, libMesh::Real P, std::vector< libMesh::Real > Y, unsigned int i)
 Voigt a parameter temperature derivative. More...
 
libMesh::Real d_voigt_a_dP (libMesh::Real T, libMesh::Real P, std::vector< libMesh::Real > Y, unsigned int i)
 Voigt a parameter pressure derivative. More...
 
libMesh::Real d_voigt_a_dY (libMesh::Real T, libMesh::Real P, std::vector< libMesh::Real > Y, unsigned int i)
 Voigt a parameter mass fraction derivative. More...
 
libMesh::Real voigt_w (libMesh::Real T, libMesh::Real P, unsigned int i)
 Voigt w parameter. More...
 
libMesh::Real d_voigt_w_dT (libMesh::Real T, libMesh::Real P, unsigned int i)
 Voigt w parameter temperature derivative. More...
 
libMesh::Real d_voigt_w_dP (libMesh::Real T, libMesh::Real P, unsigned int i)
 Voigt w parameter pressure derivative. More...
 
libMesh::Real get_nu (libMesh::Real P, unsigned int i)
 Pressure shift of linecenter wavenumber. More...
 
libMesh::Real d_nu_dP (unsigned int i)
 Derivative of pressure-shifted linecenter wavenumber. More...
 
libMesh::Real dX_dY (std::vector< libMesh::Real > Y)
 Mole fraction derivative with respect to mass fraction. More...
 
libMesh::Real dQ_dT (libMesh::Real T, unsigned int iso)
 Partition Function derivative (finite difference) More...
 
 AbsorptionCoeff ()
 User should not call empty constructor. More...
 
- Protected Attributes inherited from GRINS::AbsorptionCoeff< Chemistry >
SharedPtr< Chemistry > _chemistry
 Antioch/Cantera object. More...
 
SharedPtr< HITRAN_hitran
 HITRAN. More...
 
libMesh::Real _nu
 Desired wavenumber [cm^-1]. More...
 
PrimitiveTempFEVariables_T_var
 
PressureFEVariable_P_var
 
SpeciesMassFractionsVariable_Y_var
 
libMesh::Real _T0
 Reference temperature [K]. More...
 
libMesh::Real _Pref
 Reference pressure [atm]. More...
 
libMesh::Real _rad_coeff
 Second radiation coefficient [cm K]. More...
 
unsigned int _min_index
 Index of minimum wavenumber. More...
 
unsigned int _max_index
 Index of maximum wavenumber. More...
 
libMesh::Real _thermo_pressure
 Thermodynamic Pressure [atm]. More...
 
bool _calc_thermo_pressure
 Flag for whether Thermodynamic Pressure is calculated or constant. More...
 
unsigned int _species_idx
 Index for the species of interest. More...
 
std::vector< std::vector< libMesh::Real > > _voigt_coeffs
 2D coefficient matrix for approximating the Voigt profile More...
 

Detailed Description

template<typename Chemistry>
class GRINSTesting::AbsorptionCoeffTesting< Chemistry >

Definition at line 35 of file absorption_coeff_testing.h.

Constructor & Destructor Documentation

template<typename Chemistry >
GRINSTesting::AbsorptionCoeffTesting< Chemistry >::AbsorptionCoeffTesting ( GRINS::SharedPtr< Chemistry > &  chem,
GRINS::SharedPtr< GRINS::HITRAN > &  hitran,
libMesh::Real  nu_min,
libMesh::Real  nu_max,
libMesh::Real  desired_nu,
const std::string &  species,
libMesh::Real  thermo_pressure 
)

This class is intended solely for use in unit testing the AbsorptionCoeff class.

Definition at line 50 of file absorption_coeff_testing.h.

54  : GRINS::AbsorptionCoeff<Chemistry>(chem,hitran,nu_min,nu_max,desired_nu,species,thermo_pressure)
55  {}
Evaluates the Beer-Lambert Law at a given point in space.

Friends And Related Function Documentation

template<typename Chemistry>
friend class SpectroscopicAbsorptionTest
friend

Definition at line 46 of file absorption_coeff_testing.h.


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

Generated on Tue Dec 19 2017 12:47:32 for GRINS-0.8.0 by  doxygen 1.8.9.1