From 5bff8d9dd1f8737823ddecef91eb0aa883f57e90 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Mon, 12 Feb 2018 11:48:00 +0000 Subject: [PATCH] IATE: Corrected dilatation source --- .../twoPhaseSystem/diameterModels/IATE/IATE.C | 4 ++-- .../twoPhaseSystem/diameterModels/IATE/IATE.C | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseSystem/diameterModels/IATE/IATE.C b/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseSystem/diameterModels/IATE/IATE.C index 9bae6c06e..be352a2bd 100644 --- a/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseSystem/diameterModels/IATE/IATE.C +++ b/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseSystem/diameterModels/IATE/IATE.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2013-2016 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2013-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -122,7 +122,7 @@ void Foam::diameterModels::IATE::correct() ( max ( - fvc::average(phase_ + phase_.oldTime()), + 0.5*fvc::average(phase_ + phase_.oldTime()), residualAlpha_ ) ); diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/twoPhaseSystem/diameterModels/IATE/IATE.C b/applications/solvers/multiphase/twoPhaseEulerFoam/twoPhaseSystem/diameterModels/IATE/IATE.C index afa96a571..f9f102d8b 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/twoPhaseSystem/diameterModels/IATE/IATE.C +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/twoPhaseSystem/diameterModels/IATE/IATE.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2013-2015 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2013-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -143,7 +143,7 @@ void Foam::diameterModels::IATE::correct() (1.0/3.0) /max ( - fvc::average(phase_ + phase_.oldTime()), + 0.5*fvc::average(phase_ + phase_.oldTime()), residualAlpha_ ) )