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

@@ -306,7 +306,7 @@ namespace Opm
// Solve pressure equation.
if (check_well_controls_) {
computeFractionalFlow(props_, poly_props_, allcells_,
state.pressure(), state.surfacevol(), state.saturation(),
state.pressure(), state.temperature(), state.surfacevol(), state.saturation(),
state.concentration(), state.maxconcentration(),
fractional_flows);
wells_manager_.applyExplicitReinjectionControls(well_resflows_phase, well_resflows_phase);
@@ -400,7 +400,7 @@ namespace Opm
double polyprod = 0.0;
for (int tr_substep = 0; tr_substep < num_transport_substeps_; ++tr_substep) {
tsolver_.solve(&state.faceflux()[0], initial_pressure,
state.pressure(), &initial_porevol[0], &porevol[0],
state.pressure(), state.temperature(), &initial_porevol[0], &porevol[0],
&transport_src[0], &polymer_inflow_c[0], stepsize,
state.saturation(), state.surfacevol(),
state.concentration(), state.maxconcentration());