|
NonlinearSystemBlackOilReservoir.hpp
Go to the documentation of this file.
83 static constexpr bool enableSaltPrecipitation = getPropValue<TypeTag, Properties::EnableSaltPrecipitation>();
296 static constexpr bool has_energy_ = getPropValue<TypeTag, Properties::EnergyModuleType>() == EnergyModules::FullyImplicitThermal;
Implementation of penalty cards for three-phase black oil. Definition: BlackoilModelConvergenceMonitor.hpp:35 Definition: ComponentName.hpp:34 Definition: ConvergenceReport.hpp:38 Definition: NonlinearSystemBlackOilReservoir.hpp:64 void prepareSolutionUpdate() override Definition: NonlinearSystemBlackOilReservoir_impl.hpp:517 static constexpr bool has_micp_ Definition: NonlinearSystemBlackOilReservoir.hpp:300 SimulatorReportSingle prepareStep(const SimulatorTimerInterface &timer) Definition: NonlinearSystemBlackOilReservoir_impl.hpp:110 typename SparseMatrixAdapter::IstlMatrix Mat Definition: NonlinearSystemBlackOilReservoir.hpp:113 GetPropType< TypeTag, Properties::ElementContext > ElementContext Definition: NonlinearSystemBlackOilReservoir.hpp:70 GetPropType< TypeTag, Properties::MaterialLawParams > MaterialLawParams Definition: NonlinearSystemBlackOilReservoir.hpp:78 GetPropType< TypeTag, Properties::MaterialLaw > MaterialLaw Definition: NonlinearSystemBlackOilReservoir.hpp:77 void storeSolutionUpdate(const GlobalEqVector &dx) override Definition: NonlinearSystemBlackOilReservoir_impl.hpp:538 static constexpr bool has_foam_ Definition: NonlinearSystemBlackOilReservoir.hpp:297 static constexpr int contiFoamEqIdx Definition: NonlinearSystemBlackOilReservoir.hpp:91 static constexpr int contiSolventEqIdx Definition: NonlinearSystemBlackOilReservoir.hpp:86 static constexpr unsigned calciteVolumeFractionIdx Definition: NonlinearSystemBlackOilReservoir.hpp:109 GetPropType< TypeTag, Properties::IntensiveQuantities > IntensiveQuantities Definition: NonlinearSystemBlackOilReservoir.hpp:71 GetPropType< TypeTag, Properties::PrimaryVariables > PrimaryVariables Definition: NonlinearSystemBlackOilReservoir.hpp:74 static constexpr unsigned saltConcentrationIdx Definition: NonlinearSystemBlackOilReservoir.hpp:104 static constexpr int contiBiofilmEqIdx Definition: NonlinearSystemBlackOilReservoir.hpp:96 int linearIterationsLastSolve() const Number of linear iterations used in last call to solveJacobianSystem(). Definition: NonlinearSystemBlackOilReservoir.hpp:183 static constexpr int numEq Definition: NonlinearSystemBlackOilReservoir.hpp:85 BlackoilModelParameters< Scalar > ModelParameters Definition: NonlinearSystemBlackOilReservoir.hpp:81 typename SparseMatrixAdapter::MatrixBlock MatrixBlockType Definition: NonlinearSystemBlackOilReservoir.hpp:112 Opm::BlockVector< VectorBlockType > BVector Definition: NonlinearSystemBlackOilReservoir.hpp:114 void popLastConvergenceReport() Remove the last convergence report entry and residual norms history entry. Definition: NonlinearSystemBlackOilReservoir.hpp:267 static constexpr int contiEnergyEqIdx Definition: NonlinearSystemBlackOilReservoir.hpp:89 static constexpr int contiZfracEqIdx Definition: NonlinearSystemBlackOilReservoir.hpp:87 std::tuple< Scalar, Scalar > convergenceReduction(Parallel::Communication comm, const Scalar pvSumLocal, const Scalar numAquiferPvSumLocal, std::vector< Scalar > &R_sum, std::vector< Scalar > &maxCoeff, std::vector< Scalar > &B_avg) Definition: NonlinearSystemBlackOilReservoir_impl.hpp:611 SolutionVector solUpd_ Definition: NonlinearSystemBlackOilReservoir.hpp:305 GetPropType< TypeTag, Properties::Scalar > Scalar Definition: NonlinearSystemBlackOilReservoir.hpp:79 BlackoilModelConvergenceMonitor< Scalar > conv_monitor_ Definition: NonlinearSystemBlackOilReservoir.hpp:308 static constexpr bool has_polymer_ Definition: NonlinearSystemBlackOilReservoir.hpp:294 std::pair< Scalar, Scalar > localConvergenceData(std::vector< Scalar > &R_sum, std::vector< Scalar > &maxCoeff, std::vector< Scalar > &B_avg, std::vector< int > &maxCoeffCell) Get reservoir quantities on this process needed for convergence calculations. Definition: NonlinearSystemBlackOilReservoir_impl.hpp:630 void convergencePerCell(const std::vector< Scalar > &B_avg, const double dt, const double tol_cnv, const double tol_cnv_energy) Compute the number of Newtons required by each cell in order to satisfy the solution change convergen... Definition: NonlinearSystemBlackOilReservoir_impl.hpp:1017 static constexpr unsigned foamConcentrationIdx Definition: NonlinearSystemBlackOilReservoir.hpp:103 static constexpr int contiMicrobialEqIdx Definition: NonlinearSystemBlackOilReservoir.hpp:93 static constexpr int contiUreaEqIdx Definition: NonlinearSystemBlackOilReservoir.hpp:95 const SimulatorReport & localAccumulatedReports() const return the statistics of local solves accumulated for this rank Definition: NonlinearSystemBlackOilReservoir_impl.hpp:1099 static constexpr bool has_bioeffects_ Definition: NonlinearSystemBlackOilReservoir.hpp:299 static constexpr unsigned polymerMoleWeightIdx Definition: NonlinearSystemBlackOilReservoir.hpp:101 SimulatorReportSingle nonlinearIteration(const SimulatorTimerInterface &timer, NonlinearSolverType &nonlinear_solver) Definition: NonlinearSystemBlackOilReservoir_impl.hpp:218 GetPropType< TypeTag, Properties::SparseMatrixAdapter > SparseMatrixAdapter Definition: NonlinearSystemBlackOilReservoir.hpp:72 static constexpr unsigned biofilmVolumeFractionIdx Definition: NonlinearSystemBlackOilReservoir.hpp:108 static constexpr bool has_solvent_ Definition: NonlinearSystemBlackOilReservoir.hpp:292 typename ParentType::GlobalEqVector GlobalEqVector Definition: NonlinearSystemBlackOilReservoir.hpp:80 MaxSolutionUpdateData getMaxSolutionUpdate(const std::vector< unsigned > &ixCells) Definition: NonlinearSystemBlackOilReservoir_impl.hpp:557 const std::vector< SimulatorReport > & domainAccumulatedReports() const return the statistics of local solves accumulated for each domain on this rank Definition: NonlinearSystemBlackOilReservoir_impl.hpp:1110 static constexpr unsigned polymerConcentrationIdx Definition: NonlinearSystemBlackOilReservoir.hpp:100 static constexpr bool has_brine_ Definition: NonlinearSystemBlackOilReservoir.hpp:298 bool shouldStoreSolutionUpdate() const override Get solution update vector as a PrimaryVariable. Definition: NonlinearSystemBlackOilReservoir_impl.hpp:508 ConvergenceReport getReservoirConvergence(const double reportTime, const double dt, const int maxIter, std::vector< Scalar > &B_avg, std::vector< Scalar > &residual_norms) Definition: NonlinearSystemBlackOilReservoir_impl.hpp:762 static constexpr unsigned temperatureIdx Definition: NonlinearSystemBlackOilReservoir.hpp:102 static constexpr unsigned solventSaturationIdx Definition: NonlinearSystemBlackOilReservoir.hpp:98 static constexpr int contiBrineEqIdx Definition: NonlinearSystemBlackOilReservoir.hpp:92 Dune::FieldVector< Scalar, numEq > VectorBlockType Definition: NonlinearSystemBlackOilReservoir.hpp:111 std::unique_ptr< NonlinearSystemNldd< TypeTag > > nlddSolver_ Non-linear DD solver. Definition: NonlinearSystemBlackOilReservoir.hpp:307 static constexpr bool has_extbo_ Definition: NonlinearSystemBlackOilReservoir.hpp:293 CnvPvSplitData characteriseCnvPvSplit(const std::vector< Scalar > &B_avg, const double dt) Compute pore-volume/cell count split among "converged", "relaxed converged", "unconverged" cells base... Definition: NonlinearSystemBlackOilReservoir_impl.hpp:681 static constexpr unsigned oxygenConcentrationIdx Definition: NonlinearSystemBlackOilReservoir.hpp:106 GetPropType< TypeTag, Properties::SolutionVector > SolutionVector Definition: NonlinearSystemBlackOilReservoir.hpp:73 ConvergenceReport getConvergence(const SimulatorTimerInterface &timer, const int maxIter, std::vector< Scalar > &residual_norms) Definition: NonlinearSystemBlackOilReservoir_impl.hpp:1063 NonlinearSystemBlackOilReservoir(Simulator &simulator, const ModelParameters ¶m, typename ParentType::WellModel &well_model, const bool terminal_output) Definition: NonlinearSystemBlackOilReservoir_impl.hpp:78 static constexpr bool has_polymermw_ Definition: NonlinearSystemBlackOilReservoir.hpp:295 static constexpr int contiPolymerMWEqIdx Definition: NonlinearSystemBlackOilReservoir.hpp:90 void writeNonlinearIterationsPerCell(const std::filesystem::path &odir) const Write the number of nonlinear iterations per cell to a file in ResInsight compatible format. Definition: NonlinearSystemBlackOilReservoir_impl.hpp:1120 Scalar relativeChange() const Definition: NonlinearSystemBlackOilReservoir_impl.hpp:339 std::vector< std::vector< Scalar > > computeFluidInPlace(const T &, const std::vector< int > &fipnum) const Wrapper required due to not following generic API. Definition: NonlinearSystemBlackOilReservoir.hpp:250 long int global_nc_ The number of cells of the global grid. Definition: NonlinearSystemBlackOilReservoir.hpp:303 static constexpr bool enableSaltPrecipitation Definition: NonlinearSystemBlackOilReservoir.hpp:83 DebugFlags Definition: NonlinearSystemBlackOilReservoir.hpp:132 static constexpr unsigned ureaConcentrationIdx Definition: NonlinearSystemBlackOilReservoir.hpp:107 bool hasNlddSolver() const Returns true if an NLDD solver exists. Definition: NonlinearSystemBlackOilReservoir.hpp:287 void initialLinearization(SimulatorReportSingle &report, const int minIter, const int maxIter, const SimulatorTimerInterface &timer) override Definition: NonlinearSystemBlackOilReservoir_impl.hpp:166 static constexpr unsigned microbialConcentrationIdx Definition: NonlinearSystemBlackOilReservoir.hpp:105 const EclipseState & eclState() const Definition: NonlinearSystemBlackOilReservoir.hpp:152 static constexpr unsigned zFractionIdx Definition: NonlinearSystemBlackOilReservoir.hpp:99 void getMaxCoeff(const unsigned cell_idx, const IntensiveQuantities &intQuants, const FluidState &fs, const Residual &modelResid, const Scalar pvValue, std::vector< Scalar > &B_avg, std::vector< Scalar > &R_sum, std::vector< Scalar > &maxCoeff, std::vector< int > &maxCoeffCell) Definition: NonlinearSystemBlackOilReservoir_impl.hpp:1157 static constexpr bool has_energy_ Definition: NonlinearSystemBlackOilReservoir.hpp:296 static constexpr int contiOxygenEqIdx Definition: NonlinearSystemBlackOilReservoir.hpp:94 static constexpr int contiCalciteEqIdx Definition: NonlinearSystemBlackOilReservoir.hpp:97 void solveJacobianSystem(BVector &x) Definition: NonlinearSystemBlackOilReservoir_impl.hpp:430 SimulatorReportSingle nonlinearIterationNewton(const SimulatorTimerInterface &timer, NonlinearSolverType &nonlinear_solver) Definition: NonlinearSystemBlackOilReservoir_impl.hpp:252 double & linearSolveSetupTime() Definition: NonlinearSystemBlackOilReservoir.hpp:187 void writePartitions(const std::filesystem::path &odir) const Definition: NonlinearSystemBlackOilReservoir_impl.hpp:1130 static constexpr int contiPolymerEqIdx Definition: NonlinearSystemBlackOilReservoir.hpp:88 Definition: NonlinearSystem.hpp:44 const Simulator & simulator() const Definition: NonlinearSystem.hpp:63 GetPropType< TypeTag, Properties::FluidSystem > FluidSystem Definition: NonlinearSystem.hpp:49 GetPropType< TypeTag, Properties::Scalar > Scalar Definition: NonlinearSystem.hpp:51 GetPropType< TypeTag, Properties::Grid > Grid Definition: NonlinearSystem.hpp:48 GetPropType< TypeTag, Properties::Simulator > Simulator Definition: NonlinearSystem.hpp:47 GetPropType< TypeTag, Properties::GlobalEqVector > GlobalEqVector Definition: NonlinearSystem.hpp:52 GetPropType< TypeTag, Properties::Indices > Indices Definition: NonlinearSystem.hpp:50 std::vector< std::vector< Scalar > > residual_norms_history_ Definition: NonlinearSystem.hpp:172 GetPropType< TypeTag, Properties::WellModel > WellModel Definition: NonlinearSystem.hpp:54 Manages the initializing and running of time dependent problems. Definition: simulator.hh:87 Interface class for SimulatorTimer objects, to be improved. Definition: SimulatorTimerInterface.hpp:34 Dune::Communication< MPIComm > Communication Definition: ParallelCommunication.hpp:30 Definition: blackoilbioeffectsmodules.hh:45 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 Solver parameters for the NonlinearSystemBlackOilReservoir. Definition: BlackoilModelParameters.hpp:208 Scalar max_residual_allowed_ Absolute max limit for residuals. Definition: BlackoilModelParameters.hpp:221 Definition: NonlinearSystemBlackOilReservoir.hpp:119 std::vector< unsigned > ixCells Definition: NonlinearSystemBlackOilReservoir.hpp:121 std::pair< std::vector< double >, std::vector< int > > cnvPvSplit Definition: NonlinearSystemBlackOilReservoir.hpp:120 Definition: NonlinearSystemBlackOilReservoir.hpp:124 Scalar dRsMax Definition: NonlinearSystemBlackOilReservoir.hpp:127 Scalar dPMax Definition: NonlinearSystemBlackOilReservoir.hpp:125 Scalar dSMax Definition: NonlinearSystemBlackOilReservoir.hpp:126 Scalar dRvMax Definition: NonlinearSystemBlackOilReservoir.hpp:128 Definition: SimulatorReport.hpp:202 A struct for returning timing data from a simulator to its caller. Definition: SimulatorReport.hpp:34 |