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