Commit 017e443b authored by Yue Wang's avatar Yue Wang Committed by Timo Koch
Browse files

[el2p] reuse CO2 table

parent f51406bd
Pipeline #16505 passed with stages
// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
// vi: set et ts=4 sw=4 sts=4:
/*****************************************************************************
* See the file COPYING for full copying permissions. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation, either version 3 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
*****************************************************************************/
/*!
* \file
* \ingroup PoromechanicsTests
* \brief Provides the class with the tabulated values of CO2
*/
#ifndef DUMUX_EL2P_CO2TABLES_HH
#define DUMUX_EL2P_CO2TABLES_HH
#include <cassert>
#include <dumux/material/components/co2tablereader.hh>
namespace Dumux {
namespace El2P {
// Class providing the tabulated values of CO2 for density and enthalpy
// the real work is done by some external program which provides
// ready-to-use tables.
#ifndef DOXYGEN // hide tables from doxygen
#include "co2values.inc"
#endif
} // end namespace El2P
} // end namespace Dumux
#endif
This diff is collapsed.
......@@ -46,7 +46,7 @@
#include "problem_2p.hh"
#include "problem_poroelastic.hh"
#include "co2tables_el2p.hh"
#include "test/porousmediumflow/co2/co2tables.hh"
namespace Dumux::Properties {
......@@ -60,7 +60,7 @@ template<class TypeTag>
struct FluidSystem<TypeTag, TTag::TwoPSub>
{
using Scalar = GetPropType<TypeTag, Properties::Scalar>;
using type = FluidSystems::BrineCO2<Scalar, El2P::CO2Tables>;
using type = FluidSystems::BrineCO2<Scalar, GeneratedCO2Tables::CO2Tables>;
};
// Set the grid type
......@@ -95,7 +95,7 @@ template<class TypeTag>
struct FluidSystem<TypeTag, TTag::PoroElasticSub>
{
using Scalar = GetPropType<TypeTag, Properties::Scalar>;
using type = FluidSystems::BrineCO2<Scalar, El2P::CO2Tables>;
using type = FluidSystems::BrineCO2<Scalar, GeneratedCO2Tables::CO2Tables>;
};
// The spatial parameters property
......
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