From 33f0ff8145f7d092c488c318b8f21e675401f75e Mon Sep 17 00:00:00 2001 From: Kutalmis Bercin Date: Fri, 13 Jan 2023 15:32:34 +0000 Subject: [PATCH] BUG: limitVelocity: specify default entry for U (fixes #2679) --- src/fvOptions/corrections/limitVelocity/limitVelocity.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fvOptions/corrections/limitVelocity/limitVelocity.C b/src/fvOptions/corrections/limitVelocity/limitVelocity.C index dc9aef6674..cfafaa068c 100644 --- a/src/fvOptions/corrections/limitVelocity/limitVelocity.C +++ b/src/fvOptions/corrections/limitVelocity/limitVelocity.C @@ -6,7 +6,7 @@ \\/ M anipulation | ------------------------------------------------------------------------------- Copyright (C) 2016-2017 OpenFOAM Foundation - Copyright (C) 2018-2022 OpenCFD Ltd. + Copyright (C) 2018-2023 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -71,7 +71,7 @@ Foam::fv::limitVelocity::limitVelocity : fv::cellSetOption(name, modelType, dict, mesh), writeFile(mesh, name, typeName, dict, false), - UName_(word::null), + UName_("U"), max_(0) { read(dict);