Distance calculation for cells with face on a wall. Searches pointNeighbours to find closest. More...
Public Member Functions | |
nearWallDist (const fvMesh &mesh) | |
Construct from components. More... | |
virtual | ~nearWallDist () |
Destructor. More... | |
const volScalarField::GeometricBoundaryField & | y () const |
virtual void | correct () |
Correct for mesh geom/topo changes. More... | |
![]() | |
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... | |
![]() | |
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 fvMesh & | mesh_ |
Reference to mesh. More... | |
Additional Inherited Members | |
![]() | |
typedef pTraits< Type >::cmptType | cmptType |
Component type. More... | |
![]() | |
static tmp< FieldField< Field, Type > > | NewCalculatedType (const FieldField< Field, Type2 > &ff) |
Return a pointer to a new calculatedFvPatchFieldField created on. More... | |
Distance calculation for cells with face on a wall. Searches pointNeighbours to find closest.
Definition at line 51 of file nearWallDist.H.
|
private |
Disallow default bitwise copy construct.
nearWallDist | ( | const fvMesh & | mesh | ) |
Construct from components.
Definition at line 94 of file nearWallDist.C.
References nearWallDist::calculate().
|
virtual |
Destructor.
Definition at line 110 of file nearWallDist.C.
|
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().
|
private |
Disallow default bitwise assignment.
|
inline |
Definition at line 87 of file nearWallDist.H.
Referenced by yPlus::calcYPlus(), and yPlusWriter::write().
|
virtual |
Correct for mesh geom/topo changes.
Definition at line 116 of file nearWallDist.C.
References forAll, setSize(), and PtrList::size().
|
private |
Reference to mesh.
Definition at line 58 of file nearWallDist.H.
Referenced by nearWallDist::calculate().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.