SinglePhaseFluidProperties

class SinglePhaseFluidProperties

Base class for single phase fluids.

Subclassed by fprops::Helmholtz, fprops::IdealGas, fprops::InterpolatedFluidProperties

Public Functions

virtual State rho_T(double rho, double T) const = 0

Compute thermodynamical state given density and temperature.

Parameters
  • rho – Density \([kg/m^3]\)

  • T – Temperature \([K]\)

virtual State rho_p(double rho, double p) const = 0

Compute thermodynamical state given density and pressure.

Parameters
  • rho – Density \([kg/m^3]\)

  • p – Pressure \([Pa]\)

virtual State p_T(double p, double T) const = 0

Compute thermodynamical state given pressure and temperature.

Parameters
  • p – Pressure \([Pa]\)

  • T – Temperature \([K]\)

virtual State v_u(double v, double u) const = 0

Compute thermodynamical state given specific volume and internal energy.

Parameters
  • v – Specific volume \([m^3/kg]\)

  • u – Specific internal energy \([J/kg]\)

virtual State h_s(double h, double s) const = 0

Compute thermodynamical state given specific enthalpy and entropy.

Parameters
  • h – Specific enthalpy \([J/kg]\)

  • s – Entropy \([J/(kg-K)]\)