Skip to content
Snippets Groups Projects
Commit 97fba994 authored by Melanie Lipp's avatar Melanie Lipp Committed by Timo Koch
Browse files

[test][freeflow] analyticalSolVectors have to exist on the same level as vtkWriter.write.

parent 6469b156
No related branches found
No related tags found
1 merge request!2793[test][freeflow] Move createAnalyticalSolution to file and reuse for several tests.
Pipeline #7919 passed
+2
......@@ -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");
......
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