https://mooseframework.inl.gov
geochemistry
include
utils
GeochemistryConstants.h
Go to the documentation of this file.
1
//* This file is part of the MOOSE framework
2
//* https://mooseframework.inl.gov
3
//*
4
//* All rights reserved, see COPYRIGHT for full restrictions
5
//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6
//*
7
//* Licensed under LGPL 2.1, please see LICENSE for details
8
//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10
#pragma once
11
12
#include "
MooseTypes.h
"
13
14
namespace
GeochemistryConstants
15
{
16
constexpr
Real
MOLES_PER_KG_WATER
=
17
55.5;
// This is only approximate, but 55.5 is chosen so the results of the geochemistry module
18
// closely match Geochemists Workbench
19
constexpr
Real
LOGTEN
= 2.30258509299404;
20
constexpr
Real
FARADAY
= 96485.3415;
// Coulombs . mol^-1
21
constexpr
Real
GAS_CONSTANT
= 8.314472;
// m^2 . kg . s^-2 . K^-1 . mol^-1
22
constexpr
Real
CELSIUS_TO_KELVIN
= 273.15;
23
constexpr
Real
PERMITTIVITY_FREE_SPACE
= 8.8541878128E-12;
// F . m^-1
24
constexpr
Real
DIELECTRIC_CONSTANT_WATER
= 78.5;
25
constexpr
Real
DENSITY_WATER
= 1000;
// kg . m^-3. Used in surface-potential calculation
26
}
GeochemistryConstants::MOLES_PER_KG_WATER
constexpr Real MOLES_PER_KG_WATER
Definition:
GeochemistryConstants.h:16
GeochemistryConstants::CELSIUS_TO_KELVIN
constexpr Real CELSIUS_TO_KELVIN
Definition:
GeochemistryConstants.h:22
GeochemistryConstants::DIELECTRIC_CONSTANT_WATER
constexpr Real DIELECTRIC_CONSTANT_WATER
Definition:
GeochemistryConstants.h:24
GeochemistryConstants::LOGTEN
constexpr Real LOGTEN
Definition:
GeochemistryConstants.h:19
MooseTypes.h
GeochemistryConstants::PERMITTIVITY_FREE_SPACE
constexpr Real PERMITTIVITY_FREE_SPACE
Definition:
GeochemistryConstants.h:23
GeochemistryConstants::FARADAY
constexpr Real FARADAY
Definition:
GeochemistryConstants.h:20
Real
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
GeochemistryConstants::DENSITY_WATER
constexpr Real DENSITY_WATER
Definition:
GeochemistryConstants.h:25
GeochemistryConstants::GAS_CONSTANT
constexpr Real GAS_CONSTANT
Definition:
GeochemistryConstants.h:21
GeochemistryConstants
Definition:
GeochemistryConstants.h:14
Generated on Thu Jul 17 2025 01:43:51 for https://mooseframework.inl.gov by
1.8.14