|
FlowProblem.hpp
Go to the documentation of this file.
125 static constexpr EnergyModules energyModuleType = getPropValue<TypeTag, Properties::EnergyModuleType>();
126 enum { enableFullyImplicitThermal = getPropValue<TypeTag, Properties::EnergyModuleType>() == EnergyModules::FullyImplicitThermal };
133 enum { enableSaltPrecipitation = getPropValue<TypeTag, Properties::EnableSaltPrecipitation>() };
135 enum { enableThermalFluxBoundaries = getPropValue<TypeTag, Properties::EnableThermalFluxBoundaries>() };
141 // TODO: later, gasCompIdx, oilCompIdx and waterCompIdx should go to the FlowProblemBlackoil in the future
152 using EclMaterialLawManager = typename GetProp<TypeTag, Properties::MaterialLaw>::EclMaterialLawManager;
153 using EclThermalLawManager = typename GetProp<TypeTag, Properties::SolidEnergyLaw>::EclThermalLawManager;
249 this->enableDriftCompensationTemp_ = Parameters::Get<Parameters::EnableDriftCompensationTemp>();
766 const auto& rock_config = this->simulator().vanguard().eclState().getSimulationConfig().rock_config();
798 const MaterialLawParams& materialLawParams(unsigned globalDofIdx, FaceDir::DirEnum facedir) const
849 MaterialLaw::template relativePermeabilities<ContainerT, FluidState, Args...>(mobility, materialParams, fluidState);
862 MaterialLaw::template relativePermeabilities<ContainerT, FluidState, Args...>(mob_array, materialParams, fluidState);
1118 LhsEval rockCompPoroMultiplier(const IntensiveQuantities& intQuants, unsigned elementIdx) const
1130 const auto& rock_config = this->simulator().vanguard().eclState().getSimulationConfig().rock_config();
1150 LhsEval SwMax = max(decay<LhsEval>(fs.saturation(waterPhaseIdx)), this->maxWaterSaturation_[elementIdx]);
1151 LhsEval SwDeltaMax = SwMax - asImp_().initialFluidStates()[elementIdx].saturation(waterPhaseIdx);
1153 return this->rockCompPoroMultWc_[tableIdx].eval(effectivePressure, SwDeltaMax, /*extrapolation=*/true);
1162 LhsEval rockCompTransMultiplier(const IntensiveQuantities& intQuants, unsigned elementIdx) const
1176 LhsEval rockCompTransMultiplier(const IntensiveQuantities& intQuants, unsigned elementIdx, Callback& obtain) const
1179 return implicit ? this->simulator().problem().template computeRockCompTransMultiplier_<LhsEval>(intQuants, elementIdx, obtain)
1184 LhsEval wellTransMultiplier(const IntensiveQuantities& intQuants, unsigned elementIdx, Callback& obtain) const
1189 LhsEval trans_mult = implicit ? this->simulator().problem().template computeRockCompTransMultiplier_<LhsEval>(intQuants, elementIdx, obtain)
1191 trans_mult *= this->simulator().problem().template permFactTransMultiplier<LhsEval>(intQuants, elementIdx, obtain);
1196 std::pair<BCType, RateVector> boundaryCondition(const unsigned int globalSpaceIdx, const int directionId) const
1399 // \brief Function to assign field properties of type int, unsigned int, ..., on the leaf grid view.
1408 return [&lookup](const FieldPropsManager& fieldPropManager, const std::string& propString, bool needsTranslation)
1410 return lookup.template assignFieldPropsIntOnLeaf<IntType>(fieldPropManager, propString, needsTranslation);
1512 // A common practice in reservoir simulation is to use large pore-volume-multipliers in boundary cells
1513 // to model boundary conditions other than no-flow. This may result in reference porosities that are larger than 1.
1514 // A simple (1-reference porosity) * geometric volume of the element may give unphysical results.
1515 // We therefore instead consider the pore-volume-multiplier as a volume multiplier. The rock fraction is thus given by
1516 // (1 - porosity * ntg) * pore-volume-multiplier = (1 - porosity * ntg) * reference porosity / (porosity * ntg)
1525 const auto rock_fraction = (1 - poro_eff) * this->referencePorosity_[/*timeIdx=*/0][sfcdofIdx] / poro_eff;
1547 this->maxWaterSaturation_[elemIdx] = std::max(this->maxWaterSaturation_[elemIdx], fs.saturation(waterPhaseIdx));
1549 this->maxOilSaturation_[elemIdx] = std::max(this->maxOilSaturation_[elemIdx], fs.saturation(oilPhaseIdx));
1551 this->minRefPressure_[elemIdx] = std::min(this->minRefPressure_[elemIdx], fs.pressure(refPressurePhaseIdx_()));
1615 dofData.transmissibility = transmissibilities_.transmissibility(globalCenterElemIdx, globalElemIdx);
1618 *dofData.thermalHalfTransIn = transmissibilities_.thermalHalfTrans(globalCenterElemIdx, globalElemIdx);
1619 *dofData.thermalHalfTransOut = transmissibilities_.thermalHalfTrans(globalElemIdx, globalCenterElemIdx);
1631 virtual void updateExplicitQuantities_(int episodeIdx, int timeStepSize, bool first_step_after_restart) = 0;
1684 Scalar maxTimeStepSize = Parameters::Get<Parameters::SolverMaxTimeStepInDays<Scalar>>() * 24 * 60 * 60;
1752 LhsEval computeRockCompTransMultiplier_(const IntensiveQuantities& intQuants, unsigned elementIdx) const
1767 LhsEval computeRockCompTransMultiplier_(const IntensiveQuantities& intQuants, unsigned elementIdx, Callback& obtain) const
1779 const auto& rock_config = this->simulator().vanguard().eclState().getSimulationConfig().rock_config();
1798 LhsEval SwMax = max(obtain(fs.saturation(waterPhaseIdx)), this->maxWaterSaturation_[elementIdx]);
1799 LhsEval SwDeltaMax = SwMax - asImp_().initialFluidStates()[elementIdx].saturation(waterPhaseIdx);
1801 return this->rockCompTransMultWc_[tableIdx].eval(effectivePressure, SwDeltaMax, /*extrapolation=*/true);
#define OPM_END_PARALLEL_TRY_CATCH(prefix, comm) Catch exception and throw in a parallel try-catch clause. Definition: DeferredLoggingErrorHelpers.hpp:192 #define OPM_BEGIN_PARALLEL_TRY_CATCH() Macro to setup the try of a parallel try-catch. Definition: DeferredLoggingErrorHelpers.hpp:158 This problem simulates an input file given in the data format used by the commercial ECLiPSE simulato... Definition: FlowGenericProblem.hpp:61 Scalar maxPolymerAdsorption(unsigned elemIdx) const Returns the max polymer adsorption value. Definition: FlowGenericProblem_impl.hpp:797 unsigned pvtRegionIndex(unsigned elemIdx) const Returns the index the relevant PVT region given a cell index. Definition: FlowGenericProblem_impl.hpp:756 std::array< std::vector< Scalar >, 2 > rockFraction_ Definition: FlowGenericProblem.hpp:338 std::vector< Scalar > rockCompTransMultVal_ Definition: FlowGenericProblem.hpp:351 std::function< unsigned(unsigned)> lookupIdxOnLevelZeroAssigner_() Definition: FlowGenericProblem.hpp:384 static std::string briefDescription() Definition: FlowGenericProblem_impl.hpp:130 std::vector< TabulatedTwoDFunction > rockCompPoroMultWc_ Definition: FlowGenericProblem.hpp:347 void updateMiscnum_() Definition: FlowGenericProblem_impl.hpp:447 Scalar porosity(unsigned globalSpaceIdx, unsigned timeIdx) const Direct indexed access to the porosity. Definition: FlowGenericProblem_impl.hpp:338 Scalar rockCompressibility(unsigned globalSpaceIdx) const Definition: FlowGenericProblem_impl.hpp:323 Scalar initialTimeStepSize_ Definition: FlowGenericProblem.hpp:365 unsigned miscnumRegionIndex(unsigned elemIdx) const Returns the index the relevant MISC region given a cell index. Definition: FlowGenericProblem_impl.hpp:776 bool vapparsActive(int episodeIdx) const Definition: FlowGenericProblem_impl.hpp:463 unsigned satnumRegionIndex(unsigned elemIdx) const Returns the index the relevant saturation function region given a cell index. Definition: FlowGenericProblem_impl.hpp:766 void updateSatnum_() Definition: FlowGenericProblem_impl.hpp:439 void updatePvtnum_() Definition: FlowGenericProblem_impl.hpp:431 bool enableDriftCompensation_ Definition: FlowGenericProblem.hpp:371 bool enableDriftCompensationTemp_ Definition: FlowGenericProblem.hpp:372 Scalar lame(unsigned elementIdx) const Direct access to Lame's second parameter in an element. Definition: FlowGenericProblem_impl.hpp:357 void beginTimeStep_(bool enableExperiments, int episodeIdx, int timeStepIndex, Scalar startTime, Scalar time, Scalar timeStepSize, Scalar endTime) Definition: FlowGenericProblem_impl.hpp:508 std::vector< TabulatedFunction > rockCompTransMult_ Definition: FlowGenericProblem.hpp:350 std::vector< TabulatedTwoDFunction > rockCompTransMultWc_ Definition: FlowGenericProblem.hpp:348 unsigned plmixnumRegionIndex(unsigned elemIdx) const Returns the index the relevant PLMIXNUM (for polymer module) region given a cell index. Definition: FlowGenericProblem_impl.hpp:786 bool enableTuning_ Definition: FlowGenericProblem.hpp:364 std::vector< TabulatedFunction > rockCompPoroMult_ Definition: FlowGenericProblem.hpp:349 std::vector< Scalar > maxOilSaturation_ Definition: FlowGenericProblem.hpp:354 std::vector< RockParams > rockParams_ Definition: FlowGenericProblem.hpp:345 std::array< std::vector< Scalar >, 2 > referencePorosity_ Definition: FlowGenericProblem.hpp:337 Scalar rockBiotComp(unsigned elementIdx) const Returns the rock compressibility of an element due to poroelasticity. Definition: FlowGenericProblem_impl.hpp:346 const LookUpData lookUpData_ Definition: FlowGenericProblem.hpp:378 std::vector< Scalar > maxWaterSaturation_ Definition: FlowGenericProblem.hpp:355 Scalar maxTimeStepAfterWellEvent_ Definition: FlowGenericProblem.hpp:366 std::vector< Scalar > minRefPressure_ Definition: FlowGenericProblem.hpp:356 bool beginEpisode_(bool enableExperiments, int episodeIdx) Definition: FlowGenericProblem_impl.hpp:471 bool shouldWriteOutput() const Always returns true. The ecl output writer takes care of the rest. Definition: FlowGenericProblem.hpp:294 static std::string helpPreamble(int, const char **argv) Definition: FlowGenericProblem_impl.hpp:115 std::vector< Scalar > overburdenPressure_ Definition: FlowGenericProblem.hpp:357 bool shouldWriteRestartFile() const Returns true if an eWoms restart file should be written to disk. Definition: FlowGenericProblem.hpp:303 Scalar biotCoeff(unsigned elementIdx) const Direct access to Biot coefficient in an element. Definition: FlowGenericProblem_impl.hpp:388 void updatePlmixnum_() Definition: FlowGenericProblem_impl.hpp:455 std::vector< unsigned short > rockTableIdx_ Definition: FlowGenericProblem.hpp:346 bool explicitRockCompaction_ Definition: FlowGenericProblem.hpp:373 This problem simulates an input file given in the data format used by the commercial ECLiPSE simulato... Definition: FlowProblem.hpp:95 virtual bool episodeWillBeOver() const Definition: FlowProblem.hpp:1863 const WellModel & wellModel() const Returns a reference to the ECL well manager used by the problem. Definition: FlowProblem.hpp:1070 GetPropType< TypeTag, Properties::Evaluation > Evaluation Definition: FlowProblem.hpp:159 Scalar transmissibility(unsigned globalCenterElemIdx, unsigned globalElemIdx) const Direct access to the transmissibility between two elements. Definition: FlowProblem.hpp:546 static int handlePositionalParameter(std::function< void(const std::string &, const std::string &)> addKey, std::set< std::string > &seenParams, std::string &errorMsg, int, const char **argv, int paramIdx, int) Handles positional command line parameters. Definition: FlowProblem.hpp:201 bool nonTrivialBoundaryConditions() const Definition: FlowProblem.hpp:1082 virtual void writeOutput(bool verbose) Write the requested quantities of the current solution into the output files. Definition: FlowProblem.hpp:498 std::function< std::vector< IntType >(const FieldPropsManager &, const std::string &, bool)> fieldPropIntTypeOnLeafAssigner_() Definition: FlowProblem.hpp:1405 const DimMatrix & intrinsicPermeability(unsigned globalElemIdx) const This method returns the intrinsic permeability tensor given a global element index. Definition: FlowProblem.hpp:528 @ enableFullyImplicitThermal Definition: FlowProblem.hpp:126 unsigned pvtRegionIndex(const Context &context, unsigned spaceIdx, unsigned timeIdx) const Returns the index of the relevant region for thermodynmic properties. Definition: FlowProblem.hpp:878 LhsEval wellTransMultiplier(const IntensiveQuantities &intQuants, unsigned elementIdx, Callback &obtain) const Definition: FlowProblem.hpp:1184 Scalar porosity(const Context &context, unsigned spaceIdx, unsigned timeIdx) const Definition: FlowProblem.hpp:681 void beginIteration() Called by the simulator before each Newton-Raphson iteration. Definition: FlowProblem.hpp:398 GetPropType< TypeTag, Properties::Vanguard > Vanguard Definition: FlowProblem.hpp:108 GetPropType< TypeTag, Properties::DofMapper > DofMapper Definition: FlowProblem.hpp:158 Scalar rockBiotComp(const Context &context, unsigned spaceIdx, unsigned timeIdx) const Definition: FlowProblem.hpp:725 GetPropType< TypeTag, Properties::Scalar > Scalar Definition: FlowProblem.hpp:102 typename EclThermalLawManager::SolidEnergyLawParams SolidEnergyLawParams Definition: FlowProblem.hpp:155 bool updateHysteresis_(unsigned compressedDofIdx, const IntensiveQuantities &iq) Definition: FlowProblem.hpp:1575 GetPropType< TypeTag, Properties::BaseProblem > ParentType Definition: FlowProblem.hpp:99 GetPropType< TypeTag, Properties::EqVector > EqVector Definition: FlowProblem.hpp:107 unsigned satnumRegionIndex(const Context &context, unsigned spaceIdx, unsigned timeIdx) const Returns the index of the relevant region for thermodynmic properties. Definition: FlowProblem.hpp:886 virtual void handleOxygBC(const BCProp::BCFace &, RateVector &) const =0 virtual void updateExplicitQuantities_(int episodeIdx, int timeStepSize, bool first_step_after_restart)=0 virtual void handleUreaBC(const BCProp::BCFace &, RateVector &) const =0 Scalar thermalHalfTransmissibilityOut(const Context &context, unsigned faceIdx, unsigned timeIdx) const Definition: FlowProblem.hpp:636 GetPropType< TypeTag, Properties::ElementContext > ElementContext Definition: FlowProblem.hpp:151 const ThermalConductionLawParams & thermalConductionLawParams(unsigned globalSpaceIdx, unsigned) const Definition: FlowProblem.hpp:953 std::function< std::vector< double >(const FieldPropsManager &, const std::string &)> fieldPropDoubleOnLeafAssigner_() Definition: FlowProblem.hpp:1390 Scalar transmissibilityBoundary(const Context &elemCtx, unsigned boundaryFaceIdx) const Definition: FlowProblem.hpp:593 GetPropType< TypeTag, Properties::RateVector > RateVector Definition: FlowProblem.hpp:148 void updateReferencePorosity_() Definition: FlowProblem.hpp:1471 Scalar thermalHalfTransmissibility(const unsigned globalSpaceIdxIn, const unsigned globalSpaceIdxOut) const Definition: FlowProblem.hpp:613 LhsEval computeRockCompTransMultiplier_(const IntensiveQuantities &intQuants, unsigned elementIdx, Callback &obtain) const Definition: FlowProblem.hpp:1767 GetPropType< TypeTag, Properties::TracerModel > TracerModel Definition: FlowProblem.hpp:168 Scalar rockCompressibility(const Context &context, unsigned spaceIdx, unsigned timeIdx) const Definition: FlowProblem.hpp:715 bool updateMaxWaterSaturation_() Definition: FlowProblem.hpp:1326 Dune::FieldMatrix< Scalar, dimWorld, dimWorld > DimMatrix Definition: FlowProblem.hpp:165 Scalar maxOilSaturation(unsigned globalDofIdx) const Returns an element's historic maximum oil phase saturation that was observed during the simulation. Definition: FlowProblem.hpp:968 bool updateMinPressure_(unsigned compressedDofIdx, const IntensiveQuantities &iq) Definition: FlowProblem.hpp:1372 LhsEval rockCompTransMultiplier(const IntensiveQuantities &intQuants, unsigned elementIdx) const Calculate the transmissibility multiplier due to water induced rock compaction. Definition: FlowProblem.hpp:1162 void endIteration() Called by the simulator after each Newton-Raphson iteration. Definition: FlowProblem.hpp:408 GetPropType< TypeTag, Properties::Indices > Indices Definition: FlowProblem.hpp:109 virtual void handleSolventBC(const BCProp::BCFace &, RateVector &) const =0 GetPropType< TypeTag, Properties::GlobalEqVector > GlobalEqVector Definition: FlowProblem.hpp:106 GetPropType< TypeTag, Properties::Simulator > Simulator Definition: FlowProblem.hpp:149 const Vanguard::TransmissibilityType & eclTransmissibilities() const Return a reference to the object that handles the "raw" transmissibilities. Definition: FlowProblem.hpp:659 void source(RateVector &rate, unsigned globalDofIdx, unsigned timeIdx) const Definition: FlowProblem.hpp:1038 virtual void readEquilInitialCondition_()=0 Scalar nextTimeStepSize() const Propose the size of the next time step to the simulator. Definition: FlowProblem.hpp:1091 LhsEval computeRockCompTransMultiplier_(const IntensiveQuantities &intQuants, unsigned elementIdx) const Calculate the transmissibility multiplier due to water induced rock compaction. Definition: FlowProblem.hpp:1752 std::pair< BCType, RateVector > boundaryCondition(const unsigned int globalSpaceIdx, const int directionId) const Definition: FlowProblem.hpp:1196 typename EclMaterialLawManager::MaterialLawParams MaterialLawParams Definition: FlowProblem.hpp:154 virtual ~FlowProblem()=default PffGridVector< GridView, Stencil, PffDofData_, DofMapper > pffDofData_ Definition: FlowProblem.hpp:1814 const ThermalConductionLawParams & thermalConductionLawParams(const Context &context, unsigned spaceIdx, unsigned timeIdx) const Definition: FlowProblem.hpp:821 Scalar transmissibility(const Context &context, unsigned fromDofLocalIdx, unsigned toDofLocalIdx) const Definition: FlowProblem.hpp:535 virtual void handlePolymerBC(const BCProp::BCFace &, RateVector &) const =0 @ enableThermalFluxBoundaries Definition: FlowProblem.hpp:135 virtual void beginEpisode() Called by the simulator before an episode begins. Definition: FlowProblem.hpp:305 const SolidEnergyLawParams & solidEnergyLawParams(unsigned globalSpaceIdx, unsigned) const Definition: FlowProblem.hpp:947 Scalar getRockCompTransMultVal(std::size_t dofIdx) const Definition: FlowProblem.hpp:1583 virtual void beginTimeStep() Called by the simulator before each time integration. Definition: FlowProblem.hpp:364 Scalar dofCenterDepth(unsigned globalSpaceIdx) const Direct indexed acces to the depth of an degree of freedom [m]. Definition: FlowProblem.hpp:706 typename GetProp< TypeTag, Properties::MaterialLaw >::EclMaterialLawManager EclMaterialLawManager Definition: FlowProblem.hpp:152 const MaterialLawParams & materialLawParams(unsigned globalDofIdx, FaceDir::DirEnum facedir) const Definition: FlowProblem.hpp:798 std::shared_ptr< const EclMaterialLawManager > materialLawManager() const Returns the ECL material law manager. Definition: FlowProblem.hpp:833 unsigned plmixnumRegionIndex(const Context &context, unsigned spaceIdx, unsigned timeIdx) const Returns the index of the relevant region for thermodynmic properties. Definition: FlowProblem.hpp:902 const MaterialLawParams & materialLawParams(unsigned globalDofIdx) const Definition: FlowProblem.hpp:793 Scalar temperature(const Context &context, unsigned spaceIdx, unsigned timeIdx) const Definition: FlowProblem.hpp:924 Scalar thermalHalfTransmissibilityBoundary(const Context &elemCtx, unsigned boundaryFaceIdx) const Definition: FlowProblem.hpp:649 unsigned miscnumRegionIndex(const Context &context, unsigned spaceIdx, unsigned timeIdx) const Returns the index of the relevant region for thermodynmic properties. Definition: FlowProblem.hpp:894 void updateRockCompTransMultVal_() Definition: FlowProblem.hpp:1734 std::shared_ptr< EclThermalLawManager > thermalLawManager_ Definition: FlowProblem.hpp:1807 Scalar limitNextTimeStepSize_(Scalar dtNext) const Definition: FlowProblem.hpp:1676 GetPropType< TypeTag, Properties::Stencil > Stencil Definition: FlowProblem.hpp:104 typename GetProp< TypeTag, Properties::SolidEnergyLaw >::EclThermalLawManager EclThermalLawManager Definition: FlowProblem.hpp:153 virtual void readExplicitInitialCondition_()=0 virtual void handleMicrBC(const BCProp::BCFace &, RateVector &) const =0 GetPropType< TypeTag, Properties::WellModel > WellModel Definition: FlowProblem.hpp:161 const DimMatrix & intrinsicPermeability(const Context &context, unsigned spaceIdx, unsigned timeIdx) const Definition: FlowProblem.hpp:514 void readThermalParameters_() Definition: FlowProblem.hpp:1454 void serializeOp(Serializer &serializer) Definition: FlowProblem.hpp:1251 Scalar maxPolymerAdsorption(const Context &context, unsigned spaceIdx, unsigned timeIdx) const Returns the max polymer adsorption value. Definition: FlowProblem.hpp:911 Scalar thermalHalfTransmissibilityIn(const Context &context, unsigned faceIdx, unsigned timeIdx) const Definition: FlowProblem.hpp:623 void setMaxOilSaturation(unsigned globalDofIdx, Scalar value) Sets an element's maximum oil phase saturation observed during the simulation. Definition: FlowProblem.hpp:985 const SolidEnergyLawParams & solidEnergyLawParams(const Context &context, unsigned spaceIdx, unsigned timeIdx) const Return the parameters for the energy storage law of the rock. Definition: FlowProblem.hpp:808 typename EclThermalLawManager::ThermalConductionLawParams ThermalConductionLawParams Definition: FlowProblem.hpp:156 Scalar dispersivity(const unsigned globalCellIn, const unsigned globalCellOut) const Definition: FlowProblem.hpp:573 AquiferModel & mutableAquiferModel() Definition: FlowProblem.hpp:1079 GetPropType< TypeTag, Properties::IntensiveQuantities > IntensiveQuantities Definition: FlowProblem.hpp:160 Scalar temperature(unsigned globalDofIdx, unsigned) const Definition: FlowProblem.hpp:936 Scalar lame(const Context &context, unsigned spaceIdx, unsigned timeIdx) const Definition: FlowProblem.hpp:735 GetPropType< TypeTag, Properties::AquiferModel > AquiferModel Definition: FlowProblem.hpp:162 TemperatureModel temperatureModel_ Definition: FlowProblem.hpp:1816 std::shared_ptr< EclMaterialLawManager > materialLawManager_ Definition: FlowProblem.hpp:1806 GetPropType< TypeTag, Properties::GridView > GridView Definition: FlowProblem.hpp:103 GetPropType< TypeTag, Properties::TemperatureModel > TemperatureModel Definition: FlowProblem.hpp:167 void updateProperty_(const std::string &failureMsg, UpdateFunc func) Definition: FlowProblem.hpp:1275 LhsEval rockCompTransMultiplier(const IntensiveQuantities &intQuants, unsigned elementIdx, Callback &obtain) const Definition: FlowProblem.hpp:1176 bool updateMaxOilSaturation_() Definition: FlowProblem.hpp:1294 static void registerParameters() Registers all available parameters for the problem and the model. Definition: FlowProblem.hpp:185 virtual void endEpisode() Called by the simulator after the end of an episode. Definition: FlowProblem.hpp:475 GetPropType< TypeTag, Properties::PrimaryVariables > PrimaryVariables Definition: FlowProblem.hpp:147 bool nonTrivialBoundaryConditions_ Definition: FlowProblem.hpp:1858 GetPropType< TypeTag, Properties::Problem > Implementation Definition: FlowProblem.hpp:100 void readBoundaryConditions_() Definition: FlowProblem.hpp:1633 void updateRelperms(std::array< Evaluation, numPhases > &mobility, DirectionalMobilityPtr &dirMob, FluidState &fluidState, unsigned globalSpaceIdx) const Definition: FlowProblem.hpp:837 Vanguard::TransmissibilityType transmissibilities_ Definition: FlowProblem.hpp:1804 void source(RateVector &rate, const Context &context, unsigned spaceIdx, unsigned timeIdx) const Evaluate the source term for all phases within a given sub-control-volume. Definition: FlowProblem.hpp:1029 virtual void addToSourceDense(RateVector &rate, unsigned globalDofIdx, unsigned timeIdx) const =0 virtual void endTimeStep() Called by the simulator after each time integration. Definition: FlowProblem.hpp:418 TemperatureModel & temperatureModel() Definition: FlowProblem.hpp:669 Utility::CopyablePtr< DirectionalMobility< TypeTag > > DirectionalMobilityPtr Definition: FlowProblem.hpp:169 virtual void readInitialCondition_() Definition: FlowProblem.hpp:1530 virtual void initialSolutionApplied() Callback used by the model to indicate that the initial solution has been determined for all degrees ... Definition: FlowProblem.hpp:996 const MaterialLawParams & materialLawParams(const Context &context, unsigned spaceIdx, unsigned timeIdx) const Definition: FlowProblem.hpp:786 Scalar thermalTransmissibilityBoundary(const unsigned globalSpaceIdx, const unsigned boundaryFaceIdx) const Direct access to a boundary transmissibility. Definition: FlowProblem.hpp:580 static constexpr EnergyModules energyModuleType Definition: FlowProblem.hpp:125 Scalar diffusivity(const Context &context, unsigned fromDofLocalIdx, unsigned toDofLocalIdx) const Definition: FlowProblem.hpp:555 Scalar rockReferencePressure(unsigned globalSpaceIdx) const Definition: FlowProblem.hpp:764 void deserialize(Restarter &res) This method restores the complete state of the problem and its sub-objects from disk. Definition: FlowProblem.hpp:271 Scalar biotCoeff(const Context &context, unsigned spaceIdx, unsigned timeIdx) const Definition: FlowProblem.hpp:745 std::shared_ptr< EclMaterialLawManager > materialLawManager() Definition: FlowProblem.hpp:870 bool updateMaxWaterSaturation_(unsigned compressedDofIdx, const IntensiveQuantities &iq) Definition: FlowProblem.hpp:1343 typename GridView::template Codim< 0 >::Entity Element Definition: FlowProblem.hpp:150 Scalar dofCenterDepth(const Context &context, unsigned spaceIdx, unsigned timeIdx) const Returns the depth of an degree of freedom [m]. Definition: FlowProblem.hpp:694 bool updateMaxOilSaturation_(unsigned compressedDofIdx, const IntensiveQuantities &iq) Definition: FlowProblem.hpp:1312 GetPropType< TypeTag, Properties::FluidSystem > FluidSystem Definition: FlowProblem.hpp:105 GetPropType< TypeTag, Properties::MaterialLaw > MaterialLaw Definition: FlowProblem.hpp:157 const AquiferModel & aquiferModel() const Definition: FlowProblem.hpp:1076 int refPressurePhaseIdx_() const Definition: FlowProblem.hpp:1722 LhsEval rockCompPoroMultiplier(const IntensiveQuantities &intQuants, unsigned elementIdx) const Calculate the porosity multiplier due to water induced rock compaction. Definition: FlowProblem.hpp:1118 Scalar transmissibilityBoundary(const unsigned globalSpaceIdx, const unsigned boundaryFaceIdx) const Direct access to a boundary transmissibility. Definition: FlowProblem.hpp:603 void readMaterialParameters_() Definition: FlowProblem.hpp:1414 void serialize(Restarter &res) This method writes the complete state of the problem and its subobjects to disk. Definition: FlowProblem.hpp:290 Scalar rockReferencePressure(const Context &context, unsigned spaceIdx, unsigned timeIdx) const Definition: FlowProblem.hpp:755 Scalar diffusivity(const unsigned globalCellIn, const unsigned globalCellOut) const Definition: FlowProblem.hpp:566 A random-access container which stores data attached to a grid's degrees of freedom in a prefetch fri... Definition: pffgridvector.hh:50 Definition: RelpermDiagnostics.hpp:51 void diagnosis(const EclipseState &eclState, const LevelCartesianIndexMapper &levelCartesianIndexMapper) This file contains definitions related to directional mobilities. int eclPositionalParameter(std::function< void(const std::string &, const std::string &)> addKey, std::set< std::string > &seenParams, std::string &errorMsg, const char **argv, int paramIdx) Definition: blackoilbioeffectsmodules.hh:45 void eclBroadcast(Parallel::Communication, T &) typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType get the type alias defined in the property (equivalent to old macro GET_PROP_TYPE(.... Definition: propertysystem.hh:233 typename Properties::Detail::GetPropImpl< TypeTag, Property >::type GetProp get the type of a property (equivalent to old macro GET_PROP(...)) Definition: propertysystem.hh:224 Definition: FlowProblem.hpp:1820 const std::vector< T > & operator()(FaceDir::DirEnum dir) const Definition: FlowProblem.hpp:1829 void resize(std::size_t size, T defVal) Definition: FlowProblem.hpp:1823 std::vector< T > & operator()(FaceDir::DirEnum dir) Definition: FlowProblem.hpp:1841 std::array< std::vector< T >, 6 > data Definition: FlowProblem.hpp:1821 Definition: FlowProblem.hpp:1593 ConditionalStorage< enableFullyImplicitThermal, Scalar > thermalHalfTransOut Definition: FlowProblem.hpp:1595 ConditionalStorage< enableFullyImplicitThermal, Scalar > thermalHalfTransIn Definition: FlowProblem.hpp:1594 ConditionalStorage< enableDiffusion, Scalar > diffusivity Definition: FlowProblem.hpp:1596 ConditionalStorage< enableDispersion, Scalar > dispersivity Definition: FlowProblem.hpp:1597 Scalar transmissibility Definition: FlowProblem.hpp:1598 |