|
| MultisegmentWellPrimaryVariables (const WellInterfaceIndices< FluidSystem, Indices, Scalar > &well) |
|
void | resize (const int numSegments) |
| Resize values and evaluations.
|
|
void | init () |
| Initialize evaluations from values.
|
|
void | update (const WellState &well_state, const bool stop_or_zero_rate_target) |
| Copy values from well state.
|
|
void | updateNewton (const BVectorWell &dwells, const double relaxation_factor, const double DFLimit, const bool stop_or_zero_rate_target, const double max_pressure_change) |
| Update values from newton update vector.
|
|
void | copyToWellState (const MultisegmentWellGeneric< Scalar > &mswell, const double rho, const bool stop_or_zero_rate_target, WellState &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 std::size_t 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.
|
|