From 8c9b789e671971eb7f08f47133a6d9a79f0519cd Mon Sep 17 00:00:00 2001 From: Pavel Tomin Date: Fri, 31 Jan 2025 13:09:37 -0600 Subject: [PATCH] wip: trying to enable wells for hydrofrac --- src/coreComponents/mesh/WellElementRegion.cpp | 2 +- .../multiphysics/SinglePhaseReservoirAndWells.cpp | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/coreComponents/mesh/WellElementRegion.cpp b/src/coreComponents/mesh/WellElementRegion.cpp index ec70f49d042..c7ba9cb8d4d 100644 --- a/src/coreComponents/mesh/WellElementRegion.cpp +++ b/src/coreComponents/mesh/WellElementRegion.cpp @@ -71,7 +71,7 @@ void WellElementRegion::generateWell( MeshLevel & mesh, GEOS_THROW_IF( matchedPerforations != numPerforationsGlobal, "Invalid mapping perforation-to-element in "<< InternalWellGenerator::catalogName() << " " << getWellGeneratorName() << "." << - " This happens when GEOSX cannot match a perforation with a reservoir element." << + " This happens when GEOS cannot match a perforation with a reservoir element." << " There are two common reasons for this error:\n" << " 1- The most common reason for this error is that a perforation is on a section of " << " the well polyline located outside the domain.\n" << diff --git a/src/coreComponents/physicsSolvers/multiphysics/SinglePhaseReservoirAndWells.cpp b/src/coreComponents/physicsSolvers/multiphysics/SinglePhaseReservoirAndWells.cpp index f83652d7455..0348169cc63 100644 --- a/src/coreComponents/physicsSolvers/multiphysics/SinglePhaseReservoirAndWells.cpp +++ b/src/coreComponents/physicsSolvers/multiphysics/SinglePhaseReservoirAndWells.cpp @@ -29,6 +29,7 @@ #include "physicsSolvers/fluidFlow/wells/WellControls.hpp" #include "physicsSolvers/fluidFlow/wells/kernels/SinglePhaseWellKernels.hpp" #include "physicsSolvers/multiphysics/SinglePhasePoromechanics.hpp" +#include "physicsSolvers/multiphysics/HydrofractureSolver.hpp" #include "physicsSolvers/multiphysics/SinglePhasePoromechanicsConformingFractures.hpp" namespace geos @@ -364,6 +365,8 @@ typedef SinglePhaseReservoirAndWells<> SinglePhaseFlowAndWells; REGISTER_CATALOG_ENTRY( PhysicsSolverBase, SinglePhaseFlowAndWells, string const &, Group * const ) typedef SinglePhaseReservoirAndWells< SinglePhasePoromechanics<> > SinglePhasePoromechanicsAndWells; REGISTER_CATALOG_ENTRY( PhysicsSolverBase, SinglePhasePoromechanicsAndWells, string const &, Group * const ) +typedef SinglePhaseReservoirAndWells< HydrofractureSolver<> > HydrofractureAndWells; +REGISTER_CATALOG_ENTRY( PhysicsSolverBase, HydrofractureAndWells, string const &, Group * const ) typedef SinglePhaseReservoirAndWells< SinglePhasePoromechanicsConformingFractures<> > SinglePhasePoromechanicsConformingFracturesAndWells; REGISTER_CATALOG_ENTRY( PhysicsSolverBase, SinglePhasePoromechanicsConformingFracturesAndWells, string const &, Group * const ) }