pressureInletUniformVelocityFvPatchVectorField.C
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 #include "pressureInletUniformVelocityFvPatchVectorField.H"
00028 #include "addToRunTimeSelectionTable.H"
00029 #include "volFields.H"
00030 #include "surfaceFields.H"
00031
00032
00033
00034 namespace Foam
00035 {
00036
00037
00038
00039 pressureInletUniformVelocityFvPatchVectorField::
00040 pressureInletUniformVelocityFvPatchVectorField
00041 (
00042 const fvPatch& p,
00043 const DimensionedField<vector, volMesh>& iF
00044 )
00045 :
00046 pressureInletVelocityFvPatchVectorField(p, iF)
00047 {}
00048
00049
00050 pressureInletUniformVelocityFvPatchVectorField::
00051 pressureInletUniformVelocityFvPatchVectorField
00052 (
00053 const pressureInletUniformVelocityFvPatchVectorField& ptf,
00054 const fvPatch& p,
00055 const DimensionedField<vector, volMesh>& iF,
00056 const fvPatchFieldMapper& mapper
00057 )
00058 :
00059 pressureInletVelocityFvPatchVectorField(ptf, p, iF, mapper)
00060 {}
00061
00062
00063 pressureInletUniformVelocityFvPatchVectorField::
00064 pressureInletUniformVelocityFvPatchVectorField
00065 (
00066 const fvPatch& p,
00067 const DimensionedField<vector, volMesh>& iF,
00068 const dictionary& dict
00069 )
00070 :
00071 pressureInletVelocityFvPatchVectorField(p, iF, dict)
00072 {}
00073
00074
00075 pressureInletUniformVelocityFvPatchVectorField::
00076 pressureInletUniformVelocityFvPatchVectorField
00077 (
00078 const pressureInletUniformVelocityFvPatchVectorField& pivpvf
00079 )
00080 :
00081 pressureInletVelocityFvPatchVectorField(pivpvf)
00082 {}
00083
00084
00085 pressureInletUniformVelocityFvPatchVectorField::
00086 pressureInletUniformVelocityFvPatchVectorField
00087 (
00088 const pressureInletUniformVelocityFvPatchVectorField& pivpvf,
00089 const DimensionedField<vector, volMesh>& iF
00090 )
00091 :
00092 pressureInletVelocityFvPatchVectorField(pivpvf, iF)
00093 {}
00094
00095
00096
00097
00098 void pressureInletUniformVelocityFvPatchVectorField::updateCoeffs()
00099 {
00100 if (updated())
00101 {
00102 return;
00103 }
00104
00105 pressureInletVelocityFvPatchVectorField::updateCoeffs();
00106
00107 operator==(patch().nf()*gSum(patch().Sf() & *this)/gSum(patch().magSf()));
00108 }
00109
00110
00111
00112
00113 void pressureInletUniformVelocityFvPatchVectorField::operator=
00114 (
00115 const fvPatchField<vector>& pvf
00116 )
00117 {
00118 operator==(patch().nf()*gSum(patch().Sf() & pvf)/gSum(patch().magSf()));
00119 }
00120
00121
00122
00123
00124 makePatchTypeField
00125 (
00126 fvPatchVectorField,
00127 pressureInletUniformVelocityFvPatchVectorField
00128 );
00129
00130
00131
00132 }
00133
00134
Copyright © 2000-2009 OpenCFD Ltd