BUG: objective: avoid double name registration in localIOdictionary (fixes #2596)

This commit is contained in:
Vaggelis Papoutsis
2022-10-18 13:01:56 +01:00
committed by Kutalmis Bercin
parent 5a9dbcdadf
commit 3a6a76044d

View File

@ -5,7 +5,7 @@
\\ / A nd | www.openfoam.com
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2007-2020 PCOpt/NTUA
Copyright (C) 2007-2022 PCOpt/NTUA
Copyright (C) 2013-2020 FOSS GP
Copyright (C) 2019-2021 OpenCFD Ltd.
-------------------------------------------------------------------------------
@ -111,7 +111,7 @@ objective::objective
(
IOobject
(
dict.dictName(),
adjointSolverName + "_" + dict.dictName(),
mesh.time().timeName(),
fileName("uniform")/fileName("objectives")/adjointSolverName,
mesh,