mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-22 09:16:27 -06:00
Only output warning if dispersion is activated
This commit is contained in:
parent
d5d7ad2d20
commit
fe1a488e77
@ -122,6 +122,10 @@ public:
|
||||
#if HAVE_ECL_INPUT
|
||||
static void initFromState(const EclipseState& eclState)
|
||||
{
|
||||
if (!eclState.getSimulationConfig().rock_config().dispersion()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (eclState.getSimulationConfig().hasVAPWAT() || eclState.getSimulationConfig().hasVAPOIL()) {
|
||||
OpmLog::warning("Dispersion is activated in combination with VAPWAT/VAPOIL. \n"
|
||||
"Water/oil is still allowed to vaporize, but dispersion in the "
|
||||
|
Loading…
Reference in New Issue
Block a user