Hey Ali,
it will not work like that since it does not know what "H2O" is. You
need to provide an explicit type for that, e.g.
public: typedef Dumux::LiquidPhase<Scalar, Dumux::Brine<Scalar,
Dumux::H2O<Scalar> > > type;
should work.
Please also be careful about using ">>" without space in between for
closing nested template argument lists. Some compilers might give errors
because they mistake it for the operator ">>".
In the future, please send us a complete output of the failing build
command, after having a look at this output and trying to fix the
problem yourself.
Kind regards
Bernd
On 08/16/2012 01:04 PM, [email protected] wrote:
Hi,
I would like to use DUMUX to simulate a non-isothermal two phase flow
(Brine-co2 problem)
As a beginner of DUMUX, I started working on the tutorial examples.
However, I had a problem that I couldn't find any solution.
My problem is with Exercise 1 d) changing Fluids (page 22 of DUMUX
handbook).
I tried to change water with brine.
I made these changes in the tutorialproblem_coupled.hh :
first :
#include <dumux/material/components/brine.hh>
then :
// Set the wetting phase
SET_PROP(TutorialProblemCoupled, WettingPhase)
/*@\label{tutorial-coupled:2p-system-start}@*/
{
private: typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar;
public: typedef Dumux::LiquidPhase<Scalar,
Dumux::Brine<Scalar,H2O>>type; /*@\label{tutorial-coupled:wettingPhase}@*/
};
I followed exactly the instructions given in the tutorial, however, it
didn't work.
I wanted to know if I made any mistake or I should take something else
into account. I tried with other fluids and I didn't have any problem
(such as simple co2).
Thank you very much for your consideration, and I look forward to
hearing from you.
Bests,
Ali NOWAMOOZ
_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux
--
_____________________________________________________________________
Bernd Flemisch phone: +49 711 685 69162
IWS, Universität Stuttgart fax: +49 711 685 60430
Pfaffenwaldring 61 email: [email protected]
D-70569 Stuttgart url: www.hydrosys.uni-stuttgart.de
_____________________________________________________________________
_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux