diff options
author | Ryan Kingsbury <RyanSKingsbury@alumni.unc.edu> | 2014-08-25 23:51:15 -0400 |
---|---|---|
committer | Ryan Kingsbury <RyanSKingsbury@alumni.unc.edu> | 2014-08-25 23:51:15 -0400 |
commit | bf02838c1ee5d8f7b8ff5f8d318c0ad3989f8aa3 (patch) | |
tree | c87b974dc38c0ed4a521df94253e2b06454e854c | |
parent | 7db0d13b605e2bd34c2df431051e5884b0421e38 (diff) | |
download | pint-bf02838c1ee5d8f7b8ff5f8d318c0ad3989f8aa3.tar.gz |
Complete missing conversions in chemistry context.
-rw-r--r-- | pint/default_en.txt | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/pint/default_en.txt b/pint/default_en.txt index 06232c5..c863a84 100644 --- a/pint/default_en.txt +++ b/pint/default_en.txt @@ -322,24 +322,29 @@ firkin = barrel / 4 @context(mw=0,volume=0,solvent_mass=0) chemistry = chem # mw is the molecular weight of the species # volume is the volume of the solution - # solvent_mass is the mass of solvent (usually water) in the solution + # solvent_mass is the mass of solvent in the solution # moles -> mass require the molecular weight [substance] -> [mass]: value * mw [mass] -> [substance]: value / mw - # moles/volume -> moles require the solution volume - [substance] / [volume] -> [substance]: value * volume + # moles/volume -> mass/volume and moles/mass -> mass / mass + # require the molecular weight + [substance] / [volume] -> [mass] / [volume]: value * mw + [mass] / [volume] -> [substance] / [volume]: value / mw + [substance] / [mass] -> [mass] / [mass]: value * mw + [mass] / [mass] -> [substance] / [mass]: value / mw + + # moles/volume -> moles requires the solution volume + [substance] / [length] -> [substance]: value * volume [substance] -> [substance] / [volume]: value / volume - # moles/kg solvent -> moles require the solvent (usually water) mass + # moles/mass -> moles requires the solvent (usually water) mass [substance] / [mass] -> [substance]: value * solvent_mass [substance] -> [substance] / [mass]: value / solvent_mass - # moles/kg solvent -> moles/volume require the solvent mass and the volume - [substance] / [mass] -> [substance] / [volume]: value * solvent_mass / -volume - [substance] / [volume] -> [substance] / [mass]: value / solvent_mass * -volume + # moles/mass -> moles/volume require the solvent mass and the volume + [substance] / [mass] -> [substance]/[volume]: value * solvent_mass / volume + [substance] -> [substance] / [mass]: value / solvent_mass * volume @end
\ No newline at end of file |