|
| enum | { Dimension = UpscalerBase<Traits>::Dimension
} |
|
typedef UpscalerBase< Traits > | Super |
|
typedef Super::permtensor_t | permtensor_t |
|
typedef UpscalerBase< Traits >::GridInterface | GridInterface |
|
typedef UpscalerBase< Traits >::GridType | GridType |
| enum | { Dimension = GridType::dimension
} |
| enum | BoundaryConditionType { Fixed = 0
, Linear = 1
, Periodic = 2
} |
|
typedef Dune::CpGrid | GridType |
|
typedef GridInterfaceEuler< GridType > | GridInterface |
|
typedef Traits::template ResProp< Dimension >::Type | ResProp |
|
typedef ResProp::MutablePermTensor | permtensor_t |
| | A type for the upscaled permeability.
|
|
|
| SteadyStateUpscalerImplicit () |
| | Default constructor.
|
| std::pair< permtensor_t, permtensor_t > | upscaleSteadyState (const int flow_direction, const std::vector< double > &initial_saturation, const double boundary_saturation, const double pressure_drop, const permtensor_t &upscaled_perm, bool &success) |
| | Does a steady-state upscaling.
|
| const std::vector< double > & | lastSaturationState () const |
| | Accessor for the steady state saturation field.
|
| double | lastSaturationUpscaled () const |
| | Computes the upscaled saturation corresponding to the saturation field returned by lastSaturationState().
|
|
void | initSatLimits (std::vector< double > &s) const |
| | Ensure saturations are not outside table.
|
|
void | setToCapillaryLimit (double average_s, std::vector< double > &s) const |
|
| UpscalerBase () |
| | Default constructor.
|
|
void | init (const Opm::ParameterGroup ¶m) |
| | Initializes the upscaler from parameters.
|
|
void | init (const Opm::Deck &deck, BoundaryConditionType bctype, double perm_threshold, double residual_tolerance=1e-8, int linsolver_verbosity=0, int linsolver_type=3, bool twodim_hack=false, int linsolver_maxit=0, double linsolver_prolongate_factor=1.0, int linsolver_smooth_steps=1, const double gravity=0.0) |
| | Initializes the upscaler from given arguments.
|
|
const GridType & | grid () const |
| | Access the grid.
|
| void | setBoundaryConditionType (BoundaryConditionType type) |
| | Set boundary condition type.
|
| void | setPermeability (const int cell_index, const permtensor_t &k) |
| | Set the permeability of a cell directly.
|
| permtensor_t | upscaleSinglePhase () |
| | Does a single-phase upscaling.
|
| double | upscalePorosity () const |
| | Compute upscaled porosity.
|
| double | upscaleNetPorosity () const |
| | Compute upscaled net porosity.
|
| double | upscaleNTG () const |
| | Compute upscaled NTG.
|
| double | upscaleSWCR (const bool NTG) const |
| | Compute upscaled SWCR.
|
| double | upscaleSOWCR (const bool NTG) const |
| | Compute upscaled SOWCR.
|
|
|
template<class FlowSol> |
| void | computeInOutFlows (std::pair< double, double > &water_inout, std::pair< double, double > &oil_inout, const FlowSol &flow_solution, const std::vector< double > &saturations) const |
| void | initImpl (const Opm::ParameterGroup ¶m) override |
| | Override from superclass.
|
|
template<class FlowSol> |
| double | computeAverageVelocity (const FlowSol &flow_solution, const int flow_dir, const int pdrop_dir) const |
|
double | computeDelta (const int flow_dir) const |
|
template<class FluidInterface> |
| permtensor_t | upscaleEffectivePerm (const FluidInterface &fluid) |
|
virtual void | initFinal (const Opm::ParameterGroup ¶m) |
template<class Traits>
class Opm::SteadyStateUpscalerImplicit< Traits >
A class for doing steady state upscaling.
- Author
- Atgeirr F. Rasmussen atgei.nosp@m.rr@s.nosp@m.intef.nosp@m..no