muSgsWallFunctionFvPatchScalarField.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 muSgsWallFunctionFvPatchScalarField_H
00038 #define muSgsWallFunctionFvPatchScalarField_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 muSgsWallFunctionFvPatchScalarField
00056 :
00057 public fixedValueFvPatchScalarField
00058 {
00059
00060
00061
00062 word UName_;
00063
00064
00065 word rhoName_;
00066
00067
00068 word muName_;
00069
00070
00071 scalar kappa_;
00072
00073
00074 scalar E_;
00075
00076
00077 public:
00078
00079
00080 TypeName("muSgsWallFunction");
00081
00082
00083
00084
00085
00086 muSgsWallFunctionFvPatchScalarField
00087 (
00088 const fvPatch&,
00089 const DimensionedField<scalar, volMesh>&
00090 );
00091
00092
00093 muSgsWallFunctionFvPatchScalarField
00094 (
00095 const fvPatch&,
00096 const DimensionedField<scalar, volMesh>&,
00097 const dictionary&
00098 );
00099
00100
00101
00102
00103 muSgsWallFunctionFvPatchScalarField
00104 (
00105 const muSgsWallFunctionFvPatchScalarField&,
00106 const fvPatch&,
00107 const DimensionedField<scalar, volMesh>&,
00108 const fvPatchFieldMapper&
00109 );
00110
00111
00112 muSgsWallFunctionFvPatchScalarField
00113 (
00114 const muSgsWallFunctionFvPatchScalarField&
00115 );
00116
00117
00118 virtual tmp<fvPatchScalarField> clone() const
00119 {
00120 return tmp<fvPatchScalarField>
00121 (
00122 new muSgsWallFunctionFvPatchScalarField(*this)
00123 );
00124 }
00125
00126
00127 muSgsWallFunctionFvPatchScalarField
00128 (
00129 const muSgsWallFunctionFvPatchScalarField&,
00130 const DimensionedField<scalar, volMesh>&
00131 );
00132
00133
00134 virtual tmp<fvPatchScalarField> clone
00135 (
00136 const DimensionedField<scalar, volMesh>& iF
00137 ) const
00138 {
00139 return tmp<fvPatchScalarField>
00140 (
00141 new muSgsWallFunctionFvPatchScalarField
00142 (
00143 *this,
00144 iF
00145 )
00146 );
00147 }
00148
00149
00150
00151
00152
00153
00154
00155 virtual void evaluate
00156 (
00157 const Pstream::commsTypes commsType=Pstream::blocking
00158 );
00159
00160
00161
00162
00163 void write(Ostream&) const;
00164 };
00165
00166
00167
00168
00169 }
00170 }
00171 }
00172
00173
00174
00175 #endif
00176
00177
Copyright © 2000-2009 OpenCFD Ltd