From 9763b4043e4062f6b454885659304802146f538e Mon Sep 17 00:00:00 2001 From: Katharina Heck <katharina.heck@iws.uni-stuttgart.de> Date: Tue, 6 Nov 2018 14:49:08 +0100 Subject: [PATCH] [material] add new 1p interfacial area law instead of hard coding that in localresidual --- .../1pia/CMakeLists.txt | 3 ++ .../1pia/fluidsolidinterfacialareashiwang.hh | 51 +++++++++++++++++++ .../fluidmatrixinteractions/CMakeLists.txt | 1 + 3 files changed, 55 insertions(+) create mode 100644 dumux/material/fluidmatrixinteractions/1pia/CMakeLists.txt create mode 100644 dumux/material/fluidmatrixinteractions/1pia/fluidsolidinterfacialareashiwang.hh diff --git a/dumux/material/fluidmatrixinteractions/1pia/CMakeLists.txt b/dumux/material/fluidmatrixinteractions/1pia/CMakeLists.txt new file mode 100644 index 0000000000..f531c299e6 --- /dev/null +++ b/dumux/material/fluidmatrixinteractions/1pia/CMakeLists.txt @@ -0,0 +1,3 @@ +install(FILES +fluidsolidinterfacialareashiwang.hh +DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/fluidmatrixinteractions/1pia) diff --git a/dumux/material/fluidmatrixinteractions/1pia/fluidsolidinterfacialareashiwang.hh b/dumux/material/fluidmatrixinteractions/1pia/fluidsolidinterfacialareashiwang.hh new file mode 100644 index 0000000000..6b0da034c2 --- /dev/null +++ b/dumux/material/fluidmatrixinteractions/1pia/fluidsolidinterfacialareashiwang.hh @@ -0,0 +1,51 @@ +// -*- 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 2 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 Fluidmatrixinteractions + * \brief Description of a interfacial area between solid and fluid phase + */ +#ifndef FLUIDSOLID_INTERFACIALAREA_SHI_WANG_HH +#define FLUIDSOLID_INTERFACIALAREA_SHI_WANG_HH + +#include <algorithm> + + +namespace Dumux +{ +/*! + * \ingroup Fluidmatrixinteractions + * \brief Relation for a simple effective thermal conductivity + */ +template<class Scalar> +class FluidSolidInterfacialAreaShiWang +{ +public: + /*! + * \brief Relation for the interfacial area between a fluid and a solid phase + * after Shi & Wang, Transport in porous media (2011) + * + * \return interfacial area + */ + static Scalar fluidSolidInterfacialArea(const Scalar porosity, + const Scalar characteristicLength) + { return 6*(1-porosity)/characteristicLength; } +}; +} +#endif diff --git a/dumux/material/fluidmatrixinteractions/CMakeLists.txt b/dumux/material/fluidmatrixinteractions/CMakeLists.txt index 49de0b5b04..9e1fe9ded7 100644 --- a/dumux/material/fluidmatrixinteractions/CMakeLists.txt +++ b/dumux/material/fluidmatrixinteractions/CMakeLists.txt @@ -1,4 +1,5 @@ add_subdirectory(1p) +add_subdirectory(1pia) add_subdirectory(2p) add_subdirectory(2pia) add_subdirectory(3p) -- GitLab