Commit 4a83f255 authored by Beatrix Becker's avatar Beatrix Becker
Browse files

runtime params specified in input files when possible

reviewed by Johannes


git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@14316 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent b86dc2fa
......@@ -77,9 +77,6 @@ namespace Dumux
};
// Scalar is set to type double
SET_TYPE_PROP(BoxStokes, Scalar, double);
// Disable gravity
SET_BOOL_PROP(NavierStokesTestProblem, ProblemEnableGravity, false);
}
/*!
......
......@@ -6,3 +6,6 @@ TEnd = 30.0 # [s]
[Grid]
File = ./grids/test_navierstokes.dgf
[Problem]
EnableGravity = 0 # Disable gravity
......@@ -59,14 +59,8 @@ public:
//! Scalar is set to type long double for higher accuracy
SET_TYPE_PROP(BoxStokes, Scalar, double);
//! A stabilization factor. Set negative for stabilization and to zero for no stabilization
SET_SCALAR_PROP(StokesTestProblem, StokesStabilizationAlpha, -1.0);
//! Disable unsymmetrized velecoity gradient by default
//! Disable unsymmetrized velocity gradient by default
SET_BOOL_PROP(StokesTestProblem, EnableUnsymmetrizedVelocityGradient, false);
//! Disable gravity by default
SET_BOOL_PROP(StokesTestProblem, ProblemEnableGravity, false);
}
/*!
......
......@@ -5,3 +5,9 @@ TEnd = 6e3 # [s]
[Grid]
File = ./grids/test_stokes.dgf
[Stokes]
StabilizationAlpha = -1.0 # a stabilization factor. Set negative for stabilization and to zero for no stabilization
[Problem]
EnableGravity = 0 # disable gravity
......@@ -57,12 +57,6 @@ SET_PROP(BoxStokesnc, FluidSystem)
//! Scalar is set to type long double for higher accuracy
//SET_TYPE_PROP(BoxStokes, Scalar, long double);
//! a stabilization factor. Set to zero for no stabilization
SET_SCALAR_PROP(BoxStokesnc, StokesStabilizationAlpha, -1.0e3);
// Enable gravity
SET_BOOL_PROP(Stokes2cTestProblem, ProblemEnableGravity, false);
}
/*!
......
......@@ -5,3 +5,9 @@ TEnd = 2 # [s]
[Grid]
File = ./grids/test_stokes2c.dgf
[Stokes]
StabilizationAlpha = -1.0e3 # a stabilization factor. Set to zero for no stabilization
[Problem]
EnableGravity = 0 # disable gravity
......@@ -69,12 +69,6 @@ SET_TYPE_PROP(Stokes2cniTestProblem, LinearSolver, UMFPackBackend<TypeTag>);
#if HAVE_PARDISO
SET_TYPE_PROP(Stokes2cniTestProblem, LinearSolver, PardisoBackend<TypeTag>);
#endif
//! a stabilization factor. Set to zero for no stabilization
SET_SCALAR_PROP(Stokes2cniTestProblem, StokesStabilizationAlpha, -1.0);
// Enable gravity
SET_BOOL_PROP(Stokes2cniTestProblem, ProblemEnableGravity, true);
}
/*!
......
......@@ -5,3 +5,6 @@ TEnd = 3 # [s]
[Grid]
File = ./grids/test_stokes2cni.dgf
[Stokes]
StabilizationAlpha = -1.0 # a stabilization factor. Set to zero for no stabilization
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