Beispiel #1
0
    def __init__(self, physics="flow", coupling=None):
        self.physics = physics

        self.discr = DualSource(self.physics)
        self.discr_ndof = self.discr.ndof
        self.coupling_conditions = coupling

        self.solver = Coupler(self.discr, self.coupling_conditions)
        SolverMixedDim.__init__(self)
Beispiel #2
0
    def __init__(self, physics='flow'):
        self.physics = physics

        self.discr = Integral(self.physics)
        self.discr_ndof = self.discr.ndof
        self.coupling_conditions = None

        self.solver = Coupler(self.discr)
        SolverMixedDim.__init__(self)
Beispiel #3
0
    def __init__(self, physics="flow"):
        self.physics = physics

        self.discr = P1Source(self.physics)
        self.discr_ndof = self.discr.ndof
        self.coupling_conditions = None

        self.solver = Coupler(self.discr)
        SolverMixedDim.__init__(self)
Beispiel #4
0
    def __init__(self, dim_max, physics='flow'):
        # NOTE: There is no flow along the intersections of the fractures.

        self.physics = physics
        self.dim_max = dim_max

        self.discr = Tpfa(self.physics)
        self.coupling_conditions = TpfaCouplingDFN(self.discr)

        kwargs = {"discr_ndof": self.discr.ndof,
                  "discr_fct": self.__matrix_rhs__}
        self.solver = Coupler(coupling = self.coupling_conditions, **kwargs)
        SolverMixedDim.__init__(self)
Beispiel #5
0
    def __init__(self, dim_max, physics='flow'):
        # NOTE: There is no flow along the intersections of the fractures.
        # In this case a mixed solver is considered. We assume only two
        # (contiguous) dimensions active. In the higher dimensional grid the
        # physical problem is discretise with a vem solver and in the lower
        # dimensional grid Lagrange multiplier are used to "glue" the velocity
        # dof at the interface between the fractures.
        # For this reason the matrix_rhs and ndof need to be carefully taking
        # care.

        self.physics = physics
        self.dim_max = dim_max

        self.discr = DualSource(self.physics)
        self.coupling_conditions = None

        kwargs = {"discr_ndof": self.__ndof__,
                  "discr_fct": self.__matrix_rhs__}
        self.solver = Coupler(coupling = None, **kwargs)
        SolverMixedDim.__init__(self)