OGS
PhysicalConstant.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
6namespace MaterialLib
7{
14{
16constexpr double CelsiusZeroInKelvin = 273.15;
17
25constexpr double IdealGasConstant = 8.3144621;
26
30namespace MolarMass
31{
42constexpr double Water = 0.018016;
43
53constexpr double N2 = 0.028013;
54
64constexpr double O2 = 0.032;
65
71constexpr double Air = 0.02897;
72
78constexpr double H2 = 0.002016;
79} // namespace MolarMass
80
87{
89constexpr double WaterVapour = IdealGasConstant / MolarMass::Water; // = 461.504;
90} // namespace SpecificGasConstant
91
97{
102constexpr double HenryConstantH2 = 7.65e-6;
103} // namespace HenryConstant
104} // namespace PhysicalConstant
105} // namespace MaterialLib
constexpr double WaterVapour
Specific gas constant for water vapour.
constexpr double CelsiusZeroInKelvin
Zero degrees Celsius in Kelvin.