This commit is contained in:
xinxiao
2026-03-13 11:24:41 +08:00
commit 04e2bb29c7
238 changed files with 29102 additions and 0 deletions
@@ -0,0 +1,13 @@
function well1 = handle_well1(well1,r)
%
n1=size(well1,1);
for i=1:n1
perf=well1{i,3};
nperf=well1{i,2};
perf(:,3)=(r.nz+1)*ones(nperf,1)-perf(:,3);
A=repmat([0 1 1],nperf,1);
B=(perf-A)*[1;r.nx;r.nx*r.ny];
B=B'; %
well1{i,3}=B;
end
end