Changed kQR to kqR.
This commit is contained in:
parent
45fd594e12
commit
07fccdd7db
@ -520,7 +520,7 @@ DebugSwitches
|
|||||||
kOmega 0;
|
kOmega 0;
|
||||||
kOmegaSST 0;
|
kOmegaSST 0;
|
||||||
kOmegaSSTSAS 0;
|
kOmegaSSTSAS 0;
|
||||||
kQRWallFunction 0;
|
kqRWallFunction 0;
|
||||||
kinematicCloud 0;
|
kinematicCloud 0;
|
||||||
labelField 0;
|
labelField 0;
|
||||||
labelList 0;
|
labelList 0;
|
||||||
|
@ -29,8 +29,8 @@ $(epsilonWallFunctions)/epsilonWallFunction/epsilonWallFunctionFvPatchScalarFiel
|
|||||||
omegaWallFunctions = $(wallFunctions)/omegaWallFunctions
|
omegaWallFunctions = $(wallFunctions)/omegaWallFunctions
|
||||||
$(omegaWallFunctions)/omegaWallFunction/omegaWallFunctionFvPatchScalarField.C
|
$(omegaWallFunctions)/omegaWallFunction/omegaWallFunctionFvPatchScalarField.C
|
||||||
|
|
||||||
kQRWallFunctions = $(wallFunctions)/kQRWallFunctions
|
kqRWallFunctions = $(wallFunctions)/kqRWallFunctions
|
||||||
$(kQRWallFunctions)/kQRWallFunction/kQRWallFunctionFvPatchFields.C
|
$(kqRWallFunctions)/kqRWallFunction/kqRWallFunctionFvPatchFields.C
|
||||||
|
|
||||||
/* Patch fields */
|
/* Patch fields */
|
||||||
derivedFvPatchFields/turbulentHeatFluxTemperature/turbulentHeatFluxTemperatureFvPatchScalarField.C
|
derivedFvPatchFields/turbulentHeatFluxTemperature/turbulentHeatFluxTemperatureFvPatchScalarField.C
|
||||||
|
@ -115,7 +115,9 @@ void turbulentMixingLengthFrequencyInletFvPatchScalarField::updateCoeffs()
|
|||||||
// Lookup Cmu corresponding to the turbulence model selected
|
// Lookup Cmu corresponding to the turbulence model selected
|
||||||
const RASModel& rasModel = db().lookupObject<RASModel>("RASProperties");
|
const RASModel& rasModel = db().lookupObject<RASModel>("RASProperties");
|
||||||
|
|
||||||
const scalar Cmu = readScalar(rasModel.coeffDict().lookup("Cmu"));
|
const scalar Cmu =
|
||||||
|
rasModel.coeffDict().lookupOrDefault<scalar>("Cmu", 0.09);
|
||||||
|
|
||||||
const scalar Cmu25 = pow(Cmu, 0.25);
|
const scalar Cmu25 = pow(Cmu, 0.25);
|
||||||
|
|
||||||
const fvPatchField<scalar>& kp =
|
const fvPatchField<scalar>& kp =
|
||||||
|
@ -24,7 +24,7 @@ License
|
|||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "kQRWallFunctionFvPatchField.H"
|
#include "kqRWallFunctionFvPatchField.H"
|
||||||
#include "RASModel.H"
|
#include "RASModel.H"
|
||||||
#include "fvPatchFieldMapper.H"
|
#include "fvPatchFieldMapper.H"
|
||||||
#include "volFields.H"
|
#include "volFields.H"
|
||||||
@ -43,11 +43,11 @@ namespace RASModels
|
|||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
void kQRWallFunctionFvPatchField<Type>::checkType()
|
void kqRWallFunctionFvPatchField<Type>::checkType()
|
||||||
{
|
{
|
||||||
if (!isA<wallFvPatch>(this->patch()))
|
if (!isA<wallFvPatch>(this->patch()))
|
||||||
{
|
{
|
||||||
FatalErrorIn("kQRWallFunctionFvPatchField::checkType()")
|
FatalErrorIn("kqRWallFunctionFvPatchField::checkType()")
|
||||||
<< "Invalid wall function specification" << nl
|
<< "Invalid wall function specification" << nl
|
||||||
<< " Patch type for patch " << this->patch().name()
|
<< " Patch type for patch " << this->patch().name()
|
||||||
<< " must be wall" << nl
|
<< " must be wall" << nl
|
||||||
@ -60,7 +60,7 @@ void kQRWallFunctionFvPatchField<Type>::checkType()
|
|||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
kQRWallFunctionFvPatchField<Type>::kQRWallFunctionFvPatchField
|
kqRWallFunctionFvPatchField<Type>::kqRWallFunctionFvPatchField
|
||||||
(
|
(
|
||||||
const fvPatch& p,
|
const fvPatch& p,
|
||||||
const DimensionedField<Type, volMesh>& iF
|
const DimensionedField<Type, volMesh>& iF
|
||||||
@ -73,9 +73,9 @@ kQRWallFunctionFvPatchField<Type>::kQRWallFunctionFvPatchField
|
|||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
kQRWallFunctionFvPatchField<Type>::kQRWallFunctionFvPatchField
|
kqRWallFunctionFvPatchField<Type>::kqRWallFunctionFvPatchField
|
||||||
(
|
(
|
||||||
const kQRWallFunctionFvPatchField& ptf,
|
const kqRWallFunctionFvPatchField& ptf,
|
||||||
const fvPatch& p,
|
const fvPatch& p,
|
||||||
const DimensionedField<Type, volMesh>& iF,
|
const DimensionedField<Type, volMesh>& iF,
|
||||||
const fvPatchFieldMapper& mapper
|
const fvPatchFieldMapper& mapper
|
||||||
@ -88,7 +88,7 @@ kQRWallFunctionFvPatchField<Type>::kQRWallFunctionFvPatchField
|
|||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
kQRWallFunctionFvPatchField<Type>::kQRWallFunctionFvPatchField
|
kqRWallFunctionFvPatchField<Type>::kqRWallFunctionFvPatchField
|
||||||
(
|
(
|
||||||
const fvPatch& p,
|
const fvPatch& p,
|
||||||
const DimensionedField<Type, volMesh>& iF,
|
const DimensionedField<Type, volMesh>& iF,
|
||||||
@ -102,9 +102,9 @@ kQRWallFunctionFvPatchField<Type>::kQRWallFunctionFvPatchField
|
|||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
kQRWallFunctionFvPatchField<Type>::kQRWallFunctionFvPatchField
|
kqRWallFunctionFvPatchField<Type>::kqRWallFunctionFvPatchField
|
||||||
(
|
(
|
||||||
const kQRWallFunctionFvPatchField& tkqrwfpf
|
const kqRWallFunctionFvPatchField& tkqrwfpf
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
zeroGradientFvPatchField<Type>(tkqrwfpf)
|
zeroGradientFvPatchField<Type>(tkqrwfpf)
|
||||||
@ -114,9 +114,9 @@ kQRWallFunctionFvPatchField<Type>::kQRWallFunctionFvPatchField
|
|||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
kQRWallFunctionFvPatchField<Type>::kQRWallFunctionFvPatchField
|
kqRWallFunctionFvPatchField<Type>::kqRWallFunctionFvPatchField
|
||||||
(
|
(
|
||||||
const kQRWallFunctionFvPatchField& tkqrwfpf,
|
const kqRWallFunctionFvPatchField& tkqrwfpf,
|
||||||
const DimensionedField<Type, volMesh>& iF
|
const DimensionedField<Type, volMesh>& iF
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
@ -129,7 +129,7 @@ kQRWallFunctionFvPatchField<Type>::kQRWallFunctionFvPatchField
|
|||||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
void kQRWallFunctionFvPatchField<Type>::evaluate
|
void kqRWallFunctionFvPatchField<Type>::evaluate
|
||||||
(
|
(
|
||||||
const Pstream::commsTypes commsType
|
const Pstream::commsTypes commsType
|
||||||
)
|
)
|
||||||
@ -139,7 +139,7 @@ void kQRWallFunctionFvPatchField<Type>::evaluate
|
|||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
void kQRWallFunctionFvPatchField<Type>::write(Ostream& os) const
|
void kqRWallFunctionFvPatchField<Type>::write(Ostream& os) const
|
||||||
{
|
{
|
||||||
zeroGradientFvPatchField<Type>::write(os);
|
zeroGradientFvPatchField<Type>::write(os);
|
||||||
this->writeEntry("value", os);
|
this->writeEntry("value", os);
|
||||||
|
@ -23,19 +23,19 @@ 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::compressible::RASModels::kQRWallFunctionFvPatchField
|
Foam::compressible::RASModels::kqRWallFunctionFvPatchField
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Boundary condition for turbulence k, Q, and R when using wall functions.
|
Boundary condition for turbulence k, Q, and R when using wall functions.
|
||||||
Simply acts as a zero gradient condition.
|
Simply acts as a zero gradient condition.
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
kQRWallFunctionFvPatchField.C
|
kqRWallFunctionFvPatchField.C
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef kQRWallFunctionFvPatchField_H
|
#ifndef kqRWallFunctionFvPatchField_H
|
||||||
#define kQRWallFunctionFvPatchField_H
|
#define kqRWallFunctionFvPatchField_H
|
||||||
|
|
||||||
#include "zeroGradientFvPatchField.H"
|
#include "zeroGradientFvPatchField.H"
|
||||||
|
|
||||||
@ -49,11 +49,11 @@ namespace RASModels
|
|||||||
{
|
{
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*\
|
/*---------------------------------------------------------------------------*\
|
||||||
Class kQRWallFunctionFvPatchField Declaration
|
Class kqRWallFunctionFvPatchField Declaration
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
class kQRWallFunctionFvPatchField
|
class kqRWallFunctionFvPatchField
|
||||||
:
|
:
|
||||||
public zeroGradientFvPatchField<Type>
|
public zeroGradientFvPatchField<Type>
|
||||||
{
|
{
|
||||||
@ -67,20 +67,20 @@ class kQRWallFunctionFvPatchField
|
|||||||
public:
|
public:
|
||||||
|
|
||||||
//- Runtime type information
|
//- Runtime type information
|
||||||
TypeName("compressible::kQRWallFunction");
|
TypeName("compressible::kqRWallFunction");
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from patch and internal field
|
//- Construct from patch and internal field
|
||||||
kQRWallFunctionFvPatchField
|
kqRWallFunctionFvPatchField
|
||||||
(
|
(
|
||||||
const fvPatch&,
|
const fvPatch&,
|
||||||
const DimensionedField<Type, volMesh>&
|
const DimensionedField<Type, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from patch, internal field and dictionary
|
//- Construct from patch, internal field and dictionary
|
||||||
kQRWallFunctionFvPatchField
|
kqRWallFunctionFvPatchField
|
||||||
(
|
(
|
||||||
const fvPatch&,
|
const fvPatch&,
|
||||||
const DimensionedField<Type, volMesh>&,
|
const DimensionedField<Type, volMesh>&,
|
||||||
@ -88,20 +88,20 @@ public:
|
|||||||
);
|
);
|
||||||
|
|
||||||
//- Construct by mapping given
|
//- Construct by mapping given
|
||||||
// kQRWallFunctionFvPatchField
|
// kqRWallFunctionFvPatchField
|
||||||
// onto a new patch
|
// onto a new patch
|
||||||
kQRWallFunctionFvPatchField
|
kqRWallFunctionFvPatchField
|
||||||
(
|
(
|
||||||
const kQRWallFunctionFvPatchField&,
|
const kqRWallFunctionFvPatchField&,
|
||||||
const fvPatch&,
|
const fvPatch&,
|
||||||
const DimensionedField<Type, volMesh>&,
|
const DimensionedField<Type, volMesh>&,
|
||||||
const fvPatchFieldMapper&
|
const fvPatchFieldMapper&
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct as copy
|
//- Construct as copy
|
||||||
kQRWallFunctionFvPatchField
|
kqRWallFunctionFvPatchField
|
||||||
(
|
(
|
||||||
const kQRWallFunctionFvPatchField&
|
const kqRWallFunctionFvPatchField&
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct and return a clone
|
//- Construct and return a clone
|
||||||
@ -109,14 +109,14 @@ public:
|
|||||||
{
|
{
|
||||||
return tmp<fvPatchField<Type> >
|
return tmp<fvPatchField<Type> >
|
||||||
(
|
(
|
||||||
new kQRWallFunctionFvPatchField(*this)
|
new kqRWallFunctionFvPatchField(*this)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
//- Construct as copy setting internal field reference
|
//- Construct as copy setting internal field reference
|
||||||
kQRWallFunctionFvPatchField
|
kqRWallFunctionFvPatchField
|
||||||
(
|
(
|
||||||
const kQRWallFunctionFvPatchField&,
|
const kqRWallFunctionFvPatchField&,
|
||||||
const DimensionedField<Type, volMesh>&
|
const DimensionedField<Type, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -128,7 +128,7 @@ public:
|
|||||||
{
|
{
|
||||||
return tmp<fvPatchField<Type> >
|
return tmp<fvPatchField<Type> >
|
||||||
(
|
(
|
||||||
new kQRWallFunctionFvPatchField(*this, iF)
|
new kqRWallFunctionFvPatchField(*this, iF)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -160,7 +160,7 @@ public:
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
#ifdef NoRepository
|
#ifdef NoRepository
|
||||||
# include "kQRWallFunctionFvPatchField.C"
|
# include "kqRWallFunctionFvPatchField.C"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
@ -24,7 +24,7 @@ License
|
|||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "kQRWallFunctionFvPatchFields.H"
|
#include "kqRWallFunctionFvPatchFields.H"
|
||||||
#include "fvPatchFields.H"
|
#include "fvPatchFields.H"
|
||||||
#include "addToRunTimeSelectionTable.H"
|
#include "addToRunTimeSelectionTable.H"
|
||||||
#include "volFields.H"
|
#include "volFields.H"
|
||||||
@ -40,7 +40,7 @@ namespace RASModels
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||||
|
|
||||||
makePatchFields(kQRWallFunction);
|
makePatchFields(kqRWallFunction);
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
@ -24,10 +24,10 @@ License
|
|||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef kQRWallFunctionFvPatchFields_H
|
#ifndef kqRWallFunctionFvPatchFields_H
|
||||||
#define kQRWallFunctionFvPatchFields_H
|
#define kqRWallFunctionFvPatchFields_H
|
||||||
|
|
||||||
#include "kQRWallFunctionFvPatchField.H"
|
#include "kqRWallFunctionFvPatchField.H"
|
||||||
#include "fieldTypes.H"
|
#include "fieldTypes.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -41,7 +41,7 @@ namespace RASModels
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
makePatchTypeFieldTypedefs(kQRWallFunction)
|
makePatchTypeFieldTypedefs(kqRWallFunction)
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ SpalartAllmaras/SpalartAllmaras.C
|
|||||||
LRR/LRR.C
|
LRR/LRR.C
|
||||||
LaunderGibsonRSTM/LaunderGibsonRSTM.C
|
LaunderGibsonRSTM/LaunderGibsonRSTM.C
|
||||||
LaunderSharmaKE/LaunderSharmaKE.C
|
LaunderSharmaKE/LaunderSharmaKE.C
|
||||||
QZeta/QZeta.C
|
qZeta/qZeta.C
|
||||||
LienCubicKE/LienCubicKE.C
|
LienCubicKE/LienCubicKE.C
|
||||||
LienCubicKELowRe/LienCubicKELowRe.C
|
LienCubicKELowRe/LienCubicKELowRe.C
|
||||||
NonlinearKEShih/NonlinearKEShih.C
|
NonlinearKEShih/NonlinearKEShih.C
|
||||||
@ -33,8 +33,8 @@ $(epsilonWallFunctions)/epsilonWallFunction/epsilonWallFunctionFvPatchScalarFiel
|
|||||||
omegaWallFunctions = $(wallFunctions)/omegaWallFunctions
|
omegaWallFunctions = $(wallFunctions)/omegaWallFunctions
|
||||||
$(omegaWallFunctions)/omegaWallFunction/omegaWallFunctionFvPatchScalarField.C
|
$(omegaWallFunctions)/omegaWallFunction/omegaWallFunctionFvPatchScalarField.C
|
||||||
|
|
||||||
kQRWallFunctions = $(wallFunctions)/kQRWallFunctions
|
kqRWallFunctions = $(wallFunctions)/kqRWallFunctions
|
||||||
$(kQRWallFunctions)/kQRWallFunction/kQRWallFunctionFvPatchFields.C
|
$(kqRWallFunctions)/kqRWallFunction/kqRWallFunctionFvPatchFields.C
|
||||||
|
|
||||||
|
|
||||||
/* Patch fields */
|
/* Patch fields */
|
||||||
|
@ -24,7 +24,7 @@ License
|
|||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "kQRWallFunctionFvPatchField.H"
|
#include "kqRWallFunctionFvPatchField.H"
|
||||||
#include "RASModel.H"
|
#include "RASModel.H"
|
||||||
#include "fvPatchFieldMapper.H"
|
#include "fvPatchFieldMapper.H"
|
||||||
#include "volFields.H"
|
#include "volFields.H"
|
||||||
@ -43,11 +43,11 @@ namespace RASModels
|
|||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
void kQRWallFunctionFvPatchField<Type>::checkType()
|
void kqRWallFunctionFvPatchField<Type>::checkType()
|
||||||
{
|
{
|
||||||
if (!isA<wallFvPatch>(this->patch()))
|
if (!isA<wallFvPatch>(this->patch()))
|
||||||
{
|
{
|
||||||
FatalErrorIn("kQRWallFunctionFvPatchField::checkType()")
|
FatalErrorIn("kqRWallFunctionFvPatchField::checkType()")
|
||||||
<< "Invalid wall function specification" << nl
|
<< "Invalid wall function specification" << nl
|
||||||
<< " Patch type for patch " << this->patch().name()
|
<< " Patch type for patch " << this->patch().name()
|
||||||
<< " must be wall" << nl
|
<< " must be wall" << nl
|
||||||
@ -60,7 +60,7 @@ void kQRWallFunctionFvPatchField<Type>::checkType()
|
|||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
kQRWallFunctionFvPatchField<Type>::kQRWallFunctionFvPatchField
|
kqRWallFunctionFvPatchField<Type>::kqRWallFunctionFvPatchField
|
||||||
(
|
(
|
||||||
const fvPatch& p,
|
const fvPatch& p,
|
||||||
const DimensionedField<Type, volMesh>& iF
|
const DimensionedField<Type, volMesh>& iF
|
||||||
@ -73,9 +73,9 @@ kQRWallFunctionFvPatchField<Type>::kQRWallFunctionFvPatchField
|
|||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
kQRWallFunctionFvPatchField<Type>::kQRWallFunctionFvPatchField
|
kqRWallFunctionFvPatchField<Type>::kqRWallFunctionFvPatchField
|
||||||
(
|
(
|
||||||
const kQRWallFunctionFvPatchField& ptf,
|
const kqRWallFunctionFvPatchField& ptf,
|
||||||
const fvPatch& p,
|
const fvPatch& p,
|
||||||
const DimensionedField<Type, volMesh>& iF,
|
const DimensionedField<Type, volMesh>& iF,
|
||||||
const fvPatchFieldMapper& mapper
|
const fvPatchFieldMapper& mapper
|
||||||
@ -88,7 +88,7 @@ kQRWallFunctionFvPatchField<Type>::kQRWallFunctionFvPatchField
|
|||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
kQRWallFunctionFvPatchField<Type>::kQRWallFunctionFvPatchField
|
kqRWallFunctionFvPatchField<Type>::kqRWallFunctionFvPatchField
|
||||||
(
|
(
|
||||||
const fvPatch& p,
|
const fvPatch& p,
|
||||||
const DimensionedField<Type, volMesh>& iF,
|
const DimensionedField<Type, volMesh>& iF,
|
||||||
@ -102,9 +102,9 @@ kQRWallFunctionFvPatchField<Type>::kQRWallFunctionFvPatchField
|
|||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
kQRWallFunctionFvPatchField<Type>::kQRWallFunctionFvPatchField
|
kqRWallFunctionFvPatchField<Type>::kqRWallFunctionFvPatchField
|
||||||
(
|
(
|
||||||
const kQRWallFunctionFvPatchField& tkqrwfpf
|
const kqRWallFunctionFvPatchField& tkqrwfpf
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
zeroGradientFvPatchField<Type>(tkqrwfpf)
|
zeroGradientFvPatchField<Type>(tkqrwfpf)
|
||||||
@ -114,9 +114,9 @@ kQRWallFunctionFvPatchField<Type>::kQRWallFunctionFvPatchField
|
|||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
kQRWallFunctionFvPatchField<Type>::kQRWallFunctionFvPatchField
|
kqRWallFunctionFvPatchField<Type>::kqRWallFunctionFvPatchField
|
||||||
(
|
(
|
||||||
const kQRWallFunctionFvPatchField& tkqrwfpf,
|
const kqRWallFunctionFvPatchField& tkqrwfpf,
|
||||||
const DimensionedField<Type, volMesh>& iF
|
const DimensionedField<Type, volMesh>& iF
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
@ -129,7 +129,7 @@ kQRWallFunctionFvPatchField<Type>::kQRWallFunctionFvPatchField
|
|||||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
void kQRWallFunctionFvPatchField<Type>::evaluate
|
void kqRWallFunctionFvPatchField<Type>::evaluate
|
||||||
(
|
(
|
||||||
const Pstream::commsTypes commsType
|
const Pstream::commsTypes commsType
|
||||||
)
|
)
|
||||||
@ -139,7 +139,7 @@ void kQRWallFunctionFvPatchField<Type>::evaluate
|
|||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
void kQRWallFunctionFvPatchField<Type>::write(Ostream& os) const
|
void kqRWallFunctionFvPatchField<Type>::write(Ostream& os) const
|
||||||
{
|
{
|
||||||
zeroGradientFvPatchField<Type>::write(os);
|
zeroGradientFvPatchField<Type>::write(os);
|
||||||
this->writeEntry("value", os);
|
this->writeEntry("value", os);
|
||||||
|
@ -23,19 +23,19 @@ 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::incompressible::RASModels::kQRWallFunctionFvPatchField
|
Foam::incompressible::RASModels::kqRWallFunctionFvPatchField
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Boundary condition for turbulence k, Q, and R when using wall functions.
|
Boundary condition for turbulence k, Q, and R when using wall functions.
|
||||||
Simply acts as a zero gradient condition.
|
Simply acts as a zero gradient condition.
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
kQRWallFunctionFvPatchField.C
|
kqRWallFunctionFvPatchField.C
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef kQRWallFunctionFvPatchField_H
|
#ifndef kqRWallFunctionFvPatchField_H
|
||||||
#define kQRWallFunctionFvPatchField_H
|
#define kqRWallFunctionFvPatchField_H
|
||||||
|
|
||||||
#include "zeroGradientFvPatchField.H"
|
#include "zeroGradientFvPatchField.H"
|
||||||
|
|
||||||
@ -49,11 +49,11 @@ namespace RASModels
|
|||||||
{
|
{
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*\
|
/*---------------------------------------------------------------------------*\
|
||||||
Class kQRWallFunctionFvPatchField Declaration
|
Class kqRWallFunctionFvPatchField Declaration
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
class kQRWallFunctionFvPatchField
|
class kqRWallFunctionFvPatchField
|
||||||
:
|
:
|
||||||
public zeroGradientFvPatchField<Type>
|
public zeroGradientFvPatchField<Type>
|
||||||
{
|
{
|
||||||
@ -67,20 +67,20 @@ class kQRWallFunctionFvPatchField
|
|||||||
public:
|
public:
|
||||||
|
|
||||||
//- Runtime type information
|
//- Runtime type information
|
||||||
TypeName("kQRWallFunction");
|
TypeName("kqRWallFunction");
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from patch and internal field
|
//- Construct from patch and internal field
|
||||||
kQRWallFunctionFvPatchField
|
kqRWallFunctionFvPatchField
|
||||||
(
|
(
|
||||||
const fvPatch&,
|
const fvPatch&,
|
||||||
const DimensionedField<Type, volMesh>&
|
const DimensionedField<Type, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from patch, internal field and dictionary
|
//- Construct from patch, internal field and dictionary
|
||||||
kQRWallFunctionFvPatchField
|
kqRWallFunctionFvPatchField
|
||||||
(
|
(
|
||||||
const fvPatch&,
|
const fvPatch&,
|
||||||
const DimensionedField<Type, volMesh>&,
|
const DimensionedField<Type, volMesh>&,
|
||||||
@ -88,20 +88,20 @@ public:
|
|||||||
);
|
);
|
||||||
|
|
||||||
//- Construct by mapping given
|
//- Construct by mapping given
|
||||||
// kQRWallFunctionFvPatchField
|
// kqRWallFunctionFvPatchField
|
||||||
// onto a new patch
|
// onto a new patch
|
||||||
kQRWallFunctionFvPatchField
|
kqRWallFunctionFvPatchField
|
||||||
(
|
(
|
||||||
const kQRWallFunctionFvPatchField&,
|
const kqRWallFunctionFvPatchField&,
|
||||||
const fvPatch&,
|
const fvPatch&,
|
||||||
const DimensionedField<Type, volMesh>&,
|
const DimensionedField<Type, volMesh>&,
|
||||||
const fvPatchFieldMapper&
|
const fvPatchFieldMapper&
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct as copy
|
//- Construct as copy
|
||||||
kQRWallFunctionFvPatchField
|
kqRWallFunctionFvPatchField
|
||||||
(
|
(
|
||||||
const kQRWallFunctionFvPatchField&
|
const kqRWallFunctionFvPatchField&
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct and return a clone
|
//- Construct and return a clone
|
||||||
@ -109,14 +109,14 @@ public:
|
|||||||
{
|
{
|
||||||
return tmp<fvPatchField<Type> >
|
return tmp<fvPatchField<Type> >
|
||||||
(
|
(
|
||||||
new kQRWallFunctionFvPatchField(*this)
|
new kqRWallFunctionFvPatchField(*this)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
//- Construct as copy setting internal field reference
|
//- Construct as copy setting internal field reference
|
||||||
kQRWallFunctionFvPatchField
|
kqRWallFunctionFvPatchField
|
||||||
(
|
(
|
||||||
const kQRWallFunctionFvPatchField&,
|
const kqRWallFunctionFvPatchField&,
|
||||||
const DimensionedField<Type, volMesh>&
|
const DimensionedField<Type, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -128,7 +128,7 @@ public:
|
|||||||
{
|
{
|
||||||
return tmp<fvPatchField<Type> >
|
return tmp<fvPatchField<Type> >
|
||||||
(
|
(
|
||||||
new kQRWallFunctionFvPatchField(*this, iF)
|
new kqRWallFunctionFvPatchField(*this, iF)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -160,7 +160,7 @@ public:
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
#ifdef NoRepository
|
#ifdef NoRepository
|
||||||
# include "kQRWallFunctionFvPatchField.C"
|
# include "kqRWallFunctionFvPatchField.C"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
@ -24,7 +24,7 @@ License
|
|||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "kQRWallFunctionFvPatchFields.H"
|
#include "kqRWallFunctionFvPatchFields.H"
|
||||||
#include "fvPatchFields.H"
|
#include "fvPatchFields.H"
|
||||||
#include "addToRunTimeSelectionTable.H"
|
#include "addToRunTimeSelectionTable.H"
|
||||||
#include "volFields.H"
|
#include "volFields.H"
|
||||||
@ -40,7 +40,7 @@ namespace RASModels
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||||
|
|
||||||
makePatchFields(kQRWallFunction);
|
makePatchFields(kqRWallFunction);
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
@ -24,10 +24,10 @@ License
|
|||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef kQRWallFunctionFvPatchFields_H
|
#ifndef kqRWallFunctionFvPatchFields_H
|
||||||
#define kQRWallFunctionFvPatchFields_H
|
#define kqRWallFunctionFvPatchFields_H
|
||||||
|
|
||||||
#include "kQRWallFunctionFvPatchField.H"
|
#include "kqRWallFunctionFvPatchField.H"
|
||||||
#include "fieldTypes.H"
|
#include "fieldTypes.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -41,7 +41,7 @@ namespace RASModels
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
makePatchTypeFieldTypedefs(kQRWallFunction)
|
makePatchTypeFieldTypedefs(kqRWallFunction)
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user