MultisegmentWellPrimaryVariables.hpp
Go to the documentation of this file.
47 // TODO: for now, not considering the polymer, solvent and so on to simplify the development process.
49 // TODO: we need to have order for the primary variables and also the order for the well equations.
Definition: DeferredLogger.hpp:57 Dune::BlockVector< VectorBlockWellType > BVectorWell Definition: MultisegmentWellEquations.hpp:57 Definition: MultisegmentWellGeneric.hpp:42 Definition: MultisegmentWellPrimaryVariables.hpp:45 static constexpr int WFrac Definition: MultisegmentWellPrimaryVariables.hpp:71 void resize(const int numSegments) Resize values and evaluations. DenseAd::Evaluation< Scalar, Indices::numEq+numWellEq > EvalWell Definition: MultisegmentWellPrimaryVariables.hpp:79 static constexpr int numWellEq Definition: MultisegmentWellPrimaryVariables.hpp:76 static constexpr bool has_gfrac_variable Definition: MultisegmentWellPrimaryVariables.hpp:68 EvalWell getQs(const int comp_idx) const Returns scaled rate for a component. void outputLowLimitPressureSegments(DeferredLogger &deferred_logger) const output the segments with pressure close to lower pressure limit for debugging purpose typename FluidSystem::Scalar Scalar Definition: MultisegmentWellPrimaryVariables.hpp:78 EvalWell getSegmentPressure(const int seg) const Get pressure for a segment. const std::array< EvalWell, numWellEq > & eval(const int idx) const Returns a const ref to an array of evaluations. Definition: MultisegmentWellPrimaryVariables.hpp:145 void copyToWellState(const MultisegmentWellGeneric< Scalar > &mswell, const Scalar rho, const bool stop_or_zero_rate_target, WellState< Scalar > &well_state, const SummaryState &summary_state, DeferredLogger &deferred_logger) const Copy values to well state. static constexpr bool has_water Definition: MultisegmentWellPrimaryVariables.hpp:60 static constexpr bool has_wfrac_variable Definition: MultisegmentWellPrimaryVariables.hpp:67 EvalWell volumeFractionScaled(const int seg, const int compIdx) const Returns scaled volume fraction for a component in a segment. MultisegmentWellPrimaryVariables(const WellInterfaceIndices< FluidSystem, Indices > &well) Definition: MultisegmentWellPrimaryVariables.hpp:84 static constexpr bool has_oil Definition: MultisegmentWellPrimaryVariables.hpp:62 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. Definition: MultisegmentWellPrimaryVariables.hpp:153 static constexpr int SPres Definition: MultisegmentWellPrimaryVariables.hpp:73 static constexpr bool has_gas Definition: MultisegmentWellPrimaryVariables.hpp:61 static constexpr int GFrac Definition: MultisegmentWellPrimaryVariables.hpp:72 typename Equations::BVectorWell BVectorWell Definition: MultisegmentWellPrimaryVariables.hpp:82 void update(const WellState< Scalar > &well_state, const bool stop_or_zero_rate_target) Copy values from well state. 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. 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. static constexpr int WQTotal Definition: MultisegmentWellPrimaryVariables.hpp:70 EvalWell getSegmentRate(const int seg, const int comp_idx) const Get rate for a component in a segment. const std::array< Scalar, numWellEq > & value(const int idx) const Returns a value array. Definition: MultisegmentWellPrimaryVariables.hpp:149 EvalWell surfaceVolumeFraction(const int seg, const int compIdx) const Returns surface volume fraction for a component in a segment. Definition: WellInterfaceIndices.hpp:34 Definition: WellState.hpp:62 Definition: blackoilboundaryratevector.hh:37 |