Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
e6f81d2c
Commit
e6f81d2c
authored
Oct 01, 2008
by
Andrew Heather
Browse files
consistency update - nu/muSgsWallFunction to nu/muSgsSpalartAllmarasWallFunction
parent
d1f908df
Changes
6
Hide whitespace changes
Inline
Side-by-side
src/turbulenceModels/LES/compressible/Make/files
View file @
e6f81d2c
...
...
@@ -14,6 +14,6 @@ SpalartAllmaras/SpalartAllmaras.C
wallFunctions=derivedFvPatchFields/wallFunctions
muSgsWallFunctions=$(wallFunctions)/muSgsWallFunctions
$(muSgsWallFunctions)/muSgsWallFunction/muSgsWallFunctionFvPatchScalarField.C
$(muSgsWallFunctions)/muSgs
SpalartAllmaras
WallFunction/muSgs
SpalartAllmaras
WallFunctionFvPatchScalarField.C
LIB = $(FOAM_LIBBIN)/libcompressibleLESModels
src/turbulenceModels/LES/compressible/derivedFvPatchFields/wallFunctions/muSgsWallFunctions/muSgsWallFunction/muSgsWallFunctionFvPatchScalarField.C
→
src/turbulenceModels/LES/compressible/derivedFvPatchFields/wallFunctions/muSgsWallFunctions/muSgs
SpalartAllmaras
WallFunction/muSgs
SpalartAllmaras
WallFunctionFvPatchScalarField.C
View file @
e6f81d2c
...
...
@@ -24,7 +24,7 @@ License
\*---------------------------------------------------------------------------*/
#include
"muSgsWallFunctionFvPatchScalarField.H"
#include
"muSgs
SpalartAllmaras
WallFunctionFvPatchScalarField.H"
#include
"LESModel.H"
#include
"fvPatchFieldMapper.H"
#include
"volFields.H"
...
...
@@ -41,7 +41,8 @@ namespace LESModels
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
muSgsWallFunctionFvPatchScalarField
::
muSgsWallFunctionFvPatchScalarField
muSgsSpalartAllmarasWallFunctionFvPatchScalarField
::
muSgsSpalartAllmarasWallFunctionFvPatchScalarField
(
const
fvPatch
&
p
,
const
DimensionedField
<
scalar
,
volMesh
>&
iF
...
...
@@ -51,9 +52,10 @@ muSgsWallFunctionFvPatchScalarField::muSgsWallFunctionFvPatchScalarField
{}
muSgsWallFunctionFvPatchScalarField
::
muSgsWallFunctionFvPatchScalarField
muSgsSpalartAllmarasWallFunctionFvPatchScalarField
::
muSgsSpalartAllmarasWallFunctionFvPatchScalarField
(
const
muSgsWallFunctionFvPatchScalarField
&
ptf
,
const
muSgs
SpalartAllmaras
WallFunctionFvPatchScalarField
&
ptf
,
const
fvPatch
&
p
,
const
DimensionedField
<
scalar
,
volMesh
>&
iF
,
const
fvPatchFieldMapper
&
mapper
...
...
@@ -63,7 +65,8 @@ muSgsWallFunctionFvPatchScalarField::muSgsWallFunctionFvPatchScalarField
{}
muSgsWallFunctionFvPatchScalarField
::
muSgsWallFunctionFvPatchScalarField
muSgsSpalartAllmarasWallFunctionFvPatchScalarField
::
muSgsSpalartAllmarasWallFunctionFvPatchScalarField
(
const
fvPatch
&
p
,
const
DimensionedField
<
scalar
,
volMesh
>&
iF
,
...
...
@@ -74,7 +77,8 @@ muSgsWallFunctionFvPatchScalarField::muSgsWallFunctionFvPatchScalarField
{}
muSgsWallFunctionFvPatchScalarField
::
muSgsWallFunctionFvPatchScalarField
muSgsSpalartAllmarasWallFunctionFvPatchScalarField
::
muSgsSpalartAllmarasWallFunctionFvPatchScalarField
(
const
fvPatch
&
p
,
const
DimensionedField
<
scalar
,
volMesh
>&
iF
,
...
...
@@ -85,18 +89,20 @@ muSgsWallFunctionFvPatchScalarField::muSgsWallFunctionFvPatchScalarField
{}
muSgsWallFunctionFvPatchScalarField
::
muSgsWallFunctionFvPatchScalarField
muSgsSpalartAllmarasWallFunctionFvPatchScalarField
::
muSgsSpalartAllmarasWallFunctionFvPatchScalarField
(
const
muSgsWallFunctionFvPatchScalarField
&
tppsf
const
muSgs
SpalartAllmaras
WallFunctionFvPatchScalarField
&
tppsf
)
:
fixedValueFvPatchScalarField
(
tppsf
)
{}
muSgsWallFunctionFvPatchScalarField
::
muSgsWallFunctionFvPatchScalarField
muSgsSpalartAllmarasWallFunctionFvPatchScalarField
::
muSgsSpalartAllmarasWallFunctionFvPatchScalarField
(
const
muSgsWallFunctionFvPatchScalarField
&
tppsf
,
const
muSgs
SpalartAllmaras
WallFunctionFvPatchScalarField
&
tppsf
,
const
DimensionedField
<
scalar
,
volMesh
>&
iF
)
:
...
...
@@ -106,7 +112,7 @@ muSgsWallFunctionFvPatchScalarField::muSgsWallFunctionFvPatchScalarField
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
void
muSgsWallFunctionFvPatchScalarField
::
evaluate
void
muSgs
SpalartAllmaras
WallFunctionFvPatchScalarField
::
evaluate
(
const
Pstream
::
commsTypes
)
...
...
@@ -184,7 +190,11 @@ void muSgsWallFunctionFvPatchScalarField::evaluate
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
makePatchTypeField
(
fvPatchScalarField
,
muSgsWallFunctionFvPatchScalarField
);
makePatchTypeField
(
fvPatchScalarField
,
muSgsSpalartAllmarasWallFunctionFvPatchScalarField
);
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
src/turbulenceModels/LES/compressible/derivedFvPatchFields/wallFunctions/muSgsWallFunctions/muSgsWallFunction/muSgsWallFunctionFvPatchScalarField.H
→
src/turbulenceModels/LES/compressible/derivedFvPatchFields/wallFunctions/muSgsWallFunctions/muSgs
SpalartAllmaras
WallFunction/muSgs
SpalartAllmaras
WallFunctionFvPatchScalarField.H
View file @
e6f81d2c
...
...
@@ -23,18 +23,19 @@ License
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Class
Foam::compressible::LESModels::muSgsWallFunctionFvPatchScalarField
Foam::compressible::LESModels::
muSgsSpalartAllmarasWallFunctionFvPatchScalarField
Description
wall function boundary condition for compressible flows
Spalart Allmaas
wall function boundary condition for compressible flows
SourceFiles
muSgsWallFunctionFvPatchScalarField.C
muSgs
SpalartAllmaras
WallFunctionFvPatchScalarField.C
\*---------------------------------------------------------------------------*/
#ifndef muSgsWallFunctionFvPatchScalarField_H
#define muSgsWallFunctionFvPatchScalarField_H
#ifndef muSgs
SpalartAllmaras
WallFunctionFvPatchScalarField_H
#define muSgs
SpalartAllmaras
WallFunctionFvPatchScalarField_H
#include
"fixedValueFvPatchFields.H"
...
...
@@ -48,10 +49,10 @@ namespace LESModels
{
/*---------------------------------------------------------------------------*\
Class muSgsWallFunctionFvPatch Declaration
Class muSgs
SpalartAllmaras
WallFunctionFvPatch
ScalarField
Declaration
\*---------------------------------------------------------------------------*/
class
muSgsWallFunctionFvPatchScalarField
class
muSgs
SpalartAllmaras
WallFunctionFvPatchScalarField
:
public
fixedValueFvPatchScalarField
{
...
...
@@ -61,20 +62,20 @@ class muSgsWallFunctionFvPatchScalarField
public:
//- Runtime type information
TypeName
(
"muSgsWallFunction"
);
TypeName
(
"muSgs
SpalartAllmaras
WallFunction"
);
// Constructors
//- Construct from patch and internal field
muSgsWallFunctionFvPatchScalarField
muSgs
SpalartAllmaras
WallFunctionFvPatchScalarField
(
const
fvPatch
&
,
const
DimensionedField
<
scalar
,
volMesh
>&
);
//- Construct from patch, internal field and Istream
muSgsWallFunctionFvPatchScalarField
muSgs
SpalartAllmaras
WallFunctionFvPatchScalarField
(
const
fvPatch
&
,
const
DimensionedField
<
scalar
,
volMesh
>&
,
...
...
@@ -82,27 +83,28 @@ public:
);
//- Construct from patch, internal field and dictionary
muSgsWallFunctionFvPatchScalarField
muSgs
SpalartAllmaras
WallFunctionFvPatchScalarField
(
const
fvPatch
&
,
const
DimensionedField
<
scalar
,
volMesh
>&
,
const
dictionary
&
);
//- Construct by mapping given muSgsWallFunctionFvPatchScalarField
//- Construct by mapping given
// muSgsSpalartAllmarasWallFunctionFvPatchScalarField
// onto a new patch
muSgsWallFunctionFvPatchScalarField
muSgs
SpalartAllmaras
WallFunctionFvPatchScalarField
(
const
muSgsWallFunctionFvPatchScalarField
&
,
const
muSgs
SpalartAllmaras
WallFunctionFvPatchScalarField
&
,
const
fvPatch
&
,
const
DimensionedField
<
scalar
,
volMesh
>&
,
const
fvPatchFieldMapper
&
);
//- Construct as copy
muSgsWallFunctionFvPatchScalarField
muSgs
SpalartAllmaras
WallFunctionFvPatchScalarField
(
const
muSgsWallFunctionFvPatchScalarField
&
const
muSgs
SpalartAllmaras
WallFunctionFvPatchScalarField
&
);
//- Construct and return a clone
...
...
@@ -110,14 +112,14 @@ public:
{
return
tmp
<
fvPatchScalarField
>
(
new
muSgsWallFunctionFvPatchScalarField
(
*
this
)
new
muSgs
SpalartAllmaras
WallFunctionFvPatchScalarField
(
*
this
)
);
}
//- Construct as copy setting internal field reference
muSgsWallFunctionFvPatchScalarField
muSgs
SpalartAllmaras
WallFunctionFvPatchScalarField
(
const
muSgsWallFunctionFvPatchScalarField
&
,
const
muSgs
SpalartAllmaras
WallFunctionFvPatchScalarField
&
,
const
DimensionedField
<
scalar
,
volMesh
>&
);
...
...
@@ -129,7 +131,11 @@ public:
{
return
tmp
<
fvPatchScalarField
>
(
new
muSgsWallFunctionFvPatchScalarField
(
*
this
,
iF
)
new
muSgsSpalartAllmarasWallFunctionFvPatchScalarField
(
*
this
,
iF
)
);
}
...
...
src/turbulenceModels/LES/incompressible/Make/files
View file @
e6f81d2c
...
...
@@ -29,7 +29,7 @@ dynMixedSmagorinsky/dynMixedSmagorinsky.C
wallFunctions=derivedFvPatchFields/wallFunctions
nuSgsWallFunctions=$(wallFunctions)/nuSgsWallFunctions
$(nuSgsWallFunctions)/nuSgsWallFunction/nuSgsWallFunctionFvPatchScalarField.C
$(nuSgsWallFunctions)/nuSgs
SpalartAllmaras
WallFunction/nuSgs
SpalartAllmaras
WallFunctionFvPatchScalarField.C
LIB = $(FOAM_LIBBIN)/libincompressibleLESModels
src/turbulenceModels/LES/incompressible/derivedFvPatchFields/wallFunctions/nuSgsWallFunctions/nuSgsWallFunction/nuSgsWallFunctionFvPatchScalarField.C
→
src/turbulenceModels/LES/incompressible/derivedFvPatchFields/wallFunctions/nuSgsWallFunctions/nuSgs
SpalartAllmaras
WallFunction/nuSgs
SpalartAllmaras
WallFunctionFvPatchScalarField.C
View file @
e6f81d2c
...
...
@@ -24,7 +24,7 @@ License
\*---------------------------------------------------------------------------*/
#include
"nuSgsWallFunctionFvPatchScalarField.H"
#include
"nuSgs
SpalartAllmaras
WallFunctionFvPatchScalarField.H"
#include
"LESModel.H"
#include
"fvPatchFieldMapper.H"
#include
"volFields.H"
...
...
@@ -41,7 +41,8 @@ namespace LESModels
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
nuSgsWallFunctionFvPatchScalarField
::
nuSgsWallFunctionFvPatchScalarField
nuSgsSpalartAllmarasWallFunctionFvPatchScalarField
::
nuSgsSpalartAllmarasWallFunctionFvPatchScalarField
(
const
fvPatch
&
p
,
const
DimensionedField
<
scalar
,
volMesh
>&
iF
...
...
@@ -51,9 +52,10 @@ nuSgsWallFunctionFvPatchScalarField::nuSgsWallFunctionFvPatchScalarField
{}
nuSgsWallFunctionFvPatchScalarField
::
nuSgsWallFunctionFvPatchScalarField
nuSgsSpalartAllmarasWallFunctionFvPatchScalarField
::
nuSgsSpalartAllmarasWallFunctionFvPatchScalarField
(
const
nuSgsWallFunctionFvPatchScalarField
&
ptf
,
const
nuSgs
SpalartAllmaras
WallFunctionFvPatchScalarField
&
ptf
,
const
fvPatch
&
p
,
const
DimensionedField
<
scalar
,
volMesh
>&
iF
,
const
fvPatchFieldMapper
&
mapper
...
...
@@ -63,7 +65,8 @@ nuSgsWallFunctionFvPatchScalarField::nuSgsWallFunctionFvPatchScalarField
{}
nuSgsWallFunctionFvPatchScalarField
::
nuSgsWallFunctionFvPatchScalarField
nuSgsSpalartAllmarasWallFunctionFvPatchScalarField
::
nuSgsSpalartAllmarasWallFunctionFvPatchScalarField
(
const
fvPatch
&
p
,
const
DimensionedField
<
scalar
,
volMesh
>&
iF
,
...
...
@@ -74,18 +77,20 @@ nuSgsWallFunctionFvPatchScalarField::nuSgsWallFunctionFvPatchScalarField
{}
nuSgsWallFunctionFvPatchScalarField
::
nuSgsWallFunctionFvPatchScalarField
nuSgsSpalartAllmarasWallFunctionFvPatchScalarField
::
nuSgsSpalartAllmarasWallFunctionFvPatchScalarField
(
const
nuSgsWallFunctionFvPatchScalarField
&
tppsf
const
nuSgs
SpalartAllmaras
WallFunctionFvPatchScalarField
&
tppsf
)
:
fixedValueFvPatchScalarField
(
tppsf
)
{}
nuSgsWallFunctionFvPatchScalarField
::
nuSgsWallFunctionFvPatchScalarField
nuSgsSpalartAllmarasWallFunctionFvPatchScalarField
::
nuSgsSpalartAllmarasWallFunctionFvPatchScalarField
(
const
nuSgsWallFunctionFvPatchScalarField
&
tppsf
,
const
nuSgs
SpalartAllmaras
WallFunctionFvPatchScalarField
&
tppsf
,
const
DimensionedField
<
scalar
,
volMesh
>&
iF
)
:
...
...
@@ -95,7 +100,7 @@ nuSgsWallFunctionFvPatchScalarField::nuSgsWallFunctionFvPatchScalarField
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
void
nuSgsWallFunctionFvPatchScalarField
::
evaluate
void
nuSgs
SpalartAllmaras
WallFunctionFvPatchScalarField
::
evaluate
(
const
Pstream
::
commsTypes
)
...
...
@@ -166,7 +171,11 @@ void nuSgsWallFunctionFvPatchScalarField::evaluate
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
makePatchTypeField
(
fvPatchScalarField
,
nuSgsWallFunctionFvPatchScalarField
);
makePatchTypeField
(
fvPatchScalarField
,
nuSgsSpalartAllmarasWallFunctionFvPatchScalarField
);
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
src/turbulenceModels/LES/incompressible/derivedFvPatchFields/wallFunctions/nuSgsWallFunctions/nuSgsWallFunction/nuSgsWallFunctionFvPatchScalarField.H
→
src/turbulenceModels/LES/incompressible/derivedFvPatchFields/wallFunctions/nuSgsWallFunctions/nuSgs
SpalartAllmaras
WallFunction/nuSgs
SpalartAllmaras
WallFunctionFvPatchScalarField.H
View file @
e6f81d2c
...
...
@@ -23,18 +23,19 @@ License
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Class
Foam::incompressible::LESModels::nuSgsWallFunctionFvPatchScalarField
Foam::incompressible::LESModels::
nuSgsSpalartAllmarasWallFunctionFvPatchScalarField
Description
wall function boundary condition for incompressible flows
Spalart Allmaras
wall function boundary condition for incompressible flows
SourceFiles
nuSgsWallFunctionFvPatchScalarField.C
nuSgs
SpalartAllmaras
WallFunctionFvPatchScalarField.C
\*---------------------------------------------------------------------------*/
#ifndef nuSgsWallFunctionFvPatchScalarField_H
#define nuSgsWallFunctionFvPatchScalarField_H
#ifndef nuSgs
SpalartAllmaras
WallFunctionFvPatchScalarField_H
#define nuSgs
SpalartAllmaras
WallFunctionFvPatchScalarField_H
#include
"fixedValueFvPatchFields.H"
...
...
@@ -48,10 +49,10 @@ namespace LESModels
{
/*---------------------------------------------------------------------------*\
Class nuSgsWallFunctionFvPatch Declaration
Class nuSgs
SpalartAllmaras
WallFunctionFvPatch
ScalarField
Declaration
\*---------------------------------------------------------------------------*/
class
nuSgsWallFunctionFvPatchScalarField
class
nuSgs
SpalartAllmaras
WallFunctionFvPatchScalarField
:
public
fixedValueFvPatchScalarField
{
...
...
@@ -61,40 +62,41 @@ class nuSgsWallFunctionFvPatchScalarField
public:
//- Runtime type information
TypeName
(
"nuSgsWallFunction"
);
TypeName
(
"nuSgs
SpalartAllmaras
WallFunction"
);
// Constructors
//- Construct from patch and internal field
nuSgsWallFunctionFvPatchScalarField
nuSgs
SpalartAllmaras
WallFunctionFvPatchScalarField
(
const
fvPatch
&
,
const
DimensionedField
<
scalar
,
volMesh
>&
);
//- Construct from patch, internal field and dictionary
nuSgsWallFunctionFvPatchScalarField
nuSgs
SpalartAllmaras
WallFunctionFvPatchScalarField
(
const
fvPatch
&
,
const
DimensionedField
<
scalar
,
volMesh
>&
,
const
dictionary
&
);
//- Construct by mapping given nuSgsWallFunctionFvPatchScalarField
//- Construct by mapping given
// nuSgsSpalartAllmarasWallFunctionFvPatchScalarField
// onto a new patch
nuSgsWallFunctionFvPatchScalarField
nuSgs
SpalartAllmaras
WallFunctionFvPatchScalarField
(
const
nuSgsWallFunctionFvPatchScalarField
&
,
const
nuSgs
SpalartAllmaras
WallFunctionFvPatchScalarField
&
,
const
fvPatch
&
,
const
DimensionedField
<
scalar
,
volMesh
>&
,
const
fvPatchFieldMapper
&
);
//- Construct as copy
nuSgsWallFunctionFvPatchScalarField
nuSgs
SpalartAllmaras
WallFunctionFvPatchScalarField
(
const
nuSgsWallFunctionFvPatchScalarField
&
const
nuSgs
SpalartAllmaras
WallFunctionFvPatchScalarField
&
);
//- Construct and return a clone
...
...
@@ -102,14 +104,14 @@ public:
{
return
tmp
<
fvPatchScalarField
>
(
new
nuSgsWallFunctionFvPatchScalarField
(
*
this
)
new
nuSgs
SpalartAllmaras
WallFunctionFvPatchScalarField
(
*
this
)
);
}
//- Construct as copy setting internal field reference
nuSgsWallFunctionFvPatchScalarField
nuSgs
SpalartAllmaras
WallFunctionFvPatchScalarField
(
const
nuSgsWallFunctionFvPatchScalarField
&
,
const
nuSgs
SpalartAllmaras
WallFunctionFvPatchScalarField
&
,
const
DimensionedField
<
scalar
,
volMesh
>&
);
...
...
@@ -121,7 +123,11 @@ public:
{
return
tmp
<
fvPatchScalarField
>
(
new
nuSgsWallFunctionFvPatchScalarField
(
*
this
,
iF
)
new
nuSgsSpalartAllmarasWallFunctionFvPatchScalarField
(
*
this
,
iF
)
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment