Appendix: Summary of UnitsΒΆ

The following units are defined in the OpenMDAO units package:

[prefixes]
Y: 1.e24
Z: 1.e21
E: 1.e18
P: 1.e15
T: 1.e12
G: 1.e9
M: 1.e6
k: 1.e3
h: 1.e2
da: 1.e1
d: 1.e-1
c: 1.e-2
m: 1.e-3
u: 1.e-6
n: 1.e-9
p: 1.e-12
f: 1.e-15
a: 1.e-18
z: 1.e-21
y: 1.e-24

[base_units]
length: m
mass: kg
time: s
current: A
temperature: degK
amount: mol
luminous_intesity: cd
angle: rad
solid_angle: sr
money: USD
passengers: pax

[units]
degC: 1,degK,273.15,Centigrade
degR: degK*5.0/9.0,Rankine
degF: 1,degR,459.67,Fahrenheit
g: .001*kg,gram
Hz: 1/s,hertz
rev: 2*pi*rad, revolution
rpm: 2*pi*rad/min, RPM
rps: 2*pi*rad/s, RPS
N: m*kg/s**2,Newton
Pa: N/m**2,Pascal
J: N*m,Joule
W: J/s, Watt
C: A*s,Coulomb
V: W/A,Volt
F: C/V,Farad
ohm: V/A,Ohm
S: A/V,Siemens
Wb: V*s,Weber
T: Wb/m**2,Tesla
H: Wb/A,Henry
lm: cd*sr,Lumen
lx: lm/m**2,Lux
Bq: 1/s,Becquerel
Gy: J/kg,Gray
Sv: J/kg,Sievert
min: 60*s,Minute
h: 3600*s,Hour
d: 86400*s,Day
wk: 7*d,Week
year: 365.242199*d,Year
month: year/12.0, Month
deg: (3.14159265/180)*rad,Degree
L: 1e-3*m**3, Liter
mL: 0.001*L, Milliliter
tsp: 4.92892159375*mL, Teaspoon
tbsp: 3*tsp, Tablespoon
floz: 2*tbsp, Fluid Ounce
cup: 8*floz, Cup
pt: 16*floz, Pint
qt: 2*pt , Quart
galUS: 3.785411e-3*m**3, Gallon (U.S.)
galUK: 4.54609*L, Gallon (U.K.)
tn: 1e3*kg, Ton (metric)
cup: 1e-4*2.3659*m**3, Cup
inch: 2.54e-2*m, Inch
ft: 3.048e-1*m, Foot
mi: 1.609344e3*m, Mile (U.S. statute)
nmi: 1.852e3*m, Mile (U.S. nautical)
knot: 1.0*nmi/h, knot (nautical mile per hour)
Ang: 1.e-10*m, Angstrom
lyr: 9.46055e15*m, Light Year
Bohr: 4*pi*eps0*(hbar**2)/me/e**2, Bohr radius

amu: 1.6605402e-27*kg, Atomic Mass Units
oz: 28.349523125*g, Ounce
lb: 16*oz, Pound
lbm: lb, Pound Mass
lbf: 4.44822162*N, Pound Force
ton: 2000*lb, Ton
slug: 14.5939029*kg, Slug
dyn: 1.e-5*N, Dyne (cgs unit)
erg: 1.e-7*J, Erg (cgs unit)
eV: e*V, Electron Volt
Hartree: me*(e/(4.0*pi*eps0*hbar))**2, Wavenumbers/inverse cm
Ken: sigma*degK, Kelvin as Energy Unit
cal: 4.184*J, Thermochemical Calorie
kcal: 1000*cal, Thermochemical Kilocalorie
cali: 4.1868*J, International Calorie
kcali: 1000*cali, International Kilocalorie
Btu: 1055.05585262*J, British thermal unit
ha:  10000*m**2, Hectare
acres: mi**2/640, Acre
b: 1.e-28*m, Barn
hp: 745.7*W, Horsepower
bar: 1.e5*Pa, Bar (cgs unit)
atm: 101325.*Pa, Standard Atmosphere
torr: atm/760, Torr (1 mm of mercury)
psi: 6894.75729317*Pa, Pounds per square inch
psf: psi/144, Pounds per square foot

c: 299792458.*m/s, speed of light
mu0: 4.e-7*pi*N/A**2, permeability of vacuum
eps0:1/mu0/c**2, permittivity of vacuum 
Grav:6.67259e-11*m**3/kg/s**2, universal gravitational constant
e:1.60217733e-19*C, elementary charge
me: 9.1093897e-31*kg, electron mass
Nav: 6.0221367e23/mol,Avagadros number
R: 8.31424*J/(mol*degK), gas constant
V0: 2.24136*m**3/(1000*mol), volume of ideal gas
u: 1.660531e-27*kg, unified atomic mass unit
planck: 6.626196e-34*J/s, Planck constant
hbar: planck/(2*pi), hbar (Planck Constant/2pi)
mp: 1.672614e-27*kg, proton rest mass
mn: 1.674920e-27*kg, neutron rest mass
sigma: 5.66961e-8*W/(m**2*degK**-4), Stefan-Boltzmann constant
Rinfinity: 1.09737312e7/m, Rydberg constant
alpha0: 5.2917715e-11*m, Bohr radius
re: 2.817939e-15*m, classic electron radius
lambdac: 2.4263096e-12*m, Compton wavelength of electron
lambdap: 1.3214409e-15*m, Compton wavelength of proton
lambdan: 1.3196217e-15*m, Compton wavelength of neutron
mue: 9.284851e-24*J/T, electron magnetic moment
mup: 1.4106203e-26*J/T, proton magnetic moment
mub: 9.274096e-24*J/T, bohr magneton
mun: 5.050951e-27*J/T, nuclear magneton
gammap: 2.6751270e8*rad/(s*T), gyromagnetic ratio of protons in H2O
gammapc: 2.6751965e8*rad/(s*T), gyromagnetic ratio of protons in H2O corrected for diamagnetism of H2O
phi0: 2.0678538e-15*Wb, magnetic flux quantum
hme: 7.273894e-4*J*s/kg, quantum of circulation 
OpenMDAO Home

Previous topic

Licenses

Next topic

Appendix: Geometry Interfaces (Working Document)

This Page