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