From 49c69872e5830bf93c2fcc665c3d89ac8c041781 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Sat, 26 Aug 2023 10:07:02 +0100 Subject: [PATCH] externalTemperatureFvPatchScalarField: Changed fixesValue() to true With the change the boundary temperature is updated only via the evaluate call rather than derived from the corresponding energy solution. This has proved more stable and convergent for the wallBoiling cases. --- .../externalTemperatureFvPatchScalarField.H | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ThermophysicalTransportModels/coupledThermophysicalTransportModels/externalTemperature/externalTemperatureFvPatchScalarField.H b/src/ThermophysicalTransportModels/coupledThermophysicalTransportModels/externalTemperature/externalTemperatureFvPatchScalarField.H index dfff8b806f..eb6f8081a1 100644 --- a/src/ThermophysicalTransportModels/coupledThermophysicalTransportModels/externalTemperature/externalTemperatureFvPatchScalarField.H +++ b/src/ThermophysicalTransportModels/coupledThermophysicalTransportModels/externalTemperature/externalTemperatureFvPatchScalarField.H @@ -240,10 +240,12 @@ public: // Access - //- Allow manipulation of the boundary values + //- Disallow manipulation of the boundary values + // The boundary temperature is evaluated only by + // this boundary condition virtual bool fixesValue() const { - return false; + return true; }