Exemplo n.º 1
0
    def init_wells(self):

        # take well index values from external mesh discretizer (ADGPRS)
        self.add_well("I1")
        self.add_perforation(well=self.wells[-1], i=15, j=20, k=1, well_index=10)

        self.add_well("P1")
        self.add_perforation(self.wells[-1], 48, 20, 1, 10)

        self.mesh.add_wells(ms_well_vector(self.wells))
        self.mesh.reverse_and_sort()
        self.mesh.init_grav_coef()
        
Exemplo n.º 2
0
 def init_wells(self):
     self.mesh.add_wells(ms_well_vector(self.wells))
     self.mesh.reverse_and_sort()
     self.mesh.init_grav_coef()
Exemplo n.º 3
0
 def init_wells(self):
     for w in self.wells:
         assert (len(w.perforations) > 0), "Well %s does not perforate any active reservoir blocks" % w.name
     self.mesh.add_wells(ms_well_vector(self.wells))
     self.mesh.reverse_and_sort()
     self.mesh.init_grav_coef()