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()))
|
||||
{
|
||||
|
||||
@ -29,5 +29,4 @@ inlet
|
||||
absorptivity 0.9;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -15,6 +15,13 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
".*"
|
||||
{
|
||||
type lookup;
|
||||
emissivity 1.0;
|
||||
absorptivity 1.0;
|
||||
transmissivity 0.0;
|
||||
}
|
||||
|
||||
region0_to_pyrolysisRegion_coupledWall
|
||||
{
|
||||
@ -25,13 +32,4 @@ region0_to_pyrolysisRegion_coupledWall
|
||||
}
|
||||
}
|
||||
|
||||
".*"
|
||||
{
|
||||
type lookup;
|
||||
emissivity 1.0;
|
||||
absorptivity 1.0;
|
||||
transmissivity 0.0;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -15,7 +15,6 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
|
||||
".*"
|
||||
{
|
||||
type lookup;
|
||||
@ -31,5 +30,4 @@ FoamFile
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -39,5 +39,4 @@ inlet
|
||||
emissivity 1.0;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -21,5 +21,4 @@ FoamFile
|
||||
emissivity 1.0;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -17,10 +17,9 @@ FoamFile
|
||||
|
||||
".*"
|
||||
{
|
||||
mode lookup;
|
||||
type lookup;
|
||||
emissivity 1;
|
||||
absorptivity 0;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -22,5 +22,4 @@ FoamFile
|
||||
absorptivity 1.0;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -22,5 +22,4 @@ FoamFile
|
||||
absorptivity 1.0;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -22,5 +22,4 @@ FoamFile
|
||||
absorptivity 1.0;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -73,3 +73,5 @@ ZMin
|
||||
emissivity (0.3 0.7);
|
||||
};
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -15,7 +15,6 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
|
||||
".*"
|
||||
{
|
||||
type lookup;
|
||||
|
||||
@ -15,10 +15,9 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
|
||||
".*"
|
||||
{
|
||||
mode lookup;
|
||||
type lookup;
|
||||
emissivity 1.0;
|
||||
absorptivity 0.0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user