https://mooseframework.inl.gov
misc
include
utils
PhysicalConstants.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
namespace
PhysicalConstants
13
{
14
// Physical constants
15
// Avogadro's number [at/mol]
16
// https://physics.nist.gov/cgi-bin/cuu/Value?na|search_for=Avogadro
17
const
auto
avogadro_number
= 6.02214076e23;
18
// Boltzmann constant [J/K]
19
// https://physics.nist.gov/cgi-bin/cuu/Value?k|search_for=Boltzmann
20
const
auto
boltzmann_constant
= 1.380649e-23;
21
// Conversion coefficient from calories to Joules
22
// https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication1038.pdf
23
// Table 5.2.12: Energy, work, heat
24
const
Real
cal_to_J
= 4.184;
25
// Conversion coefficient from eV to Joules
26
// https://physics.nist.gov/cgi-bin/cuu/Value?Revj|search_for=joules
27
const
auto
eV_to_J
= 1.602176634e-19;
28
// Ideal gas constant [J/(mol-K)]
29
// https://physics.nist.gov/cgi-bin/cuu/Value?eqr
30
const
auto
ideal_gas_constant
= 8.31446261815324;
31
// Stefan-Boltzmann constant [W/(m2-K^4)]
32
// https://physics.nist.gov/cgi-bin/cuu/Value?sigma|search_for=Stefan-Boltzmann
33
const
auto
stefan_boltzmann_constant
= 5.670374419e-8;
34
// Standard acceleration of gravity [m/s^2]
35
// https://physics.nist.gov/cgi-bin/cuu/Value?gn
36
const
auto
acceleration_of_gravity
= 9.80665;
37
}
// namespace PhysicalConstants
PhysicalConstants::acceleration_of_gravity
const auto acceleration_of_gravity
Definition:
PhysicalConstants.h:36
PhysicalConstants::boltzmann_constant
const auto boltzmann_constant
Definition:
PhysicalConstants.h:20
PhysicalConstants::stefan_boltzmann_constant
const auto stefan_boltzmann_constant
Definition:
PhysicalConstants.h:33
PhysicalConstants
Definition:
PhysicalConstants.h:12
PhysicalConstants::ideal_gas_constant
const auto ideal_gas_constant
Definition:
PhysicalConstants.h:30
PhysicalConstants::avogadro_number
const auto avogadro_number
Definition:
PhysicalConstants.h:17
PhysicalConstants::eV_to_J
const auto eV_to_J
Definition:
PhysicalConstants.h:27
PhysicalConstants::cal_to_J
const Real cal_to_J
Definition:
PhysicalConstants.h:24
Real
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Generated on Fri Jul 18 2025 13:42:58 for https://mooseframework.inl.gov by
1.8.14