From fa2623c625855bf9ba4a4f45461840b98a193c33 Mon Sep 17 00:00:00 2001 From: Martin Schneider <martin.schneider@iws.uni-stuttgart.de> Date: Thu, 5 Nov 2015 11:06:24 +0100 Subject: [PATCH] [implicit] Models specifiy their own properties This is changed for the ForchheimerCoeff --- dumux/implicit/2pncmin/2pncminpropertydefaults.hh | 2 +- dumux/implicit/mpnc/mpncpropertydefaults.hh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dumux/implicit/2pncmin/2pncminpropertydefaults.hh b/dumux/implicit/2pncmin/2pncminpropertydefaults.hh index c52eb5097d..f29e361e31 100644 --- a/dumux/implicit/2pncmin/2pncminpropertydefaults.hh +++ b/dumux/implicit/2pncmin/2pncminpropertydefaults.hh @@ -134,7 +134,7 @@ SET_BOOL_PROP(TwoPNCMin, useSalinity, false); // Actually the Forchheimer coefficient is also a function of the dimensions of the // porous medium. Taking it as a constant is only a first approximation // (Nield, Bejan, Convection in porous media, 2006, p. 10) -SET_SCALAR_PROP(BoxModel, SpatialParamsForchCoeff, 0.55); +SET_SCALAR_PROP(TwoPNCMin, SpatialParamsForchCoeff, 0.55); } diff --git a/dumux/implicit/mpnc/mpncpropertydefaults.hh b/dumux/implicit/mpnc/mpncpropertydefaults.hh index 7235103fe5..a189e9ccb6 100644 --- a/dumux/implicit/mpnc/mpncpropertydefaults.hh +++ b/dumux/implicit/mpnc/mpncpropertydefaults.hh @@ -238,7 +238,7 @@ SET_INT_PROP(MPNC, // Actually the Forchheimer coefficient is also a function of the dimensions of the // porous medium. Taking it as a constant is only a first approximation // (Nield, Bejan, Convection in porous media, 2006, p. 10) -SET_SCALAR_PROP(BoxModel, SpatialParamsForchCoeff, 0.55); +SET_SCALAR_PROP(MPNC, SpatialParamsForchCoeff, 0.55); //!< Should the averaging of velocities be done in the Model? (By default in the output) -- GitLab