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 gaussLaplacianScheme_H
00037 #define gaussLaplacianScheme_H
00038
00039 #include "laplacianScheme.H"
00040
00041
00042
00043 namespace Foam
00044 {
00045
00046
00047
00048 namespace fv
00049 {
00050
00051
00052
00053
00054
00055 template<class Type>
00056 class gaussLaplacianScheme
00057 :
00058 public fv::laplacianScheme<Type>
00059 {
00060
00061
00062 tmp<fvMatrix<Type> > fvmLaplacianUncorrected
00063 (
00064 const surfaceScalarField& gammaMagSf,
00065 GeometricField<Type, fvPatchField, volMesh>&
00066 );
00067
00068 tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > gammaSnGradCorr
00069 (
00070 const surfaceVectorField& SfGammaCorr,
00071 const GeometricField<Type, fvPatchField, volMesh>&
00072 );
00073
00074
00075 gaussLaplacianScheme(const gaussLaplacianScheme&);
00076
00077
00078 void operator=(const gaussLaplacianScheme&);
00079
00080
00081 public:
00082
00083
00084 TypeName("Gauss");
00085
00086
00087
00088
00089
00090 gaussLaplacianScheme(const fvMesh& mesh)
00091 :
00092 laplacianScheme<Type>(mesh)
00093 {}
00094
00095
00096 gaussLaplacianScheme(const fvMesh& mesh, Istream& is)
00097 :
00098 laplacianScheme<Type>(mesh, is)
00099 {}
00100
00101
00102 gaussLaplacianScheme
00103 (
00104 const fvMesh& mesh,
00105 const tmp<surfaceInterpolationScheme<scalar> >& igs,
00106 const tmp<snGradScheme<Type> >& sngs
00107 )
00108 :
00109 laplacianScheme<Type>(mesh, igs, sngs)
00110 {}
00111
00112
00113
00114
00115 virtual ~gaussLaplacianScheme()
00116 {}
00117
00118
00119
00120
00121 tmp<fvMatrix<Type> > fvmLaplacian
00122 (
00123 const surfaceScalarField&,
00124 GeometricField<Type, fvPatchField, volMesh>&
00125 );
00126
00127 tmp<fvMatrix<Type> > fvmLaplacian
00128 (
00129 const surfaceTensorField&,
00130 GeometricField<Type, fvPatchField, volMesh>&
00131 );
00132
00133 tmp<GeometricField<Type, fvPatchField, volMesh> > fvcLaplacian
00134 (
00135 const GeometricField<Type, fvPatchField, volMesh>&
00136 );
00137
00138 tmp<GeometricField<Type, fvPatchField, volMesh> > fvcLaplacian
00139 (
00140 const surfaceScalarField&,
00141 const GeometricField<Type, fvPatchField, volMesh>&
00142 );
00143
00144 tmp<GeometricField<Type, fvPatchField, volMesh> > fvcLaplacian
00145 (
00146 const surfaceTensorField&,
00147 const GeometricField<Type, fvPatchField, volMesh>&
00148 );
00149 };
00150
00151
00152
00153
00154 }
00155
00156
00157
00158 }
00159
00160
00161
00162 #ifdef NoRepository
00163 # include "gaussLaplacianScheme.C"
00164 #endif
00165
00166
00167
00168 #endif
00169
00170
Copyright © 2000-2007 OpenCFD Ltd