diff --git a/src/turbulenceModels/compressible/LES/Make/files b/src/turbulenceModels/compressible/LES/Make/files index dc31f55cae3e86d6e502de718939006c26372208..06e7b76d4512f94bb16c8c2fca3ca50270fd4ebe 100644 --- a/src/turbulenceModels/compressible/LES/Make/files +++ b/src/turbulenceModels/compressible/LES/Make/files @@ -14,6 +14,6 @@ SpalartAllmaras/SpalartAllmaras.C wallFunctions=derivedFvPatchFields/wallFunctions muSgsWallFunctions=$(wallFunctions)/muSgsWallFunctions -$(muSgsWallFunctions)/muSgsSpalartAllmarasWallFunction/muSgsSpalartAllmarasWallFunctionFvPatchScalarField.C +$(muSgsWallFunctions)/muSgsWallFunction/muSgsWallFunctionFvPatchScalarField.C LIB = $(FOAM_LIBBIN)/libcompressibleLESModels diff --git a/src/turbulenceModels/compressible/LES/derivedFvPatchFields/wallFunctions/muSgsWallFunctions/muSgsSpalartAllmarasWallFunction/muSgsSpalartAllmarasWallFunctionFvPatchScalarField.C b/src/turbulenceModels/compressible/LES/derivedFvPatchFields/wallFunctions/muSgsWallFunctions/muSgsWallFunction/muSgsWallFunctionFvPatchScalarField.C similarity index 82% rename from src/turbulenceModels/compressible/LES/derivedFvPatchFields/wallFunctions/muSgsWallFunctions/muSgsSpalartAllmarasWallFunction/muSgsSpalartAllmarasWallFunctionFvPatchScalarField.C rename to src/turbulenceModels/compressible/LES/derivedFvPatchFields/wallFunctions/muSgsWallFunctions/muSgsWallFunction/muSgsWallFunctionFvPatchScalarField.C index bb489c309150386f7050e668ea119e9280674ae9..987cd21f29b684b0d86240bd513ca693599136ae 100644 --- a/src/turbulenceModels/compressible/LES/derivedFvPatchFields/wallFunctions/muSgsWallFunctions/muSgsSpalartAllmarasWallFunction/muSgsSpalartAllmarasWallFunctionFvPatchScalarField.C +++ b/src/turbulenceModels/compressible/LES/derivedFvPatchFields/wallFunctions/muSgsWallFunctions/muSgsWallFunction/muSgsWallFunctionFvPatchScalarField.C @@ -24,7 +24,7 @@ License \*---------------------------------------------------------------------------*/ -#include "muSgsSpalartAllmarasWallFunctionFvPatchScalarField.H" +#include "muSgsWallFunctionFvPatchScalarField.H" #include "LESModel.H" #include "fvPatchFieldMapper.H" #include "volFields.H" @@ -41,8 +41,8 @@ namespace LESModels // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // -muSgsSpalartAllmarasWallFunctionFvPatchScalarField:: -muSgsSpalartAllmarasWallFunctionFvPatchScalarField +muSgsWallFunctionFvPatchScalarField:: +muSgsWallFunctionFvPatchScalarField ( const fvPatch& p, const DimensionedField<scalar, volMesh>& iF @@ -52,10 +52,10 @@ muSgsSpalartAllmarasWallFunctionFvPatchScalarField {} -muSgsSpalartAllmarasWallFunctionFvPatchScalarField:: -muSgsSpalartAllmarasWallFunctionFvPatchScalarField +muSgsWallFunctionFvPatchScalarField:: +muSgsWallFunctionFvPatchScalarField ( - const muSgsSpalartAllmarasWallFunctionFvPatchScalarField& ptf, + const muSgsWallFunctionFvPatchScalarField& ptf, const fvPatch& p, const DimensionedField<scalar, volMesh>& iF, const fvPatchFieldMapper& mapper @@ -65,8 +65,8 @@ muSgsSpalartAllmarasWallFunctionFvPatchScalarField {} -muSgsSpalartAllmarasWallFunctionFvPatchScalarField:: -muSgsSpalartAllmarasWallFunctionFvPatchScalarField +muSgsWallFunctionFvPatchScalarField:: +muSgsWallFunctionFvPatchScalarField ( const fvPatch& p, const DimensionedField<scalar, volMesh>& iF, @@ -77,8 +77,8 @@ muSgsSpalartAllmarasWallFunctionFvPatchScalarField {} -muSgsSpalartAllmarasWallFunctionFvPatchScalarField:: -muSgsSpalartAllmarasWallFunctionFvPatchScalarField +muSgsWallFunctionFvPatchScalarField:: +muSgsWallFunctionFvPatchScalarField ( const fvPatch& p, const DimensionedField<scalar, volMesh>& iF, @@ -89,20 +89,20 @@ muSgsSpalartAllmarasWallFunctionFvPatchScalarField {} -muSgsSpalartAllmarasWallFunctionFvPatchScalarField:: -muSgsSpalartAllmarasWallFunctionFvPatchScalarField +muSgsWallFunctionFvPatchScalarField:: +muSgsWallFunctionFvPatchScalarField ( - const muSgsSpalartAllmarasWallFunctionFvPatchScalarField& tppsf + const muSgsWallFunctionFvPatchScalarField& tppsf ) : fixedValueFvPatchScalarField(tppsf) {} -muSgsSpalartAllmarasWallFunctionFvPatchScalarField:: -muSgsSpalartAllmarasWallFunctionFvPatchScalarField +muSgsWallFunctionFvPatchScalarField:: +muSgsWallFunctionFvPatchScalarField ( - const muSgsSpalartAllmarasWallFunctionFvPatchScalarField& tppsf, + const muSgsWallFunctionFvPatchScalarField& tppsf, const DimensionedField<scalar, volMesh>& iF ) : @@ -112,7 +112,7 @@ muSgsSpalartAllmarasWallFunctionFvPatchScalarField // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // -void muSgsSpalartAllmarasWallFunctionFvPatchScalarField::evaluate +void muSgsWallFunctionFvPatchScalarField::evaluate ( const Pstream::commsTypes ) @@ -193,7 +193,7 @@ void muSgsSpalartAllmarasWallFunctionFvPatchScalarField::evaluate makePatchTypeField ( fvPatchScalarField, - muSgsSpalartAllmarasWallFunctionFvPatchScalarField + muSgsWallFunctionFvPatchScalarField ); // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/src/turbulenceModels/compressible/LES/derivedFvPatchFields/wallFunctions/muSgsWallFunctions/muSgsSpalartAllmarasWallFunction/muSgsSpalartAllmarasWallFunctionFvPatchScalarField.H b/src/turbulenceModels/compressible/LES/derivedFvPatchFields/wallFunctions/muSgsWallFunctions/muSgsWallFunction/muSgsWallFunctionFvPatchScalarField.H similarity index 76% rename from src/turbulenceModels/compressible/LES/derivedFvPatchFields/wallFunctions/muSgsWallFunctions/muSgsSpalartAllmarasWallFunction/muSgsSpalartAllmarasWallFunctionFvPatchScalarField.H rename to src/turbulenceModels/compressible/LES/derivedFvPatchFields/wallFunctions/muSgsWallFunctions/muSgsWallFunction/muSgsWallFunctionFvPatchScalarField.H index f3c6e9ecc96989bce4902d6c363e62b602d154f6..916685fd7c315e212721bb130d6c76006cf1a224 100644 --- a/src/turbulenceModels/compressible/LES/derivedFvPatchFields/wallFunctions/muSgsWallFunctions/muSgsSpalartAllmarasWallFunction/muSgsSpalartAllmarasWallFunctionFvPatchScalarField.H +++ b/src/turbulenceModels/compressible/LES/derivedFvPatchFields/wallFunctions/muSgsWallFunctions/muSgsWallFunction/muSgsWallFunctionFvPatchScalarField.H @@ -24,18 +24,18 @@ License Class Foam::compressible::LESModels:: - muSgsSpalartAllmarasWallFunctionFvPatchScalarField + muSgsWallFunctionFvPatchScalarField Description Spalart Allmaas wall function boundary condition for compressible flows SourceFiles - muSgsSpalartAllmarasWallFunctionFvPatchScalarField.C + muSgsWallFunctionFvPatchScalarField.C \*---------------------------------------------------------------------------*/ -#ifndef muSgsSpalartAllmarasWallFunctionFvPatchScalarField_H -#define muSgsSpalartAllmarasWallFunctionFvPatchScalarField_H +#ifndef muSgsWallFunctionFvPatchScalarField_H +#define muSgsWallFunctionFvPatchScalarField_H #include "fixedValueFvPatchFields.H" @@ -49,10 +49,10 @@ namespace LESModels { /*---------------------------------------------------------------------------*\ - Class muSgsSpalartAllmarasWallFunctionFvPatchScalarField Declaration + Class muSgsWallFunctionFvPatchScalarField Declaration \*---------------------------------------------------------------------------*/ -class muSgsSpalartAllmarasWallFunctionFvPatchScalarField +class muSgsWallFunctionFvPatchScalarField : public fixedValueFvPatchScalarField { @@ -62,20 +62,20 @@ class muSgsSpalartAllmarasWallFunctionFvPatchScalarField public: //- Runtime type information - TypeName("muSgsSpalartAllmarasWallFunction"); + TypeName("muSgsWallFunction"); // Constructors //- Construct from patch and internal field - muSgsSpalartAllmarasWallFunctionFvPatchScalarField + muSgsWallFunctionFvPatchScalarField ( const fvPatch&, const DimensionedField<scalar, volMesh>& ); //- Construct from patch, internal field and Istream - muSgsSpalartAllmarasWallFunctionFvPatchScalarField + muSgsWallFunctionFvPatchScalarField ( const fvPatch&, const DimensionedField<scalar, volMesh>&, @@ -83,7 +83,7 @@ public: ); //- Construct from patch, internal field and dictionary - muSgsSpalartAllmarasWallFunctionFvPatchScalarField + muSgsWallFunctionFvPatchScalarField ( const fvPatch&, const DimensionedField<scalar, volMesh>&, @@ -91,20 +91,20 @@ public: ); //- Construct by mapping given - // muSgsSpalartAllmarasWallFunctionFvPatchScalarField + // muSgsWallFunctionFvPatchScalarField // onto a new patch - muSgsSpalartAllmarasWallFunctionFvPatchScalarField + muSgsWallFunctionFvPatchScalarField ( - const muSgsSpalartAllmarasWallFunctionFvPatchScalarField&, + const muSgsWallFunctionFvPatchScalarField&, const fvPatch&, const DimensionedField<scalar, volMesh>&, const fvPatchFieldMapper& ); //- Construct as copy - muSgsSpalartAllmarasWallFunctionFvPatchScalarField + muSgsWallFunctionFvPatchScalarField ( - const muSgsSpalartAllmarasWallFunctionFvPatchScalarField& + const muSgsWallFunctionFvPatchScalarField& ); //- Construct and return a clone @@ -112,14 +112,14 @@ public: { return tmp<fvPatchScalarField> ( - new muSgsSpalartAllmarasWallFunctionFvPatchScalarField(*this) + new muSgsWallFunctionFvPatchScalarField(*this) ); } //- Construct as copy setting internal field reference - muSgsSpalartAllmarasWallFunctionFvPatchScalarField + muSgsWallFunctionFvPatchScalarField ( - const muSgsSpalartAllmarasWallFunctionFvPatchScalarField&, + const muSgsWallFunctionFvPatchScalarField&, const DimensionedField<scalar, volMesh>& ); @@ -131,7 +131,7 @@ public: { return tmp<fvPatchScalarField> ( - new muSgsSpalartAllmarasWallFunctionFvPatchScalarField + new muSgsWallFunctionFvPatchScalarField ( *this, iF diff --git a/src/turbulenceModels/incompressible/LES/Make/files b/src/turbulenceModels/incompressible/LES/Make/files index bd97e2c1ecd3b1cb1f07acb1451924dd2d46073e..186324fde3ea097a4014d5d7ebf06085fd88f199 100644 --- a/src/turbulenceModels/incompressible/LES/Make/files +++ b/src/turbulenceModels/incompressible/LES/Make/files @@ -32,7 +32,7 @@ kOmegaSSTSAS/kOmegaSSTSAS.C wallFunctions=derivedFvPatchFields/wallFunctions nuSgsWallFunctions=$(wallFunctions)/nuSgsWallFunctions -$(nuSgsWallFunctions)/nuSgsSpalartAllmarasWallFunction/nuSgsSpalartAllmarasWallFunctionFvPatchScalarField.C +$(nuSgsWallFunctions)/nuSgsWallFunction/nuSgsWallFunctionFvPatchScalarField.C LIB = $(FOAM_LIBBIN)/libincompressibleLESModels diff --git a/src/turbulenceModels/incompressible/LES/derivedFvPatchFields/wallFunctions/nuSgsWallFunctions/nuSgsSpalartAllmarasWallFunction/nuSgsSpalartAllmarasWallFunctionFvPatchScalarField.C b/src/turbulenceModels/incompressible/LES/derivedFvPatchFields/wallFunctions/nuSgsWallFunctions/nuSgsWallFunction/nuSgsWallFunctionFvPatchScalarField.C similarity index 82% rename from src/turbulenceModels/incompressible/LES/derivedFvPatchFields/wallFunctions/nuSgsWallFunctions/nuSgsSpalartAllmarasWallFunction/nuSgsSpalartAllmarasWallFunctionFvPatchScalarField.C rename to src/turbulenceModels/incompressible/LES/derivedFvPatchFields/wallFunctions/nuSgsWallFunctions/nuSgsWallFunction/nuSgsWallFunctionFvPatchScalarField.C index f42afb995dcbf9aecf7afd08b9250a0ee9c9917b..e70fd66bf93214f44c123ad6e2e9c52b8d8650b7 100644 --- a/src/turbulenceModels/incompressible/LES/derivedFvPatchFields/wallFunctions/nuSgsWallFunctions/nuSgsSpalartAllmarasWallFunction/nuSgsSpalartAllmarasWallFunctionFvPatchScalarField.C +++ b/src/turbulenceModels/incompressible/LES/derivedFvPatchFields/wallFunctions/nuSgsWallFunctions/nuSgsWallFunction/nuSgsWallFunctionFvPatchScalarField.C @@ -24,7 +24,7 @@ License \*---------------------------------------------------------------------------*/ -#include "nuSgsSpalartAllmarasWallFunctionFvPatchScalarField.H" +#include "nuSgsWallFunctionFvPatchScalarField.H" #include "LESModel.H" #include "fvPatchFieldMapper.H" #include "volFields.H" @@ -41,8 +41,8 @@ namespace LESModels // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // -nuSgsSpalartAllmarasWallFunctionFvPatchScalarField:: -nuSgsSpalartAllmarasWallFunctionFvPatchScalarField +nuSgsWallFunctionFvPatchScalarField:: +nuSgsWallFunctionFvPatchScalarField ( const fvPatch& p, const DimensionedField<scalar, volMesh>& iF @@ -52,10 +52,10 @@ nuSgsSpalartAllmarasWallFunctionFvPatchScalarField {} -nuSgsSpalartAllmarasWallFunctionFvPatchScalarField:: -nuSgsSpalartAllmarasWallFunctionFvPatchScalarField +nuSgsWallFunctionFvPatchScalarField:: +nuSgsWallFunctionFvPatchScalarField ( - const nuSgsSpalartAllmarasWallFunctionFvPatchScalarField& ptf, + const nuSgsWallFunctionFvPatchScalarField& ptf, const fvPatch& p, const DimensionedField<scalar, volMesh>& iF, const fvPatchFieldMapper& mapper @@ -65,8 +65,8 @@ nuSgsSpalartAllmarasWallFunctionFvPatchScalarField {} -nuSgsSpalartAllmarasWallFunctionFvPatchScalarField:: -nuSgsSpalartAllmarasWallFunctionFvPatchScalarField +nuSgsWallFunctionFvPatchScalarField:: +nuSgsWallFunctionFvPatchScalarField ( const fvPatch& p, const DimensionedField<scalar, volMesh>& iF, @@ -77,20 +77,20 @@ nuSgsSpalartAllmarasWallFunctionFvPatchScalarField {} -nuSgsSpalartAllmarasWallFunctionFvPatchScalarField:: -nuSgsSpalartAllmarasWallFunctionFvPatchScalarField +nuSgsWallFunctionFvPatchScalarField:: +nuSgsWallFunctionFvPatchScalarField ( - const nuSgsSpalartAllmarasWallFunctionFvPatchScalarField& tppsf + const nuSgsWallFunctionFvPatchScalarField& tppsf ) : fixedValueFvPatchScalarField(tppsf) {} -nuSgsSpalartAllmarasWallFunctionFvPatchScalarField:: -nuSgsSpalartAllmarasWallFunctionFvPatchScalarField +nuSgsWallFunctionFvPatchScalarField:: +nuSgsWallFunctionFvPatchScalarField ( - const nuSgsSpalartAllmarasWallFunctionFvPatchScalarField& tppsf, + const nuSgsWallFunctionFvPatchScalarField& tppsf, const DimensionedField<scalar, volMesh>& iF ) : @@ -100,7 +100,7 @@ nuSgsSpalartAllmarasWallFunctionFvPatchScalarField // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // -void nuSgsSpalartAllmarasWallFunctionFvPatchScalarField::evaluate +void nuSgsWallFunctionFvPatchScalarField::evaluate ( const Pstream::commsTypes ) @@ -174,7 +174,7 @@ void nuSgsSpalartAllmarasWallFunctionFvPatchScalarField::evaluate makePatchTypeField ( fvPatchScalarField, - nuSgsSpalartAllmarasWallFunctionFvPatchScalarField + nuSgsWallFunctionFvPatchScalarField ); // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/src/turbulenceModels/incompressible/LES/derivedFvPatchFields/wallFunctions/nuSgsWallFunctions/nuSgsSpalartAllmarasWallFunction/nuSgsSpalartAllmarasWallFunctionFvPatchScalarField.H b/src/turbulenceModels/incompressible/LES/derivedFvPatchFields/wallFunctions/nuSgsWallFunctions/nuSgsWallFunction/nuSgsWallFunctionFvPatchScalarField.H similarity index 76% rename from src/turbulenceModels/incompressible/LES/derivedFvPatchFields/wallFunctions/nuSgsWallFunctions/nuSgsSpalartAllmarasWallFunction/nuSgsSpalartAllmarasWallFunctionFvPatchScalarField.H rename to src/turbulenceModels/incompressible/LES/derivedFvPatchFields/wallFunctions/nuSgsWallFunctions/nuSgsWallFunction/nuSgsWallFunctionFvPatchScalarField.H index 07dd19755477cf07e50d1922226165a7eed26465..d3f06ece81bb7f8d937a488b1dc9acbf64238b7c 100644 --- a/src/turbulenceModels/incompressible/LES/derivedFvPatchFields/wallFunctions/nuSgsWallFunctions/nuSgsSpalartAllmarasWallFunction/nuSgsSpalartAllmarasWallFunctionFvPatchScalarField.H +++ b/src/turbulenceModels/incompressible/LES/derivedFvPatchFields/wallFunctions/nuSgsWallFunctions/nuSgsWallFunction/nuSgsWallFunctionFvPatchScalarField.H @@ -24,18 +24,18 @@ License Class Foam::incompressible::LESModels:: - nuSgsSpalartAllmarasWallFunctionFvPatchScalarField + nuSgsWallFunctionFvPatchScalarField Description Spalart Allmaras wall function boundary condition for incompressible flows SourceFiles - nuSgsSpalartAllmarasWallFunctionFvPatchScalarField.C + nuSgsWallFunctionFvPatchScalarField.C \*---------------------------------------------------------------------------*/ -#ifndef nuSgsSpalartAllmarasWallFunctionFvPatchScalarField_H -#define nuSgsSpalartAllmarasWallFunctionFvPatchScalarField_H +#ifndef nuSgsWallFunctionFvPatchScalarField_H +#define nuSgsWallFunctionFvPatchScalarField_H #include "fixedValueFvPatchFields.H" @@ -49,10 +49,10 @@ namespace LESModels { /*---------------------------------------------------------------------------*\ - Class nuSgsSpalartAllmarasWallFunctionFvPatchScalarField Declaration + Class nuSgsWallFunctionFvPatchScalarField Declaration \*---------------------------------------------------------------------------*/ -class nuSgsSpalartAllmarasWallFunctionFvPatchScalarField +class nuSgsWallFunctionFvPatchScalarField : public fixedValueFvPatchScalarField { @@ -62,20 +62,20 @@ class nuSgsSpalartAllmarasWallFunctionFvPatchScalarField public: //- Runtime type information - TypeName("nuSgsSpalartAllmarasWallFunction"); + TypeName("nuSgsWallFunction"); // Constructors //- Construct from patch and internal field - nuSgsSpalartAllmarasWallFunctionFvPatchScalarField + nuSgsWallFunctionFvPatchScalarField ( const fvPatch&, const DimensionedField<scalar, volMesh>& ); //- Construct from patch, internal field and dictionary - nuSgsSpalartAllmarasWallFunctionFvPatchScalarField + nuSgsWallFunctionFvPatchScalarField ( const fvPatch&, const DimensionedField<scalar, volMesh>&, @@ -83,20 +83,20 @@ public: ); //- Construct by mapping given - // nuSgsSpalartAllmarasWallFunctionFvPatchScalarField + // nuSgsWallFunctionFvPatchScalarField // onto a new patch - nuSgsSpalartAllmarasWallFunctionFvPatchScalarField + nuSgsWallFunctionFvPatchScalarField ( - const nuSgsSpalartAllmarasWallFunctionFvPatchScalarField&, + const nuSgsWallFunctionFvPatchScalarField&, const fvPatch&, const DimensionedField<scalar, volMesh>&, const fvPatchFieldMapper& ); //- Construct as copy - nuSgsSpalartAllmarasWallFunctionFvPatchScalarField + nuSgsWallFunctionFvPatchScalarField ( - const nuSgsSpalartAllmarasWallFunctionFvPatchScalarField& + const nuSgsWallFunctionFvPatchScalarField& ); //- Construct and return a clone @@ -104,14 +104,14 @@ public: { return tmp<fvPatchScalarField> ( - new nuSgsSpalartAllmarasWallFunctionFvPatchScalarField(*this) + new nuSgsWallFunctionFvPatchScalarField(*this) ); } //- Construct as copy setting internal field reference - nuSgsSpalartAllmarasWallFunctionFvPatchScalarField + nuSgsWallFunctionFvPatchScalarField ( - const nuSgsSpalartAllmarasWallFunctionFvPatchScalarField&, + const nuSgsWallFunctionFvPatchScalarField&, const DimensionedField<scalar, volMesh>& ); @@ -123,7 +123,7 @@ public: { return tmp<fvPatchScalarField> ( - new nuSgsSpalartAllmarasWallFunctionFvPatchScalarField + new nuSgsWallFunctionFvPatchScalarField ( *this, iF