Arne Morten Kvarving
e1db0bbb4c
EclSpecrockLaw(Params): some modernization
...
- typedef -> using
- fix includes
2022-08-03 10:46:29 +02:00
Andreas Lauser
898af59418
use the midpoint rule to integrate linear functions
...
this used to be the unmodified quadratic function that results from
integrating a linear function. using the midpoint rule is quite a bit
simpler and should yield the same results.
thanks to [at]atgeirr for pointing this out.
2018-03-28 09:45:29 +02:00
Andreas Lauser
038f9c7bf1
thermal PVT and rock laws: fix the integration of the heat capacities
...
this was quite embarrassing. thanks to [at]atgeirr for pointing it out.
2018-03-27 14:00:41 +02:00
Andreas Lauser
01403ccdb3
thermal laws: rename some internal variables
...
using `u` or `h` for heat capacities is very confusing because the
variables can easily be mistaken for the internal energy or enthalpy.
2018-03-27 13:52:51 +02:00
Andreas Lauser
f8ecd7ceaa
implement the ECL thermal laws
...
Like for the material laws, an EclThermalLaw manager class is provided
to simplify initialization of the parameter objects from ECL decks.
2017-12-14 10:43:54 +01:00