Public Member Functions | List of all members
reconstructedDistanceFunction Class Reference

Calculates a reconstructed distance function. More...

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

Public Member Functions

 reconstructedDistanceFunction (const fvMesh &mesh)
 
void markCellsNearSurf (const boolList &interfaceCells, const label neiRingLevel)
 
const volScalarFieldconstructRDF (const boolList &nextToInterface, const volVectorField &centre, const volVectorField &normal, zoneDistribute &distribute, bool updateStencil=true)
 
void updateContactAngle (const volScalarField &alpha, const volVectorField &U, surfaceVectorField::Boundary &nHatb)
 
const volScalarFieldcellDistLevel () const noexcept
 
const boolListnextToInterface () const noexcept
 
- Public Member Functions inherited from GeometricField
 TypeName ("GeometricField")
 
 GeometricField (const IOobject &io, const Mesh &mesh, const dimensionSet &ds, const word &patchFieldType=PatchField< Type >::calculatedType())
 
 GeometricField (const IOobject &io, const Mesh &mesh, const dimensionSet &ds, const wordList &wantedPatchTypes, const wordList &actualPatchTypes=wordList())
 
 GeometricField (const IOobject &io, const Mesh &mesh, const dimensioned< Type > &dt, const word &patchFieldType=PatchField< Type >::calculatedType())
 
 GeometricField (const IOobject &io, const Mesh &mesh, const dimensioned< Type > &dt, const wordList &wantedPatchTypes, const wordList &actualPatchTypes=wordList())
 
 GeometricField (const IOobject &io, const Internal &diField, const PtrList< PatchField< Type >> &ptfl)
 
 GeometricField (const IOobject &io, const Mesh &mesh, const dimensionSet &ds, const Field< Type > &iField, const word &patchFieldType=PatchField< Type >::calculatedType())
 
 GeometricField (const IOobject &io, const Mesh &mesh, const dimensionSet &ds, Field< Type > &&iField, const word &patchFieldType=PatchField< Type >::calculatedType())
 
 GeometricField (const IOobject &io, const Mesh &mesh, const dimensionSet &ds, const Field< Type > &iField, const PtrList< PatchField< Type >> &ptfl)
 
 GeometricField (const IOobject &io, const Mesh &mesh, const bool readOldTime=true)
 
 GeometricField (const IOobject &io, const Mesh &mesh, const dictionary &dict)
 
 GeometricField (const GeometricField< Type, PatchField, GeoMesh > &gf)
 
 GeometricField (const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf)
 
 GeometricField (const IOobject &io, const GeometricField< Type, PatchField, GeoMesh > &gf)
 
 GeometricField (const IOobject &io, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf)
 
 GeometricField (const word &newName, const GeometricField< Type, PatchField, GeoMesh > &gf)
 
 GeometricField (const word &newName, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf)
 
 GeometricField (const IOobject &io, const GeometricField< Type, PatchField, GeoMesh > &gf, const word &patchFieldType)
 
 GeometricField (const IOobject &io, const GeometricField< Type, PatchField, GeoMesh > &gf, const labelList &patchIDs, const word &patchFieldType)
 
 GeometricField (const IOobject &io, const GeometricField< Type, PatchField, GeoMesh > &gf, const wordList &patchFieldTypes, const wordList &actualPatchTypes=wordList())
 
 GeometricField (const IOobject &io, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf, const wordList &patchFieldTypes, const wordList &actualPatchTypes=wordList())
 
tmp< GeometricField< Type, PatchField, GeoMesh > > clone () const
 
virtual ~GeometricField ()
 
Internalref (const bool updateAccessTime=true)
 
const InternalinternalField () const
 
const Internalv () const
 
Internal::FieldTypeprimitiveFieldRef (const bool updateAccessTime=true)
 
const Internal::FieldTypeprimitiveField () const
 
BoundaryboundaryFieldRef (const bool updateAccessTime=true)
 
const BoundaryboundaryField () const
 
label timeIndex () const
 
label & timeIndex ()
 
void storeOldTimes () const
 
void storeOldTime () const
 
label nOldTimes () const
 
const GeometricField< Type, PatchField, GeoMesh > & oldTime () const
 
GeometricField< Type, PatchField, GeoMesh > & oldTime ()
 
void storePrevIter () const
 
const GeometricField< Type, PatchField, GeoMesh > & prevIter () const
 
void correctBoundaryConditions ()
 
bool needReference () const
 
tmp< GeometricField< cmptType, PatchField, GeoMesh > > component (const direction) const
 
bool writeData (Ostream &) const
 
tmp< GeometricField< Type, PatchField, GeoMesh > > T () const
 
void relax (const scalar alpha)
 
void relax ()
 
word select (bool final) const
 
void writeMinMax (Ostream &os) const
 
void negate ()
 
void replace (const direction d, const GeometricField< cmptType, PatchField, GeoMesh > &gcf)
 
void replace (const direction d, const dimensioned< cmptType > &ds)
 
void min (const dimensioned< Type > &dt)
 
void max (const dimensioned< Type > &dt)
 
void clip (const dimensioned< MinMax< Type >> &range)
 
void clip (const dimensioned< Type > &minVal, const dimensioned< Type > &maxVal)
 
void maxMin (const dimensioned< Type > &minVal, const dimensioned< Type > &maxVal)
 
const Internaloperator() () const
 
