add a simulator which uses Eclipse data files and the blackoil model

This commit is contained in:
Andreas Lauser
2014-04-15 18:30:06 +02:00
parent a76b64bc56
commit 4c7a2d2ca0
3 changed files with 782 additions and 0 deletions

40
tests/ecl_blackoil.cc Normal file
View File

@@ -0,0 +1,40 @@
/*
Copyright (C) 2014 by Andreas Lauser
This file is part of the Open Porous Media project (OPM).
OPM is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
OPM is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with OPM. If not, see <http://www.gnu.org/licenses/>.
*/
/*!
* \file
*
* \brief A general-purpose simulator for Eclipse decks using the
* black-oil model.
*/
#include "config.h"
#include <ewoms/common/start.hh>
#include <ewoms/models/blackoil/blackoilmodel.hh>
#include "problems/eclproblem.hh"
namespace Opm {
namespace Properties {
NEW_TYPE_TAG(EclProblem, INHERITS_FROM(BlackOilModel, EclBaseProblem));
}}
int main(int argc, char **argv)
{
typedef TTAG(EclProblem) ProblemTypeTag;
return Ewoms::start<ProblemTypeTag>(argc, argv);
}