From 6c80a5b3e4629ce2752b9323c03a3e43fd19a8d8 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Tue, 18 Jun 2019 14:59:11 +0100 Subject: [PATCH] fixedGradient writes value - avoid duplicate write --- .../gradientEnthalpy/gradientEnthalpyFvPatchScalarField.C | 1 - .../gradientInternalEnergyFvPatchScalarField.C | 1 - 2 files changed, 2 deletions(-) diff --git a/src/thermophysicalModels/basic/derivedFvPatchFields/gradientEnthalpy/gradientEnthalpyFvPatchScalarField.C b/src/thermophysicalModels/basic/derivedFvPatchFields/gradientEnthalpy/gradientEnthalpyFvPatchScalarField.C index f3127f036..8fe39056b 100644 --- a/src/thermophysicalModels/basic/derivedFvPatchFields/gradientEnthalpy/gradientEnthalpyFvPatchScalarField.C +++ b/src/thermophysicalModels/basic/derivedFvPatchFields/gradientEnthalpy/gradientEnthalpyFvPatchScalarField.C @@ -192,7 +192,6 @@ void Foam::gradientEnthalpyFvPatchScalarField::updateCoeffs() void Foam::gradientEnthalpyFvPatchScalarField::write(Ostream& os) const { fixedGradientFvPatchScalarField::write(os); - writeEntry("value", os); } diff --git a/src/thermophysicalModels/basic/derivedFvPatchFields/gradientInternalEnergy/gradientInternalEnergyFvPatchScalarField.C b/src/thermophysicalModels/basic/derivedFvPatchFields/gradientInternalEnergy/gradientInternalEnergyFvPatchScalarField.C index 738b97efd..8ec8e433e 100644 --- a/src/thermophysicalModels/basic/derivedFvPatchFields/gradientInternalEnergy/gradientInternalEnergyFvPatchScalarField.C +++ b/src/thermophysicalModels/basic/derivedFvPatchFields/gradientInternalEnergy/gradientInternalEnergyFvPatchScalarField.C @@ -128,7 +128,6 @@ void gradientInternalEnergyFvPatchScalarField::updateCoeffs() void Foam::gradientInternalEnergyFvPatchScalarField::write(Ostream& os) const { fixedGradientFvPatchScalarField::write(os); - writeEntry("value", os); }