Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
Manage
Activity
Members
Labels
Plan
Issues
77
Issue boards
Milestones
Wiki
Code
Merge requests
77
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
Merge requests
!3443
[ff][velocityoutput] Enable velocity output for all CVFE schemes
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
[ff][velocityoutput] Enable velocity output for all CVFE schemes
feature/velocity-output-cvfe
into
master
Overview
0
Commits
1
Pipelines
2
Changes
1
Merged
Timo Koch
requested to merge
feature/velocity-output-cvfe
into
master
1 year ago
Overview
0
Commits
1
Pipelines
2
Changes
1
Expand
👍
0
👎
0
Merge request reports
Compare
master
version 1
2f7ee652
1 year ago
master (base)
and
latest version
latest version
8f7f5370
1 commit,
1 year ago
version 1
2f7ee652
1 commit,
1 year ago
1 file
+
5
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
dumux/freeflow/navierstokes/velocityoutput.hh
+
5
−
5
Options
@@ -24,6 +24,8 @@
#ifndef DUMUX_FREEFLOW_NAVIERSTOKES_VELOCITYOUTPUT_HH
#define DUMUX_FREEFLOW_NAVIERSTOKES_VELOCITYOUTPUT_HH
#include
<type_traits>
#include
<dune/common/exceptions.hh>
#include
<dumux/io/velocityoutput.hh>
#include
<dumux/common/parameters.hh>
#include
<dumux/discretization/method.hh>
@@ -83,12 +85,10 @@ public:
using
MomGG
=
std
::
decay_t
<
decltype
(
std
::
declval
<
CouplingManager
>
().
problem
(
CouplingManager
::
freeFlowMomentumIndex
).
gridGeometry
())
>
;
if
constexpr
(
MomGG
::
discMethod
==
DiscretizationMethods
::
fcstaggered
)
calculateVelocityForStaggeredGrid_
(
velocity
,
element
,
fvGeometry
,
elemVolVars
);
else
if
constexpr
(
MomGG
::
discMethod
==
DiscretizationMethods
::
fcdiamond
||
MomGG
::
discMethod
==
DiscretizationMethods
::
pq1bubble
||
MomGG
::
discMethod
==
DiscretizationMethods
::
box
)
else
if
constexpr
(
DiscretizationMethods
::
isCVFE
<
typename
MomGG
::
DiscretizationMethod
>
)
calculateVelocityForCVFESchemes_
(
velocity
,
element
,
fvGeometry
,
elemVolVars
);
else
DUNE_THROW
(
Dune
::
NotImplemented
,
"Navier-Stokes velocity output for scheme "
<<
MomGG
::
discMethod
);
}
private
:
Loading