Commit c58b5e0f authored by Bernd Flemisch's avatar Bernd Flemisch
Browse files

[co2ni] need to set the isothermal model

If the CO2NI model is used, the the properties IsothermalModel and
IsothermalVolumeVariables have to be set in the corresponding problem
file.



git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@13294 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 1567e68f
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include <dune/grid/io/file/dgfparser/dgfs.hh> #include <dune/grid/io/file/dgfparser/dgfs.hh>
#include <dumux/implicit/2p2c/2p2cmodel.hh> #include <dumux/implicit/2p2c/2p2cmodel.hh>
#include <dumux/implicit/co2/co2volumevariables.hh> #include <dumux/implicit/co2/co2volumevariables.hh>
#include <dumux/implicit/co2/co2model.hh>
#include <dumux/material/fluidsystems/brineco2fluidsystem.hh> #include <dumux/material/fluidsystems/brineco2fluidsystem.hh>
#include <dumux/implicit/common/implicitporousmediaproblem.hh> #include <dumux/implicit/common/implicitporousmediaproblem.hh>
#include <dumux/implicit/box/intersectiontovertexbc.hh> #include <dumux/implicit/box/intersectiontovertexbc.hh>
...@@ -81,6 +82,7 @@ SET_SCALAR_PROP(HeterogeneousNIProblem, ProblemSalinity, 1e-1); ...@@ -81,6 +82,7 @@ SET_SCALAR_PROP(HeterogeneousNIProblem, ProblemSalinity, 1e-1);
//! the CO2 Model and VolumeVariables properties //! the CO2 Model and VolumeVariables properties
SET_TYPE_PROP(HeterogeneousNIProblem, IsothermalVolumeVariables, CO2VolumeVariables<TypeTag>); SET_TYPE_PROP(HeterogeneousNIProblem, IsothermalVolumeVariables, CO2VolumeVariables<TypeTag>);
SET_TYPE_PROP(HeterogeneousNIProblem, IsothermalModel, CO2Model<TypeTag>);
// Use Moles // Use Moles
SET_BOOL_PROP(HeterogeneousNIProblem, UseMoles, false); SET_BOOL_PROP(HeterogeneousNIProblem, UseMoles, false);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment