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

#include <Gas.H>

Public Member Functions

 Gas ()
 
 Gas (IO::ParmParse &pp, std::string name)
 
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
 
double Rg
 
std::vector< double > MW
 
Thermo::Thermo< Thermo::CpConstantthermo
 
Transport::Transport< Transport::Mixture_Averagedtransport
 
EOS::EOS< EOS::CPGeos
 

Detailed Description

Definition at line 18 of file Gas.H.

Constructor & Destructor Documentation

◆ Gas() [1/2]

Model::Gas::Gas::Gas ( )
inline

Definition at line 29 of file Gas.H.

◆ Gas() [2/2]

Model::Gas::Gas::Gas ( IO::ParmParse pp,
std::string  name 
)
inline

Definition at line 33 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 105 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 65 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 79 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 60 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 46 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 53 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 115 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 123 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 119 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 40 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 32 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 131 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 22 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 135 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 26 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 127 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 99 of file Gas.H.

◆ Parse()

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

Definition at line 38 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 111 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 36 of file Gas.cpp.

Field Documentation

◆ eos

EOS::EOS<EOS::CPG> Model::Gas::Gas::eos

Definition at line 26 of file Gas.H.

◆ MW

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

Definition at line 23 of file Gas.H.

◆ nspecies

int Model::Gas::Gas::nspecies

Definition at line 21 of file Gas.H.

◆ Rg

double Model::Gas::Gas::Rg

Definition at line 22 of file Gas.H.

◆ thermo

Thermo::Thermo<Thermo::CpConstant> Model::Gas::Gas::thermo

Definition at line 24 of file Gas.H.

◆ transport

Definition at line 25 of file Gas.H.


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