Public Member Functions | Private Member Functions | Private Attributes
DEShybrid< Type > Class Template Reference
Inheritance diagram for DEShybrid< Type >:
Inheritance graph
[legend]
Collaboration diagram for DEShybrid< Type >:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("DEShybrid")
 Runtime type information. More...
 
 DEShybrid (const fvMesh &mesh, Istream &is)
 Construct from mesh and Istream. More...
 
 DEShybrid (const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &is)
 Construct from mesh, faceFlux and Istream. More...
 
virtual tmp< surfaceScalarFieldblendingFactor (const GeometricField< Type, fvPatchField, volMesh > &vf) const
 Return the face-based blending factor. More...
 
tmp< surfaceScalarFieldweights (const GeometricField< Type, fvPatchField, volMesh > &vf) const
 Return the interpolation weighting factors. More...
 
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate (const GeometricField< Type, fvPatchField, volMesh > &vf) const
 Return the face-interpolate of the given cell field. More...
 
virtual bool corrected () const
 Return true if this scheme uses an explicit correction. More...
 
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > correction (const GeometricField< Type, fvPatchField, volMesh > &vf) const
 Return the explicit correction to the face-interpolate. More...
 
- Public Member Functions inherited from surfaceInterpolationScheme< Type >
 TypeName ("surfaceInterpolationScheme")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (tmp, surfaceInterpolationScheme, Mesh,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData))
 
 declareRunTimeSelectionTable (tmp, surfaceInterpolationScheme, MeshFlux,(const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &schemeData),(mesh, faceFlux, schemeData))
 
 surfaceInterpolationScheme (const fvMesh &mesh)
 Construct from mesh. More...
 
virtual ~surfaceInterpolationScheme ()
 Destructor. More...
 
const fvMeshmesh () const
 Return mesh reference. More...
 
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate (const tmp< GeometricField< Type, fvPatchField, volMesh > > &) const
 Return the face-interpolate of the given tmp cell field. More...
 
- Public Member Functions inherited from refCount
 refCount ()
 Construct null with zero count. More...
 
int count () const
 Return the reference count. More...
 
bool okToDelete () const
 Return true if the reference count is zero. More...
 
void resetRefCount ()
 Reset the reference count to zero. More...
 
void operator++ ()
 Increment the reference count. More...
 
void operator++ (int)
 Increment the reference count. More...
 
void operator-- ()
 Decrement the reference count. More...
 
void operator-- (int)
 Decrement the reference count. More...
 
- Public Member Functions inherited from blendedSchemeBase< Type >
 blendedSchemeBase ()
 Constructor. More...
 
virtual ~blendedSchemeBase ()
 Destructor. More...
 

Private Member Functions

 DEShybrid (const DEShybrid &)
 Disallow default bitwise copy construct. More...
 
void operator= (const DEShybrid &)
 Disallow default bitwise assignment. More...
 
tmp< surfaceScalarFieldcalcBlendingFactor (const GeometricField< Type, fvPatchField, volMesh > &vf, const volScalarField &nuEff, const volVectorField &U, const volScalarField &delta) const
 Calculate the blending factor. More...
 

Private Attributes

tmp< surfaceInterpolationScheme< Type > > tScheme1_
 Scheme 1. More...
 
tmp< surfaceInterpolationScheme< Type > > tScheme2_
 Scheme 2. More...
 
scalar CDES_
 DES Coefficient. More...
 
dimensionedScalar U0_
 Reference velocity scale [m/s]. More...
 
dimensionedScalar L0_
 Reference length scale [m]. More...
 
scalar sigmaMin_
 Minimum bound for sigma (0 <= sigmaMin <= 1) More...
 
scalar sigmaMax_
 Maximum bound for sigma (0 <= sigmaMax <= 1) More...
 
scalar CH1_
 Scheme constants. More...
 
scalar CH2_
 
scalar CH3_
 

Additional Inherited Members

- Static Public Member Functions inherited from surfaceInterpolationScheme< Type >
static tmp< surfaceInterpolationScheme< Type > > New (const fvMesh &mesh, Istream &schemeData)
 Return new tmp interpolation scheme. More...
 
static tmp< surfaceInterpolationScheme< Type > > New (const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &schemeData)
 Return new tmp interpolation scheme. More...
 
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate (const GeometricField< Type, fvPatchField, volMesh > &, const tmp< surfaceScalarField > &, const tmp< surfaceScalarField > &)
 Return the face-interpolate of the given cell field. More...
 
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate (const GeometricField< Type, fvPatchField, volMesh > &, const tmp< surfaceScalarField > &)
 Return the face-interpolate of the given cell field. More...
 

Detailed Description

template<class Type>
class Foam::DEShybrid< Type >

Notes

Source files

Definition at line 72 of file DEShybrid.H.

Constructor & Destructor Documentation

◆ DEShybrid() [1/3]

DEShybrid ( const DEShybrid< Type > &  )
private

Disallow default bitwise copy construct.

◆ DEShybrid() [2/3]

DEShybrid ( const fvMesh mesh,
Istream is 
)
inline

Construct from mesh and Istream.

The name of the flux field is read from the Istream and looked-up from the mesh objectRegistry

Definition at line 185 of file DEShybrid.H.

◆ DEShybrid() [3/3]

DEShybrid ( const fvMesh mesh,
const surfaceScalarField faceFlux,
Istream is 
)
inline

Construct from mesh, faceFlux and Istream.

Definition at line 245 of file DEShybrid.H.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, DEShybrid< Type >::L0_, DEShybrid< Type >::sigmaMax_, DEShybrid< Type >::sigmaMin_, DEShybrid< Type >::U0_, and dimensioned::value().

Here is the call graph for this function:

Member Function Documentation

◆ operator=()

void operator= ( const DEShybrid< Type > &  )
private

Disallow default bitwise assignment.

◆ calcBlendingFactor()

tmp<surfaceScalarField> calcBlendingFactor ( const GeometricField< Type, fvPatchField, volMesh > &  vf,
const volScalarField nuEff,
const volVectorField U,
const volScalarField delta 
) const
inlineprivate

◆ TypeName()

TypeName ( "DEShybrid< Type >"  )

Runtime type information.

◆ blendingFactor()

virtual tmp<surfaceScalarField> blendingFactor ( const GeometricField< Type, fvPatchField, volMesh > &  vf) const
inlinevirtual

Return the face-based blending factor.

Implements blendedSchemeBase< Type >.

Definition at line 312 of file DEShybrid.H.

References DEShybrid< Type >::calcBlendingFactor(), delta, Foam::exit(), Foam::FatalError, FatalErrorInFunction, objectRegistry::foundObject(), objectRegistry::lookupObject(), and surfaceInterpolationScheme< Type >::mesh().

Referenced by DEShybrid< Type >::correction(), DEShybrid< Type >::interpolate(), and DEShybrid< Type >::weights().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ weights()

tmp<surfaceScalarField> weights ( const GeometricField< Type, fvPatchField, volMesh > &  vf) const
inlinevirtual

Return the interpolation weighting factors.

Implements surfaceInterpolationScheme< Type >.

Definition at line 361 of file DEShybrid.H.

References DEShybrid< Type >::blendingFactor(), DEShybrid< Type >::tScheme1_, and DEShybrid< Type >::tScheme2_.

Here is the call graph for this function:

◆ interpolate()

tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > interpolate ( const GeometricField< Type, fvPatchField, volMesh > &  vf) const
inlinevirtual

Return the face-interpolate of the given cell field.

with explicit correction

Reimplemented from surfaceInterpolationScheme< Type >.

Definition at line 377 of file DEShybrid.H.

References DEShybrid< Type >::blendingFactor(), DEShybrid< Type >::tScheme1_, and DEShybrid< Type >::tScheme2_.

Here is the call graph for this function:

◆ corrected()

virtual bool corrected ( ) const
inlinevirtual

Return true if this scheme uses an explicit correction.

Reimplemented from surfaceInterpolationScheme< Type >.

Definition at line 390 of file DEShybrid.H.

References DEShybrid< Type >::tScheme1_, and DEShybrid< Type >::tScheme2_.

Referenced by DEShybrid< Type >::correction().

Here is the caller graph for this function:

◆ correction()

virtual tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > correction ( const GeometricField< Type, fvPatchField, volMesh > &  vf) const
inlinevirtual

Return the explicit correction to the face-interpolate.

for the given field

Reimplemented from surfaceInterpolationScheme< Type >.

Definition at line 400 of file DEShybrid.H.

References DEShybrid< Type >::blendingFactor(), DEShybrid< Type >::corrected(), DEShybrid< Type >::tScheme1_, and DEShybrid< Type >::tScheme2_.

Here is the call graph for this function:

Field Documentation

◆ tScheme1_

tmp<surfaceInterpolationScheme<Type> > tScheme1_
private

◆ tScheme2_

tmp<surfaceInterpolationScheme<Type> > tScheme2_
private

◆ CDES_

scalar CDES_
private

DES Coefficient.

Definition at line 86 of file DEShybrid.H.

Referenced by DEShybrid< Type >::calcBlendingFactor().

◆ U0_

dimensionedScalar U0_
private

Reference velocity scale [m/s].

Definition at line 89 of file DEShybrid.H.

Referenced by DEShybrid< Type >::calcBlendingFactor(), and DEShybrid< Type >::DEShybrid().

◆ L0_

dimensionedScalar L0_
private

Reference length scale [m].

Definition at line 92 of file DEShybrid.H.

Referenced by DEShybrid< Type >::calcBlendingFactor(), and DEShybrid< Type >::DEShybrid().

◆ sigmaMin_

scalar sigmaMin_
private

Minimum bound for sigma (0 <= sigmaMin <= 1)

Definition at line 95 of file DEShybrid.H.

Referenced by DEShybrid< Type >::calcBlendingFactor(), and DEShybrid< Type >::DEShybrid().

◆ sigmaMax_

scalar sigmaMax_
private

Maximum bound for sigma (0 <= sigmaMax <= 1)

Definition at line 98 of file DEShybrid.H.

Referenced by DEShybrid< Type >::DEShybrid().

◆ CH1_

scalar CH1_
private

Scheme constants.

Definition at line 101 of file DEShybrid.H.

Referenced by DEShybrid< Type >::calcBlendingFactor().

◆ CH2_

scalar CH2_
private

Definition at line 102 of file DEShybrid.H.

Referenced by DEShybrid< Type >::calcBlendingFactor().

◆ CH3_

scalar CH3_
private

Definition at line 103 of file DEShybrid.H.

Referenced by DEShybrid< Type >::calcBlendingFactor().


The documentation for this class was generated from the following file: