Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dumux-repositories
dumux
Commits
99bb69eb
Commit
99bb69eb
authored
7 years ago
by
Kilian Weishaupt
Browse files
Options
Downloads
Patches
Plain Diff
[navierstokesnc][fluxvariables] Fix docu
parent
b96557c4
No related branches found
No related tags found
2 merge requests
!695
Doc/freeflow
,
!617
[WIP] Next
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dumux/freeflow/navierstokesnc/fluxvariables.hh
+9
-9
9 additions, 9 deletions
dumux/freeflow/navierstokesnc/fluxvariables.hh
dumux/freeflow/navierstokesnc/staggered/fluxvariables.hh
+12
-9
12 additions, 9 deletions
dumux/freeflow/navierstokesnc/staggered/fluxvariables.hh
with
21 additions
and
18 deletions
dumux/freeflow/navierstokesnc/fluxvariables.hh
+
9
−
9
View file @
99bb69eb
...
...
@@ -16,16 +16,15 @@
* 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
* \brief Base class for the flux variables
*/
/*!
* \file
* \ingroup NavierStokesNCModel
* \copydoc Dumux::NavierStokesNCFluxVariables
*/
#ifndef DUMUX_FREELOW_IMPLICIT_NC_FLUXVARIABLES_HH
#define DUMUX_FREELOW_IMPLICIT_NC_FLUXVARIABLES_HH
#include
<dumux/common/properties.hh>
#include
<dumux/discretization/fluxvariablesbase.hh>
#include
<dumux/freeflow/navierstokes/fluxvariables.hh>
#include
<dumux/freeflow/navierstokesnc/staggered/fluxvariables.hh>
namespace
Dumux
...
...
@@ -37,9 +36,10 @@ template<class TypeTag, DiscretizationMethods Method>
class
NavierStokesNCFluxVariablesImpl
;
/*!
* \ingroup ImplicitModel
* \brief The flux variables class
* specializations are provided for combinations of physical processes
* \ingroup NavierStokesNCModel
* \brief The flux variables class for the multi-componentNavier-Stokes model.
This is a convenience alias for that actual,
discretization-specific flux variables.
* \note Not all specializations are currently implemented
*/
template
<
class
TypeTag
>
...
...
This diff is collapsed.
Click to expand it.
dumux/freeflow/navierstokesnc/staggered/fluxvariables.hh
+
12
−
9
View file @
99bb69eb
...
...
@@ -16,16 +16,18 @@
* 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
* \brief Base class for the flux variables
*/
/*!
* \file
* \ingroup NavierStokesNCModel
* \copydoc Dumux::NavierStokesNCFluxVariablesImpl
*/
#ifndef DUMUX_NAVIERSTOKES_NC_STAGGERED_FLUXVARIABLES_HH
#define DUMUX_NAVIERSTOKES_NC_STAGGERED_FLUXVARIABLES_HH
#include
<dumux/common/properties.hh>
#include
<dumux/discretization/fluxvariablesbase.hh>
#include
<dumux/discretization/methods.hh>
#include
<dumux/freeflow/navierstokes/staggered/fluxvariables.hh>
namespace
Dumux
{
...
...
@@ -35,11 +37,9 @@ template<class TypeTag, DiscretizationMethods Method>
class
NavierStokesNCFluxVariablesImpl
;
/*!
* \ingroup Discretization
* \brief Base class for the flux variables
* Actual flux variables inherit from this class
* \ingroup NavierStokesNCModel
* \brief The flux variables class for the multi-component Navier-Stokes model using the staggered grid discretization.
*/
// specialization for immiscible, isothermal flow
template
<
class
TypeTag
>
class
NavierStokesNCFluxVariablesImpl
<
TypeTag
,
DiscretizationMethods
::
Staggered
>
:
public
NavierStokesFluxVariables
<
TypeTag
>
...
...
@@ -61,7 +61,7 @@ class NavierStokesNCFluxVariablesImpl<TypeTag, DiscretizationMethods::Staggered>
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
phaseIdx
=
GET_PROP_VALUE
(
TypeTag
,
PhaseIdx
);
...
...
@@ -71,6 +71,9 @@ class NavierStokesNCFluxVariablesImpl<TypeTag, DiscretizationMethods::Staggered>
public
:
/*!
* \brief Computes the flux for the cell center residual.
*/
CellCenterPrimaryVariables
computeFluxForCellCenter
(
const
Problem
&
problem
,
const
Element
&
element
,
const
FVElementGeometry
&
fvGeometry
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment