59 public limitedSurfaceInterpolationScheme<Type>,
64 const scalar blendingFactor_;
70 blended(
const blended&) =
delete;
73 void operator=(
const blended&) =
delete;
92 limitedSurfaceInterpolationScheme<Type>(
mesh, faceFlux),
105 limitedSurfaceInterpolationScheme<Type>(
mesh, is),
106 blendingFactor_(readScalar(is))
118 blendingFactor_(readScalar(is))
140 vf.
name() +
"BlendingFactor",
141 this->mesh().time().timeName(),
142 this->mesh().thisDb(),
172 this->
mesh().thisDb(),
195 blendingFactor_*this->
mesh().surfaceInterpolation::weights()
Generic GeometricField class.
@ NO_REGISTER
Do not request registration (bool: false).
@ NO_READ
Nothing to be read.
@ NO_WRITE
Ignore writing from objectRegistry::writeObject().
Defines the attributes of an object for which implicit objectRegistry management is supported,...
const word & name() const noexcept
Return the object name.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
blendedSchemeBase()=default
Constructor.
linear/upwind blended differencing scheme.
virtual ~blended()=default
Destructor.
TypeName("blended")
Runtime type information.
blended(const fvMesh &mesh, Istream &is)
Construct from mesh and Istream.
blended(const fvMesh &mesh, const surfaceScalarField &faceFlux, const scalar blendingFactor)
Construct from mesh, faceFlux and blendingFactor.
virtual tmp< surfaceScalarField > limiter(const GeometricField< Type, fvPatchField, volMesh > &) const
Return the interpolation limiter.
virtual tmp< surfaceScalarField > weights(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the interpolation weighting factors.
virtual tmp< surfaceScalarField > blendingFactor(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the face-based blending factor.
blended(const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &is)
Construct from mesh, faceFlux and Istream.
Mesh data needed to do the Finite Volume discretisation.
Abstract base class for limited surface interpolation schemes.
const surfaceScalarField & faceFlux_
const fvMesh & mesh() const
Return mesh reference.
A class for managing temporary objects.
const dimensionSet dimless
Dimensionless.
dimensionedScalar pos0(const dimensionedScalar &ds)
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.