STYLE: add fa/fv namespace qualifiers for fa/fv option

This commit is contained in:
Mark Olesen
2021-06-07 09:45:31 +02:00
parent f75379633c
commit 252326df05
67 changed files with 94 additions and 94 deletions

View File

@ -6,7 +6,7 @@
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2017 OpenFOAM Foundation
Copyright (C) 2020 OpenCFD Ltd.
Copyright (C) 2020-2021 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
@ -122,7 +122,7 @@ Foam::fv::VoFSolidificationMeltingSource::VoFSolidificationMeltingSource
const fvMesh& mesh
)
:
cellSetOption(sourceName, modelType, dict, mesh),
fv::cellSetOption(sourceName, modelType, dict, mesh),
alphaSolidT_(Function1<scalar>::New("alphaSolidT", coeffs_)),
L_("L", dimEnergy/dimMass, coeffs_),
relax_(coeffs_.getOrDefault("relax", 0.9)),

View File

@ -99,7 +99,7 @@ namespace fv
class VoFSolidificationMeltingSource
:
public cellSetOption
public fv::cellSetOption
{
// Private data

View File

@ -31,7 +31,7 @@ License
bool Foam::fv::VoFSolidificationMeltingSource::read(const dictionary& dict)
{
if (cellSetOption::read(dict))
if (fv::cellSetOption::read(dict))
{
alphaSolidT_ = Function1<scalar>::New("alphaSolidT", coeffs_);
coeffs_.readEntry("L", L_);

View File

@ -51,7 +51,7 @@ Foam::fv::atmAmbientTurbSource::atmAmbientTurbSource
const fvMesh& mesh
)
:
cellSetOption(sourceName, modelType, dict, mesh),
fv::cellSetOption(sourceName, modelType, dict, mesh),
isEpsilon_(true),
rhoName_(coeffs_.getOrDefault<word>("rho", "rho")),
kAmb_

View File

@ -130,7 +130,7 @@ namespace fv
class atmAmbientTurbSource
:
public cellSetOption
public fv::cellSetOption
{
// Private Data

View File

@ -133,7 +133,7 @@ Foam::fv::atmBuoyancyTurbSource::atmBuoyancyTurbSource
const fvMesh& mesh
)
:
cellSetOption(sourceName, modelType, dict, mesh),
fv::cellSetOption(sourceName, modelType, dict, mesh),
isEpsilon_(true),
rhoName_(coeffs_.getOrDefault<word>("rho", "rho")),
Lmax_

View File

@ -145,7 +145,7 @@ namespace fv
class atmBuoyancyTurbSource
:
public cellSetOption
public fv::cellSetOption
{
// Private Data

View File

@ -68,7 +68,7 @@ Foam::fv::atmCoriolisUSource::atmCoriolisUSource
const fvMesh& mesh
)
:
cellSetOption(sourceName, modelType, dict, mesh),
fv::cellSetOption(sourceName, modelType, dict, mesh),
latitude_
(
coeffs_.getCheckOrDefault<scalar>

View File

@ -146,7 +146,7 @@ namespace fv
class atmCoriolisUSource
:
public cellSetOption
public fv::cellSetOption
{
// Private Data

View File

@ -87,7 +87,7 @@ Foam::fv::atmLengthScaleTurbSource::atmLengthScaleTurbSource
const fvMesh& mesh
)
:
cellSetOption(sourceName, modelType, dict, mesh),
fv::cellSetOption(sourceName, modelType, dict, mesh),
isEpsilon_(true),
rhoName_(coeffs_.getOrDefault<word>("rho", "rho")),
Lmax_

View File

@ -133,7 +133,7 @@ namespace fv
class atmLengthScaleTurbSource
:
public cellSetOption
public fv::cellSetOption
{
// Private Data

View File

@ -51,7 +51,7 @@ Foam::fv::atmNutSource::atmNutSource
const fvMesh& mesh
)
:
cellSetOption(sourceName, modelType, dict, mesh),
fv::cellSetOption(sourceName, modelType, dict, mesh),
artNutName_(dict.getOrDefault<word>("nut", "artNut")),
artNut_
(

View File

@ -102,7 +102,7 @@ namespace fv
class atmNutSource
:
public cellSetOption
public fv::cellSetOption
{
// Private Data

View File

@ -51,7 +51,7 @@ Foam::fv::atmPlantCanopyTSource::atmPlantCanopyTSource
const fvMesh& mesh
)
:
cellSetOption(sourceName, modelType, dict, mesh),
fv::cellSetOption(sourceName, modelType, dict, mesh),
rhoName_(coeffs_.getOrDefault<word>("rho", "rho")),
Cp0_
(

View File

@ -105,7 +105,7 @@ namespace fv
class atmPlantCanopyTSource
:
public cellSetOption
public fv::cellSetOption
{
// Private Data

View File

@ -64,7 +64,7 @@ Foam::fv::atmPlantCanopyTurbSource::atmPlantCanopyTurbSource
const fvMesh& mesh
)
:
cellSetOption(sourceName, modelType, dict, mesh),
fv::cellSetOption(sourceName, modelType, dict, mesh),
isEpsilon_(true),
rhoName_(coeffs_.getOrDefault<word>("rho", "rho")),
Cmu_(Zero),

View File

@ -114,7 +114,7 @@ namespace fv
class atmPlantCanopyTurbSource
:
public cellSetOption
public fv::cellSetOption
{
// Private Data

View File

@ -51,7 +51,7 @@ Foam::fv::atmPlantCanopyUSource::atmPlantCanopyUSource
const fvMesh& mesh
)
:
cellSetOption(sourceName, modelType, dict, mesh),
fv::cellSetOption(sourceName, modelType, dict, mesh),
rhoName_(coeffs_.getOrDefault<word>("rho", "rho")),
plantCd_
(

View File

@ -113,7 +113,7 @@ namespace fv
class atmPlantCanopyUSource
:
public cellSetOption
public fv::cellSetOption
{
// Private Data

View File

@ -5,7 +5,7 @@
\\ / A nd | www.openfoam.com
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2019-2020 OpenCFD Ltd.
Copyright (C) 2019-2021 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
@ -181,7 +181,7 @@ Foam::fa::faceSetOption::faceSetOption
const fvPatch& patch
)
:
option(name, modelType, dict, patch),
fa::option(name, modelType, dict, patch),
timeStart_(-1.0),
duration_(0.0),
selectionMode_(selectionModeTypeNames_.get("selectionMode", coeffs_)),

View File

@ -54,7 +54,7 @@ Foam::fa::contactHeatFluxSource::contactHeatFluxSource
const fvPatch& patch
)
:
faceSetOption(sourceName, modelType, dict, patch),
fa::faceSetOption(sourceName, modelType, dict, patch),
temperatureCoupledBase(patch, dict),
TName_(dict.getOrDefault<word>("T", "T")),
TprimaryName_(dict.get<word>("Tprimary")),
@ -175,7 +175,7 @@ void Foam::fa::contactHeatFluxSource::addSup
bool Foam::fa::contactHeatFluxSource::read(const dictionary& dict)
{
if (option::read(dict))
if (fa::option::read(dict))
{
coeffs_.readIfPresent("T", TName_);

View File

@ -53,7 +53,7 @@ Foam::fa::externalFileSource::externalFileSource
const fvPatch& p
)
:
faceSetOption(sourceName, modelType, dict, p),
fa::faceSetOption(sourceName, modelType, dict, p),
fieldName_(dict.get<word>("fieldName")),
tableName_(dict.get<word>("tableName")),
pExt_
@ -118,7 +118,7 @@ void Foam::fa::externalFileSource::addSup
bool Foam::fa::externalFileSource::read(const dictionary& dict)
{
if (option::read(dict))
if (fa::option::read(dict))
{
return true;
}

View File

@ -68,7 +68,7 @@ Foam::fa::externalHeatFluxSource::externalHeatFluxSource
const fvPatch& patch
)
:
faceSetOption(sourceName, modelType, dict, patch),
fa::faceSetOption(sourceName, modelType, dict, patch),
mode_(operationModeNames.get("mode", dict)),
TName_(dict.getOrDefault<word>("T", "T")),
Q_(0),
@ -172,7 +172,7 @@ void Foam::fa::externalHeatFluxSource::addSup
bool Foam::fa::externalHeatFluxSource::read(const dictionary& dict)
{
if (option::read(dict))
if (fa::option::read(dict))
{
dict.readIfPresent("T", TName_);
dict.readIfPresent("emissivity", emissivity_);

View File

@ -52,7 +52,7 @@ Foam::fa::jouleHeatingSource::jouleHeatingSource
const fvPatch& patch
)
:
faceSetOption(sourceName, modelType, dict, patch),
fa::faceSetOption(sourceName, modelType, dict, patch),
TName_(dict.getOrDefault<word>("T", "T")),
V_
(
@ -174,7 +174,7 @@ void Foam::fa::jouleHeatingSource::addSup
bool Foam::fa::jouleHeatingSource::read(const dictionary& dict)
{
if (option::read(dict))
if (fa::option::read(dict))
{
dict.readIfPresent("T", TName_);

View File

@ -6,7 +6,7 @@
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2011-2016 OpenFOAM Foundation
Copyright (C) 2017-2020 OpenCFD Ltd.
Copyright (C) 2017-2021 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
@ -204,7 +204,7 @@ Foam::fv::cellSetOption::cellSetOption
const fvMesh& mesh
)
:
option(name, modelType, dict, mesh),
fv::option(name, modelType, dict, mesh),
timeStart_(-1.0),
duration_(0.0),
selectionMode_(selectionModeTypeNames_.get("selectionMode", coeffs_)),
@ -224,7 +224,7 @@ Foam::fv::cellSetOption::cellSetOption
bool Foam::fv::cellSetOption::isActive()
{
if (option::isActive() && inTimeLimits(mesh_.time().value()))
if (fv::option::isActive() && inTimeLimits(mesh_.time().value()))
{
// Update the cell set if the mesh is changing
if (mesh_.changing())
@ -254,7 +254,7 @@ bool Foam::fv::cellSetOption::isActive()
bool Foam::fv::cellSetOption::read(const dictionary& dict)
{
if (option::read(dict))
if (fv::option::read(dict))
{
if (coeffs_.readIfPresent("timeStart", timeStart_))
{

View File

@ -69,7 +69,7 @@ Foam::fv::fixedTemperatureConstraint::fixedTemperatureConstraint
const fvMesh& mesh
)
:
cellSetOption(name, modelType, dict, mesh),
fv::cellSetOption(name, modelType, dict, mesh),
mode_(temperatureModeNames_.get("mode", coeffs_)),
Tuniform_(nullptr),
TName_("T")
@ -146,7 +146,7 @@ void Foam::fv::fixedTemperatureConstraint::constrain
bool Foam::fv::fixedTemperatureConstraint::read(const dictionary& dict)
{
if (cellSetOption::read(dict))
if (fv::cellSetOption::read(dict))
{
if (coeffs_.found(Tuniform_->name()))
{

View File

@ -119,7 +119,7 @@ namespace fv
class fixedTemperatureConstraint
:
public cellSetOption
public fv::cellSetOption
{
public:

View File

@ -96,7 +96,7 @@ Foam::fv::velocityDampingConstraint::velocityDampingConstraint
const fvMesh& mesh
)
:
cellSetOption(name, modelType, dict, mesh)
fv::cellSetOption(name, modelType, dict, mesh)
{
read(dict);
}
@ -122,7 +122,7 @@ void Foam::fv::velocityDampingConstraint::writeData(Ostream& os) const
bool Foam::fv::velocityDampingConstraint::read(const dictionary& dict)
{
if (cellSetOption::read(dict))
if (fv::cellSetOption::read(dict))
{
coeffs_.readEntry("UMax", UMax_);

View File

@ -118,7 +118,7 @@ namespace fv
class velocityDampingConstraint
:
public cellSetOption
public fv::cellSetOption
{
protected:

View File

@ -42,7 +42,7 @@ Foam::fv::FixedValueConstraint<Type>::FixedValueConstraint
const fvMesh& mesh
)
:
cellSetOption(name, modelType, dict, mesh)
fv::cellSetOption(name, modelType, dict, mesh)
{
read(dict);
}
@ -53,7 +53,7 @@ Foam::fv::FixedValueConstraint<Type>::FixedValueConstraint
template<class Type>
bool Foam::fv::FixedValueConstraint<Type>::read(const dictionary& dict)
{
if (cellSetOption::read(dict))
if (fv::cellSetOption::read(dict))
{
const dictionary& fieldValuesDict = coeffs_.subDict("fieldValues");

View File

@ -116,7 +116,7 @@ namespace fv
template<class Type>
class FixedValueConstraint
:
public cellSetOption
public fv::cellSetOption
{
// Private Data

View File

@ -53,7 +53,7 @@ Foam::fv::limitTemperature::limitTemperature
const fvMesh& mesh
)
:
cellSetOption(name, modelType, dict, mesh),
fv::cellSetOption(name, modelType, dict, mesh),
Tmin_(coeffs_.get<scalar>("min")),
Tmax_(coeffs_.get<scalar>("max")),
phase_(coeffs_.getOrDefault<word>("phase", word::null))
@ -76,7 +76,7 @@ Foam::fv::limitTemperature::limitTemperature
bool Foam::fv::limitTemperature::read(const dictionary& dict)
{
if (cellSetOption::read(dict))
if (fv::cellSetOption::read(dict))
{
coeffs_.readEntry("min", Tmin_);
coeffs_.readEntry("max", Tmax_);

View File

@ -104,7 +104,7 @@ namespace fv
class limitTemperature
:
public cellSetOption
public fv::cellSetOption
{
protected:

View File

@ -52,7 +52,7 @@ Foam::fv::limitVelocity::limitVelocity
const fvMesh& mesh
)
:
cellSetOption(name, modelType, dict, mesh),
fv::cellSetOption(name, modelType, dict, mesh),
UName_(coeffs_.getOrDefault<word>("U", "U")),
max_(coeffs_.get<scalar>("max"))
{
@ -65,7 +65,7 @@ Foam::fv::limitVelocity::limitVelocity
bool Foam::fv::limitVelocity::read(const dictionary& dict)
{
if (cellSetOption::read(dict))
if (fv::cellSetOption::read(dict))
{
coeffs_.readEntry("max", max_);

View File

@ -98,7 +98,7 @@ namespace fv
class limitVelocity
:
public cellSetOption
public fv::cellSetOption
{
protected:

View File

@ -126,7 +126,7 @@ Foam::fv::interRegionOption::interRegionOption
bool Foam::fv::interRegionOption::read(const dictionary& dict)
{
if (option::read(dict))
if (fv::option::read(dict))
{
return true;
}

View File

@ -84,7 +84,7 @@ Foam::fv::acousticDampingSource::acousticDampingSource
const fvMesh& mesh
)
:
cellSetOption(name, modelType, dict, mesh),
fv::cellSetOption(name, modelType, dict, mesh),
blendFactor_
(
volScalarField
@ -174,7 +174,7 @@ void Foam::fv::acousticDampingSource::addSup
bool Foam::fv::acousticDampingSource::read(const dictionary& dict)
{
if (cellSetOption::read(dict))
if (fv::cellSetOption::read(dict))
{
if (!coeffs_.readIfPresent("UNames", fieldNames_))
{

View File

@ -120,7 +120,7 @@ namespace fv
class acousticDampingSource
:
public cellSetOption
public fv::cellSetOption
{
protected:

View File

@ -169,7 +169,7 @@ Foam::fv::actuationDiskSource::actuationDiskSource
const fvMesh& mesh
)
:
cellSetOption(name, modelType, dict, mesh),
fv::cellSetOption(name, modelType, dict, mesh),
writeFile(mesh, name, modelType, coeffs_),
forceMethod_
(
@ -278,7 +278,7 @@ void Foam::fv::actuationDiskSource::addSup
bool Foam::fv::actuationDiskSource::read(const dictionary& dict)
{
if (cellSetOption::read(dict) && writeFile::read(dict))
if (fv::cellSetOption::read(dict) && writeFile::read(dict))
{
dict.readIfPresent("sink", sink_);
dict.readIfPresent("writeFileStart", writeFileStart_);

View File

@ -227,7 +227,7 @@ namespace fv
class actuationDiskSource
:
public cellSetOption,
public fv::cellSetOption,
public functionObjects::writeFile
{
protected:

View File

@ -53,7 +53,7 @@ Foam::fv::buoyancyEnergy::buoyancyEnergy
const fvMesh& mesh
)
:
option(sourceName, modelType, dict, mesh),
fv::option(sourceName, modelType, dict, mesh),
UName_(coeffs_.getOrDefault<word>("U", "U"))
{
coeffs_.readEntry("fields", fieldNames_);
@ -88,7 +88,7 @@ void Foam::fv::buoyancyEnergy::addSup
bool Foam::fv::buoyancyEnergy::read(const dictionary& dict)
{
if (option::read(dict))
if (fv::option::read(dict))
{
coeffs_.readIfPresent("UName", UName_);

View File

@ -53,7 +53,7 @@ Foam::fv::buoyancyForce::buoyancyForce
const fvMesh& mesh
)
:
option(sourceName, modelType, dict, mesh),
fv::option(sourceName, modelType, dict, mesh),
g_(meshObjects::gravity::New(mesh.time()))
{
coeffs_.readEntry("fields", fieldNames_);

View File

@ -134,7 +134,7 @@ Foam::fv::buoyancyTurbSource::buoyancyTurbSource
const fvMesh& mesh
)
:
cellSetOption(sourceName, modelType, dict, mesh),
fv::cellSetOption(sourceName, modelType, dict, mesh),
isEpsilon_(false),
rhoName_(coeffs_.getOrDefault<word>("rho", "rho")),
alphatName_(coeffs_.getOrDefault<word>("alphat", "alphat")),

View File

@ -182,7 +182,7 @@ namespace fv
class buoyancyTurbSource
:
public cellSetOption
public fv::cellSetOption
{
// Private Data

View File

@ -161,7 +161,7 @@ directionalPressureGradientExplicitSource
const fvMesh& mesh
)
:
cellSetOption(sourceName, modelType, dict, mesh),
fv::cellSetOption(sourceName, modelType, dict, mesh),
model_(pressureDropModelNames_.get("model", coeffs_)),
gradP0_(cells_.size(), Zero),
dGradP_(cells_.size(), Zero),

View File

@ -140,7 +140,7 @@ namespace fv
class directionalPressureGradientExplicitSource
:
public cellSetOption
public fv::cellSetOption
{
public:

View File

@ -135,7 +135,7 @@ Foam::fv::effectivenessHeatExchangerSource::effectivenessHeatExchangerSource
const fvMesh& mesh
)
:
cellSetOption(name, modelType, dict, mesh),
fv::cellSetOption(name, modelType, dict, mesh),
secondaryMassFlowRate_(0),
secondaryInletT_(0),
primaryInletT_(0),
@ -306,7 +306,7 @@ void Foam::fv::effectivenessHeatExchangerSource::addSup
bool Foam::fv::effectivenessHeatExchangerSource::read(const dictionary& dict)
{
if (cellSetOption::read(dict))
if (fv::cellSetOption::read(dict))
{
UName_ = coeffs_.getOrDefault<word>("U", "U");
TName_ = coeffs_.getOrDefault<word>("T", "T");

View File

@ -218,7 +218,7 @@ namespace fv
class effectivenessHeatExchangerSource
:
public cellSetOption
public fv::cellSetOption
{
protected:

View File

@ -54,7 +54,7 @@ Foam::fv::explicitPorositySource::explicitPorositySource
const fvMesh& mesh
)
:
cellSetOption(name, modelType, dict, mesh),
fv::cellSetOption(name, modelType, dict, mesh),
porosityPtr_(nullptr)
{
read(dict);
@ -115,7 +115,7 @@ void Foam::fv::explicitPorositySource::addSup
bool Foam::fv::explicitPorositySource::read(const dictionary& dict)
{
if (cellSetOption::read(dict))
if (fv::cellSetOption::read(dict))
{
if (!coeffs_.readIfPresent("UNames", fieldNames_))
{

View File

@ -136,7 +136,7 @@ namespace fv
class explicitPorositySource
:
public cellSetOption
public fv::cellSetOption
{
protected:

View File

@ -109,7 +109,7 @@ Foam::fv::jouleHeatingSource::jouleHeatingSource
const fvMesh& mesh
)
:
option(sourceName, modelType, dict, mesh),
fv::option(sourceName, modelType, dict, mesh),
TName_("T"),
V_
(
@ -203,7 +203,7 @@ void Foam::fv::jouleHeatingSource::addSup
bool Foam::fv::jouleHeatingSource::read(const dictionary& dict)
{
if (option::read(dict))
if (fv::option::read(dict))
{
coeffs_.readIfPresent("T", TName_);

View File

@ -82,7 +82,7 @@ Foam::fv::meanVelocityForce::meanVelocityForce
const fvMesh& mesh
)
:
cellSetOption(sourceName, modelType, dict, mesh),
fv::cellSetOption(sourceName, modelType, dict, mesh),
Ubar_(coeffs_.get<vector>("Ubar")),
gradP0_(0.0),
dGradP_(0.0),

View File

@ -112,7 +112,7 @@ namespace fv
class meanVelocityForce
:
public cellSetOption
public fv::cellSetOption
{
protected:

View File

@ -57,7 +57,7 @@ Foam::fv::multiphaseStabilizedTurbulence::multiphaseStabilizedTurbulence
const fvMesh& mesh
)
:
option(sourceName, modelType, dict, mesh),
fv::option(sourceName, modelType, dict, mesh),
rhoName_(coeffs_.getOrDefault<word>("rho", "rho")),
Cmu_
(

View File

@ -42,7 +42,7 @@ Foam::fv::PhaseLimitStabilization<Type>::PhaseLimitStabilization
const fvMesh& mesh
)
:
option(name, modelType, dict, mesh),
fv::option(name, modelType, dict, mesh),
fieldName_(coeffs_.get<word>("field")),
rateName_(coeffs_.get<word>("rate")),
residualAlpha_(coeffs_.get<scalar>("residualAlpha"))
@ -75,7 +75,7 @@ void Foam::fv::PhaseLimitStabilization<Type>::addSup
template<class Type>
bool Foam::fv::PhaseLimitStabilization<Type>::read(const dictionary& dict)
{
if (option::read(dict))
if (fv::option::read(dict))
{
coeffs_.readEntry("residualAlpha", residualAlpha_);

View File

@ -452,7 +452,7 @@ Foam::fv::rotorDiskSource::rotorDiskSource
)
:
cellSetOption(name, modelType, dict, mesh),
fv::cellSetOption(name, modelType, dict, mesh),
rhoRef_(1.0),
omega_(0.0),
nBlades_(0),
@ -545,7 +545,7 @@ void Foam::fv::rotorDiskSource::addSup
bool Foam::fv::rotorDiskSource::read(const dictionary& dict)
{
if (cellSetOption::read(dict))
if (fv::cellSetOption::read(dict))
{
coeffs_.readEntry("fields", fieldNames_);
fv::option::resetApplied();

View File

@ -204,7 +204,7 @@ namespace fv
class rotorDiskSource
:
public cellSetOption
public fv::cellSetOption
{
public:

View File

@ -162,7 +162,7 @@ Foam::fv::solidificationMeltingSource::solidificationMeltingSource
const fvMesh& mesh
)
:
cellSetOption(sourceName, modelType, dict, mesh),
fv::cellSetOption(sourceName, modelType, dict, mesh),
Tmelt_(coeffs_.get<scalar>("Tmelt")),
L_(coeffs_.get<scalar>("L")),
relax_(coeffs_.getOrDefault<scalar>("relax", 0.9)),
@ -296,7 +296,7 @@ void Foam::fv::solidificationMeltingSource::addSup
bool Foam::fv::solidificationMeltingSource::read(const dictionary& dict)
{
if (cellSetOption::read(dict))
if (fv::cellSetOption::read(dict))
{
coeffs_.readEntry("Tmelt", Tmelt_);
coeffs_.readEntry("L", L_);

View File

@ -153,7 +153,7 @@ namespace fv
class solidificationMeltingSource
:
public cellSetOption
public fv::cellSetOption
{
public:

View File

@ -54,7 +54,7 @@ Foam::fv::tabulatedAccelerationSource::tabulatedAccelerationSource
const fvMesh& mesh
)
:
option(name, modelType, dict, mesh),
fv::option(name, modelType, dict, mesh),
motion_(coeffs_, mesh.time()),
UName_(coeffs_.getOrDefault<word>("U", "U")),
g0_("g0", dimAcceleration, Zero)
@ -94,7 +94,7 @@ void Foam::fv::tabulatedAccelerationSource::addSup
bool Foam::fv::tabulatedAccelerationSource::read(const dictionary& dict)
{
if (option::read(dict))
if (fv::option::read(dict))
{
return motion_.read(coeffs_);
}

View File

@ -89,7 +89,7 @@ Foam::fv::viscousDissipation::viscousDissipation
const fvMesh& mesh
)
:
option(sourceName, modelType, dict, mesh),
fv::option(sourceName, modelType, dict, mesh),
UName_(coeffs_.getOrDefault<word>("U", "U")),
rhoName_(coeffs_.getOrDefault<word>("rho", "none")),
rho_

View File

@ -117,7 +117,7 @@ Foam::fv::SemiImplicitSource<Type>::SemiImplicitSource
const fvMesh& mesh
)
:
cellSetOption(name, modelType, dict, mesh),
fv::cellSetOption(name, modelType, dict, mesh),
volumeMode_(vmAbsolute),
VDash_(1.0)
{
@ -203,7 +203,7 @@ void Foam::fv::SemiImplicitSource<Type>::addSup
template<class Type>
bool Foam::fv::SemiImplicitSource<Type>::read(const dictionary& dict)
{
if (cellSetOption::read(dict))
if (fv::cellSetOption::read(dict))
{
volumeMode_ = volumeModeTypeNames_.get("volumeMode", coeffs_);
setFieldData(coeffs_.subDict("injectionRateSuSp"));

View File

@ -146,7 +146,7 @@ Ostream& operator<<
template<class Type>
class SemiImplicitSource
:
public cellSetOption
public fv::cellSetOption
{
public:

View File

@ -254,7 +254,7 @@ void Foam::fv::tabulatedNTUHeatTransfer::calculateHtc()
bool Foam::fv::tabulatedNTUHeatTransfer::read(const dictionary& dict)
{
if (option::read(dict))
if (fv::option::read(dict))
{
coeffs_.readIfPresent("U", UName_);
coeffs_.readIfPresent("UNbr", UNbrName_);

View File

@ -53,7 +53,7 @@ Foam::fv::radiation::radiation
const fvMesh& mesh
)
:
option(sourceName, modelType, dict, mesh)
fv::option(sourceName, modelType, dict, mesh)
{
const auto& thermo = mesh_.lookupObject<basicThermo>(basicThermo::dictName);

View File

@ -153,7 +153,7 @@ Foam::fv::multiphaseMangrovesSource::multiphaseMangrovesSource
const fvMesh& mesh
)
:
option(name, modelType, dict, mesh),
fv::option(name, modelType, dict, mesh),
aZone_(),
NZone_(),
CmZone_(),
@ -206,7 +206,7 @@ void Foam::fv::multiphaseMangrovesSource::addSup
bool Foam::fv::multiphaseMangrovesSource::read(const dictionary& dict)
{
if (option::read(dict))
if (fv::option::read(dict))
{
if (!coeffs_.readIfPresent("UNames", fieldNames_))
{

View File

@ -154,7 +154,7 @@ Foam::fv::multiphaseMangrovesTurbulenceModel::multiphaseMangrovesTurbulenceModel
const fvMesh& mesh
)
:
option(name, modelType, dict, mesh),
fv::option(name, modelType, dict, mesh),
aZone_(),
NZone_(),
CkpZone_(),
@ -227,7 +227,7 @@ void Foam::fv::multiphaseMangrovesTurbulenceModel::addSup
bool Foam::fv::multiphaseMangrovesTurbulenceModel::read(const dictionary& dict)
{
if (option::read(dict))
if (fv::option::read(dict))
{
if (!coeffs_.readIfPresent("epsilonNames", fieldNames_))
{