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