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