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