mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-06 22:43:01 -06:00
Flash model: do not change the flash tolerance in the model, fix the tests
for some reason, fixing "co2injection_flash_ni_ecfv" required to disable the linearization recycling. I'm puzzled...
This commit is contained in:
parent
2c97e90a79
commit
cd0f14295e
@ -58,6 +58,10 @@ SET_TYPE_PROP(Co2InjectionFlashNiEcfvProblem, Scalar, quad);
|
||||
// the default linear solver used for this problem (-> AMG) cannot be used with quadruple
|
||||
// precision scalars... (this seems to only apply to Dune >= 2.4)
|
||||
SET_TAG_PROP(Co2InjectionFlashNiEcfvProblem, LinearSolverSplice, ParallelIterativeLinearSolver);
|
||||
|
||||
// somehow the test does not converge if linearization recycling is enabled. TODO: figure
|
||||
// out why!
|
||||
SET_BOOL_PROP(Co2InjectionFlashNiEcfvProblem, EnableLinearizationRecycling, false);
|
||||
#else
|
||||
SET_SCALAR_PROP(Co2InjectionFlashNiEcfvProblem, NewtonRawTolerance, 1e-5);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user