https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
}
MooseTypes.h
GeochemistryConstants
Definition
GeochemistryConstants.h:15
GeochemistryConstants::GAS_CONSTANT
constexpr Real GAS_CONSTANT
Definition
GeochemistryConstants.h:21
GeochemistryConstants::DIELECTRIC_CONSTANT_WATER
constexpr Real DIELECTRIC_CONSTANT_WATER
Definition
GeochemistryConstants.h:24
GeochemistryConstants::LOGTEN
constexpr Real LOGTEN
Definition
GeochemistryConstants.h:19
GeochemistryConstants::CELSIUS_TO_KELVIN
constexpr Real CELSIUS_TO_KELVIN
Definition
GeochemistryConstants.h:22
GeochemistryConstants::FARADAY
constexpr Real FARADAY
Definition
GeochemistryConstants.h:20
GeochemistryConstants::MOLES_PER_KG_WATER
constexpr Real MOLES_PER_KG_WATER
Definition
GeochemistryConstants.h:16
GeochemistryConstants::PERMITTIVITY_FREE_SPACE
constexpr Real PERMITTIVITY_FREE_SPACE
Definition
GeochemistryConstants.h:23
GeochemistryConstants::DENSITY_WATER
constexpr Real DENSITY_WATER
Definition
GeochemistryConstants.h:25
Generated on Fri Aug 21 2026 13:41:02 for https://mooseframework.inl.gov by
1.9.8