Data Structures | Public Member Functions | Private Member Functions | Private Attributes
smoothDelta Class Reference
Inheritance diagram for smoothDelta:
Inheritance graph
[legend]
Collaboration diagram for smoothDelta:
Collaboration graph
[legend]

Data Structures

class  deltaData
 Public member class used by mesh-wave to propagate the delta-ratio. More...
 

Public Member Functions

 TypeName ("smooth")
 Runtime type information. More...
 
 smoothDelta (const word &name, const turbulenceModel &turbulence, const dictionary &)
 Construct from name, turbulenceModel and dictionary. More...
 
virtual ~smoothDelta ()
 Destructor. More...
 
virtual void read (const dictionary &)
 Read the LESdelta dictionary. More...
 
virtual void correct ()
 
- Public Member Functions inherited from LESdelta
 TypeName ("LESdelta")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, LESdelta, dictionary,(const word &name, const turbulenceModel &turbulence, const dictionary &dict),(name, turbulence, dict))
 
 LESdelta (const word &name, const turbulenceModel &turbulence)
 Construct from name, turbulenceModel and dictionary. More...
 
virtual ~LESdelta ()
 Destructor. More...
 
const turbulenceModelturbulence () const
 Return turbulenceModel reference. More...
 
virtual operator const volScalarField & () const
 

Private Member Functions

 smoothDelta (const smoothDelta &)
 Disallow default bitwise copy construct and assignment. More...
 
void operator= (const smoothDelta &)
 
void calcDelta ()
 
void setChangedFaces (const polyMesh &mesh, const volScalarField &delta, DynamicList< label > &changedFaces, DynamicList< deltaData > &changedFacesInfo)
 Fill changedFaces (with face labels) and changedFacesInfo. More...
 

Private Attributes

autoPtr< LESdeltageometricDelta_
 
scalar maxDeltaRatio_
 

Additional Inherited Members

- Static Public Member Functions inherited from LESdelta
static autoPtr< LESdeltaNew (const word &name, const turbulenceModel &turbulence, const dictionary &dict)
 Return a reference to the selected LES delta. More...
 
static autoPtr< LESdeltaNew (const word &name, const turbulenceModel &turbulence, const dictionary &dict, const dictionaryConstructorTable &)
 Return a reference to the selected LES delta. More...
 
- Protected Attributes inherited from LESdelta
const turbulenceModelturbulenceModel_
 
volScalarField delta_
 

Detailed Description

Definition at line 52 of file smoothDelta.H.

Constructor & Destructor Documentation

◆ smoothDelta() [1/2]

smoothDelta ( const smoothDelta )
private

Disallow default bitwise copy construct and assignment.

◆ smoothDelta() [2/2]

smoothDelta ( const word name,
const turbulenceModel turbulence,
const dictionary dict 
)

Construct from name, turbulenceModel and dictionary.

Definition at line 146 of file smoothDelta.C.

◆ ~smoothDelta()

virtual ~smoothDelta ( )
inlinevirtual

Destructor.

Definition at line 269 of file smoothDelta.H.

Member Function Documentation

◆ operator=()

void operator= ( const smoothDelta )
private

◆ calcDelta()

void calcDelta ( )
private

◆ setChangedFaces()

void setChangedFaces ( const polyMesh mesh,
const volScalarField delta,
DynamicList< label > &  changedFaces,
DynamicList< deltaData > &  changedFacesInfo 
)
private

Fill changedFaces (with face labels) and changedFacesInfo.

(with delta). This is the initial set of faces from which to start the waves. Since there might be lots of places with delta jumps we can follow various strategies for this initial 'seed'.

  • start from single cell/face and let FaceCellWave pick up all others from there. might be quite a few waves before everything settles.
  • start from all faces. Lots of initial transfers. We do something in between:
  • start from all faces where there is a jump. Since we cannot easily determine this across coupled patches (cyclic, processor) introduce all faces of these and let FaceCellWave sort it out.

Definition at line 45 of file smoothDelta.C.

References DynamicList::append(), polyPatch::coupled(), delta, forAll, mesh, DynamicList::shrink(), and polyPatch::start().

Referenced by smoothDelta::calcDelta().

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

◆ TypeName()

TypeName ( "smooth"  )

Runtime type information.

◆ read()

void read ( const dictionary dict)
virtual

Read the LESdelta dictionary.

Implements LESdelta.

Definition at line 173 of file smoothDelta.C.

References dict, dictionary::lookup(), and Foam::type().

Here is the call graph for this function:

◆ correct()

void correct ( )
virtual

Implements LESdelta.

Definition at line 183 of file smoothDelta.C.

Field Documentation

◆ geometricDelta_

autoPtr<LESdelta> geometricDelta_
private

Definition at line 216 of file smoothDelta.H.

Referenced by smoothDelta::calcDelta().

◆ maxDeltaRatio_

scalar maxDeltaRatio_
private

Definition at line 217 of file smoothDelta.H.

Referenced by smoothDelta::calcDelta().


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