From 28dc2d974f7af901f8000d01201361214e4bc001 Mon Sep 17 00:00:00 2001 From: Bernd Flemisch <bernd@iws.uni-stuttgart.de> Date: Wed, 19 Dec 2012 15:14:19 +0000 Subject: [PATCH] mpnc: forgot to add default for the PressureFormulation. git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@9888 2fb0f335-1f38-0410-981e-8018bf24f1b0 --- dumux/implicit/mpnc/mpncpropertydefaults.hh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dumux/implicit/mpnc/mpncpropertydefaults.hh b/dumux/implicit/mpnc/mpncpropertydefaults.hh index 3067f972bc..0ca7b87349 100644 --- a/dumux/implicit/mpnc/mpncpropertydefaults.hh +++ b/dumux/implicit/mpnc/mpncpropertydefaults.hh @@ -234,6 +234,11 @@ SET_PROP(MPNC, FluidState){ typedef Dumux::CompositionalFluidState<Scalar, FluidSystem> type; }; +//! Set the default pressure formulation to the pressure of the (most) wetting phase +SET_INT_PROP(MPNC, + PressureFormulation, + MpNcPressureFormulation::mostWettingFirst); + //! default value for the forchheimer coefficient // Source: Ward, J.C. 1964 Turbulent flow in porous media. ASCE J. Hydraul. Div 90. // Actually the Forchheimer coefficient is also a function of the dimensions of the -- GitLab