From bebb8ecb1ffd0be0f07fe2af693410acdc3d7ef8 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Tue, 29 Aug 2017 16:47:21 +0100 Subject: [PATCH] externalWallHeatFluxTemperature: Allow manipulation of the boundary values Provides support for the limitTemperature fvOption. Resolves bug-report https://bugs.openfoam.org/view.php?id=2675 --- ...xternalWallHeatFluxTemperatureFvPatchScalarField.H | 9 +++++++++ .../mixedEnergy/mixedEnergyFvPatchScalarField.H | 11 ++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/externalWallHeatFluxTemperature/externalWallHeatFluxTemperatureFvPatchScalarField.H b/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/externalWallHeatFluxTemperature/externalWallHeatFluxTemperatureFvPatchScalarField.H index 0abd27fdbb..8717342476 100644 --- a/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/externalWallHeatFluxTemperature/externalWallHeatFluxTemperatureFvPatchScalarField.H +++ b/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/externalWallHeatFluxTemperature/externalWallHeatFluxTemperatureFvPatchScalarField.H @@ -246,6 +246,15 @@ public: // Member functions + // Access + + //- Allow manipulation of the boundary values + virtual bool fixesValue() const + { + return false; + } + + // Mapping functions //- Map (and resize as needed) from self given a mapping object diff --git a/src/thermophysicalModels/basic/derivedFvPatchFields/mixedEnergy/mixedEnergyFvPatchScalarField.H b/src/thermophysicalModels/basic/derivedFvPatchFields/mixedEnergy/mixedEnergyFvPatchScalarField.H index adb38f0ceb..4a93254f4b 100644 --- a/src/thermophysicalModels/basic/derivedFvPatchFields/mixedEnergy/mixedEnergyFvPatchScalarField.H +++ b/src/thermophysicalModels/basic/derivedFvPatchFields/mixedEnergy/mixedEnergyFvPatchScalarField.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -127,6 +127,15 @@ public: // Member functions + // Access + + //- Allow manipulation of the boundary values + virtual bool fixesValue() const + { + return false; + } + + // Evaluation functions //- Update the coefficients associated with the patch field