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
Pipeline #7919 passed with stages
......@@ -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");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment