mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Add support for miscibilty in the relperms
This commit is contained in:
@@ -54,9 +54,10 @@ namespace Opm
|
||||
, has_solvent_(has_solvent)
|
||||
, deck_(deck)
|
||||
, solvent_props_(solvent_props)
|
||||
, is_miscible_(false)
|
||||
{
|
||||
if(deck->hasKeyword("MISCIBLE")) {
|
||||
std::cerr << "MISICIBLE keyword is present. Mixing is not currently supported" << std::endl;
|
||||
is_miscible_ = true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -80,7 +81,8 @@ namespace Opm
|
||||
BaseType::has_disgas_,
|
||||
BaseType::has_vapoil_,
|
||||
BaseType::terminal_output_,
|
||||
has_solvent_));
|
||||
has_solvent_,
|
||||
is_miscible_));
|
||||
|
||||
if (!BaseType::threshold_pressures_by_face_.empty()) {
|
||||
model->setThresholdPressures(BaseType::threshold_pressures_by_face_);
|
||||
|
||||
Reference in New Issue
Block a user