1 classdef MichelSimple < TwoPhaseData.Interface
4 function kw = water_permeability(
this, glob, S, model)
6 kw = model.tp_kw_factor * ones(size(S));
9 function dkw = water_permeability_derivative(this, glob, S, model)
14 function ko = oil_permeability(this, glob, S, model)
16 ko = model.tp_ko_factor * ones(size(S));
19 function dko = oil_permeability_derivative(this, glob, S, model)
24 function pc = capillary_pressure(this, glob, S, model)
29 function dpc = capillary_pressure_derivative(this, glob, S, model)
31 dpc = model.tp_pb * ones(size(S));
34 function ddpc = capillary_pressure_second_derivative(this, glob, S, model)
36 ddpc = zeros(size(S));
39 function c = injection_concentration(this, model)
41 c = model.tp_injection_c;
44 function s_under = lower_source(this, glob, model)
49 D3 = ((X-0.8).^2 + (Y-0.5).^2) <= 0.01;
53 function s_above = upper_source(this, glob, model)
58 D1 = ((X-0.5).^2 + (Y-0.8).^2) <= 0.01;
59 D2 = ((X-0.2).^2 + (Y-0.2).^2) <= 0.01;
60 s_above = 10 * D1 + 20 * D2;
63 function descr = default_descr(this, descr)
65 descr.tp_kw_factor = 1;
66 descr.tp_ko_factor = 1;
67 descr.tp_injection_c = 0.8;