|
NonlinearSystemBlackOilReservoir.hpp
Go to the documentation of this file.
82 static constexpr bool enableSaltPrecipitation = getPropValue<TypeTag, Properties::EnableSaltPrecipitation>();
295 static constexpr bool has_energy_ = getPropValue<TypeTag, Properties::EnergyModuleType>() == EnergyModules::FullyImplicitThermal;
Implementation of penalty cards for three-phase black oil. Definition: BlackoilModelConvergenceMonitor.hpp:35 Class for handling the blackoil well model. Definition: BlackoilWellModel.hpp:101 Definition: ComponentName.hpp:34 Definition: ConvergenceReport.hpp:38 Definition: NonlinearSystemBlackOilReservoir.hpp:63 void prepareSolutionUpdate() override Definition: NonlinearSystemBlackOilReservoir_impl.hpp:467 static constexpr bool has_micp_ Definition: NonlinearSystemBlackOilReservoir.hpp:299 SimulatorReportSingle prepareStep(const SimulatorTimerInterface &timer) Definition: NonlinearSystemBlackOilReservoir_impl.hpp:107 typename SparseMatrixAdapter::IstlMatrix Mat Definition: NonlinearSystemBlackOilReservoir.hpp:112 GetPropType< TypeTag, Properties::ElementContext > ElementContext Definition: NonlinearSystemBlackOilReservoir.hpp:69 GetPropType< TypeTag, Properties::MaterialLawParams > MaterialLawParams Definition: NonlinearSystemBlackOilReservoir.hpp:77 GetPropType< TypeTag, Properties::MaterialLaw > MaterialLaw Definition: NonlinearSystemBlackOilReservoir.hpp:76 void storeSolutionUpdate(const GlobalEqVector &dx) override Definition: NonlinearSystemBlackOilReservoir_impl.hpp:488 static constexpr bool has_foam_ Definition: NonlinearSystemBlackOilReservoir.hpp:296 static constexpr int contiFoamEqIdx Definition: NonlinearSystemBlackOilReservoir.hpp:90 static constexpr int contiSolventEqIdx Definition: NonlinearSystemBlackOilReservoir.hpp:85 static constexpr unsigned calciteVolumeFractionIdx Definition: NonlinearSystemBlackOilReservoir.hpp:108 GetPropType< TypeTag, Properties::IntensiveQuantities > IntensiveQuantities Definition: NonlinearSystemBlackOilReservoir.hpp:70 GetPropType< TypeTag, Properties::PrimaryVariables > PrimaryVariables Definition: NonlinearSystemBlackOilReservoir.hpp:73 static constexpr unsigned saltConcentrationIdx Definition: NonlinearSystemBlackOilReservoir.hpp:103 static constexpr int contiBiofilmEqIdx Definition: NonlinearSystemBlackOilReservoir.hpp:95 NonlinearSystemBlackOilReservoir(Simulator &simulator, const ModelParameters ¶m, BlackoilWellModel< TypeTag > &well_model, const bool terminal_output) Definition: NonlinearSystemBlackOilReservoir_impl.hpp:78 int linearIterationsLastSolve() const Number of linear iterations used in last call to solveJacobianSystem(). Definition: NonlinearSystemBlackOilReservoir.hpp:182 static constexpr int numEq Definition: NonlinearSystemBlackOilReservoir.hpp:84 BlackoilModelParameters< Scalar > ModelParameters Definition: NonlinearSystemBlackOilReservoir.hpp:80 typename SparseMatrixAdapter::MatrixBlock MatrixBlockType Definition: NonlinearSystemBlackOilReservoir.hpp:111 void popLastConvergenceReport() Remove the last convergence report entry and residual norms history entry. Definition: NonlinearSystemBlackOilReservoir.hpp:266 static constexpr int contiEnergyEqIdx Definition: NonlinearSystemBlackOilReservoir.hpp:88 static constexpr int contiZfracEqIdx Definition: NonlinearSystemBlackOilReservoir.hpp:86 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:561 SolutionVector solUpd_ Definition: NonlinearSystemBlackOilReservoir.hpp:304 GetPropType< TypeTag, Properties::Scalar > Scalar Definition: NonlinearSystemBlackOilReservoir.hpp:78 BlackoilModelConvergenceMonitor< Scalar > conv_monitor_ Definition: NonlinearSystemBlackOilReservoir.hpp:307 static constexpr bool has_polymer_ Definition: NonlinearSystemBlackOilReservoir.hpp:293 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:580 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:955 static constexpr unsigned foamConcentrationIdx Definition: NonlinearSystemBlackOilReservoir.hpp:102 static constexpr int contiMicrobialEqIdx Definition: NonlinearSystemBlackOilReservoir.hpp:92 static constexpr int contiUreaEqIdx Definition: NonlinearSystemBlackOilReservoir.hpp:94 const SimulatorReport & localAccumulatedReports() const return the statistics of local solves accumulated for this rank Definition: NonlinearSystemBlackOilReservoir_impl.hpp:1037 static constexpr bool has_bioeffects_ Definition: NonlinearSystemBlackOilReservoir.hpp:298 static constexpr unsigned polymerMoleWeightIdx Definition: NonlinearSystemBlackOilReservoir.hpp:100 SimulatorReportSingle nonlinearIteration(const SimulatorTimerInterface &timer, NonlinearSolverType &nonlinear_solver) Definition: NonlinearSystemBlackOilReservoir_impl.hpp:203 GetPropType< TypeTag, Properties::SparseMatrixAdapter > SparseMatrixAdapter Definition: NonlinearSystemBlackOilReservoir.hpp:71 static constexpr unsigned biofilmVolumeFractionIdx Definition: NonlinearSystemBlackOilReservoir.hpp:107 static constexpr bool has_solvent_ Definition: NonlinearSystemBlackOilReservoir.hpp:291 typename ParentType::GlobalEqVector GlobalEqVector Definition: NonlinearSystemBlackOilReservoir.hpp:79 MaxSolutionUpdateData getMaxSolutionUpdate(const std::vector< unsigned > &ixCells) Definition: NonlinearSystemBlackOilReservoir_impl.hpp:507 const std::vector< SimulatorReport > & domainAccumulatedReports() const return the statistics of local solves accumulated for each domain on this rank Definition: NonlinearSystemBlackOilReservoir_impl.hpp:1048 static constexpr unsigned polymerConcentrationIdx Definition: NonlinearSystemBlackOilReservoir.hpp:99 static constexpr bool has_brine_ Definition: NonlinearSystemBlackOilReservoir.hpp:297 bool shouldStoreSolutionUpdate() const override Get solution update vector as a PrimaryVariable. Definition: NonlinearSystemBlackOilReservoir_impl.hpp:458 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:712 static constexpr unsigned temperatureIdx Definition: NonlinearSystemBlackOilReservoir.hpp:101 static constexpr unsigned solventSaturationIdx Definition: NonlinearSystemBlackOilReservoir.hpp:97 Dune::BlockVector< VectorBlockType > BVector Definition: NonlinearSystemBlackOilReservoir.hpp:113 static constexpr int contiBrineEqIdx Definition: NonlinearSystemBlackOilReservoir.hpp:91 Dune::FieldVector< Scalar, numEq > VectorBlockType Definition: NonlinearSystemBlackOilReservoir.hpp:110 std::unique_ptr< NonlinearSystemNldd< TypeTag > > nlddSolver_ Non-linear DD solver. Definition: NonlinearSystemBlackOilReservoir.hpp:306 static constexpr bool has_extbo_ Definition: NonlinearSystemBlackOilReservoir.hpp:292 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:631 static constexpr unsigned oxygenConcentrationIdx Definition: NonlinearSystemBlackOilReservoir.hpp:105 GetPropType< TypeTag, Properties::SolutionVector > SolutionVector Definition: NonlinearSystemBlackOilReservoir.hpp:72 ConvergenceReport getConvergence(const SimulatorTimerInterface &timer, const int maxIter, std::vector< Scalar > &residual_norms) Definition: NonlinearSystemBlackOilReservoir_impl.hpp:1001 static constexpr bool has_polymermw_ Definition: NonlinearSystemBlackOilReservoir.hpp:294 static constexpr int contiPolymerMWEqIdx Definition: NonlinearSystemBlackOilReservoir.hpp:89 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:1058 Scalar relativeChange() const Definition: NonlinearSystemBlackOilReservoir_impl.hpp:311 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:249 long int global_nc_ The number of cells of the global grid. Definition: NonlinearSystemBlackOilReservoir.hpp:302 static constexpr bool enableSaltPrecipitation Definition: NonlinearSystemBlackOilReservoir.hpp:82 DebugFlags Definition: NonlinearSystemBlackOilReservoir.hpp:131 static constexpr unsigned ureaConcentrationIdx Definition: NonlinearSystemBlackOilReservoir.hpp:106 bool hasNlddSolver() const Returns true if an NLDD solver exists. Definition: NonlinearSystemBlackOilReservoir.hpp:286 void initialLinearization(SimulatorReportSingle &report, const int minIter, const int maxIter, const SimulatorTimerInterface &timer) override Definition: NonlinearSystemBlackOilReservoir_impl.hpp:156 static constexpr unsigned microbialConcentrationIdx Definition: NonlinearSystemBlackOilReservoir.hpp:104 const EclipseState & eclState() const Definition: NonlinearSystemBlackOilReservoir.hpp:151 static constexpr unsigned zFractionIdx Definition: NonlinearSystemBlackOilReservoir.hpp:98 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:1095 static constexpr bool has_energy_ Definition: NonlinearSystemBlackOilReservoir.hpp:295 static constexpr int contiOxygenEqIdx Definition: NonlinearSystemBlackOilReservoir.hpp:93 static constexpr int contiCalciteEqIdx Definition: NonlinearSystemBlackOilReservoir.hpp:96 void solveJacobianSystem(BVector &x) Definition: NonlinearSystemBlackOilReservoir_impl.hpp:398 SimulatorReportSingle nonlinearIterationNewton(const SimulatorTimerInterface &timer, NonlinearSolverType &nonlinear_solver) Definition: NonlinearSystemBlackOilReservoir_impl.hpp:237 double & linearSolveSetupTime() Definition: NonlinearSystemBlackOilReservoir.hpp:186 void writePartitions(const std::filesystem::path &odir) const Definition: NonlinearSystemBlackOilReservoir_impl.hpp:1068 static constexpr int contiPolymerEqIdx Definition: NonlinearSystemBlackOilReservoir.hpp:87 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:171 Manages the initializing and running of time dependent problems. Definition: simulator.hh:84 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:201 Scalar max_residual_allowed_ Absolute max limit for residuals. Definition: BlackoilModelParameters.hpp:214 Definition: NonlinearSystemBlackOilReservoir.hpp:118 std::vector< unsigned > ixCells Definition: NonlinearSystemBlackOilReservoir.hpp:120 std::pair< std::vector< double >, std::vector< int > > cnvPvSplit Definition: NonlinearSystemBlackOilReservoir.hpp:119 Definition: NonlinearSystemBlackOilReservoir.hpp:123 Scalar dRsMax Definition: NonlinearSystemBlackOilReservoir.hpp:126 Scalar dPMax Definition: NonlinearSystemBlackOilReservoir.hpp:124 Scalar dSMax Definition: NonlinearSystemBlackOilReservoir.hpp:125 Scalar dRvMax Definition: NonlinearSystemBlackOilReservoir.hpp:127 Definition: SimulatorReport.hpp:122 A struct for returning timing data from a simulator to its caller. Definition: SimulatorReport.hpp:34 |