BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
belfem::gastables::TransportPoly Class Reference

One temperature interval of the transport description of a species. More...

#include <cl_GT_TransportPoly.hpp>

Inheritance diagram for belfem::gastables::TransportPoly:
[legend]
Collaboration diagram for belfem::gastables::TransportPoly:
[legend]

Public Member Functions

 TransportPoly (const enum TransportPolyType aType, const real aTmin, const real aTmax, const Vector< real > &aCoefficients, const TransportPolyKind aKind=TransportPolyKind::DEFAULT)
virtual ~TransportPoly ()=default
virtual real rawpoly (const real T) const
virtual real drawpoly (const real T) const
virtual real ddrawpoly (const real T) const
virtual real eval (const real T) const
virtual real deval (const real T) const
virtual real ddeval (const real T) const
const realT_min () const
const realT_max () const
TransportPolyType type () const
void set_T_min (const real aTmin)
void set_T_max (const real aTmax)
TransportPolyKind kind () const

Protected Attributes

const TransportPolyType mType
const TransportPolyKind mKind
const real mScale
real mTmin
real mTmax
const Vector< realmCoefficients

Detailed Description

One temperature interval of the transport description of a species.

Evaluates the CEA correlation of NASA RP-1311 Eq. ( 5.1 ),

ln( X )  =  A ln T + B/T + C/T^2 + D

for either viscosity or thermal conductivity, selected by mType.

mScale carries the unit conversion and is the reason the two kinds cannot share one object: the tabulated coefficients give viscosity in micropoise and conductivity in microwatt per centimetre kelvin, so the factors to SI are 1e-7 and 1e-4 respectively. Everything this class returns is already SI - Pa s and W/(m K).

See also
Gas Tables Usage Guide

Constructor & Destructor Documentation

◆ TransportPoly()

belfem::gastables::TransportPoly::TransportPoly ( const enum TransportPolyType aType,
const real aTmin,
const real aTmax,
const Vector< real > & aCoefficients,
const TransportPolyKind aKind = TransportPolyKind::DEFAULT )

◆ ~TransportPoly()

virtual belfem::gastables::TransportPoly::~TransportPoly ( )
virtualdefault

Member Function Documentation

◆ ddeval()

real belfem::gastables::TransportPoly::ddeval ( const real T) const
virtual

◆ ddrawpoly()

real belfem::gastables::TransportPoly::ddrawpoly ( const real T) const
virtual

◆ deval()

real belfem::gastables::TransportPoly::deval ( const real T) const
virtual

◆ drawpoly()

real belfem::gastables::TransportPoly::drawpoly ( const real T) const
virtual

◆ eval()

real belfem::gastables::TransportPoly::eval ( const real T) const
virtual

◆ kind()

TransportPolyKind belfem::gastables::TransportPoly::kind ( ) const
inline

◆ rawpoly()

real belfem::gastables::TransportPoly::rawpoly ( const real T) const
virtual

◆ set_T_max()

void belfem::gastables::TransportPoly::set_T_max ( const real aTmax)

◆ set_T_min()

void belfem::gastables::TransportPoly::set_T_min ( const real aTmin)

◆ T_max()

const real & belfem::gastables::TransportPoly::T_max ( ) const
inline

◆ T_min()

const real & belfem::gastables::TransportPoly::T_min ( ) const
inline

◆ type()

TransportPolyType belfem::gastables::TransportPoly::type ( ) const
inline

Member Data Documentation

◆ mCoefficients

const Vector<real> belfem::gastables::TransportPoly::mCoefficients
protected

◆ mKind

const TransportPolyKind belfem::gastables::TransportPoly::mKind
protected

◆ mScale

const real belfem::gastables::TransportPoly::mScale
protected

◆ mTmax

real belfem::gastables::TransportPoly::mTmax
protected

◆ mTmin

real belfem::gastables::TransportPoly::mTmin
protected

◆ mType

const TransportPolyType belfem::gastables::TransportPoly::mType
protected

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