Public Member Functions | Private Member Functions | Private Attributes
nearWallDist Class Reference

Distance calculation for cells with face on a wall. Searches pointNeighbours to find closest. More...

Inheritance diagram for nearWallDist:
Inheritance graph
[legend]
Collaboration diagram for nearWallDist:
Collaboration graph
[legend]

Public Member Functions

 nearWallDist (const fvMesh &mesh)
 Construct from components. More...
 
virtual ~nearWallDist ()
 Destructor. More...
 
const volScalarField::GeometricBoundaryFieldy () const
 
virtual void correct ()
 Correct for mesh geom/topo changes. More...
 
- Public Member Functions inherited from GeometricField::GeometricBoundaryField
 GeometricBoundaryField (const BoundaryMesh &)
 Construct from a BoundaryMesh. More...
 
 GeometricBoundaryField (const BoundaryMesh &, const DimensionedInternalField &, const word &)
 Construct from a BoundaryMesh,. More...
 
 GeometricBoundaryField (const BoundaryMesh &, const DimensionedInternalField &, const wordList &wantedPatchTypes, const wordList &actualPatchTypes=wordList())
 Construct from a BoundaryMesh,. More...
 
 GeometricBoundaryField (const BoundaryMesh &, const DimensionedInternalField &, const PtrList< PatchField< Type > > &)
 Construct from a BoundaryMesh,. More...
 
 GeometricBoundaryField (const DimensionedInternalField &, const GeometricBoundaryField &)
 Construct as copy setting the reference to the internal field. More...
 
 GeometricBoundaryField (const GeometricBoundaryField &)
 Construct as copy. More...
 
 GeometricBoundaryField (const BoundaryMesh &, const DimensionedInternalField &, const dictionary &)
 Construct from dictionary. More...
 
void readField (const DimensionedField< Type, GeoMesh > &field, const dictionary &dict)
 Read the boundary field. More...
 
void updateCoeffs ()
 Update the boundary condition coefficients. More...
 
void evaluate ()
 Evaluate boundary conditions. More...
 
wordList types () const
 Return a list of the patch types. More...
 
GeometricBoundaryField boundaryInternalField () const
 Return BoundaryField of the cell values neighbouring. More...
 
LduInterfaceFieldPtrsList< Type > interfaces () const
 Return a list of pointers for each patch field with only those. More...
 
lduInterfaceFieldPtrsList scalarInterfaces () const
 Return a list of pointers for each patch field with only those. More...
 
void writeEntry (const word &keyword, Ostream &os) const
 Write boundary field as dictionary entry. More...
 
void operator= (const GeometricBoundaryField &)
 Assignment to BoundaryField<Type, PatchField, BoundaryMesh> More...
 
void operator= (const FieldField< PatchField, Type > &)
 Assignment to FieldField<PatchField, Type> More...
 
void operator= (const Type &)
 Assignment to Type. More...
 
void operator== (const GeometricBoundaryField &)
 Forced assignment to. More...
 
void operator== (const FieldField< PatchField, Type > &)
 Forced assignment to FieldField<PatchField, Type> More...
 
void operator== (const Type &)
 Forced assignment to Type. More...
 
- Public Member Functions inherited from FieldField< PatchField, Type >
 FieldField ()
 Construct null. More...
 
 FieldField (const label)
 Construct given size. More...
 
 FieldField (const word &, const FieldField< Field, Type > &)
 Construct using the Field sizes from the given FieldField. More...
 
 FieldField (const FieldField< Field, Type > &)
 Construct as copy. More...
 
 FieldField (FieldField< Field, Type > &, bool reUse)
 Construct as copy or re-use as specified. More...
 
 FieldField (const PtrList< Field< Type > > &)
 Construct as copy of a PtrList<Field, Type> More...
 
 FieldField (const tmp< FieldField< Field, Type > > &)
 Construct as copy of tmp<FieldField> More...
 
 FieldField (Istream &)
 Construct from Istream. More...
 
tmp< FieldField< Field, Type > > clone () const
 Clone. More...
 
