|
static auto | get_B2vir (const Model &model, const Scalar &T, const VectorType &molefrac) |
|
template<int Nderiv, ADBackends be = ADBackends::autodiff> |
static auto | get_Bnvir (const Model &model, const Scalar &T, const VectorType &molefrac) |
|
template<ADBackends be = ADBackends::autodiff> |
static auto | get_Bnvir_runtime (const int Nderiv, const Model &model, const Scalar &T, const VectorType &molefrac) |
|
template<int Nderiv, int NTderiv, ADBackends be = ADBackends::autodiff> |
static auto | get_dmBnvirdTm (const Model &model, const Scalar &T, const VectorType &molefrac) |
| Temperature derivatives of a virial coefficient.
|
|
template<ADBackends be = ADBackends::autodiff> |
static auto | get_dmBnvirdTm_runtime (const int Nderiv, const int NTderiv, const Model &model, const Scalar &T, const VectorType &molefrac) |
|
static auto | get_B12vir (const Model &model, const Scalar &T, const VectorType &molefrac) |
| Calculate the cross-virial coefficient \(B_{12}\).
|
|
template<typename Model, typename Scalar = double, typename VectorType = Eigen::ArrayXd>
struct teqp::VirialDerivatives< Model, Scalar, VectorType >
Definition at line 694 of file derivs.hpp.
template<typename Model , typename Scalar = double, typename VectorType = Eigen::ArrayXd>
template<int Nderiv,
ADBackends be = ADBackends::autodiff>
static auto teqp::VirialDerivatives< Model, Scalar, VectorType >::get_Bnvir |
( |
const Model & | model, |
|
|
const Scalar & | T, |
|
|
const VectorType & | molefrac ) |
|
inlinestatic |
\(
B_n = \frac{1}{(n-2)!} \lim_{\rho\to 0} \left(\frac{\partial ^{n-1}\alpha^{\rm r}}{\partial \rho^{n-1}}\right)_{T,z}
\)
- Template Parameters
-
Nderiv | The maximum virial coefficient to return; e.g. 5: B_2, B_3, ..., B_5 |
- Parameters
-
model | The model providing the alphar function |
T | Temperature |
molefrac | The mole fractions |
Definition at line 714 of file derivs.hpp.
template<typename Model , typename Scalar = double, typename VectorType = Eigen::ArrayXd>
template<int Nderiv, int NTderiv,
ADBackends be = ADBackends::autodiff>
static auto teqp::VirialDerivatives< Model, Scalar, VectorType >::get_dmBnvirdTm |
( |
const Model & | model, |
|
|
const Scalar & | T, |
|
|
const VectorType & | molefrac ) |
|
inlinestatic |
Temperature derivatives of a virial coefficient.
\(
\left(\frac{\partial^m{B_n}}{\partial T^m}\right) = \frac{1}{(n-2)!} \lim_{\rho\to 0} \left(\frac{\partial ^{(n-1)+m}\alpha^{\rm r}}{\partial T^m \partial \rho^{n-1}}\right)_{T, z}
\)
- Template Parameters
-
Nderiv | The virial coefficient to return; e.g. 5: B_5 |
NTderiv | The number of temperature derivatives to calculate |
- Parameters
-
model | The model providing the alphar function |
T | Temperature |
molefrac | The mole fractions |
Definition at line 784 of file derivs.hpp.