Go to the documentation of this file.
21 #ifndef OPM_IMPESTPFAAD_HEADER_INCLUDED
22 #define OPM_IMPESTPFAAD_HEADER_INCLUDED
28 struct UnstructuredGrid;
34 class LinearSolverInterface;
51 const LinearSolverInterface& linsolver);
57 void solve( const double dt,
59 WellState& well_state);
69 typedef Eigen::Array<double,
72 Eigen::RowMajor> DataBlock;
78 const UnstructuredGrid& grid_;
82 const LinearSolverInterface& linsolver_;
86 std::vector<ADB> well_flow_residual_;
90 std::vector<V> well_kr_;
95 void computeExplicitData( const double dt,
96 const BlackoilState& state,
97 const WellState& well_state);
98 void assemble( const double dt,
99 const BlackoilState& state,
100 const WellState& well_state);
101 void solveJacobianSystem(BlackoilState& state,
102 WellState& well_state) const;
103 double residualNorm() const;
104 void computeFluxes(BlackoilState& state, WellState& well_state) const;
107 V fluidMu( const int phase, const V& p, const V& T, const std::vector<int>& cells) const;
108 ADB fluidMu( const int phase, const ADB& p, const ADB& T, const std::vector<int>& cells) const;
109 V fluidFvf( const int phase, const V& p, const V& T, const std::vector<int>& cells) const;
110 ADB fluidFvf( const int phase, const ADB& p, const ADB& T, const std::vector<int>& cells) const;
111 V fluidRho( const int phase, const V& p, const V& T, const std::vector<int>& cells) const;
112 ADB fluidRho( const int phase, const ADB& p, const ADB& T, const std::vector<int>& cells) const;
113 std::vector<V> fluidRelperm( const V& sw, const V& so, const V& sg, const std::vector<int>& cells) const;
114 V fluidKr( const int phase) const;
115 V fluidKrWell( const int phase) const;
Definition: GeoProps.hpp:53
Definition: BlackoilPropsAdInterface.hpp:38
Definition: BlackoilPropsAdInterface.hpp:81
Eigen::Array< Scalar, Eigen::Dynamic, 1 > V Underlying type for values. Definition: AutoDiffBlock.hpp:98
Definition: AdditionalObjectDeleter.hpp:22
Definition: BlackoilPropsAdInterface.hpp:81
Definition: BlackoilPropsAdInterface.hpp:82
void solve(const double dt, BlackoilState &state, WellState &well_state)
Definition: AutoDiffMatrix.hpp:43
ImpesTPFAAD(const UnstructuredGrid &grid, const BlackoilPropsAdInterface &fluid, const DerivedGeology &geo, const Wells &wells, const LinearSolverInterface &linsolver) Construct impes solver.
Definition: AutoDiffHelpers.hpp:40
Definition: ImpesTPFAAD.hpp:43
|