Alamo
Public Member Functions | Static Public Member Functions | Data Fields
Model::Gas::Gas Class Reference

#include <Gas.H>

Public Member Functions

virtual ~Gas ()
 
double cp_mol (double T, Set::Patch< const Set::Scalar > &X, int i, int j, int k) const
 
double enthalpy_mol (double T, Set::Patch< const Set::Scalar > &X, int i, int j, int k) const
 
double entropy_mol (double T, Set::Patch< const Set::Scalar > &X, int i, int j, int k) const
 
double dynamic_viscosity (double T, Set::Patch< const Set::Scalar > &X, int i, int j, int k) const
 
double thermal_conductivity (double T, Set::Patch< const Set::Scalar > &X, int i, int j, int k) const
 
void diffusion_coeffs (Set::Patch< Set::Scalar > &DKM, double T, double P, Set::Patch< const Set::Scalar > &X, int i, int j, int k)
 
double ComputeT (double density, double momentumx, double momentumy, double E, double Tguess, Set::Patch< const Set::Scalar > &X, int i, int j, int k, double rtol=1e-12) const
 
double ComputeT (double pressure, double density, Set::Patch< const Set::Scalar > &X, int i, int j, int k) const
 
double ComputeP (double density, double T, Set::Patch< const Set::Scalar > &X, int i, int j, int k) const
 
double ComputeE (double density, double momentumx, double momentumy, double T, Set::Patch< const Set::Scalar > &X, int i, int j, int k) const
 
void ComputeLocalFractions (Set::Patch< const Set::Scalar > &density_mf, Set::Patch< Set::Scalar > &mass_fraction_mf, Set::Patch< Set::Scalar > &mole_fraction_mf, const int i, const int j, const int k)
 
double GetMW (Set::Patch< const Set::Scalar > &X, int i, int j, int k) const
 
double ComputeD (Set::Patch< const Set::Scalar > &rhoY, int i, int j, int k) const
 
double R (Set::Patch< const Set::Scalar > &X, int i, int j, int k) const
 
double cp_mass (double T, Set::Patch< const Set::Scalar > &X, int i, int j, int k) const
 
double cv_mol (double T, Set::Patch< const Set::Scalar > &X, int i, int j, int k) const
 
double cv_mass (double T, Set::Patch< const Set::Scalar > &X, int i, int j, int k) const
 
double gamma (double T, Set::Patch< const Set::Scalar > &X, int i, int j, int k) const
 
double enthalpy_mass (double T, Set::Patch< const Set::Scalar > &X, int i, int j, int k) const
 
double entropy_mass (double T, Set::Patch< const Set::Scalar > &X, int i, int j, int k) const
 

Static Public Member Functions

static void Parse (Gas &value, IO::ParmParse &pp)
 

Data Fields

int nspecies
 
std::vector< double > MW
 
Thermo::Thermothermo = nullptr
 
Transport::Transporttransport = nullptr
 
EOS::EOSeos = nullptr
 

Detailed Description

Definition at line 18 of file Gas.H.

Constructor & Destructor Documentation

◆ ~Gas()

virtual Model::Gas::Gas::~Gas ( )
inlinevirtual

Definition at line 28 of file Gas.H.

Member Function Documentation

◆ ComputeD()

double Model::Gas::Gas::ComputeD ( Set::Patch< const Set::Scalar > &  rhoY,
int  i,
int  j,
int  k 
) const
inline

Definition at line 107 of file Gas.H.

◆ ComputeE()

double Model::Gas::Gas::ComputeE ( double  density,
double  momentumx,
double  momentumy,
double  T,
Set::Patch< const Set::Scalar > &  X,
int  i,
int  j,
int  k 
) const

Definition at line 71 of file Gas.cpp.

◆ ComputeLocalFractions()

void Model::Gas::Gas::ComputeLocalFractions ( Set::Patch< const Set::Scalar > &  density_mf,
Set::Patch< Set::Scalar > &  mass_fraction_mf,
Set::Patch< Set::Scalar > &  mole_fraction_mf,
const int  i,
const int  j,
const int  k 
)
inline

Definition at line 81 of file Gas.H.

◆ ComputeP()

double Model::Gas::Gas::ComputeP ( double  density,
double  T,
Set::Patch< const Set::Scalar > &  X,
int  i,
int  j,
int  k 
) const

Definition at line 66 of file Gas.cpp.

◆ ComputeT() [1/2]

double Model::Gas::Gas::ComputeT ( double  density,
double  momentumx,
double  momentumy,
double  E,
double  Tguess,
Set::Patch< const Set::Scalar > &  X,
int  i,
int  j,
int  k,
double  rtol = 1e-12 
) const

