mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
powerinjection problem: make it work for 2D and 3D grids
and some minor variable renames in the base gradient calculator so that a delta won't be mistaken for a derivative...
This commit is contained in:
@@ -325,10 +325,11 @@ public:
|
|||||||
// impose a forced flow boundary
|
// impose a forced flow boundary
|
||||||
values.setMassRate(massRate);
|
values.setMassRate(massRate);
|
||||||
}
|
}
|
||||||
else {
|
else if (onRightBoundary_(pos))
|
||||||
// free flow boundary with initial condition on the right
|
// free flow boundary with initial condition on the right
|
||||||
values.setFreeFlow(context, spaceIdx, timeIdx, initialFluidState_);
|
values.setFreeFlow(context, spaceIdx, timeIdx, initialFluidState_);
|
||||||
}
|
else
|
||||||
|
values.setNoFlow();
|
||||||
}
|
}
|
||||||
|
|
||||||
//! \}
|
//! \}
|
||||||
|
|||||||
Reference in New Issue
Block a user