Perfect Gas Equation of State. More...
Perfect Gas Equation of State.
Single material P = rho*R*T E = Cv*T gamma = Cp/Cv = constant R = Cp - Cv
#include <EOS.H>
Public Member Functions | |
perfect_gas () | |
~perfect_gas () | |
int | InitializeMaterialProperties () |
Derive material properties from a minimum required set. More... | |
double | GetSpecificGasConstant () |
double | GetHeatCapacityCv () |
double | GetHeatCapacityCp () |
double | GetGamma () |
void | SetSpecificGasConstant (const double &inValue) |
void | SetGamma (const double &inValue) |
void | ComputePressure (size_t index) |
Compute pressure at a single buffer index. More... | |
void | ComputeTemperature (size_t index) |
Compute temperature at a single buffer index. More... | |
![]() | |
eos () | |
void | Initialize () |
int | ComputePressureBuffer (const pcpp::IndexIntervalType ®ionInterval, const std::vector< size_t > &bufferSizes) |
Compute pressure for the entire buffer. More... | |
int | ComputeTemperatureBuffer (const pcpp::IndexIntervalType ®ionInterval, const std::vector< size_t > &bufferSizes) |
Compute temperature for the entire buffer. More... | |
void | SetupPressureBuffer (double *const inPtr) |
void | SetupTemperatureBuffer (double *const inPtr) |
void | SetupSpecificVolumeBuffer (double *const inPtr) |
void | SetupDensityBuffer (double *const inPtr) |
void | SetupInternalEnergyBuffer (double *const inPtr) |
Private Attributes | |
double * | specificGasConstantPtr |
double * | gammaPtr |
double | gamma |
double | specificGasConstant |
double | gammaMinus1 |
double | inverseCv |
double | heatCapacityCv |
double | heatCapacityCp |
Additional Inherited Members | |
![]() | |
int | numDim |
double * | densityPtr |
double * | momentumPtr |
double * | internalEnergyPtr |
double * | totalEnergyPtr |
double * | pressurePtr |
double * | temperaturePtr |
double * | specificVolumePtr |
size_t | xStart |
size_t | xEnd |
size_t | xSize |
size_t | yStart |
size_t | yEnd |
size_t | ySize |
size_t | zStart |
size_t | zEnd |
size_t | zSize |
size_t | numPointsBuffer |
|
inline |
Definition at line 127 of file EOS.H.
References perfect_gas::gammaPtr, and perfect_gas::specificGasConstantPtr.
|
inline |
Definition at line 136 of file EOS.H.
References perfect_gas::gammaPtr, and perfect_gas::specificGasConstantPtr.
|
inlinevirtual |
Compute pressure at a single buffer index.
Implements eos.
Definition at line 181 of file EOS.H.
References perfect_gas::gammaMinus1, eos::internalEnergyPtr, and eos::pressurePtr.
|
inlinevirtual |
Compute temperature at a single buffer index.
Implements eos.
Definition at line 185 of file EOS.H.
References eos::internalEnergyPtr, perfect_gas::inverseCv, eos::specificVolumePtr, and eos::temperaturePtr.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Implements eos.
Definition at line 162 of file EOS.H.
References perfect_gas::specificGasConstantPtr.
|
inlinevirtual |
Derive material properties from a minimum required set.
Implements eos.
Definition at line 145 of file EOS.H.
References perfect_gas::gamma, perfect_gas::gammaMinus1, perfect_gas::gammaPtr, perfect_gas::heatCapacityCp, perfect_gas::heatCapacityCv, perfect_gas::inverseCv, perfect_gas::specificGasConstant, and perfect_gas::specificGasConstantPtr.
Referenced by TestEOS_ComputeBuffers(), TestEulerKernels(), TestViscidKernels(), and TestViscidKernelsMetrics().
|
inlinevirtual |
Implements eos.
Definition at line 174 of file EOS.H.
References perfect_gas::gammaPtr.
Referenced by TestEOS_ComputeBuffers(), TestEulerKernels(), TestViscidKernels(), and TestViscidKernelsMetrics().
|
inlinevirtual |
Implements eos.
Definition at line 167 of file EOS.H.
References perfect_gas::specificGasConstantPtr.
Referenced by TestEOS_ComputeBuffers(), TestEulerKernels(), TestViscidKernels(), and TestViscidKernelsMetrics().
|
private |
Definition at line 197 of file EOS.H.
Referenced by perfect_gas::InitializeMaterialProperties().
|
private |
Definition at line 199 of file EOS.H.
Referenced by perfect_gas::ComputePressure(), and perfect_gas::InitializeMaterialProperties().
|
private |
Definition at line 194 of file EOS.H.
Referenced by perfect_gas::GetGamma(), perfect_gas::InitializeMaterialProperties(), perfect_gas::perfect_gas(), perfect_gas::SetGamma(), and perfect_gas::~perfect_gas().
|
private |
Definition at line 202 of file EOS.H.
Referenced by perfect_gas::GetHeatCapacityCp(), and perfect_gas::InitializeMaterialProperties().
|
private |
Definition at line 201 of file EOS.H.
Referenced by perfect_gas::GetHeatCapacityCv(), and perfect_gas::InitializeMaterialProperties().
|
private |
Definition at line 200 of file EOS.H.
Referenced by perfect_gas::ComputeTemperature(), and perfect_gas::InitializeMaterialProperties().
|
private |
Definition at line 198 of file EOS.H.
Referenced by perfect_gas::InitializeMaterialProperties().
|
private |
Definition at line 193 of file EOS.H.
Referenced by perfect_gas::GetSpecificGasConstant(), perfect_gas::InitializeMaterialProperties(), perfect_gas::perfect_gas(), perfect_gas::SetSpecificGasConstant(), and perfect_gas::~perfect_gas().