thermo: Standardise property names and remove molar functions
All property functions in the low-level templated thermo property implementations and the high-level virtual interfaces have been made consistent. All energies and enthalpies are lower case to denote that they are specific quantities. Molar functions have been removed as these are no longer used anywhere.
This commit is contained in:
@ -173,7 +173,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
Info<< "products " << (1/products.Y())*products << ';' << endl;
|
||||
|
||||
scalar Tad = products.THa(reactants.Ha(P, T0), P, 1000.0);
|
||||
scalar Tad = products.Tha(reactants.ha(P, T0), P, 1000.0);
|
||||
Info<< "Tad = " << Tad << nl << endl;
|
||||
}
|
||||
|
||||
|
||||
@ -248,7 +248,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
|
||||
scalar equilibriumFlameTemperatureNew =
|
||||
products.THa(reactants.Ha(P, T0), P, adiabaticFlameTemperature);
|
||||
products.Tha(reactants.ha(P, T0), P, adiabaticFlameTemperature);
|
||||
|
||||
if (j==0)
|
||||
{
|
||||
|
||||
@ -133,7 +133,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
Info<< "Adiabatic flame temperature of mixture " << rMix.name() << " = "
|
||||
<< products.THa(reactants.Ha(p, T0), p, 1000.0) << " K" << endl;
|
||||
<< products.Tha(reactants.ha(p, T0), p, 1000.0) << " K" << endl;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user