From 20ca8e8aac9c480fe154df1163a8213015533151 Mon Sep 17 00:00:00 2001 From: sergio <s.ferraris@opencfd.co.uk> Date: Thu, 8 Jul 2021 13:23:39 -0700 Subject: [PATCH] BUG: Fixing entries for BinghamPlastic model. Fixes #1150 --- .../mixtureViscosityModels/BinghamPlastic/BinghamPlastic.C | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/applications/solvers/multiphase/driftFluxFoam/mixtureViscosityModels/BinghamPlastic/BinghamPlastic.C b/applications/solvers/multiphase/driftFluxFoam/mixtureViscosityModels/BinghamPlastic/BinghamPlastic.C index 5817c797486..3b0fa1d9497 100644 --- a/applications/solvers/multiphase/driftFluxFoam/mixtureViscosityModels/BinghamPlastic/BinghamPlastic.C +++ b/applications/solvers/multiphase/driftFluxFoam/mixtureViscosityModels/BinghamPlastic/BinghamPlastic.C @@ -6,6 +6,7 @@ \\/ M anipulation | ------------------------------------------------------------------------------- Copyright (C) 2014-2015 OpenFOAM Foundation + Copyright (C) 2021 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -130,9 +131,9 @@ bool Foam::mixtureViscosityModels::BinghamPlastic::read { plastic::read(viscosityProperties); - plasticCoeffs_.readEntry("yieldStressCoeff", yieldStressCoeff_); - plasticCoeffs_.readEntry("yieldStressExponent", yieldStressExponent_); - plasticCoeffs_.readEntry("yieldStressOffset", yieldStressOffset_); + plasticCoeffs_.readEntry("BinghamCoeff", yieldStressCoeff_); + plasticCoeffs_.readEntry("BinghamExponent", yieldStressExponent_); + plasticCoeffs_.readEntry("BinghamOffset", yieldStressOffset_); return true; } -- GitLab