mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037 #ifndef compressibleMutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField_H
00038 #define compressibleMutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField_H
00039
00040 #include "mutWallFunctionFvPatchScalarField.H"
00041
00042
00043
00044 namespace Foam
00045 {
00046 namespace compressible
00047 {
00048 namespace RASModels
00049 {
00050
00051
00052
00053
00054
00055 class mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField
00056 :
00057 public mutWallFunctionFvPatchScalarField
00058 {
00059 protected:
00060
00061
00062
00063
00064
00065
00066 scalar roughnessHeight_;
00067
00068
00069 scalar roughnessConstant_;
00070
00071
00072 scalar roughnessFudgeFactor_;
00073
00074
00075
00076
00077
00078 virtual tmp<scalarField> calcYPlus(const scalarField& magUp) const;
00079
00080
00081 virtual tmp<scalarField> calcMut() const;
00082
00083
00084 public:
00085
00086
00087 TypeName("mutSpalartAllmarasStandardRoughWallFunction");
00088
00089
00090
00091
00092
00093 mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField
00094 (
00095 const fvPatch&,
00096 const DimensionedField<scalar, volMesh>&
00097 );
00098
00099
00100 mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField
00101 (
00102 const fvPatch&,
00103 const DimensionedField<scalar, volMesh>&,
00104 const dictionary&
00105 );
00106
00107
00108
00109
00110 mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField
00111 (
00112 const mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField&,
00113 const fvPatch&,
00114 const DimensionedField<scalar, volMesh>&,
00115 const fvPatchFieldMapper&
00116 );
00117
00118
00119 mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField
00120 (
00121 const mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField&
00122 );
00123
00124
00125 virtual tmp<fvPatchScalarField> clone() const
00126 {
00127 return tmp<fvPatchScalarField>
00128 (
00129 new mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField
00130 (
00131 *this
00132 )
00133 );
00134 }
00135
00136
00137 mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField
00138 (
00139 const mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField&,
00140 const DimensionedField<scalar, volMesh>&
00141 );
00142
00143
00144 virtual tmp<fvPatchScalarField> clone
00145 (
00146 const DimensionedField<scalar, volMesh>& iF
00147 ) const
00148 {
00149 return tmp<fvPatchScalarField>
00150 (
00151 new mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField
00152 (
00153 *this,
00154 iF
00155 )
00156 );
00157 }
00158
00159
00160
00161
00162
00163
00164
00165 const scalar& roughnessHeight() const
00166 {
00167 return roughnessHeight_;
00168 }
00169
00170
00171 scalar& roughnessHeight()
00172 {
00173 return roughnessHeight_;
00174 }
00175
00176
00177 const scalar& roughnessConstant() const
00178 {
00179 return roughnessConstant_;
00180 }
00181
00182
00183 scalar& roughnessConstant()
00184 {
00185 return roughnessConstant_;
00186 }
00187
00188
00189 const scalar& roughnessFudgeFactor() const
00190 {
00191 return roughnessFudgeFactor_;
00192 }
00193
00194
00195
00196 scalar& roughnessFudgeFactor()
00197 {
00198 return roughnessFudgeFactor_;
00199 }
00200
00201
00202
00203
00204
00205 virtual tmp<scalarField> yPlus() const;
00206
00207
00208
00209
00210
00211 virtual void write(Ostream& os) const;
00212 };
00213
00214
00215
00216
00217 }
00218 }
00219 }
00220
00221
00222
00223 #endif
00224
00225
Copyright © 2000-2009 OpenCFD Ltd