Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
i.elizarov
Fluid system CP and TD
Commits
4d5e479b
Commit
4d5e479b
authored
Jan 14, 2022
by
i.elizarov
Browse files
Updated NOVEC liquid model with more precise values
parent
f81cec40
Changes
3
Hide whitespace changes
Inline
Side-by-side
Novec649.mo
View file @
4d5e479b
...
...
@@ -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, 18
13; 0, 167
6; 30, 1
587.8
],
[-50, 18
33.65; -40, 1808.54 ; 0, 1708.0
6; 30, 1
631.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.
28
e-3; 0,
0
.9
38
e-3;
25
, 0.
635
e-3],
[-5
0
, 2.
547
e-3;
-4
0,
1
.9
70e-3; 0, 0.8874
e-3;
30
, 0.
5714
e-3],
tableVaporPressure=
[-50, 407.49; 0, 12365.28; 30, 49354]);
...
...
Odd_even.mo
View file @
4d5e479b
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;
...
...
test_novec.mo
View file @
4d5e479b
...
...
@@ -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
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment