created incompressible namespace for incompressible LES models
This commit is contained in:
parent
c6d765ccb3
commit
b3cb7c3dd3
@ -37,7 +37,7 @@
|
||||
|
||||
singlePhaseTransportModel laminarTransport(U, phi);
|
||||
|
||||
autoPtr<LESmodel> sgsModel
|
||||
autoPtr<incompressible::LESmodel> sgsModel
|
||||
(
|
||||
LESmodel::New(U, phi, laminarTransport)
|
||||
incompressible::LESmodel::New(U, phi, laminarTransport)
|
||||
);
|
||||
|
@ -37,7 +37,7 @@
|
||||
|
||||
singlePhaseTransportModel laminarTransport(U, phi);
|
||||
|
||||
autoPtr<LESmodel> sgsModel
|
||||
autoPtr<incompressible::LESmodel> sgsModel
|
||||
(
|
||||
LESmodel::New(U, phi, laminarTransport)
|
||||
incompressible::LESmodel::New(U, phi, laminarTransport)
|
||||
);
|
||||
|
@ -146,7 +146,7 @@
|
||||
interfaceProperties interface(alpha1, U, twoPhaseProperties);
|
||||
|
||||
// Construct LES model
|
||||
autoPtr<LESmodel> turbulence
|
||||
autoPtr<incompressible::LESmodel> turbulence
|
||||
(
|
||||
LESmodel::New(U, phi, twoPhaseProperties)
|
||||
incompressible::LESmodel::New(U, phi, twoPhaseProperties)
|
||||
);
|
||||
|
@ -92,7 +92,7 @@
|
||||
interfaceProperties interface(gamma, U, twoPhaseProperties());
|
||||
|
||||
// Construct LES model
|
||||
autoPtr<LESmodel> turbulence
|
||||
autoPtr<incompressible::LESmodel> turbulence
|
||||
(
|
||||
LESmodel::New(U, phi, twoPhaseProperties())
|
||||
incompressible::LESmodel::New(U, phi, twoPhaseProperties())
|
||||
);
|
||||
|
@ -79,7 +79,7 @@
|
||||
twoPhaseMixture twoPhaseProperties(U, phiv, "gamma");
|
||||
|
||||
// Create LES model
|
||||
autoPtr<LESmodel> turbulence
|
||||
autoPtr<incompressible::LESmodel> turbulence
|
||||
(
|
||||
LESmodel::New(U, phiv, twoPhaseProperties)
|
||||
incompressible::LESmodel::New(U, phiv, twoPhaseProperties)
|
||||
);
|
||||
|
@ -31,6 +31,8 @@ License
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -115,6 +117,7 @@ bool devOneEqEddy::read()
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -61,6 +61,8 @@ SourceFiles
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -136,6 +138,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LESmodels
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
@ -109,7 +109,7 @@
|
||||
interfaceProperties interface(gamma, U, twoPhaseProperties);
|
||||
|
||||
// Construct LES model
|
||||
autoPtr<LESmodel> turbulence
|
||||
autoPtr<incompressible::LESmodel> turbulence
|
||||
(
|
||||
LESmodel::New(U, phi, twoPhaseProperties)
|
||||
incompressible::LESmodel::New(U, phi, twoPhaseProperties)
|
||||
);
|
||||
|
@ -162,9 +162,9 @@ void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh)
|
||||
}
|
||||
else if (turbulenceProperties.found("LESmodel"))
|
||||
{
|
||||
autoPtr<LESmodel> sgsModel
|
||||
autoPtr<incompressible::LESmodel> sgsModel
|
||||
(
|
||||
LESmodel::New(U, phi, laminarTransport)
|
||||
incompressible::LESmodel::New(U, phi, laminarTransport)
|
||||
);
|
||||
|
||||
execFlowFunctionObjects(args, runTime);
|
||||
|
@ -132,9 +132,9 @@ void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh)
|
||||
}
|
||||
else if (turbulenceProperties.found("LESmodel"))
|
||||
{
|
||||
autoPtr<LESmodel> sgsModel
|
||||
autoPtr<incompressible::LESmodel> sgsModel
|
||||
(
|
||||
LESmodel::New(U, phi, laminarTransport)
|
||||
incompressible::LESmodel::New(U, phi, laminarTransport)
|
||||
);
|
||||
|
||||
PePtr.set
|
||||
|
@ -16,9 +16,9 @@ volVectorField U
|
||||
|
||||
singlePhaseTransportModel laminarTransport(U, phi);
|
||||
|
||||
autoPtr<LESmodel> sgsModel
|
||||
autoPtr<incompressible::LESmodel> sgsModel
|
||||
(
|
||||
LESmodel::New(U, phi, laminarTransport)
|
||||
incompressible::LESmodel::New(U, phi, laminarTransport)
|
||||
);
|
||||
|
||||
volScalarField::GeometricBoundaryField d = nearWallDist(mesh).y();
|
||||
|
@ -83,9 +83,9 @@ int main(int argc, char *argv[])
|
||||
|
||||
singlePhaseTransportModel laminarTransport(U, phi);
|
||||
|
||||
autoPtr<LESmodel> sgsModel
|
||||
autoPtr<incompressible::LESmodel> sgsModel
|
||||
(
|
||||
LESmodel::New(U, phi, laminarTransport)
|
||||
incompressible::LESmodel::New(U, phi, laminarTransport)
|
||||
);
|
||||
|
||||
volScalarField::GeometricBoundaryField d = nearWallDist(mesh).y();
|
||||
|
@ -75,10 +75,10 @@ Foam::tmp<Foam::volSymmTensorField> Foam::forces::devRhoReff() const
|
||||
|
||||
return les.devRhoBeff();
|
||||
}
|
||||
else if (obr_.foundObject<LESmodel>("turbulenceProperties"))
|
||||
else if (obr_.foundObject<incompressible::LESmodel>("turbulenceProperties"))
|
||||
{
|
||||
const LESmodel& les
|
||||
= obr_.lookupObject<LESmodel>("turbulenceProperties");
|
||||
const incompressible::LESmodel& les
|
||||
= obr_.lookupObject<incompressible::LESmodel>("turbulenceProperties");
|
||||
|
||||
return rhoRef_*les.devBeff();
|
||||
}
|
||||
|
@ -23,7 +23,7 @@ License
|
||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Namespace
|
||||
Foam::compressible::LESmodels
|
||||
Foam::compressible
|
||||
|
||||
Description
|
||||
Namespace for compressible LES models.
|
||||
|
@ -31,6 +31,8 @@ License
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -126,6 +128,7 @@ bool DeardorffDiffStress::read()
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -23,7 +23,7 @@ License
|
||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Class
|
||||
Foam::LESmodels::DeardorffDiffStress
|
||||
Foam::incompressible::LES::DeardorffDiffStress
|
||||
|
||||
Description
|
||||
Differential SGS Stress Equation Model for incompressible flows
|
||||
@ -60,6 +60,8 @@ SourceFiles
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -128,6 +130,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
@ -30,6 +30,8 @@ License
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -110,6 +112,7 @@ bool GenEddyVisc::read()
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -23,7 +23,7 @@ License
|
||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Class
|
||||
Foam::LESmodels::GenEddyVisc
|
||||
Foam::incompressible::LES::GenEddyVisc
|
||||
|
||||
Description
|
||||
General base class for all incompressible models that can be implemented
|
||||
@ -46,6 +46,8 @@ SourceFiles
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -129,6 +131,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
@ -30,6 +30,8 @@ License
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -174,6 +176,7 @@ bool GenSGSStress::read()
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -23,7 +23,7 @@ License
|
||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Class
|
||||
Foam::LESmodels::GenSGSStress
|
||||
Foam::incompressible::LES::GenSGSStress
|
||||
|
||||
Description
|
||||
General base class for all incompressible models that directly
|
||||
@ -47,6 +47,8 @@ SourceFiles
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -137,6 +139,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
@ -31,6 +31,8 @@ License
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
|
||||
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||
|
||||
@ -132,6 +134,7 @@ bool LESmodel::read()
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -23,14 +23,14 @@ License
|
||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Namespace
|
||||
Foam::LESmodels
|
||||
Foam::incompressible
|
||||
|
||||
Description
|
||||
Namespace for incompressible LES models.
|
||||
|
||||
|
||||
Class
|
||||
Foam::LESmodel
|
||||
Foam::incompressible::LESmodel
|
||||
|
||||
Description
|
||||
Base class for all incompressible flow LES SGS models.
|
||||
@ -64,6 +64,8 @@ SourceFiles
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class LESmodel Declaration
|
||||
@ -263,6 +265,7 @@ public:
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
@ -30,6 +30,8 @@ License
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -70,7 +72,7 @@ autoPtr<LESmodel> LESmodel::New
|
||||
(
|
||||
"LESmodel::select(const volVectorField&, const "
|
||||
"surfaceScalarField&, transportModel&)"
|
||||
) << "Unknown LESmodel type " << LESmodelTypeName
|
||||
) << "Unknown LESmodel type " << LESmodelTypeName
|
||||
<< endl << endl
|
||||
<< "Valid LESmodel types are :" << endl
|
||||
<< dictionaryConstructorTablePtr_->toc()
|
||||
@ -83,6 +85,7 @@ autoPtr<LESmodel> LESmodel::New
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -31,6 +31,8 @@ License
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -129,6 +131,7 @@ bool LRRDiffStress::read()
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -23,7 +23,7 @@ License
|
||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Class
|
||||
Foam::LESmodels::LRRDiffStress
|
||||
Foam::incompressible::LES::LRRDiffStress
|
||||
|
||||
Description
|
||||
Differential SGS Stress Equation Model for incompressible flows.
|
||||
@ -58,6 +58,8 @@ SourceFiles
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -127,6 +129,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
@ -31,6 +31,8 @@ License
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -84,6 +86,7 @@ bool Smagorinsky::read()
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -23,7 +23,7 @@ License
|
||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Class
|
||||
Foam::LESmodels::Smagorinsky
|
||||
Foam::incompressible::LES::Smagorinsky
|
||||
|
||||
Description
|
||||
The Isochoric Smagorinsky Model for incompressible flows.
|
||||
@ -57,6 +57,8 @@ SourceFiles
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -129,6 +131,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
@ -31,6 +31,8 @@ License
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -108,6 +110,7 @@ bool Smagorinsky2::read()
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -23,7 +23,7 @@ License
|
||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Class
|
||||
Foam::LESmodels::Smagorinsky2
|
||||
Foam::incompressible::LES::Smagorinsky2
|
||||
|
||||
Description
|
||||
The Isochoric Smagorinsky Model for incompressible flows
|
||||
@ -56,6 +56,8 @@ SourceFiles
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -119,6 +121,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
@ -32,6 +32,8 @@ License
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -238,6 +240,7 @@ bool SpalartAllmaras::read()
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -23,7 +23,7 @@ License
|
||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Class
|
||||
Foam::LESmodels::SpalartAllmaras
|
||||
Foam::incompressible::LES::SpalartAllmaras
|
||||
|
||||
Description
|
||||
SpalartAllmaras for incompressible flows
|
||||
@ -43,6 +43,8 @@ SourceFiles
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -153,6 +155,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
@ -31,6 +31,8 @@ License
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -134,6 +136,7 @@ bool dynMixedSmagorinsky::read()
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -23,7 +23,7 @@ License
|
||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Class
|
||||
Foam::LESmodels::dynMixedSmagorinsky
|
||||
Foam::incompressible::LES::dynMixedSmagorinsky
|
||||
|
||||
Description
|
||||
The Mixed Isochoric Smagorinsky Model for incompressible flows.
|
||||
@ -68,6 +68,8 @@ SourceFiles
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -138,6 +140,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
@ -31,6 +31,8 @@ License
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -173,6 +175,7 @@ bool dynOneEqEddy::read()
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -23,7 +23,7 @@ License
|
||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Class
|
||||
Foam::LESmodels::dynOneEqEddy
|
||||
Foam::incompressible::LES::dynOneEqEddy
|
||||
|
||||
Description
|
||||
One Equation Eddy Viscosity Model for incompressible flows.
|
||||
@ -64,6 +64,8 @@ SourceFiles
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -143,6 +145,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
@ -31,6 +31,8 @@ License
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -153,6 +155,7 @@ bool dynSmagorinsky::read()
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -23,7 +23,7 @@ License
|
||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Class
|
||||
Foam::LESmodels::dynSmagorinsky
|
||||
Foam::incompressible::LES::dynSmagorinsky
|
||||
|
||||
Description
|
||||
The Isochoric dynamic Smagorinsky Model for incompressible flows.
|
||||
@ -73,6 +73,8 @@ SourceFiles
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -143,6 +145,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
@ -32,6 +32,8 @@ License
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -99,7 +101,7 @@ tmp<volScalarField> laminar::nuSgs() const
|
||||
dimensionedScalar("nuSgs", nu().dimensions(), 0.0)
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
tmp<volScalarField> laminar::nuEff() const
|
||||
{
|
||||
@ -158,6 +160,7 @@ bool laminar::read()
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -23,7 +23,7 @@ License
|
||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Class
|
||||
Foam::LESmodels::laminar
|
||||
Foam::incompressible::LES::laminar
|
||||
|
||||
Description
|
||||
LES model for laminar incompressible flow.
|
||||
@ -44,6 +44,8 @@ SourceFiles
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -59,7 +61,7 @@ class laminar
|
||||
|
||||
// Disallow default bitwise copy construct and assignment
|
||||
laminar(const laminar&);
|
||||
laminar& operator=(const laminar&);
|
||||
laminar& operator=(const laminar&);
|
||||
|
||||
|
||||
public:
|
||||
@ -86,7 +88,7 @@ public:
|
||||
|
||||
|
||||
// Member Functions
|
||||
|
||||
|
||||
//- Return SGS kinetic energy
|
||||
tmp<volScalarField> k() const;
|
||||
|
||||
@ -118,6 +120,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
@ -31,6 +31,8 @@ License
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -164,6 +166,7 @@ bool locDynOneEqEddy::read()
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -23,7 +23,7 @@ License
|
||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Class
|
||||
Foam::LESmodels::locDynOneEqEddy
|
||||
Foam::incompressible::LES::locDynOneEqEddy
|
||||
|
||||
Description
|
||||
Localised Dynamic One Equation Eddy Viscosity Model for incompressible
|
||||
@ -72,6 +72,8 @@ SourceFiles
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -161,6 +163,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
@ -31,6 +31,8 @@ License
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -137,6 +139,7 @@ bool mixedSmagorinsky::read()
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -23,7 +23,7 @@ License
|
||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Class
|
||||
Foam::LESmodels::mixedSmagorinsky
|
||||
Foam::incompressible::LES::mixedSmagorinsky
|
||||
|
||||
Description
|
||||
The mixed Isochoric Smagorinsky Model for incompressible flows.
|
||||
@ -67,6 +67,8 @@ SourceFiles
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -144,6 +146,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
@ -31,6 +31,8 @@ License
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -113,6 +115,7 @@ bool oneEqEddy::read()
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -23,7 +23,7 @@ License
|
||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Class
|
||||
Foam::LESmodels::oneEqEddy
|
||||
Foam::incompressible::LES::oneEqEddy
|
||||
|
||||
Description
|
||||
One Equation Eddy Viscosity Model for incompressible flows
|
||||
@ -61,6 +61,8 @@ SourceFiles
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -136,6 +138,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
@ -30,6 +30,8 @@ License
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -116,6 +118,7 @@ bool scaleSimilarity::read()
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -23,7 +23,7 @@ License
|
||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Class
|
||||
Foam::LESmodels::scaleSimilarity
|
||||
Foam::incompressible::LES::scaleSimilarity
|
||||
|
||||
Description
|
||||
General base class for all scale similarity models
|
||||
@ -47,6 +47,8 @@ SourceFiles
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -122,6 +124,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
@ -31,6 +31,8 @@ License
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -118,6 +120,7 @@ bool spectEddyVisc::read()
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -23,7 +23,7 @@ License
|
||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Class
|
||||
Foam::LESmodels::spectEddyVisc
|
||||
Foam::incompressible::LES::spectEddyVisc
|
||||
|
||||
Description
|
||||
The Isochoric spectral Eddy Viscosity Model for incompressible flows.
|
||||
@ -61,6 +61,8 @@ SourceFiles
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -126,6 +128,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
@ -35,6 +35,8 @@ License
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -143,6 +145,7 @@ void vanDriestDelta::correct()
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -23,7 +23,7 @@ License
|
||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Class
|
||||
Foam::LESmodels::vanDriestDelta
|
||||
Foam::incompressible::LES::vanDriestDelta
|
||||
|
||||
Description
|
||||
Simple cube-root of cell volume delta used in incompressible LES models.
|
||||
@ -42,6 +42,8 @@ SourceFiles
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -102,6 +104,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
@ -34,6 +34,8 @@ License
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -110,7 +112,7 @@ void nuSgsWallFunctionFvPatchScalarField::evaluate
|
||||
|
||||
const scalarField& ry = patch().deltaCoeffs();
|
||||
|
||||
const fvPatchVectorField& U =
|
||||
const fvPatchVectorField& U =
|
||||
patch().lookupPatchField<volVectorField, vector>("U");
|
||||
|
||||
scalarField magUp = mag(U.patchInternalField() - U);
|
||||
@ -127,7 +129,7 @@ void nuSgsWallFunctionFvPatchScalarField::evaluate
|
||||
scalar magUpara = magUp[facei];
|
||||
|
||||
scalar utau = sqrt((nuSgsw[facei] + nuw[facei])*magFaceGradU[facei]);
|
||||
|
||||
|
||||
if(utau > VSMALL)
|
||||
{
|
||||
int iter = 0;
|
||||
@ -140,21 +142,21 @@ void nuSgsWallFunctionFvPatchScalarField::evaluate
|
||||
|
||||
scalar f =
|
||||
- utau/(ry[facei]*nuw[facei])
|
||||
+ magUpara/utau
|
||||
+ magUpara/utau
|
||||
+ 1/E*(fkUu - 1.0/6.0*kUu*sqr(kUu));
|
||||
|
||||
|
||||
scalar df =
|
||||
- 1.0/(ry[facei]*nuw[facei])
|
||||
- magUpara/sqr(utau)
|
||||
- 1/E*kUu*fkUu/utau;
|
||||
|
||||
|
||||
scalar utauNew = utau - f/df;
|
||||
err = mag((utau - utauNew)/utau);
|
||||
utau = utauNew;
|
||||
|
||||
} while (utau > VSMALL && err > 0.01 && ++iter < 10);
|
||||
|
||||
nuSgsw[facei] =
|
||||
nuSgsw[facei] =
|
||||
max(sqr(max(utau, 0))/magFaceGradU[facei] - nuw[facei], 0.0);
|
||||
}
|
||||
else
|
||||
@ -172,6 +174,7 @@ makePatchTypeField(fvPatchScalarField, nuSgsWallFunctionFvPatchScalarField);
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -23,7 +23,7 @@ License
|
||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Class
|
||||
Foam::LESmodels::nuSgsWallFunctionFvPatchScalarField
|
||||
Foam::incompressible::LES::nuSgsWallFunctionFvPatchScalarField
|
||||
|
||||
Description
|
||||
wall function boundary condition for incompressible flows
|
||||
@ -42,6 +42,8 @@ SourceFiles
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
namespace incompressible
|
||||
{
|
||||
namespace LES
|
||||
{
|
||||
|
||||
@ -139,6 +141,7 @@ public:
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace LES
|
||||
} // End namespace incompressible
|
||||
} // End namespace Foam
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
Loading…
Reference in New Issue
Block a user