Definition at line 52 of file Gas.cpp.

◆ ComputeT() [2/2]

double Model::Gas::Gas::ComputeT ( double  pressure,
double  density,
Set::Patch< const Set::Scalar > &  X,
int  i,
int  j,
int  k 
) const

Definition at line 59 of file Gas.cpp.

◆ cp_mass()

double Model::Gas::Gas::cp_mass ( double  T,
Set::Patch< const Set::Scalar > &  X,
int  i,
int  j,
int  k 
) const
inline

Definition at line 117 of file Gas.H.

◆ cp_mol()

double Model::Gas::Gas::cp_mol ( double  T,
Set::Patch< const Set::Scalar > &  X,
int  i,
int  j,
int  k 
) const

Definition at line 18 of file Gas.cpp.

◆ cv_mass()

double Model::Gas::Gas::cv_mass ( double  T,
Set::Patch< const Set::Scalar > &  X,
int  i,
int  j,
int  k 
) const
inline

Definition at line 125 of file Gas.H.

◆ cv_mol()

double Model::Gas::Gas::cv_mol ( double  T,
Set::Patch< const Set::Scalar > &  X,
int  i,
int  j,
int  k 
) const
inline

Definition at line 121 of file Gas.H.

◆ diffusion_coeffs()

void Model::Gas::Gas::diffusion_coeffs ( Set::Patch< Set::Scalar > &  DKM,
double  T,
double  P,
Set::Patch< const Set::Scalar > &  X,
int  i,
int  j,
int  k 
)

Definition at line 45 of file Gas.cpp.

◆ dynamic_viscosity()

double Model::Gas::Gas::dynamic_viscosity ( double  T,
Set::Patch< const Set::Scalar > &  X,
int  i,
int  j,
int  k 
) const

Definition at line 35 of file Gas.cpp.

◆ enthalpy_mass()

double Model::Gas::Gas::enthalpy_mass ( double  T,
Set::Patch< const Set::Scalar > &  X,
int  i,
int  j,
int  k 
) const
inline

Definition at line 133 of file Gas.H.

◆ enthalpy_mol()

double Model::Gas::Gas::enthalpy_mol ( double  T,
Set::Patch< const Set::Scalar > &  X,
int  i,
int  j,
int  k 
) const

Definition at line 23 of file Gas.cpp.

◆ entropy_mass()

double Model::Gas::Gas::entropy_mass ( double  T,
Set::Patch< const Set::Scalar > &  X,
int  i,
int  j,
int  k 
) const
inline

Definition at line 137 of file Gas.H.

◆ entropy_mol()

double Model::Gas::Gas::entropy_mol ( double  T,
Set::Patch< const Set::Scalar > &  X,
int  i,
int  j,
int  k 
) const

Definition at line 28 of file Gas.cpp.

◆ gamma()

double Model::Gas::Gas::gamma ( double  T,
Set::Patch< const Set::Scalar > &  X,
int  i,
int  j,
int  k 
) const
inline

Definition at line 129 of file Gas.H.

◆ GetMW()

double Model::Gas::Gas::GetMW ( Set::Patch< const Set::Scalar > &  X,
int  i,
int  j,
int  k 
) const
inline

Definition at line 101 of file Gas.H.

◆ Parse()

static void Model::Gas::Gas::Parse ( Gas value,
IO::ParmParse pp 
)
inlinestatic

Definition at line 34 of file Gas.H.

◆ R()

double Model::Gas::Gas::R ( Set::Patch< const Set::Scalar > &  X,
int  i,
int  j,
int  k 
) const
inline

Definition at line 113 of file Gas.H.

◆ thermal_conductivity()

double Model::Gas::Gas::thermal_conductivity ( double  T,
Set::Patch< const Set::Scalar > &  X,
int  i,
int  j,
int  k 
) const

Definition at line 40 of file Gas.cpp.

Field Documentation

◆ eos

EOS::EOS* Model::Gas::Gas::eos = nullptr

Definition at line 25 of file Gas.H.

◆ MW

std::vector<double> Model::Gas::Gas::MW

Definition at line 22 of file Gas.H.

◆ nspecies

int Model::Gas::Gas::nspecies

Definition at line 21 of file Gas.H.

◆ thermo

Thermo::Thermo* Model::Gas::Gas::thermo = nullptr

Definition at line 23 of file Gas.H.

◆ transport

Transport::Transport* Model::Gas::Gas::transport = nullptr

Definition at line 24 of file Gas.H.


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