Commit 4d5e479b authored by i.elizarov's avatar i.elizarov
Browse files

Updated NOVEC liquid model with more precise values

parent f81cec40
......@@ -4,7 +4,7 @@ package Novec649 "NOVEC649 incompressible model"
T_min = Modelica.SIunits.Conversions.from_degC(-50), T_max = Modelica.SIunits.Conversions.from_degC(30),
TinK = false, T0=273.15,
tableDensity=
[-50, 1813; 0, 1676; 30, 1587.8],
[-50, 1833.65; -40, 1808.54 ; 0, 1708.06; 30, 1631.37],
tableHeatCapacity=
[-50, 1099; 0, 1091; 30, 1105.4],
......@@ -14,7 +14,7 @@ package Novec649 "NOVEC649 incompressible model"
[-50, 0.073; 0, 0.0634; 30, 0.058],
tableViscosity=
[-40.5, 2.28e-3; 0, 0.938e-3; 25, 0.635e-3],
[-50, 2.547e-3; -40, 1.970e-3; 0, 0.8874e-3; 30, 0.5714e-3],
tableVaporPressure=
[-50, 407.49; 0, 12365.28; 30, 49354]);
......
function Odd_even "Returns true if the argument is odd; otherwise, returns false"
function Odd_even "Returns true if the argument is even; otherwise, returns false"
input Integer x;
output Boolean result;
......
......@@ -3,6 +3,7 @@ model test_novec
Medium.BaseProperties medium;
Medium.DynamicViscosity eta=Medium.dynamicViscosity(medium.state);
Modelica.SIunits.KinematicViscosity nue=eta/d;
Medium.ThermalConductivity lambda=Medium.thermalConductivity(medium.state);
Medium.SpecificEntropy s=Medium.specificEntropy(medium.state);
Medium.SpecificHeatCapacity cv=Medium.specificHeatCapacityCv(medium.state);
......@@ -14,7 +15,8 @@ model test_novec
constant Modelica.SIunits.Temperature Ta = 1;
equation
medium.p = 1.013e5;
medium.T = Medium.T_min + time/timeUnit*Ta;
medium.T = -40 + 273.15;
// medium.T = Medium.T_min + time/timeUnit*Ta;
annotation (experiment(StopTime=1.01));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment