WellFilterCake.hpp
Go to the documentation of this file.
1/*
2 Copyright 2023 Equinor
3
4 This file is part of the Open Porous Media project (OPM).
5
6 OPM is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10
11 OPM is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with OPM. If not, see <http://www.gnu.org/licenses/>.
18*/
19
20#ifndef OPM_WELL_FILTER_CAKE_HEADER_INCLUDED
21#define OPM_WELL_FILTER_CAKE_HEADER_INCLUDED
22
23#include <cstddef>
24#include <vector>
25
26namespace Opm {
27
28class DeferredLogger;
29class WellInterfaceGeneric;
30template<class Scalar> class WellState;
31
33template<class Scalar>
35public:
39 const double dt,
40 const Scalar conc,
41 const std::size_t water_index,
42 WellState<Scalar>& well_state);
43
46 WellState<Scalar>& well_state,
47 DeferredLogger& deferred_logger);
48
50 const std::vector<Scalar>& multipliers() const
51 {
52 return inj_fc_multiplier_;
53 }
54
55private:
56 std::vector<Scalar> filtration_particle_volume_;
57 std::vector<Scalar> inj_fc_multiplier_;
58};
59
60}
61
62#endif // OPM_WELL_FILTER_CAKE_HEADER_INCLUDED
Definition: DeferredLogger.hpp:57
Class for well calculations related to filter cakes.
Definition: WellFilterCake.hpp:34
void updateInjFCMult(const WellInterfaceGeneric &well, WellState< Scalar > &well_state, DeferredLogger &deferred_logger)
Update the multiplier for well transmissbility due to cake filtration.
const std::vector< Scalar > & multipliers() const
Returns a const-ref to multipliers.
Definition: WellFilterCake.hpp:50
void updateFiltrationParticleVolume(const WellInterfaceGeneric &well, const double dt, const Scalar conc, const std::size_t water_index, WellState< Scalar > &well_state)
Update the water injection volume.
Definition: WellInterfaceGeneric.hpp:50
Definition: WellState.hpp:62
Definition: BlackoilPhases.hpp:27