|
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.
71 static constexpr int Temperature = enable_energy ? has_wfrac_variable + has_gfrac_variable + 1 : -1000;
Definition: DeferredLogger.hpp:57 Dune::BlockVector< VectorBlockWellType > BVectorWell Definition: MultisegmentWellEquations.hpp:61 Definition: MultisegmentWellGeneric.hpp:39 Definition: MultisegmentWellPrimaryVariables.hpp:45 static constexpr int WFrac Definition: MultisegmentWellPrimaryVariables.hpp:67 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:79 static constexpr int numWellEq Definition: MultisegmentWellPrimaryVariables.hpp:75 static constexpr bool has_gfrac_variable Definition: MultisegmentWellPrimaryVariables.hpp:63 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:77 EvalWell getSegmentPressure(const int seg) const Get pressure for a segment. static constexpr int Temperature Definition: MultisegmentWellPrimaryVariables.hpp:71 const std::array< EvalWell, numWellEq > & eval(const int idx) const Returns a const ref to an array of evaluations. Definition: MultisegmentWellPrimaryVariables.hpp:144 void scaledWellFractions(std::vector< Scalar > &fractions, DeferredLogger &deferred_logger) const get scaled fractions of top segment. typename FluidSystem::IndexTraitsType IndexTraits Definition: MultisegmentWellPrimaryVariables.hpp:78 static constexpr bool has_wfrac_variable Definition: MultisegmentWellPrimaryVariables.hpp:62 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 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:152 static constexpr int SPres Definition: MultisegmentWellPrimaryVariables.hpp:72 static constexpr bool enable_energy Definition: MultisegmentWellPrimaryVariables.hpp:64 static constexpr int GFrac Definition: MultisegmentWellPrimaryVariables.hpp:68 typename Equations::BVectorWell BVectorWell Definition: MultisegmentWellPrimaryVariables.hpp:82 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:66 EvalWell getSegmentRate(const int seg, const int comp_idx) const Get rate for a component in a segment. EvalWell getSegmentTemperature(const int seg) const Get temperature for a segment. const std::array< Scalar, numWellEq > & value(const int idx) const Returns a value array. Definition: MultisegmentWellPrimaryVariables.hpp:148 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: blackoilbioeffectsmodules.hh:45 |