|
|
using | Scalar = typename FluidSystem::Scalar |
| |
|
using | IndexTraits = typename FluidSystem::IndexTraitsType |
| |
|
using | PrimaryVariables = MultisegmentWellPrimaryVariables< FluidSystem, Indices > |
| |
|
using | Equations = MultisegmentWellEquations< Scalar, IndexTraits, numWellEq, Indices::numEq > |
| |
|
using | MSWSegments = MultisegmentWellSegments< FluidSystem, Indices > |
| |
|
using | BVector = typename Equations::BVector |
| |
|
using | BVectorWell = typename Equations::BVectorWell |
| |
|
using | EvalWell = typename PrimaryVariables::EvalWell |
| |
|
using | Eval = DenseAd::Evaluation< Scalar, Indices::numDerivatives > |
| |
|
|
| MultisegmentWellEval (WellInterfaceIndices< FluidSystem, Indices > &baseif, const ParallelWellInfo< Scalar > ¶llel_well_info) |
| |
|
void | initMatrixAndVectors (const ParallelWellInfo< Scalar > ¶llel_well_info) |
| |
|
void | assembleDefaultPressureEq (const int seg, WellState< Scalar, IndexTraits > &well_state, const bool use_average_density) |
| |
|
void | assembleICDPressureEq (const int seg, const UnitSystem &unit_system, WellState< Scalar, IndexTraits > &well_state, const SummaryState &summary_state, const bool use_average_density, DeferredLogger &deferred_logger) |
| |
|
void | assembleAccelerationAndHydroPressureLosses (const int seg, WellState< Scalar, IndexTraits > &well_state, const bool use_average_density) |
| |
|
void | assemblePressureEq (const int seg, const UnitSystem &unit_system, WellState< Scalar, IndexTraits > &well_state, const SummaryState &summary_state, const bool use_average_density, DeferredLogger &deferred_logger) |
| |
|
ConvergenceReport | getWellConvergence (const WellState< Scalar, IndexTraits > &well_state, const std::vector< Scalar > &B_avg, DeferredLogger &deferred_logger, const Scalar max_residual_allowed, const Scalar tolerance_wells, const Scalar relaxed_inner_tolerance_flow_ms_well, const Scalar tolerance_pressure_ms_wells, const Scalar relaxed_inner_tolerance_pressure_ms_well, const bool relax_tolerance, const bool well_is_stopped) const |
| | check whether the well equations get converged for this well
|
| |
|
std::pair< bool, std::vector< Scalar > > | getFiniteWellResiduals (const std::vector< Scalar > &B_avg, DeferredLogger &deferred_logger) const |
| |
|
Scalar | getControlTolerance (const WellState< Scalar, IndexTraits > &well_state, const Scalar tolerance_wells, const Scalar tolerance_pressure_ms_wells, DeferredLogger &deferred_logger) const |
| |
|
Scalar | getResidualMeasureValue (const WellState< Scalar, IndexTraits > &well_state, const std::vector< Scalar > &residuals, const Scalar tolerance_wells, const Scalar tolerance_pressure_ms_wells, DeferredLogger &deferred_logger) const |
| |
|
void | assembleAccelerationPressureLoss (const int seg, WellState< Scalar, IndexTraits > &well_state) |
| |
|
EvalWell | extendEval (const Eval &in) const |
| |
|
| MultisegmentWellGeneric (WellInterfaceGeneric< FluidSystem::Scalar, FluidSystem::IndexTraitsType > &baseif) |
| |
|
void | scaleSegmentRatesWithWellRates (const std::vector< std::vector< int >> &segment_inlets, const std::vector< std::vector< int >> &segment_perforations, WellState< FluidSystem::Scalar, FluidSystem::IndexTraitsType > &well_state) const |
| |
|
void | scaleSegmentPressuresWithBhp (WellState< FluidSystem::Scalar, FluidSystem::IndexTraitsType > &well_state) const |
| |
|
WellSegmentCompPressureDrop | compPressureDrop () const |
| |
|
bool | update_relaxation_factor (const std::vector< FluidSystem::Scalar > &measure_history, FluidSystem::Scalar &relaxation_factor, bool ®ularize, DeferredLogger &deferred_logger) const |
| | Detect oscillation or stagnation based on the residual measure history.
|
| |
|
bool | repeatedStagnation (const std::vector< FluidSystem::Scalar > &measure_history, bool ®ularize, DeferredLogger &deferred_logger) const |
| |
|
bool | accelerationalPressureLossConsidered () const |
| |
|
bool | frictionalPressureLossConsidered () const |
| |
|
FluidSystem::Scalar | getSegmentDp (const int seg, const FluidSystem::Scalar density, const std::vector< FluidSystem::Scalar > &seg_dp) const |
| |