Deffered 01 schemes

This commit is contained in:
Hrvoje Jasak 2011-08-04 14:21:22 +01:00
parent af228db90a
commit a3bc9ffbf9
4 changed files with 26 additions and 5 deletions

View file

@ -203,16 +203,16 @@ limitedSurfaceInterpolationScheme<TYPE>::addMeshFluxConstructorToTable \
add##SS##LIMFUNC##TYPE##MeshFluxConstructorToLimitedTable_; add##SS##LIMFUNC##TYPE##MeshFluxConstructorToLimitedTable_;
#define makeDeferredSurfaceInterpolationScheme(SS, LIMITER) \ #define makeDeferredSurfaceInterpolationScheme(SS, LIMITER) \
\ \
makeDeferredSurfaceInterpolationTypeScheme(SS,LIMITER,NVDTVD,magSqr,scalar) \ makeDeferredSurfaceInterpolationTypeScheme(SS,LIMITER,NVDTVD,magSqr,scalar) \
makeDeferredSurfaceInterpolationTypeScheme(SS,LIMITER,NVDTVD,magSqr,vector) \ makeDeferredSurfaceInterpolationTypeScheme(SS,LIMITER,NVDTVD,magSqr,vector) \
makeDeferredSurfaceInterpolationTypeScheme(SS,LIMITER,NVDTVD,magSqr,sphericalTensor) \ makeDeferredSurfaceInterpolationTypeScheme(SS,LIMITER,NVDTVD,magSqr,sphericalTensor) \
makeDeferredSurfaceInterpolationTypeScheme(SS,LIMITER,NVDTVD,magSqr,symmTensor)\ makeDeferredSurfaceInterpolationTypeScheme(SS,LIMITER,NVDTVD,magSqr,symmTensor)\
makeDeferredSurfaceInterpolationTypeScheme(SS,LIMITER,NVDTVD,magSqr,tensor) makeDeferredSurfaceInterpolationTypeScheme(SS,LIMITER,NVDTVD,magSqr,tensor)
#define makeDeferredVSurfaceInterpolationScheme(SS, LIMITER) \ #define makeDeferredVSurfaceInterpolationScheme(SS, LIMITER) \
makeDeferredSurfaceInterpolationTypeScheme(SS,LIMITER,NVDVTVDV,null,vector) makeDeferredSurfaceInterpolationTypeScheme(SS,LIMITER,NVDVTVDV,null,vector)

View file

@ -60,6 +60,17 @@ namespace Foam
// Deferred correction schemes // Deferred correction schemes
makeDeferredSurfaceInterpolationScheme(GammaDC, GammaLimiter) makeDeferredSurfaceInterpolationScheme(GammaDC, GammaLimiter)
makeDeferredVSurfaceInterpolationScheme(GammaVDC, GammaLimiter) makeDeferredVSurfaceInterpolationScheme(GammaVDC, GammaLimiter)
makeLDeferredSurfaceInterpolationTypeScheme
(
Gamma01DC,
Limited01Limiter,
GammaLimiter,
NVDTVD,
magSqr,
scalar
)
} }
// ************************************************************************* // // ************************************************************************* //

View file

@ -97,7 +97,7 @@ public:
Limiter(weight) Limiter(weight)
{} {}
//- Construct from mesh and Istream. //- Construct from mesh and Istream
// The name of the flux field is read from the Istream and looked-up // The name of the flux field is read from the Istream and looked-up
// from the mesh objectRegistry // from the mesh objectRegistry
LimitedScheme LimitedScheme

View file

@ -61,6 +61,16 @@ namespace Foam
// Deferred correction schemes // Deferred correction schemes
makeDeferredSurfaceInterpolationScheme(vanLeerDC, vanLeerLimiter) makeDeferredSurfaceInterpolationScheme(vanLeerDC, vanLeerLimiter)
makeDeferredVSurfaceInterpolationScheme(vanLeerVDC, vanLeerLimiter) makeDeferredVSurfaceInterpolationScheme(vanLeerVDC, vanLeerLimiter)
makeLDeferredSurfaceInterpolationTypeScheme
(
vanLeer01DC,
Limited01Limiter,
vanLeerLimiter,
NVDTVD,
magSqr,
scalar
)
} }
// ************************************************************************* // // ************************************************************************* //