Skip to content

Adding effective tangential/normal permeability to fractures #983

Answered by keileg
Cirdans-Home asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry for the late answer, I was out of office for a few days. You are right, the solution I sketched out is not complete, in that the returned quantity should be a single array valid for all interfaces, and actually for all cells on each of the interfacses
This must be built up as you iterate over the interfaces. Trying again, it would look like this:

def normal_permeability(self, interfaces: list[pp.MortarGrid]) -> pp.ad.Operator:

    # temporary storage for the values
    tmp_array = []

    for intf in interfaces:
        # Make a numpy array of ones, one element per cell in the interface grid
        e = np.ones(intf.num_cells) 
        # Get hold of the fracture subdomain
        s…

Replies: 2 comments 11 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
11 replies
@Cirdans-Home
Comment options

@keileg
Comment options

@Cirdans-Home
Comment options

@keileg
Comment options

Answer selected by Cirdans-Home
@Cirdans-Home
Comment options

@keileg
Comment options

@Cirdans-Home
Comment options

@keileg
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants