Skip to content

Commit

Permalink
wip: trying to enable wells for hydrofrac
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Tomin authored and Pavel Tomin committed Jan 31, 2025
1 parent 616d4e0 commit 8c9b789
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreComponents/mesh/WellElementRegion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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" <<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 )
}
Expand Down

0 comments on commit 8c9b789

Please sign in to comment.