Skip to content

Thermodynamic and physical properties

Even Solbraa edited this page May 16, 2019 · 7 revisions

NeqSim calculates and return thermodynamic and physical properties using the following methods:

  1. Calculation of properties for a fluid.

Thermodynamic properties of a fluid is calculated when calling the fluid.init(2) method, and can then be read using the functions:

enthalpy = fluid.getEnthalpy();entropy = fluid.getEntropy(); numberOfPhases = fluid.getNumberOfPhases(); mixMolarVolume = 1.0 / fluid.getDensity("mol/m3"); mixDensity = fluid.getDensity("kg/m3"); mixZfactor = fluid.getZ(); mixEnthalpy = fluid.getEnthalpy("Jmol"); mixEntropy = fluid.getEntropy("JmolK"); mixCp = fluid.getCp("J/molK"); mixCv = fluid.getCv("J/molK"); mixKappa = fluid.getKappa(); mixViscosity = fluid.getViscosity("kg/msec"); mixThermalConductivity = fluid.getConductivity("W/mK");`

Clone this wiki locally