mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
created incompressible namespace for incompressible LES models
This commit is contained in:
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user