Re: [DuMuX] constant relative permeabilities

2017-08-29 Thread Bernd Flemisch
Hi Gergoe, a constant law is not available in the current code base. I'd suggest that you derive a new class from LinearMaterial or RegularizedLinearMaterial and reimplement the krn and krw functions. You could then also read the constant values from your input file so that you can change them

[DuMuX] constant relative permeabilities

2017-08-28 Thread Gergely Schmidt
Dear DuMuX team, I use the 2p2c porousmediumflow code and I’d like to set the relative permeability to a constant value in order to test something. Is there a material law which allows this by setting a run-time parameter? Or is overwriting the krw and krn functions in - let’s say - linearmate