diff --git a/applications/solvers/combustion/PDRFoam/PDRModels/turbulence/PDRkEpsilon/PDRkEpsilon.C b/applications/solvers/combustion/PDRFoam/PDRModels/turbulence/PDRkEpsilon/PDRkEpsilon.C index 79b9fb7756f30c445b15729655df17d2ff5ab5c2..44c4f6052fbc03448ee8a5f34e9f7b9875578cc0 100644 --- a/applications/solvers/combustion/PDRFoam/PDRModels/turbulence/PDRkEpsilon/PDRkEpsilon.C +++ b/applications/solvers/combustion/PDRFoam/PDRModels/turbulence/PDRkEpsilon/PDRkEpsilon.C @@ -116,7 +116,7 @@ void PDRkEpsilon::correct() } tmp<volTensorField> tgradU = fvc::grad(U_); - volScalarField G("RASModel::G", mut_*(tgradU() && dev(twoSymm(tgradU())))); + volScalarField G("RASModel.G", mut_*(tgradU() && dev(twoSymm(tgradU())))); tgradU.clear(); // Update espsilon and G at the wall diff --git a/applications/utilities/preProcessing/applyBoundaryLayer/applyBoundaryLayer.C b/applications/utilities/preProcessing/applyBoundaryLayer/applyBoundaryLayer.C index 69cee38a01cdd65d9659ad2d354e0ac35b32ba70..13c5841c3aeb2f1c7f52cbd8fd1acf129f78849e 100644 --- a/applications/utilities/preProcessing/applyBoundaryLayer/applyBoundaryLayer.C +++ b/applications/utilities/preProcessing/applyBoundaryLayer/applyBoundaryLayer.C @@ -136,7 +136,7 @@ int main(int argc, char *argv[]) } // Create G field - used by RAS wall functions - volScalarField G("RASModel::G", nut*2*sqr(S)); + volScalarField G("RASModel.G", nut*2*sqr(S)); //--- Read and modify turbulence fields diff --git a/src/OpenFOAM/db/dictionary/dictionary.C b/src/OpenFOAM/db/dictionary/dictionary.C index 40abb17d470ed5358919c4f46c9139a4577caed9..295749ea4c87ace3910dd5cfa1d11b5c650cfcd0 100644 --- a/src/OpenFOAM/db/dictionary/dictionary.C +++ b/src/OpenFOAM/db/dictionary/dictionary.C @@ -189,7 +189,7 @@ Foam::dictionary::dictionary parent_(parentDict) { transfer(dict()); - name() = parentDict.name() + "::" + name(); + name() = parentDict.name() + '.' + name(); } @@ -622,7 +622,7 @@ Foam::dictionary Foam::dictionary::subOrEmptyDict } else { - return dictionary(*this, dictionary(name() + "::" + keyword)); + return dictionary(*this, dictionary(name() + '.' + keyword)); } } else @@ -690,7 +690,7 @@ bool Foam::dictionary::add(entry* entryPtr, bool mergeEntry) if (hashedEntries_.insert(entryPtr->keyword(), entryPtr)) { - entryPtr->name() = name() + "::" + entryPtr->keyword(); + entryPtr->name() = name() + '.' + entryPtr->keyword(); if (entryPtr->keyword().isPattern()) { @@ -718,7 +718,7 @@ bool Foam::dictionary::add(entry* entryPtr, bool mergeEntry) if (hashedEntries_.insert(entryPtr->keyword(), entryPtr)) { - entryPtr->name() = name() + "::" + entryPtr->keyword(); + entryPtr->name() = name() + '.' + entryPtr->keyword(); IDLList<entry>::append(entryPtr); if (entryPtr->keyword().isPattern()) @@ -925,7 +925,7 @@ bool Foam::dictionary::changeKeyword // change name and HashTable, but leave DL-List untouched iter()->keyword() = newKeyword; - iter()->name() = name() + "::" + newKeyword; + iter()->name() = name() + '.' + newKeyword; hashedEntries_.erase(oldKeyword); hashedEntries_.insert(newKeyword, iter()); diff --git a/src/OpenFOAM/db/dictionary/dictionary.H b/src/OpenFOAM/db/dictionary/dictionary.H index 17901737caac15c14ed4172c19274291f5da6cd4..2eab9e2778b62c5d26ab67869fdc41ee9b288b19 100644 --- a/src/OpenFOAM/db/dictionary/dictionary.H +++ b/src/OpenFOAM/db/dictionary/dictionary.H @@ -117,7 +117,7 @@ public: { const word scopedName = name_.name(); - string::size_type i = scopedName.rfind(':'); + string::size_type i = scopedName.rfind('.'); if (i == scopedName.npos) { diff --git a/src/OpenFOAM/db/dictionary/dictionaryIO.C b/src/OpenFOAM/db/dictionary/dictionaryIO.C index aa1321d9147a4361e270007e5d18e463744a7e84..48e92e5340ec320c2eb8530ea7bd778ddcdde73f 100644 --- a/src/OpenFOAM/db/dictionary/dictionaryIO.C +++ b/src/OpenFOAM/db/dictionary/dictionaryIO.C @@ -37,7 +37,7 @@ Foam::dictionary::dictionary Istream& is ) : - dictionaryName(parentDict.name() + "::" + name), + dictionaryName(parentDict.name() + '.' + name), parent_(parentDict) { read(is); diff --git a/src/OpenFOAM/db/dictionary/primitiveEntry/primitiveEntry.C b/src/OpenFOAM/db/dictionary/primitiveEntry/primitiveEntry.C index c91f3df5aa7f72894b9715a664fed7b85a106fbd..1349e66ebff50dc22e43afbbff7dfaaad3a79835 100644 --- a/src/OpenFOAM/db/dictionary/primitiveEntry/primitiveEntry.C +++ b/src/OpenFOAM/db/dictionary/primitiveEntry/primitiveEntry.C @@ -81,7 +81,7 @@ Foam::primitiveEntry::primitiveEntry(const keyType& key, const ITstream& is) entry(key), ITstream(is) { - name() += "::" + keyword(); + name() += '.' + keyword(); } diff --git a/src/OpenFOAM/db/dictionary/primitiveEntry/primitiveEntryIO.C b/src/OpenFOAM/db/dictionary/primitiveEntry/primitiveEntryIO.C index fd442af47ae05dff20276f68e2a4bd02addf3ce4..763981488c67a697136c54ed0cc03e94b6d766f1 100644 --- a/src/OpenFOAM/db/dictionary/primitiveEntry/primitiveEntryIO.C +++ b/src/OpenFOAM/db/dictionary/primitiveEntry/primitiveEntryIO.C @@ -186,7 +186,7 @@ Foam::primitiveEntry::primitiveEntry entry(key), ITstream ( - is.name() + "::" + key, + is.name() + '.' + key, tokenList(10), is.format(), is.version() @@ -201,7 +201,7 @@ Foam::primitiveEntry::primitiveEntry(const keyType& key, Istream& is) entry(key), ITstream ( - is.name() + "::" + key, + is.name() + '.' + key, tokenList(10), is.format(), is.version() diff --git a/src/fieldSources/basicSource/pressureGradientExplicitSource/pressureGradientExplicitSource.C b/src/fieldSources/basicSource/pressureGradientExplicitSource/pressureGradientExplicitSource.C index 02bd8ae0dcb5b2e30907a2120edeba845e78ab9c..790fac2c8bf91838b34235fc70b469a3db006995 100644 --- a/src/fieldSources/basicSource/pressureGradientExplicitSource/pressureGradientExplicitSource.C +++ b/src/fieldSources/basicSource/pressureGradientExplicitSource/pressureGradientExplicitSource.C @@ -210,7 +210,7 @@ void Foam::pressureGradientExplicitSource::setValue ( IOobject ( - name_ + "::invA", + name_ + ".invA", mesh_.time().timeName(), mesh_, IOobject::NO_READ, diff --git a/src/finiteVolume/finiteVolume/fvSchemes/fvSchemes.C b/src/finiteVolume/finiteVolume/fvSchemes/fvSchemes.C index bdbe5db09233115bcf33cc0a6ce7e0cf5263e608..fdc3ed23f735eb73a1a0f38b0bf67982b46d65fc 100644 --- a/src/finiteVolume/finiteVolume/fvSchemes/fvSchemes.C +++ b/src/finiteVolume/finiteVolume/fvSchemes/fvSchemes.C @@ -269,98 +269,98 @@ Foam::fvSchemes::fvSchemes(const objectRegistry& obr) ( ITstream ( - objectPath() + "::ddtSchemes", + objectPath() + ".ddtSchemes", tokenList() )() ), defaultDdtScheme_ ( - ddtSchemes_.name() + "::default", + ddtSchemes_.name() + ".default", tokenList() ), d2dt2Schemes_ ( ITstream ( - objectPath() + "::d2dt2Schemes", + objectPath() + ".d2dt2Schemes", tokenList() )() ), defaultD2dt2Scheme_ ( - d2dt2Schemes_.name() + "::default", + d2dt2Schemes_.name() + ".default", tokenList() ), interpolationSchemes_ ( ITstream ( - objectPath() + "::interpolationSchemes", + objectPath() + ".interpolationSchemes", tokenList() )() ), defaultInterpolationScheme_ ( - interpolationSchemes_.name() + "::default", + interpolationSchemes_.name() + ".default", tokenList() ), divSchemes_ ( ITstream ( - objectPath() + "::divSchemes", + objectPath() + ".divSchemes", tokenList() )() ), defaultDivScheme_ ( - divSchemes_.name() + "::default", + divSchemes_.name() + ".default", tokenList() ), gradSchemes_ ( ITstream ( - objectPath() + "::gradSchemes", + objectPath() + ".gradSchemes", tokenList() )() ), defaultGradScheme_ ( - gradSchemes_.name() + "::default", + gradSchemes_.name() + ".default", tokenList() ), snGradSchemes_ ( ITstream ( - objectPath() + "::snGradSchemes", + objectPath() + ".snGradSchemes", tokenList() )() ), defaultSnGradScheme_ ( - snGradSchemes_.name() + "::default", + snGradSchemes_.name() + ".default", tokenList() ), laplacianSchemes_ ( ITstream ( - objectPath() + "::laplacianSchemes", + objectPath() + ".laplacianSchemes", tokenList() )() ), defaultLaplacianScheme_ ( - laplacianSchemes_.name() + "::default", + laplacianSchemes_.name() + ".default", tokenList() ), fluxRequired_ ( ITstream ( - objectPath() + "::fluxRequired", + objectPath() + ".fluxRequired", tokenList() )() ), diff --git a/src/lagrangian/intermediate/clouds/Templates/KinematicCloud/KinematicCloud.C b/src/lagrangian/intermediate/clouds/Templates/KinematicCloud/KinematicCloud.C index ef332fa673eaa57400ce61541a8515824b867cac..e9cd4a0ac8552bcfc6e6f3cf821a57ff15e61086 100644 --- a/src/lagrangian/intermediate/clouds/Templates/KinematicCloud/KinematicCloud.C +++ b/src/lagrangian/intermediate/clouds/Templates/KinematicCloud/KinematicCloud.C @@ -346,7 +346,7 @@ Foam::KinematicCloud<CloudType>::KinematicCloud ( IOobject ( - this->name() + "::UTrans", + this->name() + ".UTrans", this->db().time().timeName(), this->db(), IOobject::READ_IF_PRESENT, @@ -362,7 +362,7 @@ Foam::KinematicCloud<CloudType>::KinematicCloud ( IOobject ( - this->name() + "::UCoeff", + this->name() + ".UCoeff", this->db().time().timeName(), this->db(), IOobject::READ_IF_PRESENT, @@ -426,7 +426,7 @@ Foam::KinematicCloud<CloudType>::KinematicCloud ( IOobject ( - this->name() + "::UTrans", + this->name() + ".UTrans", this->db().time().timeName(), this->db(), IOobject::NO_READ, @@ -442,7 +442,7 @@ Foam::KinematicCloud<CloudType>::KinematicCloud ( IOobject ( - name + "::UCoeff", + name + ".UCoeff", this->db().time().timeName(), this->db(), IOobject::NO_READ, diff --git a/src/lagrangian/intermediate/clouds/Templates/KinematicCloud/KinematicCloudI.H b/src/lagrangian/intermediate/clouds/Templates/KinematicCloud/KinematicCloudI.H index 2e793ac71e3ff9211c6761bc1176c17c1f2fbcaa..e1c4cf4198404f8601e7572acddc3105e91e7021 100644 --- a/src/lagrangian/intermediate/clouds/Templates/KinematicCloud/KinematicCloudI.H +++ b/src/lagrangian/intermediate/clouds/Templates/KinematicCloud/KinematicCloudI.H @@ -564,7 +564,7 @@ Foam::KinematicCloud<CloudType>::theta() const ( IOobject ( - this->name() + "::theta", + this->name() + ".theta", this->db().time().timeName(), this->db(), IOobject::NO_READ, @@ -603,7 +603,7 @@ Foam::KinematicCloud<CloudType>::alpha() const ( IOobject ( - this->name() + "::alpha", + this->name() + ".alpha", this->db().time().timeName(), this->db(), IOobject::NO_READ, @@ -640,7 +640,7 @@ Foam::KinematicCloud<CloudType>::rhoEff() const ( IOobject ( - this->name() + "::rhoEff", + this->name() + ".rhoEff", this->db().time().timeName(), this->db(), IOobject::NO_READ, diff --git a/src/lagrangian/intermediate/clouds/Templates/ReactingCloud/ReactingCloudI.H b/src/lagrangian/intermediate/clouds/Templates/ReactingCloud/ReactingCloudI.H index 66cb73b85f741fbc89ad11286e8cd77ccba7bb55..bfa14486821a059a8f5982961ba742ac97b9cac4 100644 --- a/src/lagrangian/intermediate/clouds/Templates/ReactingCloud/ReactingCloudI.H +++ b/src/lagrangian/intermediate/clouds/Templates/ReactingCloud/ReactingCloudI.H @@ -107,7 +107,7 @@ inline Foam::tmp<Foam::fvScalarMatrix> Foam::ReactingCloud<CloudType>::SYi ( IOobject ( - this->name() + "::rhoTrans", + this->name() + ".rhoTrans", this->db().time().timeName(), this->db(), IOobject::NO_READ, @@ -155,7 +155,7 @@ Foam::ReactingCloud<CloudType>::Srho(const label i) const ( IOobject ( - this->name() + "::rhoTrans", + this->name() + ".rhoTrans", this->db().time().timeName(), this->db(), IOobject::NO_READ, @@ -192,7 +192,7 @@ Foam::ReactingCloud<CloudType>::Srho() const ( IOobject ( - this->name() + "::rhoTrans", + this->name() + ".rhoTrans", this->db().time().timeName(), this->db(), IOobject::NO_READ, @@ -236,7 +236,7 @@ Foam::ReactingCloud<CloudType>::Srho(volScalarField& rho) const ( IOobject ( - this->name() + "::rhoTrans", + this->name() + ".rhoTrans", this->db().time().timeName(), this->db(), IOobject::NO_READ, diff --git a/src/lagrangian/intermediate/clouds/Templates/ThermoCloud/ThermoCloud.C b/src/lagrangian/intermediate/clouds/Templates/ThermoCloud/ThermoCloud.C index c7e5c9814d1d06b46be46c467707c7101108f2c2..b756ad9911e6f7530966acbde2b7c50733d21332 100644 --- a/src/lagrangian/intermediate/clouds/Templates/ThermoCloud/ThermoCloud.C +++ b/src/lagrangian/intermediate/clouds/Templates/ThermoCloud/ThermoCloud.C @@ -64,7 +64,7 @@ void Foam::ThermoCloud<CloudType>::setModels() ( IOobject ( - this->name() + "::radAreaP", + this->name() + ".radAreaP", this->db().time().timeName(), this->db(), IOobject::READ_IF_PRESENT, @@ -81,7 +81,7 @@ void Foam::ThermoCloud<CloudType>::setModels() ( IOobject ( - this->name() + "::radT4", + this->name() + ".radT4", this->db().time().timeName(), this->db(), IOobject::READ_IF_PRESENT, @@ -98,7 +98,7 @@ void Foam::ThermoCloud<CloudType>::setModels() ( IOobject ( - this->name() + "::radAreaPT4", + this->name() + ".radAreaPT4", this->db().time().timeName(), this->db(), IOobject::READ_IF_PRESENT, @@ -169,7 +169,7 @@ Foam::ThermoCloud<CloudType>::ThermoCloud ( IOobject ( - this->name() + "::hsTrans", + this->name() + ".hsTrans", this->db().time().timeName(), this->db(), IOobject::READ_IF_PRESENT, @@ -185,7 +185,7 @@ Foam::ThermoCloud<CloudType>::ThermoCloud ( IOobject ( - this->name() + "::hsCoeff", + this->name() + ".hsCoeff", this->db().time().timeName(), this->db(), IOobject::READ_IF_PRESENT, @@ -239,7 +239,7 @@ Foam::ThermoCloud<CloudType>::ThermoCloud ( IOobject ( - this->name() + "::hsTrans", + this->name() + ".hsTrans", this->db().time().timeName(), this->db(), IOobject::NO_READ, @@ -255,7 +255,7 @@ Foam::ThermoCloud<CloudType>::ThermoCloud ( IOobject ( - this->name() + "::hsCoeff", + this->name() + ".hsCoeff", this->db().time().timeName(), this->db(), IOobject::NO_READ, @@ -274,7 +274,7 @@ Foam::ThermoCloud<CloudType>::ThermoCloud ( IOobject ( - this->name() + "::radAreaP", + this->name() + ".radAreaP", this->db().time().timeName(), this->db(), IOobject::NO_READ, @@ -291,7 +291,7 @@ Foam::ThermoCloud<CloudType>::ThermoCloud ( IOobject ( - this->name() + "::radT4", + this->name() + ".radT4", this->db().time().timeName(), this->db(), IOobject::NO_READ, @@ -308,7 +308,7 @@ Foam::ThermoCloud<CloudType>::ThermoCloud ( IOobject ( - this->name() + "::radAreaPT4", + this->name() + ".radAreaPT4", this->db().time().timeName(), this->db(), IOobject::NO_READ, diff --git a/src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/LocalInteraction/LocalInteraction.C b/src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/LocalInteraction/LocalInteraction.C index 8ffae4f75ffaf78d258af6494aefd410acf2541e..fc4ed0de563975c7313b37cf1efd1d60bb756cce 100644 --- a/src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/LocalInteraction/LocalInteraction.C +++ b/src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/LocalInteraction/LocalInteraction.C @@ -46,8 +46,8 @@ Foam::LocalInteraction<CloudType>::LocalInteraction { if (writeFields_) { - word massEscapeName(this->owner().name() + "::massEscape"); - word massStickName(this->owner().name() + "::massStick"); + word massEscapeName(this->owner().name() + ".massEscape"); + word massStickName(this->owner().name() + ".massStick"); Info<< " Interaction fields will be written to " << massEscapeName << " and " << massStickName << endl; @@ -121,7 +121,7 @@ Foam::volScalarField& Foam::LocalInteraction<CloudType>::massEscape() ( IOobject ( - this->owner().name() + "::massEscape", + this->owner().name() + ".massEscape", mesh.time().timeName(), mesh, IOobject::READ_IF_PRESENT, @@ -150,7 +150,7 @@ Foam::volScalarField& Foam::LocalInteraction<CloudType>::massStick() ( IOobject ( - this->owner().name() + "::massStick", + this->owner().name() + ".massStick", mesh.time().timeName(), mesh, IOobject::READ_IF_PRESENT, diff --git a/src/postProcessing/functionObjects/field/turbulenceFields/turbulenceFields.C b/src/postProcessing/functionObjects/field/turbulenceFields/turbulenceFields.C index 74fe73b80ca346c82928b93c4a7e1c96accf80e1..fd4ba20b65e48d514e66431ca2dedf5600b122f0 100644 --- a/src/postProcessing/functionObjects/field/turbulenceFields/turbulenceFields.C +++ b/src/postProcessing/functionObjects/field/turbulenceFields/turbulenceFields.C @@ -141,7 +141,7 @@ void Foam::turbulenceFields::read(const dictionary& dict) Info<< "storing fields:" << nl; forAllConstIter(wordHashSet, fieldSet_, iter) { - Info<< " " << modelName << "::" << iter.key() << nl; + Info<< " " << modelName << '.' << iter.key() << nl; } Info<< endl; } diff --git a/src/postProcessing/functionObjects/field/turbulenceFields/turbulenceFieldsTemplates.C b/src/postProcessing/functionObjects/field/turbulenceFields/turbulenceFieldsTemplates.C index 67ac423e1fad1e33ccdbb87f49423740c834bfb2..bee582401355193028351c3e87cf5999732f6346 100644 --- a/src/postProcessing/functionObjects/field/turbulenceFields/turbulenceFieldsTemplates.C +++ b/src/postProcessing/functionObjects/field/turbulenceFields/turbulenceFieldsTemplates.C @@ -36,7 +36,7 @@ void Foam::turbulenceFields::processField { typedef GeometricField<Type, fvPatchField, volMesh> FieldType; - const word scopedName = modelName + "::" + fieldName; + const word scopedName = modelName + '.' + fieldName; if (obr_.foundObject<FieldType>(scopedName)) { diff --git a/src/regionModels/surfaceFilmModels/submodels/thermo/filmRadiationModel/noRadiation/noRadiation.C b/src/regionModels/surfaceFilmModels/submodels/thermo/filmRadiationModel/noRadiation/noRadiation.C index 2c682e7a609097dda1ca4e94f84830d112005497..c119df0084489f068d65a2926accb011390fdf65 100644 --- a/src/regionModels/surfaceFilmModels/submodels/thermo/filmRadiationModel/noRadiation/noRadiation.C +++ b/src/regionModels/surfaceFilmModels/submodels/thermo/filmRadiationModel/noRadiation/noRadiation.C @@ -82,7 +82,7 @@ tmp<volScalarField> noRadiation::Shs() ( IOobject ( - typeName + "::Shs", + typeName + ".Shs", owner().time().timeName(), owner().regionMesh(), IOobject::NO_READ, diff --git a/src/regionModels/surfaceFilmModels/submodels/thermo/filmRadiationModel/standardRadiation/standardRadiation.C b/src/regionModels/surfaceFilmModels/submodels/thermo/filmRadiationModel/standardRadiation/standardRadiation.C index ba1585713005857447375182f7aab00417f6bf5a..4e01e574c8bd03fd9f3649bca1f19ef4cc842174 100644 --- a/src/regionModels/surfaceFilmModels/submodels/thermo/filmRadiationModel/standardRadiation/standardRadiation.C +++ b/src/regionModels/surfaceFilmModels/submodels/thermo/filmRadiationModel/standardRadiation/standardRadiation.C @@ -115,7 +115,7 @@ tmp<volScalarField> standardRadiation::Shs() ( IOobject ( - typeName + "::Shs", + typeName + ".Shs", owner().time().timeName(), owner().regionMesh(), IOobject::NO_READ, diff --git a/src/regionModels/thermoBaffleModels/noThermo/noThermo.C b/src/regionModels/thermoBaffleModels/noThermo/noThermo.C index aabcfd204b1a74b46f6971c0143cdb1e8b7d4b0d..3928c376b4b66d7fad0617019a89934fd3472461 100644 --- a/src/regionModels/thermoBaffleModels/noThermo/noThermo.C +++ b/src/regionModels/thermoBaffleModels/noThermo/noThermo.C @@ -88,7 +88,8 @@ void noThermo::evolveRegion() const tmp<volScalarField> noThermo::Cp() const { FatalErrorIn("const tmp<volScalarField>& noThermo::Cp() const") - << "Cp field not available for " << type() << abort(FatalError); + << "Cp field not available for " << type() + << abort(FatalError); return tmp<volScalarField> ( @@ -112,7 +113,8 @@ const tmp<volScalarField> noThermo::Cp() const const volScalarField& noThermo::kappaRad() const { FatalErrorIn("const volScalarField& noThermo::kappaRad() const") - << "kappa field not available for " << type() << abort(FatalError); + << "kappa field not available for " << type() + << abort(FatalError); return volScalarField::null(); } @@ -120,7 +122,8 @@ const volScalarField& noThermo::kappaRad() const const volScalarField& noThermo::rho() const { FatalErrorIn("const volScalarField& noThermo::rho() const") - << "rho field not available for " << type() << abort(FatalError); + << "rho field not available for " << type() + << abort(FatalError); return volScalarField::null(); } @@ -128,7 +131,8 @@ const volScalarField& noThermo::rho() const const volScalarField& noThermo::kappa() const { FatalErrorIn("const volScalarField& noThermo::kappa() const") - << "K field not available for " << type() << abort(FatalError); + << "K field not available for " << type() + << abort(FatalError); return volScalarField::null(); } @@ -136,7 +140,8 @@ const volScalarField& noThermo::kappa() const const volScalarField& noThermo::T() const { FatalErrorIn("const volScalarField& noThermo::T() const") - << "T field not available for " << type() << abort(FatalError); + << "T field not available for " << type() + << abort(FatalError); return volScalarField::null(); } @@ -144,7 +149,8 @@ const volScalarField& noThermo::T() const const solidThermo& noThermo::thermo() const { FatalErrorIn("const volScalarField& noThermo::T() const") - << "T field not available for " << type() << abort(FatalError); + << "T field not available for " << type() + << abort(FatalError); return reinterpret_cast<const solidThermo&>(null); } diff --git a/src/thermophysicalModels/chemistryModel/chemistryModel/chemistryModel/chemistryModel.C b/src/thermophysicalModels/chemistryModel/chemistryModel/chemistryModel/chemistryModel.C index 1b6db173ce7a81bcd2fd05de1279e1b785bc8caa..226e19c22634f187d61c5511c74e72df909253bb 100644 --- a/src/thermophysicalModels/chemistryModel/chemistryModel/chemistryModel/chemistryModel.C +++ b/src/thermophysicalModels/chemistryModel/chemistryModel/chemistryModel/chemistryModel.C @@ -62,7 +62,7 @@ Foam::chemistryModel<CompType, ThermoType>::chemistryModel ( IOobject ( - "RR::" + Y_[fieldI].name(), + "RR." + Y_[fieldI].name(), mesh.time().timeName(), mesh, IOobject::NO_READ, diff --git a/src/thermophysicalModels/solidChemistryModel/ODESolidChemistryModel/ODESolidChemistryModel.C b/src/thermophysicalModels/solidChemistryModel/ODESolidChemistryModel/ODESolidChemistryModel.C index 6823a603bdb7bdc48786ae3b72213c83c108e1b7..6bc25ebc2c880e21677dcf518d06fca535cbbd2d 100644 --- a/src/thermophysicalModels/solidChemistryModel/ODESolidChemistryModel/ODESolidChemistryModel.C +++ b/src/thermophysicalModels/solidChemistryModel/ODESolidChemistryModel/ODESolidChemistryModel.C @@ -78,7 +78,7 @@ ODESolidChemistryModel ( IOobject ( - "RRs::" + Ys_[fieldI].name(), + "RRs." + Ys_[fieldI].name(), mesh.time().timeName(), mesh, IOobject::NO_READ, @@ -166,7 +166,7 @@ ODESolidChemistryModel ( IOobject ( - "RRg::" + pyrolisisGases_[fieldI], + "RRg." + pyrolisisGases_[fieldI], mesh.time().timeName(), mesh, IOobject::NO_READ, diff --git a/src/turbulenceModels/compressible/RAS/LRR/LRR.C b/src/turbulenceModels/compressible/RAS/LRR/LRR.C index e115680164d055912e8856e2ee899d313c6bbe5c..1528ba2affc56f092dd970317fc5052b1b9af983 100644 --- a/src/turbulenceModels/compressible/RAS/LRR/LRR.C +++ b/src/turbulenceModels/compressible/RAS/LRR/LRR.C @@ -342,7 +342,7 @@ void LRR::correct() RASModel::correct(); volSymmTensorField P(-twoSymm(R_ & fvc::grad(U_))); - volScalarField G("RASModel::G", 0.5*mag(tr(P))); + volScalarField G("RASModel.G", 0.5*mag(tr(P))); // Update epsilon and G at the wall epsilon_.boundaryField().updateCoeffs(); diff --git a/src/turbulenceModels/compressible/RAS/LaunderGibsonRSTM/LaunderGibsonRSTM.C b/src/turbulenceModels/compressible/RAS/LaunderGibsonRSTM/LaunderGibsonRSTM.C index b4e906cfb474399c45e4d8c58250ded7ae42a2ed..7273efc82cd452df81b8f80088d15557bd9b4091 100644 --- a/src/turbulenceModels/compressible/RAS/LaunderGibsonRSTM/LaunderGibsonRSTM.C +++ b/src/turbulenceModels/compressible/RAS/LaunderGibsonRSTM/LaunderGibsonRSTM.C @@ -379,7 +379,7 @@ void LaunderGibsonRSTM::correct() } volSymmTensorField P(-twoSymm(R_ & fvc::grad(U_))); - volScalarField G("RASModel::G", 0.5*mag(tr(P))); + volScalarField G("RASModel.G", 0.5*mag(tr(P))); // Update epsilon and G at the wall epsilon_.boundaryField().updateCoeffs(); diff --git a/src/turbulenceModels/compressible/RAS/LaunderSharmaKE/LaunderSharmaKE.C b/src/turbulenceModels/compressible/RAS/LaunderSharmaKE/LaunderSharmaKE.C index 4e246491e499f881d0c7686a1a3872a0bb9b3be3..048f15eec624e577f68e8c047d5d1dbeeef7f187 100644 --- a/src/turbulenceModels/compressible/RAS/LaunderSharmaKE/LaunderSharmaKE.C +++ b/src/turbulenceModels/compressible/RAS/LaunderSharmaKE/LaunderSharmaKE.C @@ -304,7 +304,7 @@ void LaunderSharmaKE::correct() } tmp<volTensorField> tgradU = fvc::grad(U_); - volScalarField G("RASModel::G", mut_*(tgradU() && dev(twoSymm(tgradU())))); + volScalarField G("RASModel.G", mut_*(tgradU() && dev(twoSymm(tgradU())))); tgradU.clear(); diff --git a/src/turbulenceModels/compressible/RAS/RNGkEpsilon/RNGkEpsilon.C b/src/turbulenceModels/compressible/RAS/RNGkEpsilon/RNGkEpsilon.C index 2048e4d2d0ccaf86a6f747d38b2f1d8e4a0d3b24..70094c353b6987808b6c19d3ad54bf90350f0b07 100644 --- a/src/turbulenceModels/compressible/RAS/RNGkEpsilon/RNGkEpsilon.C +++ b/src/turbulenceModels/compressible/RAS/RNGkEpsilon/RNGkEpsilon.C @@ -303,7 +303,7 @@ void RNGkEpsilon::correct() volScalarField S2((tgradU() && dev(twoSymm(tgradU())))); tgradU.clear(); - volScalarField G("RASModel::G", mut_*S2); + volScalarField G("RASModel.G", mut_*S2); volScalarField eta(sqrt(mag(S2))*k_/epsilon_); volScalarField eta3(eta*sqr(eta)); diff --git a/src/turbulenceModels/compressible/RAS/derivedFvPatchFields/wallFunctions/epsilonWallFunctions/epsilonWallFunction/epsilonWallFunctionFvPatchScalarField.C b/src/turbulenceModels/compressible/RAS/derivedFvPatchFields/wallFunctions/epsilonWallFunctions/epsilonWallFunction/epsilonWallFunctionFvPatchScalarField.C index e8e4e70a18a79548a63d045d2e4923561c31e810..c2cce3febdb7c9233922b2f5c906092c318f6c22 100644 --- a/src/turbulenceModels/compressible/RAS/derivedFvPatchFields/wallFunctions/epsilonWallFunctions/epsilonWallFunction/epsilonWallFunctionFvPatchScalarField.C +++ b/src/turbulenceModels/compressible/RAS/derivedFvPatchFields/wallFunctions/epsilonWallFunctions/epsilonWallFunction/epsilonWallFunctionFvPatchScalarField.C @@ -58,7 +58,7 @@ void epsilonWallFunctionFvPatchScalarField::checkType() void epsilonWallFunctionFvPatchScalarField::writeLocalEntries(Ostream& os) const { - writeEntryIfDifferent<word>(os, "G", "RASModel::G", GName_); + writeEntryIfDifferent<word>(os, "G", "RASModel.G", GName_); os.writeKeyword("Cmu") << Cmu_ << token::END_STATEMENT << nl; os.writeKeyword("kappa") << kappa_ << token::END_STATEMENT << nl; os.writeKeyword("E") << E_ << token::END_STATEMENT << nl; @@ -74,7 +74,7 @@ epsilonWallFunctionFvPatchScalarField::epsilonWallFunctionFvPatchScalarField ) : fixedInternalValueFvPatchField<scalar>(p, iF), - GName_("RASModel::G"), + GName_("RASModel.G"), Cmu_(0.09), kappa_(0.41), E_(9.8) @@ -109,7 +109,7 @@ epsilonWallFunctionFvPatchScalarField::epsilonWallFunctionFvPatchScalarField ) : fixedInternalValueFvPatchField<scalar>(p, iF, dict), - GName_(dict.lookupOrDefault<word>("G", "RASModel::G")), + GName_(dict.lookupOrDefault<word>("G", "RASModel.G")), Cmu_(dict.lookupOrDefault<scalar>("Cmu", 0.09)), kappa_(dict.lookupOrDefault<scalar>("kappa", 0.41)), E_(dict.lookupOrDefault<scalar>("E", 9.8)) diff --git a/src/turbulenceModels/compressible/RAS/derivedFvPatchFields/wallFunctions/omegaWallFunctions/omegaWallFunction/omegaWallFunctionFvPatchScalarField.C b/src/turbulenceModels/compressible/RAS/derivedFvPatchFields/wallFunctions/omegaWallFunctions/omegaWallFunction/omegaWallFunctionFvPatchScalarField.C index 3fb0f1c36b3d55dfba0617c492208681949cebb9..d7f2f4fa5ed14cbe229dd4d1fa7dd7e9837d0b17 100644 --- a/src/turbulenceModels/compressible/RAS/derivedFvPatchFields/wallFunctions/omegaWallFunctions/omegaWallFunction/omegaWallFunctionFvPatchScalarField.C +++ b/src/turbulenceModels/compressible/RAS/derivedFvPatchFields/wallFunctions/omegaWallFunctions/omegaWallFunction/omegaWallFunctionFvPatchScalarField.C @@ -58,7 +58,7 @@ void omegaWallFunctionFvPatchScalarField::checkType() void omegaWallFunctionFvPatchScalarField::writeLocalEntries(Ostream& os) const { - writeEntryIfDifferent<word>(os, "G", "RASModel::G", GName_); + writeEntryIfDifferent<word>(os, "G", "RASModel.G", GName_); os.writeKeyword("Cmu") << Cmu_ << token::END_STATEMENT << nl; os.writeKeyword("kappa") << kappa_ << token::END_STATEMENT << nl; os.writeKeyword("E") << E_ << token::END_STATEMENT << nl; @@ -75,7 +75,7 @@ omegaWallFunctionFvPatchScalarField::omegaWallFunctionFvPatchScalarField ) : fixedInternalValueFvPatchField<scalar>(p, iF), - GName_("RASModel::G"), + GName_("RASModel.G"), Cmu_(0.09), kappa_(0.41), E_(9.8), @@ -115,7 +115,7 @@ omegaWallFunctionFvPatchScalarField::omegaWallFunctionFvPatchScalarField ) : fixedInternalValueFvPatchField<scalar>(p, iF, dict), - GName_(dict.lookupOrDefault<word>("G", "RASModel::G")), + GName_(dict.lookupOrDefault<word>("G", "RASModel.G")), Cmu_(dict.lookupOrDefault<scalar>("Cmu", 0.09)), kappa_(dict.lookupOrDefault<scalar>("kappa", 0.41)), E_(dict.lookupOrDefault<scalar>("E", 9.8)), diff --git a/src/turbulenceModels/compressible/RAS/kEpsilon/kEpsilon.C b/src/turbulenceModels/compressible/RAS/kEpsilon/kEpsilon.C index 3aa8ee2ec1e7e78a5ee9284dd2509ec21d35c4b6..7475a39f5bdfc699c275421ad91f1dcd1e6882f5 100644 --- a/src/turbulenceModels/compressible/RAS/kEpsilon/kEpsilon.C +++ b/src/turbulenceModels/compressible/RAS/kEpsilon/kEpsilon.C @@ -281,7 +281,7 @@ void kEpsilon::correct() } tmp<volTensorField> tgradU = fvc::grad(U_); - volScalarField G("RASModel::G", mut_*(tgradU() && dev(twoSymm(tgradU())))); + volScalarField G("RASModel.G", mut_*(tgradU() && dev(twoSymm(tgradU())))); tgradU.clear(); // Update epsilon and G at the wall diff --git a/src/turbulenceModels/compressible/RAS/kOmegaSST/kOmegaSST.C b/src/turbulenceModels/compressible/RAS/kOmegaSST/kOmegaSST.C index 229fb3e291314e419cafcb8c627c4a6c712d3b7a..066e427741e4e576b210e036b21ea282495924df 100644 --- a/src/turbulenceModels/compressible/RAS/kOmegaSST/kOmegaSST.C +++ b/src/turbulenceModels/compressible/RAS/kOmegaSST/kOmegaSST.C @@ -392,7 +392,7 @@ void kOmegaSST::correct() tmp<volTensorField> tgradU = fvc::grad(U_); volScalarField S2(2*magSqr(symm(tgradU()))); volScalarField GbyMu((tgradU() && dev(twoSymm(tgradU())))); - volScalarField G("RASModel::G", mut_*GbyMu); + volScalarField G("RASModel.G", mut_*GbyMu); tgradU.clear(); // Update omega and G at the wall diff --git a/src/turbulenceModels/compressible/RAS/realizableKE/realizableKE.C b/src/turbulenceModels/compressible/RAS/realizableKE/realizableKE.C index f248d98138c5c2675d52df2e6c4992fa5ed81726..537a2c8e44cad7853ae22e6478aac93bdba400d2 100644 --- a/src/turbulenceModels/compressible/RAS/realizableKE/realizableKE.C +++ b/src/turbulenceModels/compressible/RAS/realizableKE/realizableKE.C @@ -321,7 +321,7 @@ void realizableKE::correct() volScalarField eta(magS*k_/epsilon_); volScalarField C1(max(eta/(scalar(5) + eta), scalar(0.43))); - volScalarField G("RASModel::G", mut_*(gradU && dev(twoSymm(gradU)))); + volScalarField G("RASModel.G", mut_*(gradU && dev(twoSymm(gradU)))); // Update epsilon and G at the wall epsilon_.boundaryField().updateCoeffs(); diff --git a/src/turbulenceModels/incompressible/RAS/LRR/LRR.C b/src/turbulenceModels/incompressible/RAS/LRR/LRR.C index 14683732b21010fe700b33266d23eb2275706608..68f0d2b2b0916f736169bbc7062bfccab7982113 100644 --- a/src/turbulenceModels/incompressible/RAS/LRR/LRR.C +++ b/src/turbulenceModels/incompressible/RAS/LRR/LRR.C @@ -339,7 +339,7 @@ void LRR::correct() } volSymmTensorField P(-twoSymm(R_ & fvc::grad(U_))); - volScalarField G("RASModel::G", 0.5*mag(tr(P))); + volScalarField G("RASModel.G", 0.5*mag(tr(P))); // Update epsilon and G at the wall epsilon_.boundaryField().updateCoeffs(); diff --git a/src/turbulenceModels/incompressible/RAS/LamBremhorstKE/LamBremhorstKE.C b/src/turbulenceModels/incompressible/RAS/LamBremhorstKE/LamBremhorstKE.C index 10de46f58703089b06356d9265b17ccde0efdc8b..17d9157c905492c8806e93ef4cf7c7b71d4c7955 100644 --- a/src/turbulenceModels/incompressible/RAS/LamBremhorstKE/LamBremhorstKE.C +++ b/src/turbulenceModels/incompressible/RAS/LamBremhorstKE/LamBremhorstKE.C @@ -252,7 +252,7 @@ void LamBremhorstKE::correct() y_.correct(); } - volScalarField G("RASModel::G", nut_*2*magSqr(symm(fvc::grad(U_)))); + volScalarField G("RASModel.G", nut_*2*magSqr(symm(fvc::grad(U_)))); // Calculate parameters and coefficients for low-Reynolds number model diff --git a/src/turbulenceModels/incompressible/RAS/LaunderGibsonRSTM/LaunderGibsonRSTM.C b/src/turbulenceModels/incompressible/RAS/LaunderGibsonRSTM/LaunderGibsonRSTM.C index 1231be6d5df6f3e1739aa733b23c1dfcdedc56b8..c6ee7a7d448528bb363b420a923e85d9d1a37e97 100644 --- a/src/turbulenceModels/incompressible/RAS/LaunderGibsonRSTM/LaunderGibsonRSTM.C +++ b/src/turbulenceModels/incompressible/RAS/LaunderGibsonRSTM/LaunderGibsonRSTM.C @@ -386,7 +386,7 @@ void LaunderGibsonRSTM::correct() } volSymmTensorField P(-twoSymm(R_ & fvc::grad(U_))); - volScalarField G("RASModel::G", 0.5*mag(tr(P))); + volScalarField G("RASModel.G", 0.5*mag(tr(P))); // Update epsilon and G at the wall epsilon_.boundaryField().updateCoeffs(); diff --git a/src/turbulenceModels/incompressible/RAS/LaunderSharmaKE/LaunderSharmaKE.C b/src/turbulenceModels/incompressible/RAS/LaunderSharmaKE/LaunderSharmaKE.C index c514a378e20c4b268b229e1960fb4084d3e777b4..53cc490f297f68a27758c1fdf311d8ba9172c616 100644 --- a/src/turbulenceModels/incompressible/RAS/LaunderSharmaKE/LaunderSharmaKE.C +++ b/src/turbulenceModels/incompressible/RAS/LaunderSharmaKE/LaunderSharmaKE.C @@ -255,7 +255,7 @@ void LaunderSharmaKE::correct() tmp<volScalarField> S2 = 2*magSqr(symm(fvc::grad(U_))); - volScalarField G("RASModel::G", nut_*S2); + volScalarField G("RASModel.G", nut_*S2); const volScalarField E(2.0*nu()*nut_*fvc::magSqrGradGrad(U_)); const volScalarField D(2.0*nu()*magSqr(fvc::grad(sqrt(k_)))); diff --git a/src/turbulenceModels/incompressible/RAS/LienCubicKE/LienCubicKE.C b/src/turbulenceModels/incompressible/RAS/LienCubicKE/LienCubicKE.C index 20d8dee95140a3c513c4c3f1729266176f63c844..8eb972dcfbdc7083e243486748a25d2b3162e287 100644 --- a/src/turbulenceModels/incompressible/RAS/LienCubicKE/LienCubicKE.C +++ b/src/turbulenceModels/incompressible/RAS/LienCubicKE/LienCubicKE.C @@ -356,7 +356,7 @@ void LienCubicKE::correct() volScalarField G ( - "RASModel::G", + "RASModel.G", Cmu_*sqr(k_)/epsilon_*S2 - (nonlinearStress_ && gradU) ); diff --git a/src/turbulenceModels/incompressible/RAS/LienCubicKELowRe/LienCubicKELowRe.C b/src/turbulenceModels/incompressible/RAS/LienCubicKELowRe/LienCubicKELowRe.C index da81b66edddd428183e706efb5f1357fa58de2f4..5162fa78bdafe469329f5ce28037b19ec34b7282 100644 --- a/src/turbulenceModels/incompressible/RAS/LienCubicKELowRe/LienCubicKELowRe.C +++ b/src/turbulenceModels/incompressible/RAS/LienCubicKELowRe/LienCubicKELowRe.C @@ -446,7 +446,7 @@ void LienCubicKELowRe::correct() volScalarField G ( - "RASModel::G", + "RASModel.G", Cmu_*fMu*sqr(k_)/epsilon_*S2 - (nonlinearStress_ && gradU) ); diff --git a/src/turbulenceModels/incompressible/RAS/LienLeschzinerLowRe/LienLeschzinerLowRe.C b/src/turbulenceModels/incompressible/RAS/LienLeschzinerLowRe/LienLeschzinerLowRe.C index 15296cdf5bb03f0b80b576d58ffab1629baceca5..6daecaae6badc12bb3b88b7f5c46e348ae478f78 100644 --- a/src/turbulenceModels/incompressible/RAS/LienLeschzinerLowRe/LienLeschzinerLowRe.C +++ b/src/turbulenceModels/incompressible/RAS/LienLeschzinerLowRe/LienLeschzinerLowRe.C @@ -319,7 +319,7 @@ void LienLeschzinerLowRe::correct() const volScalarField f2(scalar(1) - 0.3*exp(-sqr(Rt))); - volScalarField G("RASModel::G", Cmu_*fMu*sqr(k_)/epsilon_*S2); + volScalarField G("RASModel.G", Cmu_*fMu*sqr(k_)/epsilon_*S2); // Dissipation equation diff --git a/src/turbulenceModels/incompressible/RAS/NonlinearKEShih/NonlinearKEShih.C b/src/turbulenceModels/incompressible/RAS/NonlinearKEShih/NonlinearKEShih.C index 4dbb7b7b6832155c1d6f4d85829e2dd6235a01c5..750a4dc15b58d6a937ac4ffc633a8cd40b1b28cc 100644 --- a/src/turbulenceModels/incompressible/RAS/NonlinearKEShih/NonlinearKEShih.C +++ b/src/turbulenceModels/incompressible/RAS/NonlinearKEShih/NonlinearKEShih.C @@ -348,7 +348,7 @@ void NonlinearKEShih::correct() volScalarField G ( - "RASModel::G", + "RASModel.G", Cmu_*sqr(k_)/epsilon_*S2 - (nonlinearStress_ && gradU) ); diff --git a/src/turbulenceModels/incompressible/RAS/RNGkEpsilon/RNGkEpsilon.C b/src/turbulenceModels/incompressible/RAS/RNGkEpsilon/RNGkEpsilon.C index 460a6609acdd01f2497333776058deaf808cf90a..20ed988ca7eb507ecd9cc79fc111d6dcdd84056b 100644 --- a/src/turbulenceModels/incompressible/RAS/RNGkEpsilon/RNGkEpsilon.C +++ b/src/turbulenceModels/incompressible/RAS/RNGkEpsilon/RNGkEpsilon.C @@ -267,7 +267,7 @@ void RNGkEpsilon::correct() } const volScalarField S2(2*magSqr(symm(fvc::grad(U_)))); - volScalarField G("RASModel::G", nut_*S2); + volScalarField G("RASModel.G", nut_*S2); const volScalarField eta(sqrt(S2)*k_/epsilon_); volScalarField R diff --git a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/epsilonWallFunctions/epsilonWallFunction/epsilonWallFunctionFvPatchScalarField.C b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/epsilonWallFunctions/epsilonWallFunction/epsilonWallFunctionFvPatchScalarField.C index 17247003e365a3a47ed0cc8e669ab3aa16fbe2a2..3fcb175fb36310fafa789db3288c7346c06ec191 100644 --- a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/epsilonWallFunctions/epsilonWallFunction/epsilonWallFunctionFvPatchScalarField.C +++ b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/epsilonWallFunctions/epsilonWallFunction/epsilonWallFunctionFvPatchScalarField.C @@ -59,7 +59,7 @@ void epsilonWallFunctionFvPatchScalarField::checkType() void epsilonWallFunctionFvPatchScalarField::writeLocalEntries(Ostream& os) const { - writeEntryIfDifferent<word>(os, "G", "RASModel::G", GName_); + writeEntryIfDifferent<word>(os, "G", "RASModel.G", GName_); os.writeKeyword("Cmu") << Cmu_ << token::END_STATEMENT << nl; os.writeKeyword("kappa") << kappa_ << token::END_STATEMENT << nl; os.writeKeyword("E") << E_ << token::END_STATEMENT << nl; @@ -75,7 +75,7 @@ epsilonWallFunctionFvPatchScalarField::epsilonWallFunctionFvPatchScalarField ) : fixedInternalValueFvPatchField<scalar>(p, iF), - GName_("RASModel::G"), + GName_("RASModel.G"), Cmu_(0.09), kappa_(0.41), E_(9.8) @@ -110,7 +110,7 @@ epsilonWallFunctionFvPatchScalarField::epsilonWallFunctionFvPatchScalarField ) : fixedInternalValueFvPatchField<scalar>(p, iF, dict), - GName_(dict.lookupOrDefault<word>("G", "RASModel::G")), + GName_(dict.lookupOrDefault<word>("G", "RASModel.G")), Cmu_(dict.lookupOrDefault<scalar>("Cmu", 0.09)), kappa_(dict.lookupOrDefault<scalar>("kappa", 0.41)), E_(dict.lookupOrDefault<scalar>("E", 9.8)) diff --git a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/omegaWallFunctions/omegaWallFunction/omegaWallFunctionFvPatchScalarField.C b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/omegaWallFunctions/omegaWallFunction/omegaWallFunctionFvPatchScalarField.C index 8d412c466ae25338c6498c111cab373b1dcdee68..0ad2595c7c6217d7738f14e8855c72f139a2ca6e 100644 --- a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/omegaWallFunctions/omegaWallFunction/omegaWallFunctionFvPatchScalarField.C +++ b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/omegaWallFunctions/omegaWallFunction/omegaWallFunctionFvPatchScalarField.C @@ -59,7 +59,7 @@ void omegaWallFunctionFvPatchScalarField::checkType() void omegaWallFunctionFvPatchScalarField::writeLocalEntries(Ostream& os) const { - writeEntryIfDifferent<word>(os, "G", "RASModel::G", GName_); + writeEntryIfDifferent<word>(os, "G", "RASModel.G", GName_); os.writeKeyword("Cmu") << Cmu_ << token::END_STATEMENT << nl; os.writeKeyword("kappa") << kappa_ << token::END_STATEMENT << nl; os.writeKeyword("E") << E_ << token::END_STATEMENT << nl; @@ -76,7 +76,7 @@ omegaWallFunctionFvPatchScalarField::omegaWallFunctionFvPatchScalarField ) : fixedInternalValueFvPatchField<scalar>(p, iF), - GName_("RASModel::G"), + GName_("RASModel.G"), Cmu_(0.09), kappa_(0.41), E_(9.8), @@ -115,7 +115,7 @@ omegaWallFunctionFvPatchScalarField::omegaWallFunctionFvPatchScalarField ) : fixedInternalValueFvPatchField<scalar>(p, iF, dict), - GName_(dict.lookupOrDefault<word>("G", "RASModel::G")), + GName_(dict.lookupOrDefault<word>("G", "RASModel.G")), Cmu_(dict.lookupOrDefault<scalar>("Cmu", 0.09)), kappa_(dict.lookupOrDefault<scalar>("kappa", 0.41)), E_(dict.lookupOrDefault<scalar>("E", 9.8)), diff --git a/src/turbulenceModels/incompressible/RAS/kEpsilon/kEpsilon.C b/src/turbulenceModels/incompressible/RAS/kEpsilon/kEpsilon.C index 673a8f719f92fd4fd0a9bf76de366639faf09fbe..c12783bcdbb2c69e329bf73c3f9443885430b7cd 100644 --- a/src/turbulenceModels/incompressible/RAS/kEpsilon/kEpsilon.C +++ b/src/turbulenceModels/incompressible/RAS/kEpsilon/kEpsilon.C @@ -235,7 +235,7 @@ void kEpsilon::correct() return; } - volScalarField G("RASModel::G", nut_*2*magSqr(symm(fvc::grad(U_)))); + volScalarField G("RASModel.G", nut_*2*magSqr(symm(fvc::grad(U_)))); // Update epsilon and G at the wall epsilon_.boundaryField().updateCoeffs(); diff --git a/src/turbulenceModels/incompressible/RAS/kOmega/kOmega.C b/src/turbulenceModels/incompressible/RAS/kOmega/kOmega.C index 052e9629c710a25b7d5d2702caed41f397583cc5..f2faf19966b4e11f493d28849078bedecd3e7615 100644 --- a/src/turbulenceModels/incompressible/RAS/kOmega/kOmega.C +++ b/src/turbulenceModels/incompressible/RAS/kOmega/kOmega.C @@ -244,7 +244,7 @@ void kOmega::correct() return; } - volScalarField G("RASModel::G", nut_*2*magSqr(symm(fvc::grad(U_)))); + volScalarField G("RASModel.G", nut_*2*magSqr(symm(fvc::grad(U_)))); // Update omega and G at the wall omega_.boundaryField().updateCoeffs(); diff --git a/src/turbulenceModels/incompressible/RAS/kOmegaSST/kOmegaSST.C b/src/turbulenceModels/incompressible/RAS/kOmegaSST/kOmegaSST.C index 9344ca0d7e3459a31134b041bdd58dac9ab0334b..02899ec4c9b197b0b30169ddac07251c288e492b 100644 --- a/src/turbulenceModels/incompressible/RAS/kOmegaSST/kOmegaSST.C +++ b/src/turbulenceModels/incompressible/RAS/kOmegaSST/kOmegaSST.C @@ -364,7 +364,7 @@ void kOmegaSST::correct() } const volScalarField S2(2*magSqr(symm(fvc::grad(U_)))); - volScalarField G("RASModel::G", nut_*S2); + volScalarField G("RASModel.G", nut_*S2); // Update omega and G at the wall omega_.boundaryField().updateCoeffs(); diff --git a/src/turbulenceModels/incompressible/RAS/kOmegaSST/kOmegaSST.C.new b/src/turbulenceModels/incompressible/RAS/kOmegaSST/kOmegaSST.C.new index df658f5ca90619fc9453e13b6538a38958868946..b28e14bce9e3d070a6d68928a1051170c8bbe3e6 100644 --- a/src/turbulenceModels/incompressible/RAS/kOmegaSST/kOmegaSST.C.new +++ b/src/turbulenceModels/incompressible/RAS/kOmegaSST/kOmegaSST.C.new @@ -341,7 +341,7 @@ void kOmegaSST::correct() } volScalarField S2 = magSqr(symm(fvc::grad(U_))); - volScalarField G("RASModel::G", nut_*2*S2); + volScalarField G("RASModel.G", nut_*2*S2); // Update omega and G at the wall omega_.boundaryField().updateCoeffs(); diff --git a/src/turbulenceModels/incompressible/RAS/qZeta/qZeta.C b/src/turbulenceModels/incompressible/RAS/qZeta/qZeta.C index 1fd761b1d7e9e23e5b334684add0937e4cdaa7f3..03a3b8a5a6eaa9981d91986000fc33e9985bc716 100644 --- a/src/turbulenceModels/incompressible/RAS/qZeta/qZeta.C +++ b/src/turbulenceModels/incompressible/RAS/qZeta/qZeta.C @@ -311,7 +311,7 @@ void qZeta::correct() tmp<volScalarField> S2 = 2*magSqr(symm(fvc::grad(U_))); - volScalarField G("RASModel::G", nut_/(2.0*q_)*S2); + volScalarField G("RASModel.G", nut_/(2.0*q_)*S2); const volScalarField E(nu()*nut_/q_*fvc::magSqrGradGrad(U_)); diff --git a/src/turbulenceModels/incompressible/RAS/realizableKE/realizableKE.C b/src/turbulenceModels/incompressible/RAS/realizableKE/realizableKE.C index 5ea6831ea212813f2b31738384e13792df20c0b5..3161d16371a95bf46db40c7dc4808acca7284a7d 100644 --- a/src/turbulenceModels/incompressible/RAS/realizableKE/realizableKE.C +++ b/src/turbulenceModels/incompressible/RAS/realizableKE/realizableKE.C @@ -297,7 +297,7 @@ void realizableKE::correct() const volScalarField eta(magS*k_/epsilon_); tmp<volScalarField> C1 = max(eta/(scalar(5) + eta), scalar(0.43)); - volScalarField G("RASModel::G", nut_*S2); + volScalarField G("RASModel.G", nut_*S2); // Update epsilon and G at the wall epsilon_.boundaryField().updateCoeffs();