mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Coded fvOption - updated construction of the redirectFvOption to simplify user input
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2012-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
\\/ M anipulation | Copyright (C) 2016 OpenCFD Ltd.
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
This file is part of OpenFOAM.
|
||||
@ -134,6 +134,7 @@ Foam::fv::option& Foam::fv::CodedSource<Type>::redirectFvOption() const
|
||||
{
|
||||
dictionary constructDict(dict_);
|
||||
constructDict.set("type", name_);
|
||||
constructDict.changeKeyword(modelType_ & "Coeffs", name_ & "Coeffs");
|
||||
|
||||
redirectFvOptionPtr_ = option::New
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user