From 5f223d9309b1db8c4cf8e1ea3f8eb371dc33d99d Mon Sep 17 00:00:00 2001 From: Thomas Fetzer <thomas.fetzer@iws.uni-stuttgart.de> Date: Fri, 4 May 2018 16:23:00 +0200 Subject: [PATCH] [navierstokes] Use correct component group --- test/freeflow/navierstokes/navierstokesanalyticproblem.hh | 4 ++-- test/freeflow/navierstokes/test_channel_navierstokes.input | 1 - test/freeflow/navierstokes/test_navierstokes_1d.input | 2 ++ test/freeflow/navierstokes/test_stokes_donea.input | 2 -- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/test/freeflow/navierstokes/navierstokesanalyticproblem.hh b/test/freeflow/navierstokes/navierstokesanalyticproblem.hh index fa6ca53d97..bf44dd5685 100644 --- a/test/freeflow/navierstokes/navierstokesanalyticproblem.hh +++ b/test/freeflow/navierstokes/navierstokesanalyticproblem.hh @@ -98,8 +98,8 @@ public: : ParentType(fvGridGeometry), eps_(1e-6) { printL2Error_ = getParam<bool>("Problem.PrintL2Error"); - density_ = getParam<Scalar>("Problem.LiquidDensity"); - kinematicViscosity_ = getParam<Scalar>("Problem.LiquidKinematicViscosity"); + density_ = getParam<Scalar>("Component.LiquidDensity"); + kinematicViscosity_ = getParam<Scalar>("Component.LiquidKinematicViscosity"); createAnalyticalSolution_(); } diff --git a/test/freeflow/navierstokes/test_channel_navierstokes.input b/test/freeflow/navierstokes/test_channel_navierstokes.input index af468071b9..112b0f2a1d 100644 --- a/test/freeflow/navierstokes/test_channel_navierstokes.input +++ b/test/freeflow/navierstokes/test_channel_navierstokes.input @@ -9,7 +9,6 @@ Cells = 100 50 [Problem] Name = test_channel_navierstokes # name passed to the output routines InletVelocity = 1000 -LiquidDensity = 1 EnableGravity = false [ Newton ] diff --git a/test/freeflow/navierstokes/test_navierstokes_1d.input b/test/freeflow/navierstokes/test_navierstokes_1d.input index 2215feafa6..28c4f696f1 100644 --- a/test/freeflow/navierstokes/test_navierstokes_1d.input +++ b/test/freeflow/navierstokes/test_navierstokes_1d.input @@ -6,6 +6,8 @@ Cells = 32 Name = test_navierstokes_1d EnableGravity = false PrintL2Error = true + +[Component] LiquidKinematicViscosity = 1. LiquidDensity = 1. diff --git a/test/freeflow/navierstokes/test_stokes_donea.input b/test/freeflow/navierstokes/test_stokes_donea.input index b394c975db..1304128ffd 100644 --- a/test/freeflow/navierstokes/test_stokes_donea.input +++ b/test/freeflow/navierstokes/test_stokes_donea.input @@ -6,8 +6,6 @@ Cells = 40 40 Name = test_donea # name passed to the output routines EnableGravity = false PrintL2Error = false -LiquidKinematicViscosity = 1 -LiquidDensity = 1 [ Newton ] MaxSteps = 10 -- GitLab