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:
Andreas Lauser 2015-11-18 18:10:04 +01:00
parent 2c97e90a79
commit cd0f14295e

View File

@ -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