#include <Generic.h>
|
| Interface () |
|
virtual | ~Interface ()=default |
|
Libpf::Utility::PhaseType | phaseType (void) const |
|
void | setPhaseType (Libpf::Utility::PhaseType ptype) |
|
virtual void | initializeNonPersistents (const Vector &x, const Value &rho, const Value &AMW)=0 |
|
virtual void | prepare (const Value &Temp, const Vector &x)=0 |
|
virtual void | preparefugacity (const Value &Pres, const Value &Temp, const Vector &x, const Value &sumx) const =0 |
|
virtual const Value & | calculate_P_ (const Value &rho, const Value &Temp, const Vector &x, const Value &sum) const =0 |
|
virtual const Value & | calculate_rho_ (const Value &Pres, const Value &Temp, const Vector &x) const =0 |
|
virtual const Value & | calculate_H_ (const Value &Pres, const Value &Temp, const Vector &x) const =0 |
|
virtual const Value & | calculate_S_ (const Value &Pres, const Value &Temp, const Vector &x) const =0 |
|
virtual const Value & | calculate_Cp_ (const Value &Pres, const Value &Temp, const Vector &x) const =0 |
|
virtual const Value & | fugacity (int i) const =0 |
|
virtual Value | mu_ (const Value &T, const Value &P, const Vector &x) const =0 |
|
virtual Value | kappa_ (const Value &T, const Value &P, const Vector &x) const =0 |
|
virtual Value | sigma_ (const Value &T, const Value &P, const Vector &x) const =0 |
| Surface tension, N/m. More...
|
|
◆ Interface()
Phase::Generic::Interface::Interface |
( |
| ) |
|
|
inline |
◆ ~Interface()
virtual Phase::Generic::Interface::~Interface |
( |
| ) |
|
|
virtualdefault |
◆ calculate_Cp_()
virtual const Value & Phase::Generic::Interface::calculate_Cp_ |
( |
const Value & |
Pres, |
|
|
const Value & |
Temp, |
|
|
const Vector & |
x |
|
) |
| const |
|
pure virtual |
Molar constant pressure heat capacity, J/kmol/K
- Parameters
-
Pres | pressure, Pa |
Temp | temperature, K |
x | molar fractions |
◆ calculate_H_()
virtual const Value & Phase::Generic::Interface::calculate_H_ |
( |
const Value & |
Pres, |
|
|
const Value & |
Temp, |
|
|
const Vector & |
x |
|
) |
| const |
|
pure virtual |
Molar enthalpy, J/kmol
- Parameters
-
Pres | pressure, Pa |
Temp | temperature, K |
x | molar fractions |
◆ calculate_P_()
virtual const Value & Phase::Generic::Interface::calculate_P_ |
( |
const Value & |
rho, |
|
|
const Value & |
Temp, |
|
|
const Vector & |
x, |
|
|
const Value & |
sum |
|
) |
| const |
|
pure virtual |
- Returns
- total pressure, Pa
- Parameters
-
rho | molar density kmol/m3 |
Temp | temperature, K |
x | molar fractions |
sum | sum of molar fractions |
◆ calculate_rho_()
virtual const Value & Phase::Generic::Interface::calculate_rho_ |
( |
const Value & |
Pres, |
|
|
const Value & |
Temp, |
|
|
const Vector & |
x |
|
) |
| const |
|
pure virtual |
Molar density, kmol/m3
- Parameters
-
Pres | pressure, Pa |
Temp | temperature, K |
x | molar fractions |
◆ calculate_S_()
virtual const Value & Phase::Generic::Interface::calculate_S_ |
( |
const Value & |
Pres, |
|
|
const Value & |
Temp, |
|
|
const Vector & |
x |
|
) |
| const |
|
pure virtual |
Molar entropy, J/kmol/K
- Parameters
-
Pres | pressure, Pa |
Temp | temperature, K |
x | molar fractions |
◆ fugacity()
virtual const Value & Phase::Generic::Interface::fugacity |
( |
int |
i | ) |
const |
|
pure virtual |
- Returns
- natural logarithm of fugacity coefficient of a specific component (call preparefugacity first !)
- Parameters
-
◆ initializeNonPersistents()
virtual void Phase::Generic::Interface::initializeNonPersistents |
( |
const Vector & |
x, |
|
|
const Value & |
rho, |
|
|
const Value & |
AMW |
|
) |
| |
|
pure virtual |
◆ kappa_()
virtual Value Phase::Generic::Interface::kappa_ |
( |
const Value & |
T, |
|
|
const Value & |
P, |
|
|
const Vector & |
x |
|
) |
| const |
|
pure virtual |
Thermal conductivity, W/(m*K)
- Parameters
-
T | temperature, K |
P | pressure, Pa |
x | phase mole numbers or unnormalized molar fractions |
◆ mu_()
virtual Value Phase::Generic::Interface::mu_ |
( |
const Value & |
T, |
|
|
const Value & |
P, |
|
|
const Vector & |
x |
|
) |
| const |
|
pure virtual |
Dynamic viscosity, Pa*m
- Parameters
-
T | temperature, K |
P | pressure, Pa |
x | phase mole numbers or unnormalized molar fractions |
◆ phaseType()
◆ prepare()
virtual void Phase::Generic::Interface::prepare |
( |
const Value & |
Temp, |
|
|
const Vector & |
x |
|
) |
| |
|
pure virtual |
perform initializations required to compute P, rho, fugacity, H and S
- Parameters
-
Temp | temperature, K |
x | phase mole numbers or unnormalized molar fractions |
◆ preparefugacity()
virtual void Phase::Generic::Interface::preparefugacity |
( |
const Value & |
Pres, |
|
|
const Value & |
Temp, |
|
|
const Vector & |
x, |
|
|
const Value & |
sumx |
|
) |
| const |
|
pure virtual |
perform component-independent initializations required to compute the fugacity
- Parameters
-
Pres | pressure, Pa |
Temp | temperature, K |
x | molar fractions |
sumx | sum of molar fractions |
◆ setPhaseType()
◆ sigma_()
virtual Value Phase::Generic::Interface::sigma_ |
( |
const Value & |
T, |
|
|
const Value & |
P, |
|
|
const Vector & |
x |
|
) |
| const |
|
pure virtual |
The documentation for this class was generated from the following file: