Skip to content
Snippets Groups Projects
Commit 5c2709d1 authored by Benjamin Faigle's avatar Benjamin Faigle
Browse files

prepare defaultcomponents to work with brine_co2_system

introduce new property for elaborate version to calculate fluid properties

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@6374 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 6d3e1417
No related branches found
No related tags found
No related merge requests found
......@@ -54,6 +54,7 @@ NEW_PROP_TAG(DefaultComponents);
//! system
NEW_PROP_TAG(Components);
NEW_PROP_TAG(EnableComplicatedFluidSystem);
NEW_PROP_TAG(Scalar);
SET_PROP_DEFAULT(DefaultComponents)
......@@ -69,7 +70,7 @@ public:
typedef Dumux::CH4<Scalar> CH4;
typedef Dumux::SimpleCO2<Scalar> SimpleCO2;
typedef Dumux::SimpleH2O<Scalar> SimpleH2O;
typedef Dumux::Brine<Scalar, H2O> Brine;
typedef Dumux::TabulatedComponent<Scalar, Dumux::Brine<Scalar, H2O>> Brine;
static void init()
{
......@@ -86,6 +87,19 @@ SET_PROP_DEFAULT(Components)
: public GET_PROP(TypeTag, PTAG(DefaultComponents))
{};
//! Enables detailed description of fluidsystems
/*
* Complicated but detailed members of fluidsystems (e.g. phase viscosity,
* phase density) can be simplified for efficiency reasons with this property.
* Typically, such high demands on accuracy are not needed, so this property
* is set to "false" as the default.
*
* To enable it, use
* SET_BOOL_PROP(MyTypeTag, EnableComplicatedFluidSystem, true);
*/
SET_PROP_DEFAULT(EnableComplicatedFluidSystem)
{ static const bool value = false;};
}; // namespace Properties
}; // namespace Dumux
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment