Deffered 01 schemes
This commit is contained in:
parent
af228db90a
commit
a3bc9ffbf9
4 changed files with 26 additions and 5 deletions
|
@ -203,16 +203,16 @@ limitedSurfaceInterpolationScheme<TYPE>::addMeshFluxConstructorToTable \
|
|||
add##SS##LIMFUNC##TYPE##MeshFluxConstructorToLimitedTable_;
|
||||
|
||||
|
||||
#define makeDeferredSurfaceInterpolationScheme(SS, LIMITER) \
|
||||
#define makeDeferredSurfaceInterpolationScheme(SS, LIMITER) \
|
||||
\
|
||||
makeDeferredSurfaceInterpolationTypeScheme(SS,LIMITER,NVDTVD,magSqr,scalar) \
|
||||
makeDeferredSurfaceInterpolationTypeScheme(SS,LIMITER,NVDTVD,magSqr,vector) \
|
||||
makeDeferredSurfaceInterpolationTypeScheme(SS,LIMITER,NVDTVD,magSqr,scalar) \
|
||||
makeDeferredSurfaceInterpolationTypeScheme(SS,LIMITER,NVDTVD,magSqr,vector) \
|
||||
makeDeferredSurfaceInterpolationTypeScheme(SS,LIMITER,NVDTVD,magSqr,sphericalTensor) \
|
||||
makeDeferredSurfaceInterpolationTypeScheme(SS,LIMITER,NVDTVD,magSqr,symmTensor)\
|
||||
makeDeferredSurfaceInterpolationTypeScheme(SS,LIMITER,NVDTVD,magSqr,tensor)
|
||||
|
||||
|
||||
#define makeDeferredVSurfaceInterpolationScheme(SS, LIMITER) \
|
||||
#define makeDeferredVSurfaceInterpolationScheme(SS, LIMITER) \
|
||||
makeDeferredSurfaceInterpolationTypeScheme(SS,LIMITER,NVDVTVDV,null,vector)
|
||||
|
||||
|
||||
|
|
|
@ -60,6 +60,17 @@ namespace Foam
|
|||
// Deferred correction schemes
|
||||
makeDeferredSurfaceInterpolationScheme(GammaDC, GammaLimiter)
|
||||
makeDeferredVSurfaceInterpolationScheme(GammaVDC, GammaLimiter)
|
||||
|
||||
makeLDeferredSurfaceInterpolationTypeScheme
|
||||
(
|
||||
Gamma01DC,
|
||||
Limited01Limiter,
|
||||
GammaLimiter,
|
||||
NVDTVD,
|
||||
magSqr,
|
||||
scalar
|
||||
)
|
||||
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
|
|
@ -97,7 +97,7 @@ public:
|
|||
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
|
||||
// from the mesh objectRegistry
|
||||
LimitedScheme
|
||||
|
|
|
@ -61,6 +61,16 @@ namespace Foam
|
|||
// Deferred correction schemes
|
||||
makeDeferredSurfaceInterpolationScheme(vanLeerDC, vanLeerLimiter)
|
||||
makeDeferredVSurfaceInterpolationScheme(vanLeerVDC, vanLeerLimiter)
|
||||
|
||||
makeLDeferredSurfaceInterpolationTypeScheme
|
||||
(
|
||||
vanLeer01DC,
|
||||
Limited01Limiter,
|
||||
vanLeerLimiter,
|
||||
NVDTVD,
|
||||
magSqr,
|
||||
scalar
|
||||
)
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
|
Reference in a new issue