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

[navierstokesnc][localres] Fix docu

parent 85323619
No related branches found
No related tags found
2 merge requests!695Doc/freeflow,!617[WIP] Next
...@@ -16,10 +16,11 @@ ...@@ -16,10 +16,11 @@
* 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 Calculates the residual of models based on the box scheme element-wise. * \ingroup NavierStokesNCModel
*/ * \copydoc Dumux::NavierStokesNCResidual
*/
#ifndef DUMUX_NAVIERSTOKES_NC_LOCAL_RESIDUAL_HH #ifndef DUMUX_NAVIERSTOKES_NC_LOCAL_RESIDUAL_HH
#define DUMUX_NAVIERSTOKES_NC_LOCAL_RESIDUAL_HH #define DUMUX_NAVIERSTOKES_NC_LOCAL_RESIDUAL_HH
...@@ -31,15 +32,17 @@ ...@@ -31,15 +32,17 @@
namespace Dumux namespace Dumux
{ {
/*! // forward declaration
*
* \todo Please doc me more!
*/
// // forward declaration
template<class TypeTag, DiscretizationMethods Method> template<class TypeTag, DiscretizationMethods Method>
class NavierStokesNCResidualImpl; class NavierStokesNCResidualImpl;
/*!
* \ingroup NavierStokesNCModel
* \brief The local residual class for the Navier-Stokes multi-component model (balance equations).
This is a convenience alias for the actual,
discretization-specific local residual.
* \note Not all specializations are currently implemented
*/
template<class TypeTag> template<class TypeTag>
using NavierStokesNCResidual = NavierStokesNCResidualImpl<TypeTag, GET_PROP_VALUE(TypeTag, DiscretizationMethod)>; using NavierStokesNCResidual = NavierStokesNCResidualImpl<TypeTag, GET_PROP_VALUE(TypeTag, DiscretizationMethod)>;
......
...@@ -16,10 +16,11 @@ ...@@ -16,10 +16,11 @@
* 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 Element-wise calculation of the residual NavierStokesNC models using the staggered discretization * \ingroup NavierStokesNCModel
*/ * \copydoc Dumux::NavierStokesNCResidualImpl
*/
#ifndef DUMUX_STAGGERED_NAVIERSTOKES_NC_LOCAL_RESIDUAL_HH #ifndef DUMUX_STAGGERED_NAVIERSTOKES_NC_LOCAL_RESIDUAL_HH
#define DUMUX_STAGGERED_NAVIERSTOKES_NC_LOCAL_RESIDUAL_HH #define DUMUX_STAGGERED_NAVIERSTOKES_NC_LOCAL_RESIDUAL_HH
...@@ -30,17 +31,14 @@ ...@@ -30,17 +31,14 @@
namespace Dumux namespace Dumux
{ {
/*! // forward declaration
*
* \todo Please doc me more!
*/
// // forward declaration
template<class TypeTag, DiscretizationMethods Method> template<class TypeTag, DiscretizationMethods Method>
class NavierStokesNCResidualImpl; class NavierStokesNCResidualImpl;
// specialization for miscible, isothermal flow /*!
* \ingroup NavierStokesNCModel
* \brief Element-wise calculation of the multi-component Navier-Stokes residual for models using the staggered discretization
*/
template<class TypeTag> template<class TypeTag>
class NavierStokesNCResidualImpl<TypeTag, DiscretizationMethods::Staggered> : public NavierStokesResidual<TypeTag> class NavierStokesNCResidualImpl<TypeTag, DiscretizationMethods::Staggered> : public NavierStokesResidual<TypeTag>
{ {
...@@ -78,16 +76,7 @@ class NavierStokesNCResidualImpl<TypeTag, DiscretizationMethods::Staggered> : pu ...@@ -78,16 +76,7 @@ class NavierStokesNCResidualImpl<TypeTag, DiscretizationMethods::Staggered> : pu
public: public:
using ParentType::ParentType; using ParentType::ParentType;
/*! //! Evaluate fluxes entering or leaving the cell center control volume.
* \brief Evaluate the rate of change of all conservation
* quantites (e.g. phase mass) within a sub-control
* volume of a finite volume element for the immiscible models.
* \param scv The sub control volume
* \param volVars The current or previous volVars
* \note This function should not include the source and sink terms.
* \note The volVars can be different to allow computing
* the implicit euler time derivative here
*/
CellCenterPrimaryVariables computeStorageForCellCenter(const Problem& problem, CellCenterPrimaryVariables computeStorageForCellCenter(const Problem& problem,
const SubControlVolume& scv, const SubControlVolume& scv,
const VolumeVariables& volVars) const const VolumeVariables& volVars) const
...@@ -127,10 +116,6 @@ protected: ...@@ -127,10 +116,6 @@ protected:
/*! /*!
* \brief Sets a fixed Dirichlet value for a cell (such as pressure) at the boundary. * \brief Sets a fixed Dirichlet value for a cell (such as pressure) at the boundary.
* This is a provisional alternative to setting the Dirichlet value on the boundary directly. * This is a provisional alternative to setting the Dirichlet value on the boundary directly.
*
* \param insideScv The sub control volume
* \param elemVolVars The current or previous element volVars
* \param bcTypes The boundary types
*/ */
void setFixedCell_(CellCenterResidual& residual, void setFixedCell_(CellCenterResidual& residual,
const Problem& problem, const Problem& problem,
......
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