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:60 Definition: MultisegmentWellGeneric.hpp:39 Definition: MultisegmentWellPrimaryVariables.hpp:45 static constexpr int WFrac Definition: MultisegmentWellPrimaryVariables.hpp:64 void resize(const int numSegments) Resize values and evaluations. void copyToWellState(const MultisegmentWellGeneric< Scalar, IndexTraits > &mswell, const Scalar rho, WellState< Scalar, IndexTraits > &well_state, const SummaryState &summary_state, DeferredLogger &deferred_logger) const Copy values to well state. DenseAd::Evaluation< Scalar, Indices::numEq+numWellEq > EvalWell Definition: MultisegmentWellPrimaryVariables.hpp:73 static constexpr int numWellEq Definition: MultisegmentWellPrimaryVariables.hpp:69 static constexpr bool has_gfrac_variable Definition: MultisegmentWellPrimaryVariables.hpp:61 void update(const WellState< Scalar, IndexTraits > &well_state, const bool stop_or_zero_rate_target) Copy values from well state. 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 EvalWell getSegmentRateUpwinding(const int seg, const int seg_upwind, const int comp_idx) const Returns upwinding rate for a component in a segment. typename FluidSystem::Scalar Scalar Definition: MultisegmentWellPrimaryVariables.hpp:71 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:135 typename FluidSystem::IndexTraitsType IndexTraits Definition: MultisegmentWellPrimaryVariables.hpp:72 static constexpr bool has_wfrac_variable Definition: MultisegmentWellPrimaryVariables.hpp:60 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:78 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:143 static constexpr int SPres Definition: MultisegmentWellPrimaryVariables.hpp:66 static constexpr int GFrac Definition: MultisegmentWellPrimaryVariables.hpp:65 typename Equations::BVectorWell BVectorWell Definition: MultisegmentWellPrimaryVariables.hpp:76 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:63 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:139 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:66 Definition: blackoilboundaryratevector.hh:39 |