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 #ifndef mutStandardRoughWallFunctionFvPatchScalarField_H
00036 #define mutStandardRoughWallFunctionFvPatchScalarField_H
00037
00038 #include "fixedValueFvPatchFields.H"
00039
00040
00041
00042 namespace Foam
00043 {
00044 namespace compressible
00045 {
00046 namespace turbulenceModels
00047 {
00048
00049
00050
00051
00052
00053 class mutStandardRoughWallFunctionFvPatchScalarField
00054 :
00055 public fixedValueFvPatchScalarField
00056 {
00057
00058
00059 scalar roughnessHeight_;
00060 scalar roughnessConstant_;
00061 scalar roughnessFudgeFactor_;
00062
00063
00064 public:
00065
00066
00067 TypeName("mutStandardRoughWallFunction");
00068
00069
00070
00071
00072
00073 mutStandardRoughWallFunctionFvPatchScalarField
00074 (
00075 const fvPatch&,
00076 const DimensionedField<scalar, volMesh>&
00077 );
00078
00079
00080 mutStandardRoughWallFunctionFvPatchScalarField
00081 (
00082 const fvPatch&,
00083 const DimensionedField<scalar, volMesh>&,
00084 const dictionary&
00085 );
00086
00087
00088
00089
00090 mutStandardRoughWallFunctionFvPatchScalarField
00091 (
00092 const mutStandardRoughWallFunctionFvPatchScalarField&,
00093 const fvPatch&,
00094 const DimensionedField<scalar, volMesh>&,
00095 const fvPatchFieldMapper&
00096 );
00097
00098
00099 mutStandardRoughWallFunctionFvPatchScalarField
00100 (
00101 const mutStandardRoughWallFunctionFvPatchScalarField&
00102 );
00103
00104
00105 virtual tmp<fvPatchScalarField> clone() const
00106 {
00107 return tmp<fvPatchScalarField>
00108 (
00109 new mutStandardRoughWallFunctionFvPatchScalarField(*this)
00110 );
00111 }
00112
00113
00114 mutStandardRoughWallFunctionFvPatchScalarField
00115 (
00116 const mutStandardRoughWallFunctionFvPatchScalarField&,
00117 const DimensionedField<scalar, volMesh>&
00118 );
00119
00120
00121 virtual tmp<fvPatchScalarField> clone
00122 (
00123 const DimensionedField<scalar, volMesh>& iF
00124 ) const
00125 {
00126 return tmp<fvPatchScalarField>
00127 (
00128 new mutStandardRoughWallFunctionFvPatchScalarField(*this, iF)
00129 );
00130 }
00131
00132
00133
00134
00135
00136
00137
00138 const scalar& roughnessHeight() const
00139 {
00140 return roughnessHeight_;
00141 }
00142
00143
00144 scalar& roughnessHeight()
00145 {
00146 return roughnessHeight_;
00147 }
00148
00149
00150
00151 const scalar& roughnessConstant() const
00152 {
00153 return roughnessConstant_;
00154 }
00155
00156
00157 scalar& roughnessConstant()
00158 {
00159 return roughnessConstant_;
00160 }
00161
00162
00163 const scalar& roughnessFudgeFactor() const
00164 {
00165 return roughnessFudgeFactor_;
00166 }
00167
00168
00169 scalar& roughnessFudgeFactor()
00170 {
00171 return roughnessFudgeFactor_;
00172 }
00173
00174
00175
00176
00177
00178 virtual void evaluate();
00179
00180
00181
00182 virtual void write(Ostream& os) const;
00183 };
00184
00185
00186
00187
00188 }
00189 }
00190 }
00191
00192
00193
00194 #endif
00195
00196
Copyright © 2000-2007 OpenCFD Ltd