Hey Ali,
this is not the full output of the build command, there is no error
message in there. Most likely, you have a limit in the number of lines
stored in your terminal window which you can enlarge. You also should
consider to use the compiler options from the files debug.opts or
optim.opts in the dumux directory (which you should pass to dunecontrol)
such that you don't get the comparison warnings.
I also suggest to change the two lines declaring the phase types to
typedef Dumux::LiquidPhase<Scalar, Dumux::Brine<Scalar,
Dumux::H2O<Scalar> > > type;
typedef Dumux::GasPhase<Scalar, Dumux::SimpleCO2<Scalar> > type;
Kind regards
Bernd
On 08/20/2012 05:37 PM, [email protected] wrote:
Dear DUMUX,
I want to use DUMUX to simulate for Non-isothermal two-phase flow.
I started first working on isothermal two-phase flow and I
successfully modified tutorial_coupled (in DUMUX /tutorial).
Now, I am working on test/boxmodels/ 2pni and I tried simply using
brine and simpleco2 as fluids.
In this case, I believe I can use this test without using a
fluidsystem (like h2on2 used as an example in the original code).
Therefore, I made this simple modification in injectionproblem2pni.hh:
#if 1
// Set the wetting phase
SET_PROP(InjectionProblem2PNI, WettingPhase)
{
private:
typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar;
public:
typedef Dumux::LiquidPhase<Scalar,
Dumux::Brine<Scalar,H2O<Scalar>>> type;
};
// Set the non-wetting phase
SET_PROP(InjectionProblem2PNI, NonwettingPhase)
{
private:
typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar;
public:
typedef Dumux::GasPhase<Scalar, Dumux::SimpleCO2<Scalar>> type;
};
#else
SET_TYPE_PROP(InjectionProblem2PNI, FluidSystem,
FluidSystems::H2OAir<typename GET_PROP_TYPE(TypeTag, Scalar)>);
#endif
However it didn't work and I received an error.
I hope that you can help me with this problem and let me know please
if I have to make further modification in this test to use brine and
co2 instead of h2on2fluidsystem. I made some changes (ex. I thought it
can come from how the indices are defined but I don't still find know
how I can modify them)
Thanks a lot for your help and I look forward to hearing from you soon.
Please let me know if you need more information.
**I send you the injectionproblem2pni.hh where I made my modifications
and also the error that I received in terminal for your perusal.
In .hh file , I commented my modifications by "my modification".
Bests
Ali
_______________________________________________
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