ComponentBiochem Class Reference
#include <ComponentBiochem.h>
Inheritance diagram for ComponentBiochem:
Public Member Functions | |
ComponentBiochem (std::string name, const Value &mw, Value muv20, Value mul20, Value kv20, Value kl20, Value sigma20, ParameterChoiOkos v, ParameterChoiOkos w) | |
~ComponentBiochem (void) | |
Value | kvli (const Value &T, const Value &P) override |
bool | isSolid (void) override |
Public Member Functions inherited from ComponentGeneric | |
ComponentGeneric (std::string name) | |
virtual | ~ComponentGeneric (void) |
const std::string & | name (void) const |
int | id (void) const |
void | setid (int idd) |
virtual Value | kvli (const Value &T, const Value &P) |
virtual bool | isSolid (void)=0 |
virtual bool | isGas (void) |
Public Member Functions inherited from Diagnostic | |
Diagnostic (void) | |
void | setVerbosity (int verbosity) |
sets the verbosity level for this instance More... | |
int | verbosity (void) const |
virtual const Value & | MW (void) const =0 |
virtual const Value & | Pc (void) const =0 |
virtual const Value & | Tc (void) const =0 |
virtual const Value | Vc (void) const =0 |
virtual const Value & | Zc (void) const =0 |
virtual const Value & | omega (void) const =0 |
virtual const Value & | diffvol (void) const =0 |
virtual const Value & | vb (void) const =0 |
virtual const Value & | dh0 (void) const =0 |
virtual const Value & | dg0 (void) const =0 |
Public Member Functions inherited from RouteSaturation | |
RouteSaturation (void) | |
virtual | ~RouteSaturation (void) |
virtual Value | psat (const Value &T, double *derT=nullptr, double *der2T=nullptr)=0 |
Vapour pressure of saturation. More... | |
virtual Value | dhvl (const Value &T, double *derT=nullptr)=0 |
Vapour-Liquid enthalpy difference. More... | |
Public Member Functions inherited from RouteHeatVapor | |
RouteHeatVapor (void) | |
virtual | ~RouteHeatVapor (void) |
virtual Value | hv (const Value &T, const Value &P)=0 |
Molar vapor enthalpy, J/kmol. More... | |
virtual Value | sv (const Value &T, const Value &P)=0 |
Molar vapor entropy, J/kmol/K. More... | |
Value | gv (const Value &T, const Value &P) |
Molar vapor Gibbs free energy, J/kmol. More... | |
virtual Value | cpv (const Value &T, const Value &P)=0 |
Molar vapor cp, J/kmol/K. More... | |
Public Member Functions inherited from RouteHeatLiquid | |
RouteHeatLiquid (void) | |
virtual | ~RouteHeatLiquid (void) |
virtual Value | hl (const Value &T, const Value &P)=0 |
Molar liquid enthalpy, J/kmol. More... | |
virtual Value | sl (const Value &T, const Value &P)=0 |
Molar liquid entropy, J/kmol/K. More... | |
Value | gl (const Value &T, const Value &P) |
Molar liquid Gibbs free energy, J/kmol. More... | |
virtual Value | cpl (const Value &T, const Value &P)=0 |
Molar liquid cp, J/kmol/K. More... | |
Public Member Functions inherited from RouteHeatSolid | |
RouteHeatSolid (void) | |
virtual | ~RouteHeatSolid (void) |
virtual Value | hs (const Value &T, const Value &P)=0 |
Molar solid enthalpy, J/kmol. More... | |
virtual Value | ss (const Value &T, const Value &P)=0 |
Molar solid entropy, J/kmol/K. More... | |
Value | gs (const Value &T, const Value &P) |
Molar solid Gibbs free energy, J/kmol. More... | |
virtual Value | cps (const Value &T, const Value &P)=0 |
Molar solid cp, J/kmol/K. More... | |
Public Member Functions inherited from RouteTransport | |
RouteTransport (void) | |
virtual | ~RouteTransport (void) |
virtual Value | muv (const Value &T, const Value &P)=0 |
Vapour viscosity. More... | |
virtual Value | mul (const Value &T)=0 |
Liquid viscosity. More... | |
virtual Value | kv (const Value &T, const Value &P)=0 |
Vapour thermal conductivity. More... | |
virtual Value | kl (const Value &T)=0 |
Liquid thermal conductivity. More... | |
virtual Value | sigma (const Value &T)=0 |
Liquid surface tension. More... | |
Value | DG (const Value &T, const Value &P, const Value &mixMW, const Value &mixDiffvol) |
Gas diffusivity. More... | |
Value | DL (const Value &T) |
Liquid diffusivity. More... | |
Public Member Functions inherited from RouteVolumeVapor | |
RouteVolumeVapor (void) | |
virtual | ~RouteVolumeVapor (void) |
virtual double | p (const double rho, const double T, double *derRho=nullptr, double *derT=nullptr)=0 |
Vapor pressure, Pa. Requires the actual implementation of the volumetric properties. More... | |
Value | p (const Value &rrho, const Value &TT) |
Vapor pressure, Pa. More... | |
virtual Value | rhov (const Value &T, const Value &P, double *derT=nullptr, double *derP=nullptr)=0 |
Molar vapor density, kmol/m3. More... | |
Public Member Functions inherited from RouteVolumeLiquid | |
RouteVolumeLiquid (void) | |
virtual | ~RouteVolumeLiquid (void) |
virtual Value | rhol (const Value &T, const Value &P, double *derT=nullptr)=0 |
Molar liquid density, kmol/m3. More... | |
virtual Value | rhos (const Value &T, const Value &P, double *derT=nullptr)=0 |
Molar solid density, kmol/m3. More... | |
Public Member Functions inherited from ComponentBase | |
ComponentBase (const Value &mw, const Value &Pc, const Value &Tc, const Value &rhoc, const Value &diffvol, const Value &vb, const Value &dh0, const Value &dg0, const Value &zc, const Value &omega) | |
preferred constructor More... | |
ComponentBase (const Value &mw) | |
dummy constructor will set remaining parameters to dummy values More... | |
virtual | ~ComponentBase (void) |
const Value & | MW (void) const override |
const Value & | Pc (void) const override |
const Value & | Tc (void) const override |
const Value & | Zc (void) const override |
const Value | Vc (void) const override |
const Value & | omega (void) const override |
const Value & | diffvol (void) const override |
const Value & | vb (void) const override |
const Value & | dh0 (void) const override |
const Value & | dg0 (void) const override |
Public Member Functions inherited from RouteSaturationDummy | |
Value | psat (const Value &T, double *derT=nullptr, double *der2T=nullptr) override |
Vapour pressure of saturation. More... | |
Value | dhvl (const Value &T, double *derT=nullptr) override |
Vapour-Liquid enthalpy difference. More... | |
Public Member Functions inherited from RouteHeatVaporDummy | |
Value | hv (const Value &T, const Value &P) override |
Molar vapor enthalpy, J/kmol. More... | |
Value | sv (const Value &T, const Value &P) override |
Molar vapor entropy, J/kmol/K. More... | |
Value | cpv (const Value &T, const Value &P) override |
Molar vapor cp, J/kmol/K. More... | |
Public Member Functions inherited from RouteTransportSimple | |
RouteTransportSimple (Value muv20, Value mul20, Value kv20, Value kl20, Value sigma20) | |
Value | muv (const Value &T, const Value &P) override |
Vapour viscosity. More... | |
Value | mul (const Value &T) override |
Liquid viscosity. More... | |
Value | kv (const Value &T, const Value &P) override |
Vapour thermal conductivity. More... | |
Value | kl (const Value &T) override |
Liquid thermal conductivity. More... | |
Value | sigma (const Value &T) override |
Liquid surface tension. More... | |
Public Member Functions inherited from RouteVolumeVaporDummy | |
double | p (const double rho, const double T, double *derRho=nullptr, double *derT=nullptr) override |
Vapor pressure, Pa. Requires the actual implementation of the volumetric properties. More... | |
Value | rhov (const Value &T, const Value &P, double *derT=nullptr, double *derP=nullptr) override |
Molar vapor density, kmol/m3. More... | |
Public Member Functions inherited from ChoiOkos | |
ChoiOkos (ParameterChoiOkos v, ParameterChoiOkos w) | |
~ChoiOkos (void) | |
void | sethost (ComponentInterface *host) |
Value | hs (const Value &T, const Value &P) override |
Molar solid enthalpy, J/kmol. More... | |
Value | ss (const Value &T, const Value &P) override |
Molar solid entropy, J/kmol/K. More... | |
Value | cps (const Value &T, const Value &P) override |
Molar solid cp, J/kmol/K. More... | |
Value | rhos (const Value &T, const Value &P, double *derT=nullptr) override |
Molar solid density, kmol/m3. More... | |
Value | hl (const Value &T, const Value &P) override |
Molar liquid enthalpy, J/kmol. More... | |
Value | sl (const Value &T, const Value &P) override |
Molar liquid entropy, J/kmol/K. More... | |
Value | cpl (const Value &T, const Value &P) override |
Molar liquid cp, J/kmol/K. More... | |
Value | rhol (const Value &T, const Value &P, double *derT=nullptr) override |
Molar liquid density, kmol/m3. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Diagnostic | |
virtual | ~Diagnostic ()=default |
Protected Member Functions inherited from ComponentInterface | |
virtual | ~ComponentInterface ()=default |
Protected Member Functions inherited from RouteTransport | |
RouteTransport (const RouteTransport &) | |
not implemented, making class non copyable More... | |
RouteTransport & | operator= (const RouteTransport &) |
not implemented, making class non copyable More... | |
Protected Member Functions inherited from RouteVolumeSolid | |
virtual | ~RouteVolumeSolid ()=default |
Protected Attributes inherited from Diagnostic | |
int | verbosityInstance |
Protected Attributes inherited from ComponentBase | |
Value | MW_ |
molecular weight More... | |
Value | Pc_ |
critical pressure, Pa More... | |
Value | Tc_ |
critical temperature, K More... | |
Value | rhoc_ |
molar density at the critical point, kmol/m3 More... | |
Value | diffvol_ |
molar diffusivity parameter More... | |
Value | vb_ |
molar volume at boiling point, m3/kmol More... | |
Value | zc_ |
critical compressibility factor More... | |
Value | dh0_ |
enthalpy of formation in the isIdeal gas phase at 1 atm 298.15 K, J/kmol More... | |
Value | dg0_ |
Gibbs free energy of formation in the isIdeal gas phase at 1 atm 298.15 K, J/kmol. More... | |
Value | omega_ |
acentric factor More... | |
Detailed Description
use for protein, fat, carbohydrate, fiber, ash in the liquid or solid phase according to Choi-Okos 1987
#include <libpf/components/ComponentBiochem.h>
- Remarks
- Warning
- Thread safe:
- Extendable:
- Platform dependencies:
Constructor & Destructor Documentation
◆ ComponentBiochem()
ComponentBiochem::ComponentBiochem | ( | std::string | name, |
const Value & | mw, | ||
Value | muv20, | ||
Value | mul20, | ||
Value | kv20, | ||
Value | kl20, | ||
Value | sigma20, | ||
ParameterChoiOkos | v, | ||
ParameterChoiOkos | w | ||
) |
- Parameters
-
name default component indentifier mw molecular weight muv20 vapor viscosity at 20 C mul20 liquid viscosity at 20 C kv20 vapor thermal conductivity at 20 C kl20 liquid thermal conductivity at 20 C sigma20 surface tension at 20 C v Choi-Okos heat parameter,
- See also
- class ChoiOkos
- Parameters
-
w Choi-Okos density parameter,
- See also
- class ChoiOkos
◆ ~ComponentBiochem()
|
inline |
Member Function Documentation
◆ isSolid()
|
inlineoverridevirtual |
Check function for solid component
- Returns
- true if a component is solid
- false otherwise
Implements ComponentGeneric.
◆ kvli()
Vapor-liquid equilibrium constant
- Parameters
-
T temperature K P pressure Pa
- Returns
- Vapor-liquid equilibrium constant
Reimplemented from ComponentGeneric.
The documentation for this class was generated from the following file: