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