|
| MultisegmentWellPrimaryVariables (const WellInterfaceIndices< FluidSystem, Indices > &well) |
|
void | resize (const int numSegments) |
| Resize values and evaluations.
|
|
void | update (const WellState< Scalar > &well_state, const bool stop_or_zero_rate_target) |
| Copy values from well state.
|
|
void | updateNewton (const BVectorWell &dwells, const Scalar relaxation_factor, const Scalar DFLimit, const bool stop_or_zero_rate_target, const Scalar max_pressure_change) |
| Update values from newton update vector.
|
|
void | copyToWellState (const MultisegmentWellGeneric< Scalar > &mswell, const Scalar rho, WellState< Scalar > &well_state, const SummaryState &summary_state, DeferredLogger &deferred_logger) const |
| Copy values to well state.
|
|
EvalWell | volumeFractionScaled (const int seg, const int compIdx) const |
| Returns scaled volume fraction for a component in a segment.
|
|
EvalWell | surfaceVolumeFraction (const int seg, const int compIdx) const |
| Returns surface volume fraction for a component in a segment.
|
|
EvalWell | getSegmentRateUpwinding (const int seg, const int seg_upwind, const int comp_idx) const |
| Returns upwinding rate for a component in a segment.
|
|
EvalWell | getBhp () const |
| Get bottomhole pressure.
|
|
EvalWell | getSegmentPressure (const int seg) const |
| Get pressure for a segment.
|
|
EvalWell | getSegmentRate (const int seg, const int comp_idx) const |
| Get rate for a component in a segment.
|
|
EvalWell | getQs (const int comp_idx) const |
| Returns scaled rate for a component.
|
|
EvalWell | getWQTotal () const |
| Get WQTotal.
|
|
const std::array< EvalWell, numWellEq > & | eval (const int idx) const |
| Returns a const ref to an array of evaluations.
|
|
const std::array< Scalar, numWellEq > & | value (const int idx) const |
| Returns a value array.
|
|
void | setValue (const int idx, const std::array< Scalar, numWellEq > &val) |
| Set a value array. Note that this does not also set the corresponding evaluation.
|
|
void | outputLowLimitPressureSegments (DeferredLogger &deferred_logger) const |
| output the segments with pressure close to lower pressure limit for debugging purpose
|
|