Merge branch 'master' of ssh://noisy/home/noisy2/OpenFOAM/OpenFOAM-dev

This commit is contained in:
henry
2008-06-18 23:11:55 +01:00
117 changed files with 318 additions and 1983 deletions

View File

@ -37,7 +37,7 @@
singlePhaseTransportModel laminarTransport(U, phi); 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); 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); interfaceProperties interface(alpha1, U, twoPhaseProperties);
// Construct LES model // 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()); interfaceProperties interface(gamma, U, twoPhaseProperties());
// Construct LES model // 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"); twoPhaseMixture twoPhaseProperties(U, phiv, "gamma");
// Create LES model // 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 Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -115,6 +117,7 @@ bool devOneEqEddy::read()
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// ************************************************************************* // // ************************************************************************* //

View File

@ -61,6 +61,8 @@ SourceFiles
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -136,6 +138,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LESmodels } // End namespace LESmodels
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -109,7 +109,7 @@
interfaceProperties interface(gamma, U, twoPhaseProperties); interfaceProperties interface(gamma, U, twoPhaseProperties);
// Construct LES model // 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")) 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); 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")) 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 PePtr.set

View File

@ -16,9 +16,9 @@ volVectorField U
singlePhaseTransportModel laminarTransport(U, phi); 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(); volScalarField::GeometricBoundaryField d = nearWallDist(mesh).y();

View File

@ -83,9 +83,9 @@ int main(int argc, char *argv[])
singlePhaseTransportModel laminarTransport(U, phi); 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(); volScalarField::GeometricBoundaryField d = nearWallDist(mesh).y();

View File

@ -75,10 +75,10 @@ Foam::tmp<Foam::volSymmTensorField> Foam::forces::devRhoReff() const
return les.devRhoBeff(); return les.devRhoBeff();
} }
else if (obr_.foundObject<LESmodel>("turbulenceProperties")) else if (obr_.foundObject<incompressible::LESmodel>("turbulenceProperties"))
{ {
const LESmodel& les const incompressible::LESmodel& les
= obr_.lookupObject<LESmodel>("turbulenceProperties"); = obr_.lookupObject<incompressible::LESmodel>("turbulenceProperties");
return rhoRef_*les.devBeff(); return rhoRef_*les.devBeff();
} }

View File

@ -45,8 +45,7 @@ void LESmodel::printCoeffs()
{ {
if (printCoeffs_) if (printCoeffs_)
{ {
Info<< type() << "Coeffs" << nl Info<< type() << "Coeffs" << LESmodelProperties_ << endl;
<< LESmodelProperties_;
} }
} }

View File

@ -23,7 +23,7 @@ License
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Namespace Namespace
Foam::compressible::LESmodels Foam::compressible
Description Description
Namespace for compressible LES models. Namespace for compressible LES models.

View File

@ -64,6 +64,8 @@ autoPtr<LESmodel> LESmodel::New
turbulencePropertiesDict.lookup("LESmodel") >> LESmodelTypeName; turbulencePropertiesDict.lookup("LESmodel") >> LESmodelTypeName;
} }
Info<< "Selecting turbulence model " << LESmodelTypeName << endl;
dictionaryConstructorTable::iterator cstrIter = dictionaryConstructorTable::iterator cstrIter =
dictionaryConstructorTablePtr_->find(LESmodelTypeName); dictionaryConstructorTablePtr_->find(LESmodelTypeName);

View File

@ -31,6 +31,8 @@ License
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -126,6 +128,7 @@ bool DeardorffDiffStress::read()
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// ************************************************************************* // // ************************************************************************* //

View File

@ -23,7 +23,7 @@ License
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Class Class
Foam::LESmodels::DeardorffDiffStress Foam::incompressible::LES::DeardorffDiffStress
Description Description
Differential SGS Stress Equation Model for incompressible flows Differential SGS Stress Equation Model for incompressible flows
@ -60,6 +60,8 @@ SourceFiles
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -128,6 +130,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -30,6 +30,8 @@ License
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -110,6 +112,7 @@ bool GenEddyVisc::read()
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// ************************************************************************* // // ************************************************************************* //

View File

@ -23,7 +23,7 @@ License
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Class Class
Foam::LESmodels::GenEddyVisc Foam::incompressible::LES::GenEddyVisc
Description Description
General base class for all incompressible models that can be implemented General base class for all incompressible models that can be implemented
@ -46,6 +46,8 @@ SourceFiles
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -129,6 +131,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -30,6 +30,8 @@ License
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -174,6 +176,7 @@ bool GenSGSStress::read()
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// ************************************************************************* // // ************************************************************************* //

View File

@ -23,7 +23,7 @@ License
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Class Class
Foam::LESmodels::GenSGSStress Foam::incompressible::LES::GenSGSStress
Description Description
General base class for all incompressible models that directly General base class for all incompressible models that directly
@ -47,6 +47,8 @@ SourceFiles
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -137,6 +139,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -31,6 +31,8 @@ License
namespace Foam namespace Foam
{ {
namespace incompressible
{
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * // // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
@ -43,8 +45,7 @@ void LESmodel::printCoeffs()
{ {
if (printCoeffs_) if (printCoeffs_)
{ {
Info<< type() << "Coeffs" << nl Info<< type() << "Coeffs" << LESmodelProperties_ << endl;
<< LESmodelProperties_;
} }
} }
@ -132,6 +133,7 @@ bool LESmodel::read()
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// ************************************************************************* // // ************************************************************************* //

View File

@ -23,14 +23,14 @@ License
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Namespace Namespace
Foam::LESmodels Foam::incompressible
Description Description
Namespace for incompressible LES models. Namespace for incompressible LES models.
Class Class
Foam::LESmodel Foam::incompressible::LESmodel
Description Description
Base class for all incompressible flow LES SGS models. Base class for all incompressible flow LES SGS models.
@ -64,6 +64,8 @@ SourceFiles
namespace Foam namespace Foam
{ {
namespace incompressible
{
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class LESmodel Declaration Class LESmodel Declaration
@ -263,6 +265,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -30,6 +30,8 @@ License
namespace Foam namespace Foam
{ {
namespace incompressible
{
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -61,6 +63,8 @@ autoPtr<LESmodel> LESmodel::New
turbulencePropertiesDict.lookup("LESmodel") >> LESmodelTypeName; turbulencePropertiesDict.lookup("LESmodel") >> LESmodelTypeName;
} }
Info<< "Selecting turbulence model " << LESmodelTypeName << endl;
dictionaryConstructorTable::iterator cstrIter = dictionaryConstructorTable::iterator cstrIter =
dictionaryConstructorTablePtr_->find(LESmodelTypeName); dictionaryConstructorTablePtr_->find(LESmodelTypeName);
@ -70,7 +74,7 @@ autoPtr<LESmodel> LESmodel::New
( (
"LESmodel::select(const volVectorField&, const " "LESmodel::select(const volVectorField&, const "
"surfaceScalarField&, transportModel&)" "surfaceScalarField&, transportModel&)"
) << "Unknown LESmodel type " << LESmodelTypeName ) << "Unknown LESmodel type " << LESmodelTypeName
<< endl << endl << endl << endl
<< "Valid LESmodel types are :" << endl << "Valid LESmodel types are :" << endl
<< dictionaryConstructorTablePtr_->toc() << dictionaryConstructorTablePtr_->toc()
@ -83,6 +87,7 @@ autoPtr<LESmodel> LESmodel::New
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// ************************************************************************* // // ************************************************************************* //

View File

@ -31,6 +31,8 @@ License
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -129,6 +131,7 @@ bool LRRDiffStress::read()
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// ************************************************************************* // // ************************************************************************* //

View File

@ -23,7 +23,7 @@ License
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Class Class
Foam::LESmodels::LRRDiffStress Foam::incompressible::LES::LRRDiffStress
Description Description
Differential SGS Stress Equation Model for incompressible flows. Differential SGS Stress Equation Model for incompressible flows.
@ -58,6 +58,8 @@ SourceFiles
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -127,6 +129,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -31,6 +31,8 @@ License
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -84,6 +86,7 @@ bool Smagorinsky::read()
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// ************************************************************************* // // ************************************************************************* //

View File

@ -23,7 +23,7 @@ License
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Class Class
Foam::LESmodels::Smagorinsky Foam::incompressible::LES::Smagorinsky
Description Description
The Isochoric Smagorinsky Model for incompressible flows. The Isochoric Smagorinsky Model for incompressible flows.
@ -57,6 +57,8 @@ SourceFiles
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -129,6 +131,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -31,6 +31,8 @@ License
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -108,6 +110,7 @@ bool Smagorinsky2::read()
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// ************************************************************************* // // ************************************************************************* //

View File

@ -23,7 +23,7 @@ License
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Class Class
Foam::LESmodels::Smagorinsky2 Foam::incompressible::LES::Smagorinsky2
Description Description
The Isochoric Smagorinsky Model for incompressible flows The Isochoric Smagorinsky Model for incompressible flows
@ -56,6 +56,8 @@ SourceFiles
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -119,6 +121,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -32,6 +32,8 @@ License
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -238,6 +240,7 @@ bool SpalartAllmaras::read()
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// ************************************************************************* // // ************************************************************************* //

View File

@ -23,7 +23,7 @@ License
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Class Class
Foam::LESmodels::SpalartAllmaras Foam::incompressible::LES::SpalartAllmaras
Description Description
SpalartAllmaras for incompressible flows SpalartAllmaras for incompressible flows
@ -43,6 +43,8 @@ SourceFiles
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -153,6 +155,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -31,6 +31,8 @@ License
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -134,6 +136,7 @@ bool dynMixedSmagorinsky::read()
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // namespace incompressible
} // End namespace Foam } // End namespace Foam
// ************************************************************************* // // ************************************************************************* //

View File

@ -23,7 +23,7 @@ License
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Class Class
Foam::LESmodels::dynMixedSmagorinsky Foam::incompressible::LES::dynMixedSmagorinsky
Description Description
The Mixed Isochoric Smagorinsky Model for incompressible flows. The Mixed Isochoric Smagorinsky Model for incompressible flows.
@ -68,6 +68,8 @@ SourceFiles
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -138,6 +140,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -31,6 +31,8 @@ License
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -173,6 +175,7 @@ bool dynOneEqEddy::read()
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// ************************************************************************* // // ************************************************************************* //

View File

@ -23,7 +23,7 @@ License
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Class Class
Foam::LESmodels::dynOneEqEddy Foam::incompressible::LES::dynOneEqEddy
Description Description
One Equation Eddy Viscosity Model for incompressible flows. One Equation Eddy Viscosity Model for incompressible flows.
@ -64,6 +64,8 @@ SourceFiles
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -143,6 +145,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -31,6 +31,8 @@ License
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -153,6 +155,7 @@ bool dynSmagorinsky::read()
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// ************************************************************************* // // ************************************************************************* //

View File

@ -23,7 +23,7 @@ License
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Class Class
Foam::LESmodels::dynSmagorinsky Foam::incompressible::LES::dynSmagorinsky
Description Description
The Isochoric dynamic Smagorinsky Model for incompressible flows. The Isochoric dynamic Smagorinsky Model for incompressible flows.
@ -73,6 +73,8 @@ SourceFiles
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -143,6 +145,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -32,6 +32,8 @@ License
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -99,7 +101,7 @@ tmp<volScalarField> laminar::nuSgs() const
dimensionedScalar("nuSgs", nu().dimensions(), 0.0) dimensionedScalar("nuSgs", nu().dimensions(), 0.0)
) )
); );
} }
tmp<volScalarField> laminar::nuEff() const tmp<volScalarField> laminar::nuEff() const
{ {
@ -158,6 +160,7 @@ bool laminar::read()
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// ************************************************************************* // // ************************************************************************* //

View File

@ -23,7 +23,7 @@ License
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Class Class
Foam::LESmodels::laminar Foam::incompressible::LES::laminar
Description Description
LES model for laminar incompressible flow. LES model for laminar incompressible flow.
@ -44,6 +44,8 @@ SourceFiles
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -59,7 +61,7 @@ class laminar
// Disallow default bitwise copy construct and assignment // Disallow default bitwise copy construct and assignment
laminar(const laminar&); laminar(const laminar&);
laminar& operator=(const laminar&); laminar& operator=(const laminar&);
public: public:
@ -86,7 +88,7 @@ public:
// Member Functions // Member Functions
//- Return SGS kinetic energy //- Return SGS kinetic energy
tmp<volScalarField> k() const; tmp<volScalarField> k() const;
@ -118,6 +120,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -31,6 +31,8 @@ License
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -164,6 +166,7 @@ bool locDynOneEqEddy::read()
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// ************************************************************************* // // ************************************************************************* //

View File

@ -23,7 +23,7 @@ License
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Class Class
Foam::LESmodels::locDynOneEqEddy Foam::incompressible::LES::locDynOneEqEddy
Description Description
Localised Dynamic One Equation Eddy Viscosity Model for incompressible Localised Dynamic One Equation Eddy Viscosity Model for incompressible
@ -72,6 +72,8 @@ SourceFiles
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -161,6 +163,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -31,6 +31,8 @@ License
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -137,6 +139,7 @@ bool mixedSmagorinsky::read()
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// ************************************************************************* // // ************************************************************************* //

View File

@ -23,7 +23,7 @@ License
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Class Class
Foam::LESmodels::mixedSmagorinsky Foam::incompressible::LES::mixedSmagorinsky
Description Description
The mixed Isochoric Smagorinsky Model for incompressible flows. The mixed Isochoric Smagorinsky Model for incompressible flows.
@ -67,6 +67,8 @@ SourceFiles
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -144,6 +146,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -31,6 +31,8 @@ License
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -113,6 +115,7 @@ bool oneEqEddy::read()
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// ************************************************************************* // // ************************************************************************* //

View File

@ -23,7 +23,7 @@ License
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Class Class
Foam::LESmodels::oneEqEddy Foam::incompressible::LES::oneEqEddy
Description Description
One Equation Eddy Viscosity Model for incompressible flows One Equation Eddy Viscosity Model for incompressible flows
@ -61,6 +61,8 @@ SourceFiles
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -136,6 +138,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -30,6 +30,8 @@ License
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -116,6 +118,7 @@ bool scaleSimilarity::read()
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// ************************************************************************* // // ************************************************************************* //

View File

@ -23,7 +23,7 @@ License
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Class Class
Foam::LESmodels::scaleSimilarity Foam::incompressible::LES::scaleSimilarity
Description Description
General base class for all scale similarity models General base class for all scale similarity models
@ -47,6 +47,8 @@ SourceFiles
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -122,6 +124,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -31,6 +31,8 @@ License
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -118,6 +120,7 @@ bool spectEddyVisc::read()
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// ************************************************************************* // // ************************************************************************* //

View File

@ -23,7 +23,7 @@ License
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Class Class
Foam::LESmodels::spectEddyVisc Foam::incompressible::LES::spectEddyVisc
Description Description
The Isochoric spectral Eddy Viscosity Model for incompressible flows. The Isochoric spectral Eddy Viscosity Model for incompressible flows.
@ -61,6 +61,8 @@ SourceFiles
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -126,6 +128,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -35,6 +35,8 @@ License
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -143,6 +145,7 @@ void vanDriestDelta::correct()
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// ************************************************************************* // // ************************************************************************* //

View File

@ -23,7 +23,7 @@ License
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Class Class
Foam::LESmodels::vanDriestDelta Foam::incompressible::LES::vanDriestDelta
Description Description
Simple cube-root of cell volume delta used in incompressible LES models. Simple cube-root of cell volume delta used in incompressible LES models.
@ -42,6 +42,8 @@ SourceFiles
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -102,6 +104,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -34,6 +34,8 @@ License
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -110,7 +112,7 @@ void nuSgsWallFunctionFvPatchScalarField::evaluate
const scalarField& ry = patch().deltaCoeffs(); const scalarField& ry = patch().deltaCoeffs();
const fvPatchVectorField& U = const fvPatchVectorField& U =
patch().lookupPatchField<volVectorField, vector>("U"); patch().lookupPatchField<volVectorField, vector>("U");
scalarField magUp = mag(U.patchInternalField() - U); scalarField magUp = mag(U.patchInternalField() - U);
@ -127,7 +129,7 @@ void nuSgsWallFunctionFvPatchScalarField::evaluate
scalar magUpara = magUp[facei]; scalar magUpara = magUp[facei];
scalar utau = sqrt((nuSgsw[facei] + nuw[facei])*magFaceGradU[facei]); scalar utau = sqrt((nuSgsw[facei] + nuw[facei])*magFaceGradU[facei]);
if(utau > VSMALL) if(utau > VSMALL)
{ {
int iter = 0; int iter = 0;
@ -140,21 +142,21 @@ void nuSgsWallFunctionFvPatchScalarField::evaluate
scalar f = scalar f =
- utau/(ry[facei]*nuw[facei]) - utau/(ry[facei]*nuw[facei])
+ magUpara/utau + magUpara/utau
+ 1/E*(fkUu - 1.0/6.0*kUu*sqr(kUu)); + 1/E*(fkUu - 1.0/6.0*kUu*sqr(kUu));
scalar df = scalar df =
- 1.0/(ry[facei]*nuw[facei]) - 1.0/(ry[facei]*nuw[facei])
- magUpara/sqr(utau) - magUpara/sqr(utau)
- 1/E*kUu*fkUu/utau; - 1/E*kUu*fkUu/utau;
scalar utauNew = utau - f/df; scalar utauNew = utau - f/df;
err = mag((utau - utauNew)/utau); err = mag((utau - utauNew)/utau);
utau = utauNew; utau = utauNew;
} while (utau > VSMALL && err > 0.01 && ++iter < 10); } while (utau > VSMALL && err > 0.01 && ++iter < 10);
nuSgsw[facei] = nuSgsw[facei] =
max(sqr(max(utau, 0))/magFaceGradU[facei] - nuw[facei], 0.0); max(sqr(max(utau, 0))/magFaceGradU[facei] - nuw[facei], 0.0);
} }
else else
@ -172,6 +174,7 @@ makePatchTypeField(fvPatchScalarField, nuSgsWallFunctionFvPatchScalarField);
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// ************************************************************************* // // ************************************************************************* //

View File

@ -23,7 +23,7 @@ License
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Class Class
Foam::LESmodels::nuSgsWallFunctionFvPatchScalarField Foam::incompressible::LES::nuSgsWallFunctionFvPatchScalarField
Description Description
wall function boundary condition for incompressible flows wall function boundary condition for incompressible flows
@ -42,6 +42,8 @@ SourceFiles
namespace Foam namespace Foam
{ {
namespace incompressible
{
namespace LES namespace LES
{ {
@ -139,6 +141,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace LES } // End namespace LES
} // End namespace incompressible
} // End namespace Foam } // End namespace Foam
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -47,8 +47,7 @@ void RASmodel::printCoeffs()
{ {
if (printCoeffs_) if (printCoeffs_)
{ {
Info<< type() << "Coeffs" << nl Info<< type() << "Coeffs" << RASmodelCoeffs_ << endl;
<< RASmodelCoeffs_;
} }
} }

View File

@ -45,8 +45,7 @@ void RASmodel::printCoeffs()
{ {
if (printCoeffs_) if (printCoeffs_)
{ {
Info<< type() << "Coeffs" << nl Info<< type() << "Coeffs" << RASmodelCoeffs_ << endl;;
<< RASmodelCoeffs_;
} }
} }

View File

@ -24,7 +24,9 @@ FoamFile
RASmodel kEpsilon; RASmodel kEpsilon;
turbulence on; turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -24,7 +24,9 @@ FoamFile
RASmodel LaunderSharmaKE; RASmodel LaunderSharmaKE;
turbulence on; turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -22,9 +22,12 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
LESmodel oneEqEddy; LESmodel oneEqEddy;
delta cubeRootVol; delta cubeRootVol;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {
@ -39,7 +42,7 @@ oneEqEddyCoeffs
dynOneEqEddyCoeffs dynOneEqEddyCoeffs
{ {
ce 1.05; ce 1.05;
filter simple; filter simple;
} }
lowReOneEqEddyCoeffs lowReOneEqEddyCoeffs

View File

@ -46,30 +46,30 @@ GuldersCoeffs
{ {
Methane Methane
{ {
W W [0 0 0 0 0 0 0] 0.422; W 0.422;
eta eta [0 0 0 0 0 0 0] 0.15; eta 0.15;
xi xi [0 0 0 0 0 0 0] 5.18; xi 5.18;
alpha alpha [0 0 0 0 0 0 0] 2; alpha 2;
beta beta [0 0 0 0 0 0 0] -0.5; beta -0.5;
f f [0 0 0 0 0 0 0] 2.3; f 2.3;
} }
Propane Propane
{ {
W W [0 0 0 0 0 0 0] 0.446; W 0.446;
eta eta [0 0 0 0 0 0 0] 0.12; eta 0.12;
xi xi [0 0 0 0 0 0 0] 4.95; xi 4.95;
alpha alpha [0 0 0 0 0 0 0] 1.77; alpha 1.77;
beta beta [0 0 0 0 0 0 0] -0.2; beta -0.2;
f f [0 0 0 0 0 0 0] 2.3; f 2.3;
} }
IsoOctane IsoOctane
{ {
W W [0 0 0 0 0 0 0] 0.4658; W 0.4658;
eta eta [0 0 0 0 0 0 0] -0.326; eta -0.326;
xi xi [0 0 0 0 0 0 0] 4.48; xi 4.48;
alpha alpha [0 0 0 0 0 0 0] 1.56; alpha 1.56;
beta beta [0 0 0 0 0 0 0] -0.22; beta -0.22;
f f [0 0 0 0 0 0 0] 2.3; f 2.3;
} }
} }

View File

@ -22,9 +22,12 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
LESmodel oneEqEddy; LESmodel oneEqEddy;
delta cubeRootVol; delta cubeRootVol;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -24,7 +24,9 @@ FoamFile
RASmodel LaunderSharmaKE; RASmodel LaunderSharmaKE;
turbulence on; turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -27,7 +27,9 @@ FoamFile
RASmodel kEpsilon; RASmodel kEpsilon;
// Do you wish to calculate turbulence? // Do you wish to calculate turbulence?
turbulence on; turbulence on;
printCoeffs on;
// Laminar model coefficients // Laminar model coefficients
laminarCoeffs laminarCoeffs

View File

@ -24,7 +24,9 @@ FoamFile
RASmodel laminar; RASmodel laminar;
turbulence off; turbulence off;
printCoeffs off;
laminarCoeffs laminarCoeffs
{ {

View File

@ -24,7 +24,9 @@ FoamFile
RASmodel kEpsilon; RASmodel kEpsilon;
turbulence on; turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -24,7 +24,9 @@ FoamFile
RASmodel kEpsilon; RASmodel kEpsilon;
turbulence on; turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -24,7 +24,9 @@ FoamFile
RASmodel kEpsilon; RASmodel kEpsilon;
turbulence on; turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -1,63 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class volScalarField;
object rho;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 1 0];
internalField uniform 300;
boundaryField
{
inlet
{
type fixedValue; //inletOutlet;
value uniform 300;
inletValue uniform 300;
}
outlet
{
type zeroGradient; //inletOutlet;
value uniform 300;
inletValue uniform 300;
}
wall
{
type zeroGradient;
}
back
{
type wedge;
}
front
{
type wedge;
}
}
// ************************************************************************* //

View File

@ -1,62 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class volVectorField;
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0];
internalField uniform (0 0 0);
boundaryField
{
inlet
{
type zeroGradient; //pressureInletOutletVelocity;
value uniform (0 0 0);
}
outlet
{
type zeroGradient; //inletOutlet;
value uniform (0 0 0);
inletValue uniform (0 0 0);
}
wall
{
type slip;
}
back
{
type wedge;
}
front
{
type wedge;
}
}
// ************************************************************************* //

View File

@ -1,62 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class volScalarField;
object gamma;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 0 0];
internalField uniform 0;
boundaryField
{
inlet
{
type calculated;
value uniform 0;
}
outlet
{
type calculated;
value uniform 0;
}
wall
{
type calculated;
value uniform 0;
}
back
{
type wedge;
}
front
{
type wedge;
}
}
// ************************************************************************* //

View File

@ -1,67 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class volScalarField;
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -2 0 0];
internalField uniform 5e5;
boundaryField
{
inlet
{
type totalPressure;
U U;
phi phiv;
rho rho;
psi none;
gamma 1;
p0 uniform 100e5;
//p0 uniform 15e5;
}
outlet
{
type fixedValue;
value uniform 5e5;
}
wall
{
type zeroGradient;
}
back
{
type wedge;
}
front
{
type wedge;
}
}
// ************************************************************************* //

View File

@ -1,63 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class volScalarField;
object gamma;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -3 0 0 0];
internalField uniform 828.23621;
boundaryField
{
inlet
{
type fixedValue;
value uniform 832.75441;
//value uniform 828.7118;
}
outlet
{
type fixedValue; //inletOutlet;
value uniform 828.23621;
inletValue uniform 828.23621;
}
wall
{
type zeroGradient;
}
back
{
type wedge;
}
front
{
type wedge;
}
}
// ************************************************************************* //

View File

@ -1,134 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
convertToMeters 1.0e-03;
vertices
(
(0 0 0)
(4 0 0)
(5 0 0)
(10 0 0)
(0 0.167 -7.2913e-3)
(4 0.167 -7.2913e-3)
(5 0.167 -7.2913e-3)
(10 0.167 -7.2913e-3)
(0 0.5 -2.183e-2)
(4 0.5 -2.183e-2)
(5 0.5 -2.183e-2)
(10 0.5 -2.183e-2)
(0 0 0)
(4 0 0)
(5 0 0)
(10 0 0)
(0 0.167 7.2913e-3)
(4 0.167 7.2913e-3)
(5 0.167 7.2913e-3)
(10 0.167 7.2913e-3)
(0 0.5 2.183e-2)
(4 0.5 2.183e-2)
(5 0.5 2.183e-2)
(10 0.5 2.183e-2)
);
blocks
(
// block 0
hex (0 1 5 4 12 13 17 16)
(40 10 1)
(0.167 1 1)
// block 1
hex (1 2 6 5 13 14 18 17)
(30 10 1)
(1 1 1)
// block 2
hex (2 3 7 6 14 15 19 18)
(50 10 1)
(6 1 1)
// block 3
hex (4 5 9 8 16 17 21 20)
(40 20 1)
(0.167 1 1)
// block 4
hex (6 7 11 10 18 19 23 22)
(50 20 1)
(6 1 1)
);
patches
(
patch inlet
(
(0 12 16 4)
(4 16 20 8)
)
patch outlet
(
(3 7 19 15)
(7 11 23 19)
)
wall wall
(
(8 20 21 9)
(5 9 21 17)
(6 5 17 18)
(10 6 18 22)
(11 10 22 23)
)
wedge back
(
(0 4 5 1)
(1 5 6 2)
(2 6 7 3)
(4 8 9 5)
(6 10 11 7)
)
wedge front
(
(12 13 17 16)
(13 14 18 17)
(14 15 19 18)
(16 17 21 20)
(18 19 23 22)
)
);
// ************************************************************************* //

View File

@ -1,58 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class polyBoundaryMesh;
object boundary;
location "constant/polyMesh";
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
6
(
inlet
{
type patch;
nFaces 30;
startFace 5830;
}
outlet
{
type patch;
nFaces 30;
startFace 5860;
}
wall
{
type wall;
nFaces 160;
startFace 5890;
}
back
{
type wedge;
nFaces 3000;
startFace 6050;
}
front
{
type wedge;
nFaces 3000;
startFace 9050;
}
defaultFaces
{
type empty;
nFaces 0;
startFace 12050;
}
)
// ************************************************************************* //

View File

@ -1,36 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class dictionary;
object thermodynamicProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
compressibilityModel linear; //Chung;
psiv psiv [0 -2 2 0 0] 4.662e-5;
rholSat rholSat [1 -3 0 0 0] 828;
psil psil [0 -2 2 0 0] 4.756e-7;
pSat pSat [1 -1 -2 0 0] 3325;
rhoMin rhoMin [1 -3 0 0 0] 0.001;
// ************************************************************************* //

View File

@ -1,28 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class dictionary;
object transportProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
mul mul [1 -1 -1 0 0] 3.877e-3;
muv muv [1 -1 -1 0 0] 1.207e-4;
// ************************************************************************* //

View File

@ -1,52 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class dictionary;
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
startFrom latestTime;
startTime 0;
stopAt endTime;
endTime 1e-3;
deltaT 1e-8;
writeControl adjustableRunTime;
writeInterval 1e-5;
purgeWrite 0;
writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
timeFormat general;
runTimeModifiable yes;
adjustTimeStep on;
maxCo 0.5;
maxAcousticCo 50.0;
// ************************************************************************* //

View File

@ -1,73 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class dictionary;
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
ddtSchemes
{
default Euler;
}
interpolationSchemes
{
default linear;
}
divSchemes
{
default none;
div(phiv,rho) Gauss upwind;
div(phi,U) Gauss upwind;
}
gradSchemes
{
default Gauss;
}
laplacianSchemes
{
default none;
laplacian(nuf,rhoU) Gauss linear corrected;
laplacian(muf,U) Gauss linear corrected;
laplacian(rrhoUAf,p) Gauss linear corrected;
laplacian(rUAf,p) Gauss linear corrected;
}
snGradSchemes
{
default none;
snGrad(p) corrected;
}
fluxRequired
{
default none;
p;
rho;
}
// ************************************************************************* //

View File

@ -1,59 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class dictionary;
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers
{
rho smoothSolver
{
smoother GaussSeidel;
tolerance 1e-8;
relTol 0;
nSweeps 1;
};
U smoothSolver
{
smoother GaussSeidel;
tolerance 1e-8;
relTol 0;
nSweeps 1;
};
p PCG
{
preconditioner DIC;
tolerance 1e-10;
relTol 0;
};
}
PISO
{
nCorrectors 2;
nNonOrthogonalCorrectors 0;
removeSwirl 2;
}
// ************************************************************************* //

