Two-scheme Courant number based blending differencing scheme. More...
Additional Inherited Members | |
![]() | |
static tmp< surfaceInterpolationScheme< Type > > | New (const fvMesh &mesh, Istream &schemeData) |
static tmp< surfaceInterpolationScheme< Type > > | New (const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &schemeData) |
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > | interpolate (const GeometricField< Type, fvPatchField, volMesh > &, const tmp< surfaceScalarField > &, const tmp< surfaceScalarField > &) |
template<class SFType > | |
static tmp< GeometricField< typename innerProduct< typename SFType::value_type, Type >::type, fvsPatchField, surfaceMesh > > | dotInterpolate (const SFType &Sf, const GeometricField< Type, fvPatchField, volMesh > &vf, const tmp< surfaceScalarField > &tlambdas) |
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > | interpolate (const GeometricField< Type, fvPatchField, volMesh > &, const tmp< surfaceScalarField > &) |
Two-scheme Courant number based blending differencing scheme.
Similar to localBlended but uses a blending factor computed from the face-based Courant number and the lower and upper Courant number limits supplied:
where
![]() | = | Courant number below which scheme1 is used |
![]() | = | Courant number above which scheme2 is used |
The weight applies to the first scheme and 1-weight to the second scheme.
divSchemes { . . div(phi,U) Gauss CoBlended 1 LUST grad(U) 10 linearUpwind grad(U); . . }
Definition at line 88 of file CoBlended.H.
Definition at line 132 of file CoBlended.H.
References Foam::exit(), Foam::FatalIOError, and FatalIOErrorInFunction.
|
inline |
Definition at line 165 of file CoBlended.H.
References Foam::exit(), Foam::FatalIOError, and FatalIOErrorInFunction.
TypeName | ( | "CoBlended< Type >" | ) |
|
inlinevirtual |
Implements blendedSchemeBase< Type >.
Definition at line 198 of file CoBlended.H.
References surfaceInterpolation::deltaCoeffs(), TimeState::deltaT(), Foam::dimArea, Foam::dimDensity, Foam::dimVelocity, Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::fvc::interpolate(), Foam::mag(), fvMesh::magSf(), Foam::max(), surfaceInterpolationScheme< Type >::mesh(), Foam::min(), rho, and fvMesh::time().
Referenced by CoBlended< Type >::correction(), CoBlended< Type >::interpolate(), and CoBlended< Type >::weights().
|
inlinevirtual |
Implements surfaceInterpolationScheme< Type >.
Definition at line 249 of file CoBlended.H.
References CoBlended< Type >::blendingFactor().
|
inlinevirtual |
Reimplemented from surfaceInterpolationScheme< Type >.
Definition at line 265 of file CoBlended.H.
References CoBlended< Type >::blendingFactor().
|
inlinevirtual |
Reimplemented from surfaceInterpolationScheme< Type >.
Definition at line 278 of file CoBlended.H.
Referenced by CoBlended< Type >::correction().
|
inlinevirtual |
Reimplemented from surfaceInterpolationScheme< Type >.
Definition at line 288 of file CoBlended.H.
References CoBlended< Type >::blendingFactor(), and CoBlended< Type >::corrected().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.