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 conveniently.

Kind regards
Bernd

On Mon, 28 Aug 2017 16:31:49 +0200
 Gergely Schmidt  wrote:
>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 - linearmaterial.hh the 
>only option?
>
>Thank you and best regards
>Gergoe
>

___

Bernd Flemisch phone: +49 711 685 69162
IWS, Universitaet Stuttgart  fax: +49 711 685 67020
Pfaffenwaldring 61email: be...@iws.uni-stuttgart.de
D-70569 Stuttgarturl: www.hydrosys.uni-stuttgart.de
___
___
Dumux mailing list
Dumux@listserv.uni-stuttgart.de
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux


[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 - linearmaterial.hh 
the only option?


Thank you and best regards
Gergoe

___
Dumux mailing list
Dumux@listserv.uni-stuttgart.de
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux