mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: update of 'mode' to 'type' keyword for radiation properties
This commit is contained in:
committed by
Andrew Heather
parent
29e6c81af8
commit
722ebdb151
@ -44,7 +44,7 @@ autoPtr<filmThermoModel> filmThermoModel::New
|
||||
const dictionary& dict
|
||||
)
|
||||
{
|
||||
word modelType(dict.get<word>("filmThermoModel"));
|
||||
const word modelType(dict.get<word>("filmThermoModel"));
|
||||
|
||||
Info<< " Selecting filmThermoModel " << modelType << endl;
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2015-2018 OpenCFD Ltd.
|
||||
\\ / A nd | Copyright (C) 2015-2019 OpenCFD Ltd.
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -51,7 +51,7 @@ Foam::radiation::boundaryRadiationPropertiesPatch::New
|
||||
const polyPatch& pp
|
||||
)
|
||||
{
|
||||
word modelType(dict.lookupCompat("type", {{"mode", 1812}}));
|
||||
const word modelType(dict.getCompat<word>("type", {{"mode", 1812}}));
|
||||
|
||||
Info<< "Selecting boundary radiation Model: "
|
||||
<< modelType << endl;
|
||||
|
||||
@ -48,7 +48,7 @@ Foam::autoPtr<Foam::waveModel> Foam::waveModel::New
|
||||
)
|
||||
);
|
||||
|
||||
word modelType = "none";
|
||||
word modelType("none");
|
||||
dictionary patchDict;
|
||||
if (waveDict.found(patch.name()))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user