use BiCGStab-ILU0 as the linear solver for the lens problem

... and use the parallel AMG solver for the CO2 injection problem.

this makes performance comparisions with Dumux much easier as the
solver performance should be more similar.
This commit is contained in:
Andreas Lauser
2014-12-21 18:36:59 +01:00
parent 29a2123642
commit 5389c9fdfb
2 changed files with 4 additions and 4 deletions

View File

@@ -25,6 +25,7 @@
#define EWOMS_CO2_INJECTION_PROBLEM_HH
#include <ewoms/models/immiscible/immisciblemodel.hh>
#include <ewoms/linear/parallelamgbackend.hh>
#include <opm/material/fluidsystems/H2ON2FluidSystem.hpp>
#include <opm/material/fluidsystems/BrineCO2FluidSystem.hpp>
@@ -131,6 +132,9 @@ public:
typedef Opm::Somerton<FluidSystem, Scalar> type;
};
// Use the algebraic multi-grid linear solver for this problem
SET_TAG_PROP(Co2InjectionBaseProblem, LinearSolverSplice, ParallelAmgLinearSolver);
// Write the Newton convergence behavior to disk?
SET_BOOL_PROP(Co2InjectionBaseProblem, NewtonWriteConvergence, false);

View File

@@ -27,7 +27,6 @@
#include "lensgridmanager.hh"
#include <ewoms/models/immiscible/immiscibleproperties.hh>
#include <ewoms/linear/parallelamgbackend.hh>
#include <opm/material/fluidmatrixinteractions/RegularizedVanGenuchten.hpp>
#include <opm/material/fluidmatrixinteractions/LinearMaterial.hpp>
@@ -108,9 +107,6 @@ public:
typedef Opm::EffToAbsLaw<EffectiveLaw> type;
};
// Use the algebraic multi-grid linear solver for this problem
SET_TAG_PROP(LensBaseProblem, LinearSolverSplice, ParallelAmgLinearSolver);
// Write the solutions of individual newton iterations?
SET_BOOL_PROP(LensBaseProblem, NewtonWriteConvergence, false);