Skip to content

Commit

Permalink
Update plot_result.m
Browse files Browse the repository at this point in the history
  • Loading branch information
djmaxus committed Oct 16, 2024
1 parent 66c6f70 commit d75c6b6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions plot_result.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ function plot_result(rock, mask, strata_trapped, params, kr_scale)

[t_all,t_kr,t_krw,t_krg,ax_pc,ax_krw_x,ax_krw_y,ax_krw_z,ax_krg_x,ax_krg_y,ax_krg_z] = nested_tiles();


leverett_j_upscaled = params.cap_pressure.inv_lj(...
strata_trapped.capillary_pressure(mask,:),...
rock.poro(mask),strata_trapped.permeability(mask,:));
strata_trapped.capillary_pressure,...
rock.poro(mask),strata_trapped.permeability);

[~, ax_pc] = stat_plot(ax_pc,'Leverett J-function','',strata_trapped.saturation,...
@(sw)params.cap_pressure.leverett_j.func(sw), leverett_j_upscaled,true);
Expand Down Expand Up @@ -42,7 +43,7 @@ function curves_plot(ax_kr,mask, strata_trapped, params,scale)
params
scale = "log"
end
sub_data = @(data,mask,direction) squeeze(data(mask,direction,:));
sub_data = @(data,mask,direction) squeeze(data(:,direction,:));

stat_plot(ax_kr(1,1),'','',strata_trapped.saturation,@(sw)params.krw.func(sw),sub_data(strata_trapped.rel_perm_wat,mask,1));
yscale(ax_kr(1,1),scale);
Expand Down

0 comments on commit d75c6b6

Please sign in to comment.