Commit Graph

2 Commits

Author SHA1 Message Date
Andreas Lauser
8a95794277 rename c_p to c_v in specrock and specheat table classes
even though the official documentation does not seem to specify
whether the specified heat capacities of the SPECROCK and SPECHEAT
keywords are for constant pressure or for constant volume, the
implicitly seem to be for the latter: pressure dependent heat
capacites cannot be specified, yet the enthalpy for an incompressible
fluid *is* pressure dependent, so the specified heat capacities must
be for constant volume and they specify the internal energy instead of
the enthalpy.
2018-01-30 12:06:58 +01:00
Andreas Lauser
1f7cda4569 add the infrastructure for SPECROCK
this is analogous to the SPECHEAT patch:

- fix the JSON definition
- add a table class
- wire the table class into TableManager
2017-11-25 18:08:28 +01:00