constants: Standardise use of kmol instead of mol

This prevents spurious factors of 1000 from being introduced in
thermodynamic models. It also generalises the system further with
respect to alternative unit sets.
This commit is contained in:
Will Bainbridge
2023-12-13 14:34:32 +00:00
parent f1a70fab7e
commit 58e38a761f
15 changed files with 22 additions and 41 deletions

View File

@ -29,7 +29,7 @@ mixture
specie
{
nMoles 1;
molWeight 18; // [g/mol]
molWeight 18; // [kg/kmol]
}
equationOfState
{

View File

@ -29,7 +29,7 @@ mixture
specie
{
nMoles 1;
molWeight 28.9; // [g/mol]
molWeight 28.9; // [kg/kmol]
}
thermodynamics
{

View File

@ -29,7 +29,7 @@ mixture
specie
{
nMoles 1;
molWeight 27; // [g/mol]
molWeight 27; // [kg/kmol]
}
transport

View File

@ -29,7 +29,7 @@ mixture
specie
{
nMoles 1;
molWeight 63.5; // [g/mol]
molWeight 63.5; // [kg/kmol]
}
transport

View File

@ -29,7 +29,7 @@ mixture
specie
{
nMoles 1;
molWeight 18.0; // [g/mol]
molWeight 18.0; // [kg/kmol]
}
equationOfState
{