GEOS
Functions
Interface Functions - required by WellManager and WellNewtonSolver

Functions

virtual array1d< real64geos::CompositionalMultiphaseWell::calculateLocalWellResidualNorm (real64 const &time_n, real64 const &dt, NonlinearSolverParameters const &nonlinearSolverParameters, WellElementSubRegion const &subRegion, DofManager const &dofManager, arrayView1d< real64 const > const &localRhs) override
 
virtual real64 geos::CompositionalMultiphaseWell::calculateWellResidualNorm (real64 const &time_n, real64 const &dt, NonlinearSolverParameters const &nonlinearSolverParameters, WellElementSubRegion const &subRegion, DofManager const &dofManager, arrayView1d< real64 const > const &localRhs) override
 
real64 geos::CompositionalMultiphaseWell::scalingForLocalSystemSolution (WellElementSubRegion &subRegion, DofManager const &dofManager, real64 &maxDeltaPres, real64 &maxDeltaCompDens, real64 &maxDeltaTemp, real64 &minPresScalingFactor, real64 &minCompDensScalingFactor, real64 &minTempScalingFactor, arrayView1d< real64 const > const &localSolution)
 
virtual real64 geos::CompositionalMultiphaseWell::scalingForWellSystemSolution (WellElementSubRegion &subRegion, DofManager const &dofManager, arrayView1d< real64 const > const &localSolution) override
 
virtual bool geos::CompositionalMultiphaseWell::checkWellSystemSolution (WellElementSubRegion &subRegion, DofManager const &dofManager, arrayView1d< real64 const > const &localSolution, real64 const scalingFactor, real64 &minPressure, real64 &minDensity, real64 &minTotalDensity, ElementsReporterBuffer &negPressureIds, ElementsReporterBuffer &negDensityIds, ElementsReporterBuffer &negTotalDensityIds) override
 
virtual void geos::CompositionalMultiphaseWell::applyWellSystemSolution (DofManager const &dofManager, arrayView1d< real64 const > const &localSolution, real64 const scalingFactor, real64 const dt, DomainPartition &domain, MeshLevel &mesh, WellElementSubRegion &subRegion) override
 
virtual void geos::CompositionalMultiphaseWell::applyWellBoundaryConditions (real64 const time_n, real64 const dt, ElementRegionManager &elemManager, WellElementSubRegion &subRegion, DofManager const &dofManager, arrayView1d< real64 > const &localRhs, CRSMatrixView< real64, globalIndex const > const &localMatrix) override
 
virtual void geos::CompositionalMultiphaseWell::resetStateToBeginningOfStep (DomainPartition &domain, string const &meshBodyName, ElementRegionManager const &elemManager, WellElementSubRegion &subRegion) override
 Reset the well state to the beginning of the time step. More...
 
virtual void geos::CompositionalMultiphaseWell::implicitStepSetup (real64 const &time_n, real64 const &GEOS_UNUSED_PARAM(dt), DomainPartition &domain, string const &meshBodyName, ElementRegionManager &elemManager, WellElementSubRegion &subRegion) override
 
virtual void geos::CompositionalMultiphaseWell::implicitStepComplete (real64 const &time, real64 const &dt, WellElementSubRegion const &subRegion) override
 
virtual void geos::CompositionalMultiphaseWell::printRates (real64 const &time_n, real64 const &dt, WellElementSubRegion const &subRegion) override
 

Detailed Description

These functions provide the primary interface that is required for derived classes The "Well" versions apply to individual well subRegions

Function Documentation

◆ applyWellSystemSolution()

virtual void geos::CompositionalMultiphaseWell::applyWellSystemSolution ( DofManager const &  dofManager,
arrayView1d< real64 const > const &  localSolution,
real64 const  scalingFactor,
real64 const  dt,
DomainPartition domain,
MeshLevel mesh,
WellElementSubRegion subRegion 
)
overridevirtual

Implements geos::WellControls.

◆ calculateLocalWellResidualNorm()

virtual array1d< real64 > geos::CompositionalMultiphaseWell::calculateLocalWellResidualNorm ( real64 const &  time_n,
real64 const &  dt,
NonlinearSolverParameters const &  nonlinearSolverParameters,
WellElementSubRegion const &  subRegion,
DofManager const &  dofManager,
arrayView1d< real64 const > const &  localRhs 
)
overridevirtual

Implements geos::WellControls.

◆ checkWellSystemSolution()

virtual bool geos::CompositionalMultiphaseWell::checkWellSystemSolution ( WellElementSubRegion subRegion,
DofManager const &  dofManager,
arrayView1d< real64 const > const &  localSolution,
real64 const  scalingFactor,
real64 minPressure,
real64 minDensity,
real64 minTotalDensity,
ElementsReporterBuffer negPressureIds,
ElementsReporterBuffer negDensityIds,
ElementsReporterBuffer negTotalDensityIds 
)
overridevirtual

Implements geos::WellControls.

◆ resetStateToBeginningOfStep()

virtual void geos::CompositionalMultiphaseWell::resetStateToBeginningOfStep ( DomainPartition domain,
string const &  meshBodyName,
ElementRegionManager const &  elemManager,
WellElementSubRegion subRegion 
)
overridevirtual

Reset the well state to the beginning of the time step.

Parameters
subRegionthe well subregion containing all the primary and dependent fields

Implements geos::WellControls.

◆ scalingForLocalSystemSolution()

real64 geos::CompositionalMultiphaseWell::scalingForLocalSystemSolution ( WellElementSubRegion subRegion,
DofManager const &  dofManager,
real64 maxDeltaPres,
real64 maxDeltaCompDens,
real64 maxDeltaTemp,
real64 minPresScalingFactor,
real64 minCompDensScalingFactor,
real64 minTempScalingFactor,
arrayView1d< real64 const > const &  localSolution 
)