allow temperature dependent PVT properties

this has the nice side effect that non-uniform temperature fields also
become supported as long as they are "impressed" externally...
This commit is contained in:
Andreas Lauser
2014-11-20 18:57:29 +01:00
parent 7844931b41
commit d36d7e81cb
11 changed files with 74 additions and 34 deletions

View File

@@ -127,6 +127,7 @@ namespace Opm {
struct SolutionState {
SolutionState(const int np);
ADB pressure;
ADB temperature;
std::vector<ADB> saturation;
ADB rs;
ADB rv;
@@ -277,6 +278,7 @@ namespace Opm {
ADB
fluidViscosity(const int phase,
const ADB& p ,
const ADB& temp ,
const ADB& rs ,
const ADB& rv ,
const std::vector<PhasePresence>& cond,
@@ -285,6 +287,7 @@ namespace Opm {
ADB
fluidReciprocFVF(const int phase,
const ADB& p ,
const ADB& temp ,
const ADB& rs ,
const ADB& rv ,
const std::vector<PhasePresence>& cond,
@@ -293,6 +296,7 @@ namespace Opm {
ADB
fluidDensity(const int phase,
const ADB& p ,
const ADB& temp ,
const ADB& rs ,
const ADB& rv ,
const std::vector<PhasePresence>& cond,