mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
simplify test problems for the 2p and 2p2c models just like the coupled tutorial
This commit is contained in:
parent
a2f89656f9
commit
30676ede27
@ -17,7 +17,7 @@ tutorial_decoupled_SOURCES = tutorial_decoupled.cc
|
||||
|
||||
tutorial_coupleddir = $(EXTRA_DIST=CMakeLists.txt
|
||||
includedir)/dumux/tutorial
|
||||
tutorial_coupled_HEADERS = tutorial_soilproperties_coupled.hh \
|
||||
tutorial_coupled_HEADERS = tutorialsoil_coupled.hh \
|
||||
tutorialproblem_coupled.hh
|
||||
tutorial_coupled_SOURCES = tutorial_coupled.cc
|
||||
|
||||
|
@ -190,7 +190,8 @@ public:
|
||||
int boundaryFaceIdx) const
|
||||
{
|
||||
const GlobalPosition &pos = element.geometry().corner(scvIdx);
|
||||
if (pos[0]> right_ - eps_) {
|
||||
Scalar right = this->bboxMax()[0];
|
||||
if (pos[0] > right - eps_) {
|
||||
// outflow of 0.3 g/(m * s) oil on the right boundary of the
|
||||
// domain
|
||||
values[Indices::phase2Mass(Indices::wPhase)] = 0;
|
||||
@ -243,8 +244,6 @@ public:
|
||||
|
||||
private:
|
||||
static const Scalar eps_ = 3e-6;
|
||||
|
||||
static const Scalar right_ = 5.0;
|
||||
};
|
||||
} //end namespace
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user