void operator= (const GeometricField< Type, PatchField, GeoMesh > &)
 
void operator= (const tmp< GeometricField< Type, PatchField, GeoMesh >> &)
 
void operator= (const dimensioned< Type > &)
 
void operator== (const tmp< GeometricField< Type, PatchField, GeoMesh >> &)
 
void operator== (const dimensioned< Type > &)
 
void operator+= (const GeometricField< Type, PatchField, GeoMesh > &)
 
void operator+= (const tmp< GeometricField< Type, PatchField, GeoMesh >> &)
 
void operator-= (const GeometricField< Type, PatchField, GeoMesh > &)
 
void operator-= (const tmp< GeometricField< Type, PatchField, GeoMesh >> &)
 
void operator*= (const GeometricField< scalar, PatchField, GeoMesh > &)
 
void operator*= (const tmp< GeometricField< scalar, PatchField, GeoMesh >> &)
 
void operator/= (const GeometricField< scalar, PatchField, GeoMesh > &)
 
void operator/= (const tmp< GeometricField< scalar, PatchField, GeoMesh >> &)
 
void operator+= (const dimensioned< Type > &)
 
void operator-= (const dimensioned< Type > &)
 
void operator*= (const dimensioned< scalar > &)
 
void operator/= (const dimensioned< scalar > &)
 
tmp< GeometricField< scalar, faPatchField, areaMesh > > component (const direction) const
 
void replace (const direction, const GeometricField< scalar, faPatchField, areaMesh > &gsf)
 
tmp< GeometricField< scalar, faPatchField, areaMesh > > component (const direction) const
 
void replace (const direction, const GeometricField< scalar, faPatchField, areaMesh > &sf)
 
tmp< GeometricField< scalar, fvPatchField, volMesh > > component (const direction) const
 
void replace (const direction, const GeometricField< scalar, fvPatchField, volMesh > &gsf)
 
tmp< GeometricField< scalar, fvPatchField, volMesh > > component (const direction) const
 
void replace (const direction, const GeometricField< scalar, fvPatchField, volMesh > &sf)
 

Additional Inherited Members

- Public Types inherited from GeometricField
typedef GeoMesh::Mesh Mesh
 
typedef GeoMesh::BoundaryMesh BoundaryMesh
 
typedef DimensionedField< Type, GeoMeshInternal
 
typedef PatchField< Type > Patch
 
typedef Field< Type >::cmptType cmptType
 
- Static Public Member Functions inherited from GeometricField
static const GeometricField< Type, PatchField, GeoMesh > & null ()
 
static tmp< GeometricField< Type, PatchField, GeoMesh > > New (const word &name, const Mesh &mesh, const dimensionSet &ds, const word &patchFieldType=PatchField< Type >::calculatedType())
 
static tmp< GeometricField< Type, PatchField, GeoMesh > > New (const word &name, const Mesh &mesh, const dimensionSet &ds, const Field< Type > &iField, const word &patchFieldType=PatchField< Type >::calculatedType())
 
static tmp< GeometricField< Type, PatchField, GeoMesh > > New (const word &name, const Mesh &mesh, const dimensionSet &ds, Field< Type > &&iField, const word &patchFieldType=PatchField< Type >::calculatedType())
 
static tmp< GeometricField< Type, PatchField, GeoMesh > > New (const word &name, const Mesh &mesh, const dimensioned< Type > &dt, const word &patchFieldType=PatchField< Type >::calculatedType())
 
static tmp< GeometricField< Type, PatchField, GeoMesh > > New (const word &name, const Mesh &mesh, const dimensioned< Type > &dt, const wordList &patchFieldTypes, const wordList &actualPatchTypes=wordList())
 
static tmp< GeometricField< Type, PatchField, GeoMesh > > New (const word &newName, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf)
 
static tmp< GeometricField< Type, PatchField, GeoMesh > > New (const word &newName, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf, const wordList &patchFieldTypes, const wordList &actualPatchTypes=wordList())
 

Detailed Description

Calculates a reconstructed distance function.

Original code supplied by Henning Scheufler, DLR (2019)

Source files

Definition at line 54 of file reconstructedDistanceFunction.H.

Constructor & Destructor Documentation

◆ reconstructedDistanceFunction()

reconstructedDistanceFunction ( const fvMesh mesh)
explicit

Definition at line 190 of file reconstructedDistanceFunction.C.

Member Function Documentation

◆ markCellsNearSurf()

void markCellsNearSurf ( const boolList interfaceCells,
const label  neiRingLevel 
)

Definition at line 74 of file reconstructedDistanceFunction.C.

References forAll, forAllConstIters(), Foam::constant::mathematical::pi(), and syncTools::syncPointMap().

Here is the call graph for this function:

◆ constructRDF()

const Foam::volScalarField & constructRDF ( const boolList nextToInterface,
const volVectorField centre,
const volVectorField normal,
zoneDistribute distribute,
bool  updateStencil = true 
)

◆ updateContactAngle()

void updateContactAngle ( const volScalarField alpha,
const volVectorField U,
surfaceVectorField::Boundary nHatb 
)

◆ cellDistLevel()

const volScalarField& cellDistLevel ( ) const
inlinenoexcept

Definition at line 106 of file reconstructedDistanceFunction.H.

◆ nextToInterface()

const boolList& nextToInterface ( ) const
inlinenoexcept

Definition at line 111 of file reconstructedDistanceFunction.H.


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