Opm::BlackoilModel< Grid > Class Template Reference

A model implementation for three-phase black oil. More...

#include <BlackoilModel.hpp>

Inheritance diagram for Opm::BlackoilModel< Grid >:
Opm::BlackoilModelBase< Grid, StandardWells, BlackoilModel< Grid > >

List of all members.

Public Types

typedef BlackoilModelBase
< Grid, StandardWells,
BlackoilModel< Grid > > 
Base

Public Member Functions

 BlackoilModel (const typename Base::ModelParameters &param, const Grid &grid, const BlackoilPropsAdFromDeck &fluid, const DerivedGeology &geo, const RockCompressibility *rock_comp_props, const StandardWells &std_wells, const NewtonIterationBlackoilInterface &linsolver, std::shared_ptr< const Opm::EclipseState > eclState, const bool has_disgas, const bool has_vapoil, const bool terminal_output)
 Construct the model.

Detailed Description

template<class Grid>
class Opm::BlackoilModel< Grid >

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.

It uses automatic differentiation via the class AutoDiffBlock to simplify assembly of the jacobian matrix.


Constructor & Destructor Documentation

template<class Grid >
Opm::BlackoilModel< Grid >::BlackoilModel ( const typename Base::ModelParameters &  param,
const Grid &  grid,
const BlackoilPropsAdFromDeck fluid,
const DerivedGeology geo,
const RockCompressibility *  rock_comp_props,
const StandardWells std_wells,
const NewtonIterationBlackoilInterface linsolver,
std::shared_ptr< const Opm::EclipseState >  eclState,
const bool  has_disgas,
const bool  has_vapoil,
const bool  terminal_output 
) [inline]

Construct the model.

It will retain references to the arguments of this functions, and they are expected to remain in scope for the lifetime of the solver.

Parameters:
[in] param parameters
[in] grid grid data structure
[in] fluid fluid properties
[in] geo rock properties
[in] rock_comp_props if non-null, rock compressibility properties
[in] wells_arg well structure
[in] linsolver linear solver
[in] eclState eclipse state
[in] has_disgas turn on dissolved gas
[in] has_vapoil turn on vaporized oil feature
[in] terminal_output request output to cout/cerr

The documentation for this class was generated from the following file:

Generated on 26 Mar 2018 by  doxygen 1.6.1