Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
97fba994
Commit
97fba994
authored
Aug 27, 2021
by
Melanie Lipp
Committed by
Timo Koch
Aug 27, 2021
Browse files
[test][freeflow] analyticalSolVectors have to exist on the same level as vtkWriter.write.
parent
6469b156
Pipeline
#7919
passed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
test/freeflow/navierstokes/channel/2d/main.cc
View file @
97fba994
...
...
@@ -117,10 +117,9 @@ int main(int argc, char** argv)
const
bool
isStationary
=
getParam
<
bool
>
(
"Problem.IsStationary"
,
false
);
NavierStokesAnalyticalSolutionVectors
analyticalSolVectors
(
problem
);
if
(
problem
->
hasAnalyticalSolution
())
{
NavierStokesAnalyticalSolutionVectors
analyticalSolVectors
(
problem
);
vtkWriter
.
addField
(
analyticalSolVectors
.
getAnalyticalPressureSolution
(),
"pressureExact"
);
vtkWriter
.
addField
(
analyticalSolVectors
.
getAnalyticalVelocitySolution
(),
"velocityExact"
);
vtkWriter
.
addFaceField
(
analyticalSolVectors
.
getAnalyticalVelocitySolutionOnFace
(),
"faceVelocityExact"
);
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment