ENH: Added preliminary docs for LES turbulence

This commit is contained in:
andy
2012-07-23 18:08:15 +01:00
parent 05dad2aa10
commit 645ed32eb7
34 changed files with 245 additions and 34 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -24,6 +24,9 @@ License
Class
Foam::compressible::LESModels::DeardorffDiffStress
Group
grpCmpLESTurbulence
Description
Differential SGS Stress Equation Model for compressible flows

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -24,6 +24,9 @@ License
Class
Foam::compressible::LESModels::GenEddyVisc
Group
grpCmpLESTurbulence
Description
General base class for all compressible models that can be implemented as
an eddy viscosity, i.e. algebraic and one-equation models.

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -24,6 +24,9 @@ License
Class
Foam::compressible::LESModels::GenSGSStress
Group
grpCmpLESTurbulence
Description
General base class for all compressible models that directly
solve for the SGS stress tensor B.
@ -52,7 +55,7 @@ namespace LESModels
{
/*---------------------------------------------------------------------------*\
Class GenSGSStress Declaration
Class GenSGSStress Declaration
\*---------------------------------------------------------------------------*/
class GenSGSStress

View File

@ -24,10 +24,12 @@ License
Namespace
Foam::compressible::LESModels
Group
grpCmpLESTurbulence
Description
Namespace for compressible LES models.
Class
Foam::compressible::LESModel

View File

@ -0,0 +1,32 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
OpenFOAM is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
\defgroup grpCmpLESTurbulence Compressible LES turbulence
@{
\ingroup grpCmpTurbulence
This group contains compressible LES models.
@}
\*---------------------------------------------------------------------------*/

View File

@ -24,6 +24,9 @@ License
Class
Foam::compressible::LESModels::Smagorinsky
Group
grpCmpLESTurbulence
Description
The choric Smagorinsky Model for compressible flows.

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -24,6 +24,9 @@ License
Class
Foam::compressible::LESModels::SpalartAllmaras
Group
grpCmpLESTurbulence
Description
SpalartAllmaras for compressible flows

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -24,6 +24,9 @@ License
Class
Foam::compressible::LESModels::homogeneousDynOneEqEddy
Group
grpCmpLESTurbulence
Description
One Equation Eddy Viscosity Model for compressible flows.

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -24,6 +24,9 @@ License
Class
Foam::compressible::LESModels::lowReOneEqEddy
Group
grpCmpLESTurbulence
Description
One Equation Eddy Viscosity Model for compressible flow

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -24,6 +24,9 @@ License
Class
Foam::compressible::LESModels::oneEqEddy
Group
grpCmpLESTurbulence
Description
One Equation Eddy Viscosity Model for incompressible flows

View File

@ -25,6 +25,7 @@ License
\defgroup grpCmpRASTurbulence Compressible RAS turbulence
@{
\ingroup grpCmpTurbulence
This group contains compressible RAS models.
@}

View File

@ -0,0 +1,31 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
OpenFOAM is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
\defgroup grpCmpTurbulence Compressible turbulence
@{
This group contains compressible turbulence models.
@}
\*---------------------------------------------------------------------------*/

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -24,26 +24,29 @@ License
Class
Foam::incompressible::LESModels::DeardorffDiffStress
Group
grpIcoLESTurbulence
Description
Differential SGS Stress Equation Model for incompressible flows
The DSEM uses a model version of the full balance equation for the SGS
stress tensor to simulate the behaviour of B.
Thus,
\verbatim
d/dt(B) + div(U*B) - div(nuSgs*grad(B))
=
P - c1*epsilon/k*B - 0.667*(1 - c1)*epsilon*I - c2*(P - 0.333*trP*I)
\f[
\frac{d}{dt}(B) + \nabla\cdot(U B) - \nabla\cdot(\nu_{sgs}\nabla B)
=
P - c_1 \frac{\epsilon}{k}B - 0.667(1 - c_1)\epsilon I
- c_2 (P - 0.333 trP I)
\f]
where
k = 0.5*tr(B),
epsilon = ce*k^3/2/delta,
epsilon/k = ce*k^1/2/delta
P = -(B'L + L'B)
nuSgs = ck*sqrt(k)*delta
nuEff = nuSgs + nu
\endverbatim
SourceFiles
DeardorffDiffStress.C
@ -65,7 +68,7 @@ namespace LESModels
{
/*---------------------------------------------------------------------------*\
Class DeardorffDiffStress Declaration
Class DeardorffDiffStress Declaration
\*---------------------------------------------------------------------------*/
class DeardorffDiffStress

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -24,6 +24,9 @@ License
Class
Foam::incompressible::LESModels::GenEddyVisc
Group
grpIcoLESTurbulence
Description
General base class for all incompressible models that can be implemented
as an eddy viscosity, i.e. algebraic and one-equation models.

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -24,6 +24,9 @@ License
Class
Foam::incompressible::LESModels::GenSGSStress
Group
grpIcoLESTurbulence
Description
General base class for all incompressible models that directly
solve for the SGS stress tensor B.

View File

@ -24,6 +24,9 @@ License
Namespace
Foam::incompressible::LESModels
Group
grpIcoLESTurbulence
Description
Namespace for incompressible LES models.

View File

@ -0,0 +1,32 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
OpenFOAM is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
\defgroup grpIcoLESTurbulence Incompressible LES turbulence
@{
\ingroup grpIcoTurbulence
This group contains incompressible LES models.
@}
\*---------------------------------------------------------------------------*/

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -24,6 +24,9 @@ License
Class
Foam::incompressible::LESModels::LRRDiffStress
Group
grpIcoLESTurbulence
Description
Differential SGS Stress Equation Model for incompressible flows.

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -24,6 +24,9 @@ License
Class
Foam::incompressible::LESModels::Smagorinsky
Group
grpIcoLESTurbulence
Description
The Isochoric Smagorinsky Model for incompressible flows.

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -24,6 +24,9 @@ License
Class
Foam::incompressible::LESModels::Smagorinsky2
Group
grpIcoLESTurbulence
Description
The Isochoric Smagorinsky Model for incompressible flows

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -24,6 +24,9 @@ License
Class
Foam::incompressible::LESModels::SpalartAllmaras
Group
grpIcoLESTurbulence
Description
SpalartAllmaras DES (SA + LES) turbulence model for incompressible flows

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -24,6 +24,9 @@ License
Class
Foam::incompressible::LESModels::SpalartAllmarasDDES
Group
grpIcoLESTurbulence
Description
SpalartAllmaras DDES LES turbulence model for incompressible flows

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -24,6 +24,9 @@ License
Class
Foam::incompressible::LESModels::SpalartAllmarasIDDES
Group
grpIcoLESTurbulence
Description
SpalartAllmarasIDDES LES turbulence model for incompressible flows

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -24,6 +24,9 @@ License
Class
Foam::incompressible::LESModels::dynLagrangian
Group
grpIcoLESTurbulence
Description
Dynamic eddy-viscosity model with Lagrangian averaging for incompressible
flow

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -24,6 +24,9 @@ License
Class
Foam::incompressible::LESModels::dynOneEqEddy
Group
grpIcoLESTurbulence
Description
Localised Dynamic One Equation Eddy Viscosity Model for incompressible
flows

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -24,6 +24,9 @@ License
Class
Foam::incompressible::LESModels::homogeneousDynOneEqEddy
Group
grpIcoLESTurbulence
Description
One Equation Eddy Viscosity Model for incompressible flows.

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -24,6 +24,9 @@ License
Class
Foam::incompressible::LESModels::homogeneousDynSmagorinsky
Group
grpIcoLESTurbulence
Description
The Isochoric homogeneous dynamic Smagorinsky Model for
incompressible flows.

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -24,6 +24,9 @@ License
Class
Foam::incompressible::LESModels::kOmegaSSTSAS
Group
grpIcoLESTurbulence
Description
kOmegaSSTSAS LES turbulence model for incompressible flows
based on:

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -24,6 +24,9 @@ License
Class
Foam::incompressible::LESModels::mixedSmagorinsky
Group
grpIcoLESTurbulence
Description
The mixed Isochoric Smagorinsky Model for incompressible flows.

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -24,6 +24,9 @@ License
Class
Foam::incompressible::LESModels::oneEqEddy
Group
grpIcoLESTurbulence
Description
One Equation Eddy Viscosity Model for incompressible flows

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -24,6 +24,9 @@ License
Class
Foam::incompressible::LESModels::scaleSimilarity
Group
grpIcoLESTurbulence
Description
General base class for all scale similarity models
for incompressible flows.

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -24,6 +24,9 @@ License
Class
Foam::incompressible::LESModels::spectEddyVisc
Group
grpIcoLESTurbulence
Description
The Isochoric spectral Eddy Viscosity Model for incompressible flows.

View File

@ -25,6 +25,7 @@ License
\defgroup grpIcoRASTurbulence Incompressible RAS turbulence
@{
\ingroup grpIcoTurbulence
This group contains incompressible RAS models.
@}

View File

@ -0,0 +1,31 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
OpenFOAM is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
\defgroup grpIcoTurbulence Incompressible turbulence
@{
This group contains incompressible turbulence models.
@}
\*---------------------------------------------------------------------------*/