Functions for initializing a reservoir state. More...
#include <opm/parser/eclipse/EclipseState/EclipseState.hpp>
#include <opm/core/simulator/initState_impl.hpp>
Go to the source code of this file.
Enumerations | |
enum | Opm::ExtremalSat { MinSat, MaxSat } |
Will initialize the first and second component of the SATURATION field in all the cells in the set . More... | |
Functions | |
template<class State > | |
void | Opm::initStateBasic (const UnstructuredGrid &grid, const IncompPropertiesInterface &props, const ParameterGroup ¶m, const double gravity, State &state) |
Initialize a two-phase state from parameters. More... | |
template<class FaceCells , class CCI , class FCI , class State > | |
void | Opm::initStateBasic (int number_of_cells, const int *global_cell, const int *cartdims, int number_of_faces, FaceCells face_cells, FCI begin_face_centroids, CCI begin_cell_centroids, int dimensions, const IncompPropertiesInterface &props, const ParameterGroup ¶m, const double gravity, State &state) |
Initialize a two-phase state from parameters. More... | |
template<class State > | |
void | Opm::initStateBasic (const UnstructuredGrid &grid, const BlackoilPropertiesInterface &props, const ParameterGroup ¶m, const double gravity, State &state) |
Initialize a blackoil state from parameters. More... | |
template<class FaceCells , class FCI , class CCI , class State > | |
void | Opm::initStateBasic (int number_of_cells, const int *global_cell, const int *cartdims, int number_of_faces, FaceCells face_cells, FCI begin_face_centroids, CCI begin_cell_centroids, int dimensions, const BlackoilPropertiesInterface &props, const ParameterGroup ¶m, const double gravity, State &state) |
Initialize a blackoil state from parameters. More... | |
template<class Props , class State > | |
void | Opm::initStateFromDeck (const UnstructuredGrid &grid, const Props &props, const EclipseState &es, const double gravity, State &state) |
Initialize a two-phase state from input deck. More... | |
template<class Props , class State > | |
void | Opm::initBlackoilStateFromDeck (const UnstructuredGrid &grid, const Props &props, const Opm::EclipseState &es, const double gravity, State &state) |
Initialize a two-phase water-oil blackoil state from input deck. More... | |
template<class FaceCells , class FCI , class CCI , class Props , class State > | |
void | Opm::initBlackoilStateFromDeck (int number_of_cells, const int *global_cell, int number_of_faces, FaceCells face_cells, FCI begin_face_centroids, CCI begin_cell_centroids, int dimensions, const Props &props, const Opm::EclipseState &es, const double gravity, State &state) |
Initialize a blackoil state from input deck. | |
Functions for initializing a reservoir state.
enum Opm::ExtremalSat |
Will initialize the first and second component of the SATURATION field in all the cells in the set .
The object will be queried, and depending on the value either the minimum or the maximum saturation is applied to thee first component in the SATURATION field. For the second component (1 - first_sat) is used.
void Opm::initBlackoilStateFromDeck | ( | const UnstructuredGrid & | grid, |
const Props & | props, | ||
const Opm::EclipseState & | es, | ||
const double | gravity, | ||
State & | state | ||
) |
Initialize a two-phase water-oil blackoil state from input deck.
Initialize a blackoil state from input deck.
If EQUIL is present:
void Opm::initStateBasic | ( | const UnstructuredGrid & | grid, |
const IncompPropertiesInterface & | props, | ||
const ParameterGroup & | param, | ||
const double | gravity, | ||
State & | state | ||
) |
Initialize a two-phase state from parameters.
Initialize a twophase state from parameters.
The following parameters are accepted (defaults):
If convection_testcase is true, the saturation is initialised as indicated, and pressure is initialised to a constant value ('ref_pressure'). If segregation_testcase is true, the saturation is initialised as indicated, and pressure is initialised hydrostatically. Otherwise we have 3 cases:
In all three cases, pressure is initialised hydrostatically. In case 2) and 3), the depth of the first cell is used as reference depth.
void Opm::initStateBasic | ( | int | number_of_cells, |
const int * | global_cell, | ||
const int * | cartdims, | ||
int | number_of_faces, | ||
FaceCells | face_cells, | ||
FCI | begin_face_centroids, | ||
CCI | begin_cell_centroids, | ||
int | dimensions, | ||
const IncompPropertiesInterface & | props, | ||
const ParameterGroup & | param, | ||
const double | gravity, | ||
State & | state | ||
) |
Initialize a two-phase state from parameters.
The following parameters are accepted (defaults):
If convection_testcase is true, the saturation is initialised as indicated, and pressure is initialised to a constant value ('ref_pressure'). If segregation_testcase is true, the saturation is initialised as indicated, and pressure is initialised hydrostatically. Otherwise we have 3 cases:
In all three cases, pressure is initialised hydrostatically. In case 2) and 3), the depth of the first cell is used as reference depth.
void Opm::initStateBasic | ( | const UnstructuredGrid & | grid, |
const BlackoilPropertiesInterface & | props, | ||
const ParameterGroup & | param, | ||
const double | gravity, | ||
State & | state | ||
) |
Initialize a blackoil state from parameters.
The following parameters are accepted (defaults):
If 'water_oil_contact' is given, saturation is initialised accordingly.
void Opm::initStateBasic | ( | int | number_of_cells, |
const int * | global_cell, | ||
const int * | cartdims, | ||
int | number_of_faces, | ||
FaceCells | face_cells, | ||
FCI | begin_face_centroids, | ||
CCI | begin_cell_centroids, | ||
int | dimensions, | ||
const BlackoilPropertiesInterface & | props, | ||
const ParameterGroup & | param, | ||
const double | gravity, | ||
State & | state | ||
) |
Initialize a blackoil state from parameters.
The following parameters are accepted (defaults):
If 'water_oil_contact' is given, saturation is initialised accordingly.
void Opm::initStateFromDeck | ( | const UnstructuredGrid & | grid, |
const Props & | props, | ||
const EclipseState & | es, | ||
const double | gravity, | ||
State & | state | ||
) |
Initialize a two-phase state from input deck.
If EQUIL is present: