Go to the documentation of this file.
201 typeName +
":Factor",
210 if (blendedSchemeBaseName::debug)
219 vf.name() +
"BlendingFactor",
260 <<
"U0 coefficient must be greater than 0. "
266 <<
"L0 coefficient must be greater than 0. "
272 <<
"sigmaMin coefficient must be greater than or equal to 0. "
278 <<
"sigmaMax coefficient must be greater than or equal to 0. "
284 <<
"sigmaMin coefficient must be less than or equal to 1. "
290 <<
"sigmaMax coefficient must be less than or equal to 1. "
324 <<
"U0 coefficient must be greater than 0. "
330 <<
"L0 coefficient must be greater than 0. "
336 <<
"sigmaMin coefficient must be greater than or equal to 0. "
342 <<
"sigmaMax coefficient must be greater than or equal to 0. "
348 <<
"sigmaMin coefficient must be less than or equal to 1. "
354 <<
"sigmaMax coefficient must be less than or equal to 1. "
375 lookupObject<const volScalarField>(
"delta");
384 const icoModel& model =
391 const cmpModel& model =
396 vf, model.muEff()/model.rho(), model.U(),
delta
402 <<
"Scheme requires a turbulence model to be present. "
403 <<
"Unable to retrieve turbulence model from the mesh "
412 tmp<surfaceScalarField>
weights
414 const GeometricField<Type, fvPatchField, volMesh>& vf
427 tmp<GeometricField<Type, fvsPatchField, surfaceMesh> >
430 const GeometricField<Type, fvPatchField, volMesh>& vf
436 (scalar(1) - bf)*
tScheme1_().interpolate(vf)
450 virtual tmp<GeometricField<Type, fvsPatchField, surfaceMesh> >
453 const GeometricField<Type, fvPatchField, volMesh>& vf
485 return tmp<GeometricField<Type, fvsPatchField, surfaceMesh> >
tmp< surfaceInterpolationScheme< Type > > tScheme1_
Scheme 1.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
DEShybrid(const DEShybrid &)
Disallow default bitwise copy construct.
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
dimensionedTensor skew(const dimensionedTensor &dt)
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
A class for managing temporary objects.
scalar CDES_
DES Coefficient.
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &vf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
scalar sigmaMin_
Minimum bound for sigma (0 <= sigmaMin <= 1)
const dimensionedVector & g
dimensionedScalar L0_
Reference length scale [m].
const Type & value() const
Return const reference to value.
dimensioned< scalar > mag(const dimensioned< Type > &)
simpleMatrix< scalar > A(Nc)
CGAL::Exact_predicates_exact_constructions_kernel K
dimensionedScalar U0_
Reference velocity scale [m/s].
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
dimensionedScalar pow4(const dimensionedScalar &ds)
dimensionedScalar tanh(const dimensionedScalar &ds)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
virtual tmp< surfaceScalarField > blendingFactor(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the face-based blending factor.
Generic dimensioned Type class.
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > correction(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the explicit correction to the face-interpolate.
Mesh data needed to do the Finite Volume discretisation.
virtual bool corrected() const
Return true if this scheme uses an explicit correction.
const double e
Elementary charge.
errorManipArg< error, int > exit(error &err, const int errNo=1)
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
bool foundObject(const word &name) const
Is the named Type found?
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
scalar CH1_
Scheme constants.
surfaceInterpolationScheme(const surfaceInterpolationScheme &)
Disallow copy construct.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
scalar sigmaMax_
Maximum bound for sigma (0 <= sigmaMax <= 1)
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the face-interpolate of the given cell field.
Templated wrapper class to provide compressible turbulence models thermal diffusivity based thermal t...
dimensionedScalar sqrt(const dimensionedScalar &ds)
Calculate the gradient of the given field.
static tmp< surfaceInterpolationScheme< Type > > New(const fvMesh &mesh, Istream &schemeData)
Return new tmp interpolation scheme.
Abstract base class for surface interpolation schemes.
tmp< surfaceScalarField > weights(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the interpolation weighting factors.
Templated abstract base class for single-phase incompressible turbulence models.
const fvMesh & mesh() const
Return mesh reference.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
void operator=(const DEShybrid &)
Disallow default bitwise assignment.
Generic GeometricField class.
Base class for blended schemes to provide access to the blending factor surface field.
tmp< surfaceInterpolationScheme< Type > > tScheme2_
Scheme 2.
tmp< surfaceScalarField > calcBlendingFactor(const GeometricField< Type, fvPatchField, volMesh > &vf, const volScalarField &nuEff, const volVectorField &U, const volScalarField &delta) const
Calculate the blending factor.
TypeName("DEShybrid")
Runtime type information.