From 481ad1d6f503ca14ceaa868d19d6861ea8dbb8b1 Mon Sep 17 00:00:00 2001 From: Kilian Weishaupt <kilian.weishaupt@iws.uni-stuttgart.de> Date: Fri, 6 Jul 2018 19:34:13 +0200 Subject: [PATCH] [test][navierstokes] Add parameters in input file to improve documentation of the numeric epsilon feature --- test/freeflow/navierstokes/test_channel_stokes.input | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/test/freeflow/navierstokes/test_channel_stokes.input b/test/freeflow/navierstokes/test_channel_stokes.input index 9160119891..651184566d 100644 --- a/test/freeflow/navierstokes/test_channel_stokes.input +++ b/test/freeflow/navierstokes/test_channel_stokes.input @@ -18,3 +18,15 @@ MaxRelativeShift = 1e-8 [Vtk] AddVelocity = true WriteFaceData = false + + +[Assembly] +NumericDifference.BaseEpsilon = 1e-8 + +# This test does actually not require setting the primary variable magnitues. +# This rather serves as a demonstration of how to use the feature. +[CellCenter.Assembly] +NumericDifference.PriVarMagnitude = 1e5 # pressure is in the order of 1e5 + +[Face.Assembly] +NumericDifference.PriVarMagnitude = 1 # velocity is in the order of 1 -- GitLab