From 1cf1babc8cf4a96e0a6257e21fcde6a4f4274868 Mon Sep 17 00:00:00 2001 From: danielque Date: Wed, 27 Mar 2019 11:57:44 +0100 Subject: [PATCH] [OF6] parameters of MULES::limit MULES and CMULES have been extended so that the limits can be supplied as fields. These arguments are templated so that zeroField, oneField or UniformField can be used in place of a scalar value with no additional overhead. --- .../multiphaseMixture/multiphaseMixture.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/solvers/cfdemSolverMultiphase/multiphaseMixture/multiphaseMixture.C b/applications/solvers/cfdemSolverMultiphase/multiphaseMixture/multiphaseMixture.C index a1ea1537..a8a502b6 100644 --- a/applications/solvers/cfdemSolverMultiphase/multiphaseMixture/multiphaseMixture.C +++ b/applications/solvers/cfdemSolverMultiphase/multiphaseMixture/multiphaseMixture.C @@ -679,8 +679,8 @@ void Foam::multiphaseMixture::solveAlphas alphaPhiCorr, zeroField(), zeroField(), - 1, - 0, + oneField(), + zeroField(), true );