|
opm-upscaling
|
Class for doing simple transport by explicit Euler upstream method for general grid. More...
#include <ImplicitCapillarity.hpp>
Public Types | |
| typedef IncompFlowSolverHybrid< GridInterface, ReservoirProperties, BoundaryConditions, InnerProd > | PressureSolver |
Public Member Functions | |
| ImplicitCapillarity () | |
| ImplicitCapillarity (const GridInterface &grid, const ReservoirProperties &resprop, const BoundaryConditions &boundary) | |
| void | init (const Opm::ParameterGroup ¶m) |
| void | init (const Opm::ParameterGroup ¶m, const GridInterface &grid, const ReservoirProperties &resprop, const BoundaryConditions &boundary) |
| void | initObj (const GridInterface &grid, const ReservoirProperties &resprop, const BoundaryConditions &boundary) |
| template<class PressureSolution> | |
| void | transportSolve (std::vector< double > &saturation, const double time, const typename GridInterface::Vector &gravity, const PressureSolution &pressure_sol, const Opm::SparseVector< double > &injection_rates) const |
| Solve transport equation. | |
| template<class PressureSolution> | |
| void | transportSolve (std::vector< double > &saturation, const double, const typename GI::Vector &gravity, const PressureSolution &pressure_sol, const Opm::SparseVector< double > &injection_rates) const |
Protected Types | |
| typedef GridInterface::CellIterator | CIt |
| typedef CIt::FaceIterator | FIt |
| typedef FIt::Vector | Vector |
Protected Member Functions | |
| void | checkAndPossiblyClampSat (std::vector< double > &s) const |
Protected Attributes | |
| PressureSolver | psolver_ |
| EulerUpstreamResidual< GridInterface, ReservoirProperties, BoundaryConditions > | residual_ |
| bool | method_viscous_ |
| bool | method_gravity_ |
| bool | check_sat_ |
| bool | clamp_sat_ |
| double | residual_tolerance_ |
| int | linsolver_verbosity_ |
| int | linsolver_type_ |
| double | update_relaxation_ |
Class for doing simple transport by explicit Euler upstream method for general grid.
|
inline |
| Opm::ImplicitCapillarity< GridInterface, ReservoirProperties, BoundaryConditions, InnerProd >::ImplicitCapillarity | ( | const GridInterface & | grid, |
| const ReservoirProperties & | resprop, | ||
| const BoundaryConditions & | boundary ) |
|
inline |
| void Opm::ImplicitCapillarity< GridInterface, ReservoirProperties, BoundaryConditions, InnerProd >::init | ( | const Opm::ParameterGroup & | param, |
| const GridInterface & | grid, | ||
| const ReservoirProperties & | resprop, | ||
| const BoundaryConditions & | boundary ) |
|
inline |
| void Opm::ImplicitCapillarity< GridInterface, ReservoirProperties, BoundaryConditions, InnerProd >::transportSolve | ( | std::vector< double > & | saturation, |
| const double | time, | ||
| const typename GridInterface::Vector & | gravity, | ||
| const PressureSolution & | pressure_sol, | ||
| const Opm::SparseVector< double > & | injection_rates ) const |
Solve transport equation.
| saturation | the evolving saturation |
| time | Time in seconds. |
| gravity | Gravity |
| pressure_sol | Pressure solution |
| injection_rates | Injection ratees |
Cfl type conditions may force many explicit timesteps to be taken, before the function returns.