Dear Hai,
this problem has occured before and we have not found a solution yet.
Can you try to apply the following patch (attached) in your dumux folder
and compile and run the problem again:
patch -p0 <parallel.patch
This patch should take care that the time step gets reduced for parallel
runs. Please report whether it works or not.
If that does not work you can also try to remove DUNE_THROW in h2o.hh.
best regards
Alex
On 02/04/2015 05:16 PM, Thanh Hai Ong wrote:
Hello,
If the pressure and temperature not in the range implemented for Dumux
co2ni test in order to compute the density of water, the code crash
and don't continue by reducing time step size for example. It show
the folowing error:
updating:NumericalProblem
[liquidDensity:../../../dumux/material/components/h2o.hh:670]: Density
of water is only implemented for temperatures below 623.15K and
pressures below 100MPa.
If I run the code sequentially, the simulation continue by reducing
the time step size. But not in the case when I run the test in parallel.
I will just appreciate to have help on solving this problem.
Best
Hai
_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux
--
Alexander Kissinger
Institut für Wasser- und Umweltsystemmodellierung
Lehrstuhl für Hydromechanik und Hydrosystemmodellierung
Pfaffenwaldring 61
D-70569 Stuttgart
Telefon: +49 (0) 711 685-64729
E-Mail: [email protected]
Index: dumux/implicit/common/implicitmodel.hh
===================================================================
--- dumux/implicit/common/implicitmodel.hh (revision 14179)
+++ dumux/implicit/common/implicitmodel.hh (working copy)
@@ -459,7 +459,12 @@
asImp_().updateBegin();
- bool converged = solver.execute(controller);
+ int converged = solver.execute(controller);
+
+ if (this->gridView_().comm().size() > 1)
+ {
+ converged = this->gridView_().comm().min(converged);
+ }
if (converged) {
asImp_().updateSuccessful();
}
_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux