pvsmodel.hh File Reference #include <opm/common/Exceptions.hpp> #include <opm/material/densead/Math.hpp> #include <opm/material/fluidmatrixinteractions/MaterialTraits.hpp> #include <opm/material/fluidmatrixinteractions/NullMaterial.hpp> #include <opm/models/common/diffusionmodule.hh> #include <opm/models/common/energymodule.hh> #include <opm/models/common/multiphasebasemodel.hh> #include <opm/models/io/vtkcompositionmodule.hh> #include <opm/models/io/vtkenergymodule.hh> #include <opm/models/io/vtkdiffusionmodule.hh> #include <opm/models/pvs/pvsboundaryratevector.hh> #include <opm/models/pvs/pvsextensivequantities.hh> #include <opm/models/pvs/pvsindices.hh> #include <opm/models/pvs/pvsintensivequantities.hh> #include <opm/models/pvs/pvslocalresidual.hh> #include <opm/models/pvs/pvsnewtonmethod.hh> #include <opm/models/pvs/pvsprimaryvariables.hh> #include <opm/models/pvs/pvsproperties.hh> #include <opm/models/pvs/pvsratevector.hh> #include <iostream> #include <sstream> #include <string> #include <vector>
Include dependency graph for pvsmodel.hh:
![]() Go to the source code of this file.
Detailed DescriptionA generic compositional multi-phase model using primary-variable switching. This model assumes a flow of By default, the standard multi-phase Darcy approach is used to determine the velocity, i.e.
although the actual approach which is used can be specified via the template<class TypeTag>
struct FluxModule<TypeTag, TTag::MyProblemTypeTag> { using type = Opm::ForchheimerFluxModule<TypeTag>; };
Specifies a flux module which uses the Forchheimer relation. Definition: forchheimerfluxmodule.hh:62 The core of the model is the conservation mass of each component by means of the equation
To close the system mathematically,
To make this approach applicable, a pseudo primary variable phase presence has to be introduced. Its purpose is to specify for each phase whether it is present or not. It is a pseudo primary variable because it is not directly considered when linearizing the system in the Newton method, but after each Newton iteration, it gets updated like the "real" primary variables. The following rules are used for this update procedure:
The model always requires
|
||||||||||||||||||||