Re: [DuMuX] Porbelm with no matching function for call in co2ni model

2014-11-20 Thread Alexander Kissinger
Dear Ali, from what I see in your error message the compiler can not find the function "calculateFluxAcrossLayer" you call from your problem. The reason is: If you use the co2model the type of the primary variables vector is: Dune::FieldVector as you have two primary variables. If you use the

[DuMuX] Porbelm with no matching function for call in co2ni model

2014-11-20 Thread Ali Nowamooz
Dear DuMux, I generally used CO2model for my simulations. Inside this model I added a function that calculates the advective flux across different layers Alexander sent me kindly this function (attached files) and it works perfectly when I use CO2model. I recently tried to run the same simulati

Re: [DuMuX] Access to global vertex indices

2014-11-20 Thread Georg.Futter
Hi Bernd, GlobalProblem_.sdProblem1().model().dofMapper().map(sdElement1, vertInElem1, dim) works. Kind regards Georg Von: Dumux [mailto:dumux-boun...@listserv.uni-stuttgart.de] Im Auftrag von Bernd Flemisch Gesendet: Donnerstag, 20. November 2014 09:49 An: DuMuX User Forum Betreff: Re: [DuMu

Re: [DuMuX] Access to global vertex indices

2014-11-20 Thread Bernd Flemisch
Hi Georg, something like globalProblem_.sdProblem1().dofMapper(...) should work. Kind regards Bernd On 11/18/2014 12:55 PM, georg.fut...@dlr.de wrote: Hello Dumuxers, For the coupling of my membrane model with the dumux cathode model I would like to know the phase presence in the porous med