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< surfaceScalarField > | blendingFactor (const GeometricField< Type, fvPatchField, volMesh > &vf) const |
Return the face-based blending factor. More... | |
tmp< surfaceScalarField > | weights (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... | |
![]() | |
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 fvMesh & | mesh () 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... | |
![]() | |
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... | |
![]() | |
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< surfaceScalarField > | calcBlendingFactor (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 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... | |
Notes
Definition at line 72 of file DEShybrid.H.
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.
|
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().
|
private |
Disallow default bitwise assignment.
|
inlineprivate |
Calculate the blending factor.
Definition at line 116 of file DEShybrid.H.
References A(), DEShybrid< Type >::CDES_, DEShybrid< Type >::CH1_, DEShybrid< Type >::CH2_, DEShybrid< Type >::CH3_, delta, Foam::e, g, Foam::fvc::grad(), Foam::fvc::interpolate(), DEShybrid< Type >::L0_, Foam::mag(), Foam::max(), surfaceInterpolationScheme< Type >::mesh(), IOobject::NO_READ, IOobject::NO_WRITE, Foam::pow(), Foam::pow4(), DEShybrid< Type >::sigmaMin_, Foam::skew(), Foam::sqr(), Foam::sqrt(), Foam::symm(), Foam::tanh(), timeName, U, and DEShybrid< Type >::U0_.
Referenced by DEShybrid< Type >::blendingFactor().
TypeName | ( | "DEShybrid< Type >" | ) |
Runtime type information.
|
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().
|
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_.
|
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_.
|
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().
|
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_.
|
private |
Scheme 1.
Definition at line 80 of file DEShybrid.H.
Referenced by DEShybrid< Type >::corrected(), DEShybrid< Type >::correction(), DEShybrid< Type >::interpolate(), and DEShybrid< Type >::weights().
|
private |
Scheme 2.
Definition at line 83 of file DEShybrid.H.
Referenced by DEShybrid< Type >::corrected(), DEShybrid< Type >::correction(), DEShybrid< Type >::interpolate(), and DEShybrid< Type >::weights().
|
private |
DES Coefficient.
Definition at line 86 of file DEShybrid.H.
Referenced by DEShybrid< Type >::calcBlendingFactor().
|
private |
Reference velocity scale [m/s].
Definition at line 89 of file DEShybrid.H.
Referenced by DEShybrid< Type >::calcBlendingFactor(), and DEShybrid< Type >::DEShybrid().
|
private |
Reference length scale [m].
Definition at line 92 of file DEShybrid.H.
Referenced by DEShybrid< Type >::calcBlendingFactor(), and DEShybrid< Type >::DEShybrid().
|
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().
|
private |
Maximum bound for sigma (0 <= sigmaMax <= 1)
Definition at line 98 of file DEShybrid.H.
Referenced by DEShybrid< Type >::DEShybrid().
|
private |
Scheme constants.
Definition at line 101 of file DEShybrid.H.
Referenced by DEShybrid< Type >::calcBlendingFactor().
|
private |
Definition at line 102 of file DEShybrid.H.
Referenced by DEShybrid< Type >::calcBlendingFactor().
|
private |
Definition at line 103 of file DEShybrid.H.
Referenced by DEShybrid< Type >::calcBlendingFactor().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.