RelPermUtils.hpp
Go to the documentation of this file.
void upscaleCapillaryPressure() Upscale capillary pressure. SinglePhaseUpscaler::BoundaryConditionType boundaryCondition Boundary conditions to use. Definition: RelPermUtils.hpp:61 std::vector< double > pressurePoints Vector of capillary pressure points between Swor and Swir. Definition: RelPermUtils.hpp:67 Definition: applier.hpp:18 void setVoigtValue(SinglePhaseUpscaler::permtensor_t &K, int voigt_idx, double val) Set value in tensor. std::vector< int > satnums Cell satnums. Definition: RelPermUtils.hpp:57 ResProp::MutablePermTensor permtensor_t A type for the upscaled permeability. Definition: UpscalerBase.hpp:63 bool doEclipseCheck Whether to check that input relperm curves include relperm at critical saturation points... Definition: RelPermUtils.hpp:50 double poreVolume Total pore volume. Definition: RelPermUtils.hpp:66 bool upscaleBothPhases Whether to upscale both phases. Definition: RelPermUtils.hpp:54 int tensorElementCount Number of independent elements in resulting tensor. Definition: RelPermUtils.hpp:53 RelPermUpscaleHelper(int mpi_rank, std::map< std::string, std::string > &options_) Default constructor. bool isMaster Whether this is the master MPI node or not. Definition: RelPermUtils.hpp:49 void setupBoundaryConditions() Setup requested boundary conditions. std::string saturationstring Fluid system type. Definition: RelPermUtils.hpp:63 void upscaleSinglePhasePermeability() Upscale single phase permeability. void calculateCellPressureGradients(const std::array< int, 3 > &res) Find cell center pressure gradient for every cell. void calculateMinMaxCapillaryPressure() Calculate minimum and maximum capillary pressures. Helper class for relperm upscaling applications. Definition: RelPermUtils.hpp:47 std::vector< MonotCubicInterpolator > InvJfunctions Definition: RelPermUtils.hpp:58 size_t tesselatedCells Number of "active" cells (Sintef interpretation of "active") Definition: RelPermUtils.hpp:64 double getVoigtValue(const SinglePhaseUpscaler::permtensor_t &K, int voigt_idx) Get value from tensor. void checkCriticalSaturations() Check that input relperm curevs specify critical saturations. bool anisotropic_input Whether input eclipse file has diagonal anisotrophy. Definition: RelPermUtils.hpp:51 std::array< std::array< std::vector< MonotCubicInterpolator >, 2 >, 3 > Krfunctions Relperm-curves for each (component->phase->stone type) Definition: RelPermUtils.hpp:60 std::vector< std::vector< double > > getRelPerm(int phase) const Calculate relperm values from phase permeabilities. A class for doing single phase (permeability) upscaling. Definition: SinglePhaseUpscaler.hpp:50 int points Number of saturation points to upscale for. Definition: RelPermUtils.hpp:52 Opm::DeckConstPtr deck(parser->parseFile(file, parseMode)) std::vector< MonotCubicInterpolator > SwPcfunctions Holds Sw(Pc) for each rocktype. Definition: RelPermUtils.hpp:62 SinglePhaseUpscaler::permtensor_t permTensor Tensor of upscaled results. Definition: RelPermUtils.hpp:56 BoundaryConditionType Definition: UpscalerBase.hpp:65 void sanityCheckInput(Opm::DeckConstPtr deck, double minPerm, double maxPerm, double minPoro) Do sanity checks for input file. std::vector< double > WaterSaturation Re-upscaled water saturation for the computed pressure points. Definition: RelPermUtils.hpp:55 std::tuple< double, double > upscalePermeability(int mpi_rank) Upscale permeabilities. |