[DuMuX] Fwd: Re: 2pncNIMin & Box Method

2019-07-05 Thread Joan Delort Ylla
Dear Martin, Timo, Tanks for your comments. Here's what I did : 1/ deleted the line///dumux/dumux/discretization/evalsolution.hh:203 /(the "if" statement) 2/ "recompiled" everything in the dumux home folder by running ://$/./dune-common/bin/dunecontrol --opts=dumux/cmake.opts all/ This

[DuMuX] 2p time dependent BC on pressure at inlet

2019-07-05 Thread lc
Dear Dumux community, I'm simulating a 2d horizontal well with water/oil with 2p model. At the inlet (left) boundary I impose Neuman condition on pressure, dp/dx = const. and so pressure will not stay constant. Is it possible to impose a "variable" pressure in time (as explained in the

Re: [DuMuX] 2pncNIMin & Box Method

2019-07-05 Thread Timo Koch
I wanted to say should “not” have any effect on your simulation. > On 5. Jul 2019, at 10:39, Timo Koch wrote: > > Dear Joan, > > It should have any effect on your simulation. However it would be nice to not > get a compiler warning. > Would you please try to remove (only) line 203 (the if) in

Re: [DuMuX] 2pncNIMin & Box Method

2019-07-05 Thread Timo Koch
Dear Joan, It should have any effect on your simulation. However it would be nice to not get a compiler warning. Would you please try to remove (only) line 203 (the if) in dumux/dumux/discretization/evalsolution.hh and tell us if the warning disappears? That would help a lot. Thanks for

Re: [DuMuX] 2pncNIMin & Box Method

2019-07-05 Thread Martin Schneider
Dear Joan, I think you can ignore it. It tells you that the phase state might not be set for the *PrimaryVariable* in the *evalSolution* function. However, after having a quick look at the function, it seems that the state is set (at least per default). Best regards, Martin Am 04.07.19 um