https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
13{
14// Physical constants
15// Avogadro's number [at/mol]
16// https://physics.nist.gov/cgi-bin/cuu/Value?na|search_for=Avogadro
17const auto avogadro_number = 6.02214076e23;
18// Boltzmann constant [J/K]
19// https://physics.nist.gov/cgi-bin/cuu/Value?k|search_for=Boltzmann
20const 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
24const 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
27const auto eV_to_J = 1.602176634e-19;
28// Ideal gas constant [J/(mol-K)]
29// https://physics.nist.gov/cgi-bin/cuu/Value?eqr
30const 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
33const 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
36const auto acceleration_of_gravity = 9.80665;
37} // namespace PhysicalConstants
const auto acceleration_of_gravity
const auto stefan_boltzmann_constant
const auto boltzmann_constant
const auto ideal_gas_constant