created incompressible namespace for incompressible LES models

This commit is contained in:
andy
2008-06-18 17:43:42 +01:00
parent c6d765ccb3
commit b3cb7c3dd3
53 changed files with 177 additions and 54 deletions

View File

@ -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)
);

View File

@ -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)
);

View File

@ -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)
);

View File

@ -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())
);

View File

@ -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)
);

View File

@ -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
// ************************************************************************* //

View File

@ -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
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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)
);

View File

@ -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);

View File

@ -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

View File

@ -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();

View File

@ -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();