[DuMuX] porousmediumflow/2p: calculate global phase storage

2018-02-03 Thread Gergely Schmidt
Dear DuMuX community, I am writing in connection with a porousmediumflow/2p problem. I'd like to calculate the global phase storage (the integral of all conservation quantities over the solution domain). Is there a better way than iterating over all sub-control-volume and calling

Re: [DuMuX] porousmediumflow/2p: calculate global phase storage

2018-02-03 Thread Bernd Flemisch
Hi Gergö, if you are on a Dumux 2.x release, the ImplicitModel has a function globalStorage that does exactly what you describe. For the immiscible models, this corresponds to the phase storage. For the miscible models, it calculates component masses/moles. Those models have an extra