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
00038
00039
00040
00041
00042
00043 #ifndef MULES_H
00044 #define MULES_H
00045
00046 #include "volFields.H"
00047 #include "surfaceFieldsFwd.H"
00048 #include "dimensionedTypes.H"
00049 #include "primitiveFieldsFwd.H"
00050 #include "zero.H"
00051
00052
00053
00054 namespace Foam
00055 {
00056
00057
00058
00059 namespace MULES
00060 {
00061
00062 template<class SpType, class SuType>
00063 void explicitSolve
00064 (
00065 volScalarField& psi,
00066 const surfaceScalarField& phiBD,
00067 surfaceScalarField& phiPsi,
00068 const SpType& Sp,
00069 const SuType& Su,
00070 const scalar psiMax,
00071 const scalar psiMin
00072 );
00073
00074 void explicitSolve
00075 (
00076 volScalarField& psi,
00077 const surfaceScalarField& phiBD,
00078 surfaceScalarField& phiPsi,
00079 const scalar psiMax,
00080 const scalar psiMin
00081 );
00082
00083 template<class SpType, class SuType>
00084 void explicitSolve01
00085 (
00086 volScalarField& psi,
00087 const surfaceScalarField& phi,
00088 surfaceScalarField& phiPsi,
00089 const SpType& Sp,
00090 const SuType& Su
00091 );
00092
00093 void explicitSolve01
00094 (
00095 volScalarField& gamma,
00096 const surfaceScalarField& phi,
00097 surfaceScalarField& phiCorr
00098 );
00099
00100 template<class SpType, class SuType>
00101 void implicitSolve01
00102 (
00103 volScalarField& gamma,
00104 const surfaceScalarField& phi,
00105 const dimensionedScalar& Dpsi,
00106 surfaceScalarField& phiCorr,
00107 const SpType& Sp,
00108 const SuType& Su
00109 );
00110
00111 void implicitSolve01
00112 (
00113 volScalarField& gamma,
00114 const surfaceScalarField& phi,
00115 const dimensionedScalar& Dpsi,
00116 surfaceScalarField& phiCorr
00117 );
00118
00119 template<class SpType, class SuType>
00120 void limiter
00121 (
00122 scalarField& allLambda,
00123 const volScalarField& psi,
00124 const surfaceScalarField& phiBD,
00125 const surfaceScalarField& phiCorr,
00126 const SpType& Sp,
00127 const SuType& Su,
00128 const scalar psiMax,
00129 const scalar psiMin
00130 );
00131
00132 }
00133
00134
00135
00136 }
00137
00138
00139
00140 #ifdef NoRepository
00141 # include "MULESTemplates.C"
00142 #endif
00143
00144
00145
00146 #endif
00147
00148
Copyright © 2000-2007 OpenCFD Ltd