Adaption of the fully implicit scheme to the two-phase n-component fully implicit model. More...
#include <dune/common/fvector.hh>
#include <dumux/common/properties.hh>
#include <dumux/material/fluidmatrixinteractions/diffusivitymillingtonquirk.hh>
#include <dumux/material/fluidmatrixinteractions/2p/thermalconductivity/somerton.hh>
#include <dumux/porousmediumflow/properties.hh>
#include <dumux/porousmediumflow/compositional/localresidual.hh>
#include <dumux/porousmediumflow/compositional/switchableprimaryvariables.hh>
#include <dumux/porousmediumflow/nonisothermal/model.hh>
#include <dumux/porousmediumflow/nonisothermal/indices.hh>
#include <dumux/porousmediumflow/nonisothermal/iofields.hh>
#include <dumux/porousmediumflow/2p/formulation.hh>
#include "volumevariables.hh"
#include "iofields.hh"
#include "indices.hh"
Go to the source code of this file.
This model implements two-phase n-component flow of two compressible and partially miscible fluids
By inserting Darcy's law into the equations for the conservation of the components, one gets one transport equation for each component,
where:
The solid or mineral phases are assumed to consist of a single component. Their mass balance consists of only a storage and a source term,
where:
By using constitutive relations for the capillary pressure
The used primary variables are, like in the two-phase model, either Formulation
property to either TwoPTwoCIndices::pwsn or TwoPTwoCIndices::pnsw. By default, the model uses
Moreover, the second primary variable depends on the phase state, since a primary variable switch is included. The phase state is stored for all nodes of the system. The model is uses mole fractions. Following cases can be distinguished:
Formulation
), as long as For the other components, the mole fraction
Namespaces | |
namespace | Dumux |
namespace | Dumux::Properties |
The energy balance equation for a porous solid. | |
namespace | Dumux::Properties::TTag |
Type tag for numeric models. | |