From 573829b60b3f60145bc167c6fbee65a219685bd5 Mon Sep 17 00:00:00 2001 From: Henry Date: Wed, 11 Feb 2015 14:48:34 +0000 Subject: [PATCH] twoPhaseEulerFoam/twoPhaseSystem/diameterModels/constantDiameter: Do not register the temporary diameter field --- .../diameterModels/constantDiameter/constantDiameter.C | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/twoPhaseSystem/diameterModels/constantDiameter/constantDiameter.C b/applications/solvers/multiphase/twoPhaseEulerFoam/twoPhaseSystem/diameterModels/constantDiameter/constantDiameter.C index 233b9bf49e..628f8259b8 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/twoPhaseSystem/diameterModels/constantDiameter/constantDiameter.C +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/twoPhaseSystem/diameterModels/constantDiameter/constantDiameter.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -75,7 +75,10 @@ Foam::tmp Foam::diameterModels::constant::d() const ( "d", phase_.U().time().timeName(), - phase_.U().mesh() + phase_.U().mesh(), + IOobject::NO_READ, + IOobject::NO_WRITE, + false ), phase_.U().mesh(), d_