There was an error while loading. Please reload this page.
NeqSim calculates and return thermodynamic and physical properties using the following methods:
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");`
enthalpy = fluid.getEnthalpy();