View File

@ -22,9 +22,11 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
LESmodel oneEqEddy; LESmodel oneEqEddy;
delta vanDriest; printCoeffs on;
delta vanDriest;
laminarCoeffs laminarCoeffs
{ {

View File

@ -22,9 +22,11 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
LESmodel oneEqEddy; LESmodel oneEqEddy;
delta cubeRootVol; printCoeffs on;
delta cubeRootVol;
laminarCoeffs laminarCoeffs
{ {

View File

@ -18,7 +18,9 @@ FoamFile
RASmodel kEpsilon; RASmodel kEpsilon;
turbulence on; turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {
@ -35,7 +37,7 @@ kEpsilonCoeffs
alphaEps 0.76923; alphaEps 0.76923;
muLimiter on; muLimiter on;
Lsgs 0.0002; Lsgs 0.0002;
} }
RNGkEpsilonCoeffs RNGkEpsilonCoeffs

View File

@ -24,7 +24,9 @@ FoamFile
RASmodel kEpsilon; RASmodel kEpsilon;
turbulence on; turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -25,7 +25,9 @@ FoamFile
// RASmodel kEpsilon; // RASmodel kEpsilon;
RASmodel laminar; RASmodel laminar;
turbulence off; turbulence on;
printCoeffs off;
laminarCoeffs laminarCoeffs
{ {

View File

@ -22,9 +22,11 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
LESmodel oneEqEddy; LESmodel oneEqEddy;
delta smooth; delta smooth;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -22,9 +22,11 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
LESmodel oneEqEddy; LESmodel oneEqEddy;
delta cubeRootVol; delta cubeRootVol;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -22,9 +22,11 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
LESmodel oneEqEddy; LESmodel oneEqEddy;
delta cubeRootVol; delta cubeRootVol;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -24,7 +24,9 @@ FoamFile
RASmodel kEpsilon; RASmodel kEpsilon;
turbulence on; turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -17,7 +17,10 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
RASmodel kEpsilon; RASmodel kEpsilon;
turbulence on;
turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -17,7 +17,10 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
RASmodel kEpsilon; RASmodel kEpsilon;
turbulence on;
turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -27,7 +27,9 @@ FoamFile
RASmodel kOmegaSST; //kEpsilon; RASmodel kOmegaSST; //kEpsilon;
// Do you wish to calculate turbulence? // Do you wish to calculate turbulence?
turbulence on; turbulence on;
printCoeffs on;
// Laminar model coefficients // Laminar model coefficients
laminarCoeffs laminarCoeffs

View File

@ -27,7 +27,9 @@ FoamFile
RASmodel kEpsilon; RASmodel kEpsilon;
// Do you wish to calculate turbulence? // Do you wish to calculate turbulence?
turbulence on; turbulence on;
printCoeffs on;
// Laminar model coefficients // Laminar model coefficients
laminarCoeffs laminarCoeffs

View File

@ -24,7 +24,9 @@ FoamFile
RASmodel kEpsilon; RASmodel kEpsilon;
turbulence on; turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -24,7 +24,9 @@ FoamFile
RASmodel kEpsilon; RASmodel kEpsilon;
turbulence on; turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -24,7 +24,9 @@ FoamFile
RASmodel kEpsilon; RASmodel kEpsilon;
turbulence on; turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -1,75 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class volSymmTensorField;
object R;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
internalField uniform (0 0 0 0 0 0);
boundaryField
{
inlet
{
type fixedValue;
value uniform (0 0 0 0 0 0);
}
outlet
{
type zeroGradient;
}
upperWall
{
type zeroGradient;
}
lowerWall
{
type zeroGradient;
}
lowerWallInlet
{
type zeroGradient;
}
lowerWallInterface
{
type zeroGradient;
}
interface
{
type zeroGradient;
}
defaultFaces
{
type empty;
}
}
// ************************************************************************* //

View File

@ -1,79 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class volVectorField;
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
internalField uniform (0 0 0);
boundaryField
{
inlet
{
type fixedValue;
value uniform (10 0 0);
}
outlet
{
type zeroGradient;
}
upperWall
{
type fixedValue;
value uniform (0 0 0);
}
lowerWall
{
type fixedValue;
value uniform (0 0 0);
}
lowerWallInlet
{
type fixedValue;
value uniform (0 0 0);
}
lowerWallInterface
{
type fixedValue;
value uniform (0 0 0);
}
interface
{
type zeroGradient;
}
defaultFaces
{
type empty;
}
}
// ************************************************************************* //

View File

@ -1,75 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class volScalarField;
object epsilon;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -3 0 0 0 0];
internalField uniform 14.855;
boundaryField
{
inlet
{
type fixedValue;
value uniform 14.855;
}
outlet
{
type zeroGradient;
}
upperWall
{
type zeroGradient;
}
lowerWall
{
type zeroGradient;
}
lowerWallInlet
{
type zeroGradient;
}
lowerWallInterface
{
type zeroGradient;
}
interface
{
type zeroGradient;
}
defaultFaces
{
type empty;
}
}
// ************************************************************************* //

View File

@ -1,75 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class volScalarField;
object k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
internalField uniform 0.375;
boundaryField
{
inlet
{
type fixedValue;
value uniform 0.375;
}
outlet
{
type zeroGradient;
}
upperWall
{
type zeroGradient;
}
lowerWall
{
type zeroGradient;
}
lowerWallInlet
{
type zeroGradient;
}
lowerWallInterface
{
type zeroGradient;
}
interface
{
type zeroGradient;
}
defaultFaces
{
type empty;
}
}
// ************************************************************************* //

Some files were not shown because too many files have changed in this diff Show More