version 3.11-dev
Loading...
Searching...
No Matches
boussinesqdarcyslaw.hh
Go to the documentation of this file.
1// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2// vi: set et ts=4 sw=4 sts=4:
3//
4// SPDX-FileCopyrightText: Copyright © DuMux Project contributors, see AUTHORS.md in root folder
5// SPDX-License-Identifier: GPL-3.0-or-later
6//
12#ifndef DUMUX_FLUX_CVFE_BOUSSINESQ_DARCYS_LAW_HH
13#define DUMUX_FLUX_CVFE_BOUSSINESQ_DARCYS_LAW_HH
14
16
17namespace Dumux {
18
31{
32 template<class Problem, class VolumeVariables>
33 static auto density(const Problem& problem, const VolumeVariables& volVars, int phaseIdx)
34 { return volVars.density(phaseIdx) + problem.buoyantDensity(volVars, phaseIdx); }
35};
36
44template<class Scalar, class GridGeometry>
46
47} // end namespace Dumux
48
49#endif
Darcy's law for control-volume finite element schemes.
Definition flux/cvfe/darcyslaw.hh:39
Specialization of Darcy's Law for control-volume finite element schemes.
CVFEDarcysLaw< Scalar, GridGeometry, BoussinesqGravityTermDensity > CVFEBoussinesqDarcysLaw
Darcy's law with the Boussinesq approximation for control-volume finite element schemes.
Definition boussinesqdarcyslaw.hh:45
Definition adapt.hh:17
Density in the gravity term of Darcy's law with the Boussinesq approximation.
Definition boussinesqdarcyslaw.hh:31
static auto density(const Problem &problem, const VolumeVariables &volVars, int phaseIdx)
Definition boussinesqdarcyslaw.hh:33