// -*- 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 . *
*****************************************************************************/
/*!
* \file
* \ingroup RANSTests
* \brief Pipe flow test for the staggered grid RANS model
*
* This test simulates pipe flow experiments performed by John Laufer in 1954
* \cite Laufer1954a.
*/
#ifndef DUMUX_PIPE_LAUFER_PROPERTIES_HH
#define DUMUX_PIPE_LAUFER_PROPERTIES_HH
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include "problem.hh"
namespace Dumux::Properties {
// Create new type tags
namespace TTag {
// Base Typetag
struct RANSModel { using InheritsFrom = std::tuple; };
// Isothermal Typetags
struct PipeLauferZeroEq { using InheritsFrom = std::tuple; };
struct PipeLauferOneEq { using InheritsFrom = std::tuple; };
struct PipeLauferKOmega { using InheritsFrom = std::tuple; };
struct PipeLauferLowReKEpsilon { using InheritsFrom = std::tuple; };
struct PipeLauferKEpsilon { using InheritsFrom = std::tuple; };
struct PipeLauferKOmegaSST { using InheritsFrom = std::tuple; };
// Non-Isothermal Typetags
struct PipeLauferNIZeroEq { using InheritsFrom = std::tuple; };
struct PipeLauferNIOneEq { using InheritsFrom = std::tuple; };
struct PipeLauferNIKOmega { using InheritsFrom = std::tuple; };
struct PipeLauferNILowReKEpsilon { using InheritsFrom = std::tuple; };
struct PipeLauferNIKEpsilon { using InheritsFrom = std::tuple; };
struct PipeLauferNIKOmegaSST { using InheritsFrom = std::tuple; };
} // end namespace TTag
// the fluid system
template
struct FluidSystem
{
using Scalar = GetPropType;
using type = FluidSystems::OnePGas >;
};
// Set the grid type
template
struct Grid
{ using type = Dune::YaspGrid<2, Dune::TensorProductCoordinates, 2> >; };
// Set the problem property
template
struct Problem
{ using type = Dumux::PipeLauferProblem; };
template
struct EnableGridGeometryCache { static constexpr bool value = true; };
template
struct EnableGridFluxVariablesCache { static constexpr bool value = true; };
template
struct EnableGridVolumeVariablesCache { static constexpr bool value = true; };
} // end namespace Dumux::Properties
#endif