23#ifndef OPM_STANDARDWELL_ASSEMBLE_HEADER_INCLUDED
24#define OPM_STANDARDWELL_ASSEMBLE_HEADER_INCLUDED
26#include <opm/input/eclipse/Schedule/Well/Well.hpp>
38template<
typename Scalar,
typename IndexTraits>
class WellState;
42template<
class Flu
idSystem,
class Indices>
46 using Scalar =
typename FluidSystem::Scalar;
49 using IndexTraits =
typename FluidSystem::IndexTraitsType;
60 const Well::InjectionControls& inj_controls,
61 const Well::ProductionControls& prod_controls,
62 const PrimaryVariables& primary_variables,
64 StandardWellEquationsType& eqns,
65 const bool stopped_or_zero_target)
const;
69 const EvalWell& eq_wat_vel,
70 const int pskin_index,
71 const int wat_vel_index,
74 StandardWellEquationsType& eqns)
const;
78 const int componentIdx,
81 StandardWellEquationsType& eqns)
const;
87 StandardWellEquationsType& eqns)
const;
91 const int componentIdx,
93 StandardWellEquationsType& eqns)
const;
Definition DeferredLogger.hpp:57
Definition GroupStateHelper.hpp:57
Definition GroupState.hpp:41
void assembleSourceEq(const EvalWell &resWell_loc, const int componentIdx, const int numWellEq, StandardWellEquationsType &eqns) const
Assemble a source term.
Definition StandardWellAssemble.cpp:227
void assembleZFracEq(const EvalWell &cq_s_zfrac_effective, const int cell_idx, const int numWellEq, StandardWellEquationsType &eqns) const
Assemble equation for Z fraction.
Definition StandardWellAssemble.cpp:241
StandardWellAssemble(const WellInterfaceFluidSystem< FluidSystem > &well)
Constructor initializes reference to well.
Definition StandardWellAssemble.hpp:54
void assembleControlEq(const GroupStateHelperType &groupStateHelper, const Well::InjectionControls &inj_controls, const Well::ProductionControls &prod_controls, const PrimaryVariables &primary_variables, const Scalar rho, StandardWellEquationsType &eqns, const bool stopped_or_zero_target) const
Assemble control equation.
Definition StandardWellAssemble.cpp:87
void assembleInjectivityEq(const EvalWell &eq_pskin, const EvalWell &eq_wat_vel, const int pskin_index, const int wat_vel_index, const int cell_idx, const int numWellEq, StandardWellEquationsType &eqns) const
Assemble injectivity equation.
Definition StandardWellAssemble.cpp:178
void assemblePerforationEq(const EvalWell &cq_s_effective, const int componentIdx, const int cell_idx, const int numWellEq, StandardWellEquationsType &eqns) const
Assemble equation for a perforation.
Definition StandardWellAssemble.cpp:202
Definition StandardWellEquations.hpp:47
Class holding primary variables for StandardWell.
Definition StandardWellPrimaryVariables.hpp:42
DenseAd::DynamicEvaluation< Scalar, numStaticWellEq+Indices::numEq+1 > EvalWell
Evaluation for the well equations.
Definition StandardWellPrimaryVariables.hpp:89
Definition WellInterfaceFluidSystem.hpp:50
The state of a set of wells, tailored for use by the fully implicit blackoil simulator.
Definition WellState.hpp:66
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilbioeffectsmodules.hh:45