void negate ()
 Negate this field. More...
 
tmp< FieldField< Field, cmptType > > component (const direction) const
 Return a component field of the field. More...
 
void replace (const direction, const FieldField< Field, cmptType > &)
 Replace a component field of the field. More...
 
void replace (const direction, const cmptType &)
 Replace a component field of the field. More...
 
tmp< FieldField< Field, Type > > T () const
 Return the field transpose (only defined for second rank tensors) More...
 
void operator= (const FieldField< Field, Type > &)
 
void operator= (const tmp< FieldField< Field, Type > > &)
 
void operator= (const Type &)
 
void operator+= (const FieldField< Field, Type > &)
 
void operator+= (const tmp< FieldField< Field, Type > > &)
 
void operator+= (const Type &)
 
void operator-= (const FieldField< Field, Type > &)
 
void operator-= (const tmp< FieldField< Field, Type > > &)
 
void operator-= (const Type &)
 
void operator*= (const FieldField< Field, scalar > &)
 
void operator*= (const tmp< FieldField< Field, scalar > > &)
 
void operator*= (const scalar &)
 
void operator/= (const FieldField< Field, scalar > &)
 
void operator/= (const tmp< FieldField< Field, scalar > > &)
 
void operator/= (const scalar &)
 

Private Member Functions

void calculate ()
 Do all calculations. More...
 
 nearWallDist (const nearWallDist &)
 Disallow default bitwise copy construct. More...
 
void operator= (const nearWallDist &)
 Disallow default bitwise assignment. More...
 

Private Attributes

const fvMeshmesh_
 Reference to mesh. More...
 

Additional Inherited Members

- Public Types inherited from FieldField< PatchField, Type >
typedef pTraits< Type >::cmptType cmptType
 Component type. More...
 
- Static Public Member Functions inherited from FieldField< PatchField, Type >
static tmp< FieldField< Field, Type > > NewCalculatedType (const FieldField< Field, Type2 > &ff)
 Return a pointer to a new calculatedFvPatchFieldField created on. More...
 

Detailed Description

Distance calculation for cells with face on a wall. Searches pointNeighbours to find closest.

Source files

Definition at line 51 of file nearWallDist.H.

Constructor & Destructor Documentation

◆ nearWallDist() [1/2]

nearWallDist ( const nearWallDist )
private

Disallow default bitwise copy construct.

◆ nearWallDist() [2/2]

nearWallDist ( const fvMesh mesh)

Construct from components.

Definition at line 94 of file nearWallDist.C.

References nearWallDist::calculate().

Here is the call graph for this function:

◆ ~nearWallDist()

~nearWallDist ( )
virtual

Destructor.

Definition at line 110 of file nearWallDist.C.

Member Function Documentation

◆ calculate()

void calculate ( )
private

Do all calculations.

Definition at line 34 of file nearWallDist.C.

References fvMesh::boundary(), fvMesh::C(), fvPatch::faceCells(), forAll, cellDistFuncs::getPatchIDs(), cellDistFuncs::getPointNeighbours(), cellDistFuncs::maxPatchSize(), nearWallDist::mesh_, fvPatch::patch(), and cellDistFuncs::smallestDist().

Referenced by nearWallDist::nearWallDist().

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

◆ operator=()

void operator= ( const nearWallDist )
private

Disallow default bitwise assignment.

◆ y()

const volScalarField::GeometricBoundaryField& y ( ) const
inline

Definition at line 87 of file nearWallDist.H.

Referenced by yPlus::calcYPlus(), and yPlusWriter::write().

Here is the caller graph for this function:

◆ correct()

void correct ( )
virtual

Correct for mesh geom/topo changes.

Definition at line 116 of file nearWallDist.C.

References forAll, setSize(), and PtrList::size().

Here is the call graph for this function:

Field Documentation

◆ mesh_

const fvMesh& mesh_
private

Reference to mesh.

Definition at line 58 of file nearWallDist.H.

Referenced by nearWallDist::calculate().


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