Utility functions for mesh motion solvers. More...
Public Member Functions | |
TypeName ("fieldSmoother") | |
fieldSmoother (const polyMesh &) | |
virtual | ~fieldSmoother () |
void | smoothNormals (const label nIter, const bitSet &isMeshMasterPoint, const bitSet &isMeshMasterEdge, const labelList &fixedPoints, pointVectorField &normals) const |
void | smoothPatchNormals (const label nIter, const bitSet &isPatchMasterPoint, const bitSet &isPatchMasterEdge, const indirectPrimitivePatch &adaptPatch, pointField &normals) const |
template<class Type > | |
void | minSmoothField (const label nIter, const bitSet &isPatchMasterPoint, const bitSet &isPatchMasterEdge, const indirectPrimitivePatch &adaptPatch, const scalarField &fieldMin, Field< Type > &field) const |
void | smoothLambdaMuDisplacement (const label nIter, const bitSet &isMeshMasterPoint, const bitSet &isMeshMasterEdge, const bitSet &isSmoothable, vectorField &displacement) const |
Utility functions for mesh motion solvers.
Definition at line 46 of file fieldSmoother.H.
fieldSmoother | ( | const polyMesh & | mesh | ) |
Definition at line 33 of file fieldSmoother.C.
|
virtual |
Definition at line 41 of file fieldSmoother.C.
TypeName | ( | "fieldSmoother" | ) |
void smoothNormals | ( | const label | nIter, |
const bitSet & | isMeshMasterPoint, | ||
const bitSet & | isMeshMasterEdge, | ||
const labelList & | fixedPoints, | ||
pointVectorField & | normals | ||
) | const |
Definition at line 48 of file fieldSmoother.C.
References Foam::average(), meshRefinement::calculateEdgeWeights(), Foam::endl(), forAll, meshRefinement::gAverage(), Foam::identity(), Foam::Info, Foam::mag(), Foam::normalised(), bitSet::set(), syncTools::syncPointList(), bitSet::test(), and meshRefinement::weightedSum().
void smoothPatchNormals | ( | const label | nIter, |
const bitSet & | isPatchMasterPoint, | ||
const bitSet & | isPatchMasterEdge, | ||
const indirectPrimitivePatch & | adaptPatch, | ||
pointField & | normals | ||
) | const |
Definition at line 135 of file fieldSmoother.C.
References Foam::average(), meshRefinement::calculateEdgeWeights(), PrimitivePatch< FaceList, PointField >::edges(), Foam::endl(), forAll, meshRefinement::gAverage(), Foam::Info, Foam::mag(), PrimitivePatch< FaceList, PointField >::meshPoints(), Foam::normalised(), and meshRefinement::weightedSum().
void minSmoothField | ( | const label | nIter, |
const bitSet & | isPatchMasterPoint, | ||
const bitSet & | isPatchMasterEdge, | ||
const indirectPrimitivePatch & | adaptPatch, | ||
const scalarField & | fieldMin, | ||
Field< Type > & | field | ||
) | const |
Definition at line 25 of file fieldSmootherTemplates.C.
References Foam::fac::average(), PrimitivePatch< FaceList, PointField >::edges(), Foam::endl(), field(), forAll, Foam::gAverage(), Foam::Info, Foam::mag(), PrimitivePatch< FaceList, PointField >::meshPoints(), and PrimitivePatch< FaceList, PointField >::nPoints().
void smoothLambdaMuDisplacement | ( | const label | nIter, |
const bitSet & | isMeshMasterPoint, | ||
const bitSet & | isMeshMasterEdge, | ||
const bitSet & | isSmoothable, | ||
vectorField & | displacement | ||
) | const |
Definition at line 200 of file fieldSmoother.C.
References Foam::average(), meshRefinement::calculateEdgeWeights(), Foam::endl(), forAll, meshRefinement::gAverage(), Foam::identity(), Foam::Info, lambda(), Foam::mag(), Foam::constant::physicoChemical::mu, bitSet::test(), and meshRefinement::weightedSum().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.