NuTo
Numerics Tool
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
nuto
physics
PhysicalEquationsSI.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
math/LinearInterpolation.h
"
4
5
namespace
NuTo
6
{
7
namespace
SI
8
{
9
15
inline
double
DensityLiquidWater
(
double
temperature)
16
{
17
const
auto
densityInterpolation =
NuTo::Math::LinearInterpolation
({{243.15, 983.854},
18
{253.15, 993.547},
19
{263.15, 998.117},
20
{273.15, 999.8395},
21
{277.15, 999.972},
22
{283.15, 999.7026},
23
{288.15, 999.1026},
24
{293.15, 998.2071},
25
{295.15, 997.7735},
26
{298.15, 997.0479},
27
{303.15, 995.6502},
28
{313.15, 992.2},
29
{333.15, 983.2},
30
{353.15, 971.8},
31
{373.15, 958.4}});
32
return
densityInterpolation(temperature);
33
}
34
35
}
// namespace SI
36
}
// namespace NuTo
NuTo::SI::DensityLiquidWater
double DensityLiquidWater(double temperature)
Density of liquid water at standard atmospheric pressure depending on the temperature.
Definition:
PhysicalEquationsSI.h:15
LinearInterpolation.h
NuTo
Definition:
Exception.h:6
NuTo::Math::LinearInterpolation
Definition:
LinearInterpolation.h:11
Generated on Wed Sep 19 2018 05:53:21 for NuTo by
1.8.11