|
typedef | GET_PROP_TYPE (TypeTag, Simulator) Simulator |
|
typedef | GET_PROP_TYPE (TypeTag, Grid) Grid |
|
typedef | GET_PROP_TYPE (TypeTag, ElementContext) ElementContext |
|
typedef | GET_PROP_TYPE (TypeTag, SolutionVector) SolutionVector |
|
typedef | GET_PROP_TYPE (TypeTag, PrimaryVariables) PrimaryVariables |
|
typedef | GET_PROP_TYPE (TypeTag, FluidSystem) FluidSystem |
|
typedef | GET_PROP_TYPE (TypeTag, Indices) Indices |
|
typedef | GET_PROP_TYPE (TypeTag, MaterialLaw) MaterialLaw |
|
typedef | GET_PROP_TYPE (TypeTag, MaterialLawParams) MaterialLawParams |
|
| BlackoilModelEbos (Simulator &ebosSimulator, const ModelParameters ¶m, BlackoilWellModel< TypeTag > &well_model, RateConverterType &rate_converter, const NewtonIterationBlackoilInterface &linsolver, const bool terminal_output) |
| Construct the model. More...
|
|
bool | isParallel () const |
|
const EclipseState & | eclState () const |
|
void | prepareStep (const SimulatorTimerInterface &timer, const ReservoirState &, const WellState &) |
| Called once before each time step. More...
|
|
template<class NonlinearSolverType > |
SimulatorReport | nonlinearIteration (const int iteration, const SimulatorTimerInterface &timer, NonlinearSolverType &nonlinear_solver, ReservoirState &, WellState &well_state) |
| Called once per nonlinear iteration. More...
|
|
void | printIf (int c, double x, double y, double eps, std::string type) |
|
void | afterStep (const SimulatorTimerInterface &timer, const ReservoirState &reservoir_state, WellState &well_state) |
| Called once after each time step. More...
|
|
SimulatorReport | assemble (const SimulatorTimerInterface &timer, const int iterationIdx, WellState &well_state) |
| Assemble the residual and Jacobian of the nonlinear system. More...
|
|
template<class Dummy > |
double | relativeChange (const Dummy &, const Dummy &) const |
|
int | sizeNonLinear () const |
| The size (number of unknowns) of the nonlinear system of equations.
|
|
int | linearIterationsLastSolve () const |
| Number of linear iterations used in last call to solveJacobianSystem().
|
|
void | solveJacobianSystem (BVector &x) const |
| Solve the Jacobian system Jx = r where J is the Jacobian and r is the residual. More...
|
|
void | updateState (const BVector &dx) |
| Apply an update to the primary variables, chopped if appropriate. More...
|
|
bool | terminalOutputEnabled () const |
| Return true if output to cout is wanted.
|
|
template<class CollectiveCommunication > |
double | convergenceReduction (const CollectiveCommunication &comm, const double pvSumLocal, std::vector< Scalar > &R_sum, std::vector< Scalar > &maxCoeff, std::vector< Scalar > &B_avg) |
|
bool | getConvergence (const SimulatorTimerInterface &timer, const int iteration, std::vector< double > &residual_norms) |
| Compute convergence based on total mass balance (tol_mb) and maximum residual mass balance (tol_cnv). More...
|
|
int | numPhases () const |
| The number of active fluid phases in the model.
|
|
int | numComponents () const |
|
template<class T > |
std::vector< std::vector< double > > | computeFluidInPlace (const T &, const std::vector< int > &fipnum) const |
| Wrapper required due to not following generic API.
|
|
std::vector< std::vector< double > > | computeFluidInPlace (const std::vector< int > &fipnum) const |
|
SimulationDataContainer | getSimulatorData (const SimulationDataContainer &localState) const |
|
const FIPDataType & | getFIPData () const |
|
const Simulator & | ebosSimulator () const |
|
const SimulatorReport & | failureReport () const |
| return the statistics if the nonlinearIteration() method failed
|
|
BlackoilWellModel< TypeTag > & | wellModel () |
| return the StandardWells object
|
|
const BlackoilWellModel< TypeTag > & | wellModel () const |
|
int | numWells () const |
|
bool | localWellsActive () const |
| return true if wells are available on this process
|
|
int | flowPhaseToEbosCompIdx (const int phaseIdx) const |
|
int | flowPhaseToEbosPhaseIdx (const int phaseIdx) const |
|
void | beginReportStep () |
|
void | endReportStep () |
|
template<class TypeTag>
class Opm::BlackoilModelEbos< TypeTag >
A model implementation for three-phase black oil.
The simulator is capable of handling three-phase problems where gas can be dissolved in oil and vice versa. It uses an industry-standard TPFA discretization with per-phase upwind weighting of mobilities.