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