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