Skip to content
Snippets Groups Projects
Commit 99bb69eb authored by Kilian Weishaupt's avatar Kilian Weishaupt
Browse files

[navierstokesnc][fluxvariables] Fix docu

parent b96557c4
No related branches found
No related tags found
2 merge requests!695Doc/freeflow,!617[WIP] Next
...@@ -16,16 +16,15 @@ ...@@ -16,16 +16,15 @@
* You should have received a copy of the GNU General Public License * * You should have received a copy of the GNU General Public License *
* along with this program. If not, see <http://www.gnu.org/licenses/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
*****************************************************************************/ *****************************************************************************/
/*! /*!
* \file * \file
* \brief Base class for the flux variables * \ingroup NavierStokesNCModel
*/ * \copydoc Dumux::NavierStokesNCFluxVariables
*/
#ifndef DUMUX_FREELOW_IMPLICIT_NC_FLUXVARIABLES_HH #ifndef DUMUX_FREELOW_IMPLICIT_NC_FLUXVARIABLES_HH
#define DUMUX_FREELOW_IMPLICIT_NC_FLUXVARIABLES_HH #define DUMUX_FREELOW_IMPLICIT_NC_FLUXVARIABLES_HH
#include <dumux/common/properties.hh> #include <dumux/common/properties.hh>
#include <dumux/discretization/fluxvariablesbase.hh>
#include <dumux/freeflow/navierstokes/fluxvariables.hh>
#include <dumux/freeflow/navierstokesnc/staggered/fluxvariables.hh> #include <dumux/freeflow/navierstokesnc/staggered/fluxvariables.hh>
namespace Dumux namespace Dumux
...@@ -37,9 +36,10 @@ template<class TypeTag, DiscretizationMethods Method> ...@@ -37,9 +36,10 @@ template<class TypeTag, DiscretizationMethods Method>
class NavierStokesNCFluxVariablesImpl; class NavierStokesNCFluxVariablesImpl;
/*! /*!
* \ingroup ImplicitModel * \ingroup NavierStokesNCModel
* \brief The flux variables class * \brief The flux variables class for the multi-componentNavier-Stokes model.
* specializations are provided for combinations of physical processes This is a convenience alias for that actual,
discretization-specific flux variables.
* \note Not all specializations are currently implemented * \note Not all specializations are currently implemented
*/ */
template<class TypeTag> template<class TypeTag>
......
...@@ -16,16 +16,18 @@ ...@@ -16,16 +16,18 @@
* You should have received a copy of the GNU General Public License * * You should have received a copy of the GNU General Public License *
* along with this program. If not, see <http://www.gnu.org/licenses/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
*****************************************************************************/ *****************************************************************************/
/*! /*!
* \file * \file
* \brief Base class for the flux variables * \ingroup NavierStokesNCModel
*/ * \copydoc Dumux::NavierStokesNCFluxVariablesImpl
*/
#ifndef DUMUX_NAVIERSTOKES_NC_STAGGERED_FLUXVARIABLES_HH #ifndef DUMUX_NAVIERSTOKES_NC_STAGGERED_FLUXVARIABLES_HH
#define DUMUX_NAVIERSTOKES_NC_STAGGERED_FLUXVARIABLES_HH #define DUMUX_NAVIERSTOKES_NC_STAGGERED_FLUXVARIABLES_HH
#include <dumux/common/properties.hh> #include <dumux/common/properties.hh>
#include <dumux/discretization/fluxvariablesbase.hh> #include <dumux/discretization/fluxvariablesbase.hh>
#include <dumux/discretization/methods.hh> #include <dumux/discretization/methods.hh>
#include <dumux/freeflow/navierstokes/staggered/fluxvariables.hh>
namespace Dumux namespace Dumux
{ {
...@@ -35,11 +37,9 @@ template<class TypeTag, DiscretizationMethods Method> ...@@ -35,11 +37,9 @@ template<class TypeTag, DiscretizationMethods Method>
class NavierStokesNCFluxVariablesImpl; class NavierStokesNCFluxVariablesImpl;
/*! /*!
* \ingroup Discretization * \ingroup NavierStokesNCModel
* \brief Base class for the flux variables * \brief The flux variables class for the multi-component Navier-Stokes model using the staggered grid discretization.
* Actual flux variables inherit from this class
*/ */
// specialization for immiscible, isothermal flow
template<class TypeTag> template<class TypeTag>
class NavierStokesNCFluxVariablesImpl<TypeTag, DiscretizationMethods::Staggered> class NavierStokesNCFluxVariablesImpl<TypeTag, DiscretizationMethods::Staggered>
: public NavierStokesFluxVariables<TypeTag> : public NavierStokesFluxVariables<TypeTag>
...@@ -61,7 +61,7 @@ class NavierStokesNCFluxVariablesImpl<TypeTag, DiscretizationMethods::Staggered> ...@@ -61,7 +61,7 @@ class NavierStokesNCFluxVariablesImpl<TypeTag, DiscretizationMethods::Staggered>
static constexpr bool useMoles = GET_PROP_VALUE(TypeTag, UseMoles); static constexpr bool useMoles = GET_PROP_VALUE(TypeTag, UseMoles);
//! The index of the component balance equation that gets replaced with the total mass balance // The index of the component balance equation that gets replaced with the total mass balance
static const int replaceCompEqIdx = GET_PROP_VALUE(TypeTag, ReplaceCompEqIdx); static const int replaceCompEqIdx = GET_PROP_VALUE(TypeTag, ReplaceCompEqIdx);
static const int phaseIdx = GET_PROP_VALUE(TypeTag, PhaseIdx); static const int phaseIdx = GET_PROP_VALUE(TypeTag, PhaseIdx);
...@@ -71,6 +71,9 @@ class NavierStokesNCFluxVariablesImpl<TypeTag, DiscretizationMethods::Staggered> ...@@ -71,6 +71,9 @@ class NavierStokesNCFluxVariablesImpl<TypeTag, DiscretizationMethods::Staggered>
public: public:
/*!
* \brief Computes the flux for the cell center residual.
*/
CellCenterPrimaryVariables computeFluxForCellCenter(const Problem& problem, CellCenterPrimaryVariables computeFluxForCellCenter(const Problem& problem,
const Element &element, const Element &element,
const FVElementGeometry& fvGeometry, const FVElementGeometry& fvGeometry,
......
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