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