GEOS
Classes | Namespaces | Functions
CoupledReservoirAndWellsBase.hpp File Reference
#include "physicsSolvers/multiphysics/CoupledSolver.hpp"
#include "common/TimingMacros.hpp"
#include "constitutive/permeability/PermeabilityFields.hpp"
#include "constitutive/permeability/PermeabilityBase.hpp"
#include "mesh/PerforationFields.hpp"
#include "mesh/DomainPartition.hpp"
#include "physicsSolvers/fluidFlow/wells/WellControls.hpp"
#include "physicsSolvers/fluidFlow/wells/WellSolverBase.hpp"

Go to the source code of this file.

Classes

class  geos::CoupledReservoirAndWellsBase< RESERVOIR_SOLVER, WELL_SOLVER >
 

Namespaces

 geos
 

Functions

void geos::coupledReservoirAndWellsInternal::addCouplingNumNonzeros (PhysicsSolverBase const *const solver, DomainPartition &domain, DofManager &dofManager, arrayView1d< localIndex > const &rowLengths, integer const resNumDof, integer const wellNumDof, string const &resElemDofName, string const &wellElemDofName)
 Utility function for the implementation details of addCouplingNumZeros. More...
 
bool geos::coupledReservoirAndWellsInternal::validateWellPerforations (PhysicsSolverBase const *const reservoirSolver, WellSolverBase const *const wellSolver, DomainPartition const &domain)
 Validate the well perforations ensuring that each perforation is located in a reservoir region that is also targetted by the solver. More...
 

Function Documentation

◆ addCouplingNumNonzeros()

void geos::coupledReservoirAndWellsInternal::addCouplingNumNonzeros ( PhysicsSolverBase const *const  solver,
DomainPartition domain,
DofManager dofManager,
arrayView1d< localIndex > const &  rowLengths,
integer const  resNumDof,
integer const  wellNumDof,
string const &  resElemDofName,
string const &  wellElemDofName 
)

Utility function for the implementation details of addCouplingNumZeros.

Parameters
solverthe coupled solver
domainthe physical domain object
dofManagerdegree-of-freedom manager associated with the linear system
rowLengthsthe row-by-row length
resNumDofnumber of reservoir element dofs
wellNumDofnumber of well element dofs
resElemDofNamename of the reservoir element dofs
wellElemDofNamename of the well element dofs

◆ validateWellPerforations()

bool geos::coupledReservoirAndWellsInternal::validateWellPerforations ( PhysicsSolverBase const *const  reservoirSolver,
WellSolverBase const *const  wellSolver,
DomainPartition const &  domain 
)

Validate the well perforations ensuring that each perforation is located in a reservoir region that is also targetted by the solver.

Parameters
reservoirSolverthe reservoir solver
wellSolverthe well solver
domainthe physical domain object