volSurfaceMapping Class Reference

Volume to surface and surface to volume mapping. More...

Public Member Functions

 volSurfaceMapping (const faMesh &mesh)
 Construct from mesh. More...
 
 volSurfaceMapping (const volSurfaceMapping &)=delete
 No copy construct. More...
 
void operator= (const volSurfaceMapping &)=delete
 No copy assignment. More...
 
 ~volSurfaceMapping ()=default
 Destructor. More...
 
template<class Type >
tmp< Field< Type > > mapToSurface (const typename GeometricField< Type, fvPatchField, volMesh >::Boundary &df) const
 Map Boundary field to surface. More...
 
template<class Type >
tmp< Field< Type > > mapToSurface (const Field< Type > &f) const
 Map vol Field to surface Field. More...
 
template<class Type >
tmp< Field< Type > > mapInternalToSurface (const typename GeometricField< Type, fvPatchField, volMesh >::Boundary &df) const
 Map patch internal field to surface. More...
 
template<class Type >
void mapToVolume (const GeometricField< Type, faPatchField, areaMesh > &af, typename GeometricField< Type, fvPatchField, volMesh >::Boundary &bf) const
 Map surface field to volume boundary field. More...
 
template<class Type >
void mapToVolume (const tmp< GeometricField< Type, faPatchField, areaMesh >> &taf, typename GeometricField< Type, fvPatchField, volMesh >::Boundary &bf) const
 Map surface tmp field to volume boundary field. More...
 
template<class Type >
void mapToField (const GeometricField< Type, faPatchField, areaMesh > &af, Field< Type > &f) const
 Map surface field to field. More...
 
template<class Type >
void mapToField (const Field< Type > &af, Field< Type > &f) const
 Map surface field to volume field. More...
 
template<class Type >
Foam::tmp< Foam::Field< Type > > mapToSurface (const typename GeometricField< Type, fvPatchField, volMesh >::Boundary &df) const
 
template<class Type >
Foam::tmp< Foam::Field< Type > > mapToSurface (const Field< Type > &f) const
 
template<class Type >
Foam::tmp< Foam::Field< Type > > mapInternalToSurface (const typename GeometricField< Type, fvPatchField, volMesh >::Boundary &df) const
 

Detailed Description

Volume to surface and surface to volume mapping.

Author Hrvoje Jasak, Wikki Ltd.

Source files

Definition at line 57 of file volSurfaceMapping.H.

Constructor & Destructor Documentation

◆ volSurfaceMapping() [1/2]

volSurfaceMapping ( const faMesh mesh)
inline

Construct from mesh.

Definition at line 70 of file volSurfaceMapping.H.

◆ volSurfaceMapping() [2/2]

volSurfaceMapping ( const volSurfaceMapping )
delete

No copy construct.

◆ ~volSurfaceMapping()

~volSurfaceMapping ( )
default

Destructor.

Member Function Documentation

◆ operator=()

void operator= ( const volSurfaceMapping )
delete

No copy assignment.

◆ mapToSurface() [1/4]

tmp<Field<Type> > mapToSurface ( const typename GeometricField< Type, fvPatchField, volMesh >::Boundary &  df) const

Map Boundary field to surface.

Referenced by liquidFilmModel::preEvolveRegion().

Here is the caller graph for this function:

◆ mapToSurface() [2/4]

tmp<Field<Type> > mapToSurface ( const Field< Type > &  f) const

Map vol Field to surface Field.

◆ mapInternalToSurface() [1/2]

tmp<Field<Type> > mapInternalToSurface ( const typename GeometricField< Type, fvPatchField, volMesh >::Boundary &  df) const

Map patch internal field to surface.

◆ mapToVolume() [1/2]

void mapToVolume ( const GeometricField< Type, faPatchField, areaMesh > &  af,
typename GeometricField< Type, fvPatchField, volMesh >::Boundary &  bf 
) const

Map surface field to volume boundary field.

Definition at line 135 of file volSurfaceMapping.C.

References polyMesh::boundaryMesh(), forAll, GeometricField< Type, PatchField, GeoMesh >::internalField(), primitiveMesh::nFaces(), patchID, and polyBoundaryMesh::whichPatch().

Here is the call graph for this function:

◆ mapToVolume() [2/2]

void mapToVolume ( const tmp< GeometricField< Type, faPatchField, areaMesh >> &  taf,
typename GeometricField< Type, fvPatchField, volMesh >::Boundary &  bf 
) const

Map surface tmp field to volume boundary field.

Definition at line 167 of file volSurfaceMapping.C.

References mapToVolume().

Here is the call graph for this function:

◆ mapToField() [1/2]

void mapToField ( const GeometricField< Type, faPatchField, areaMesh > &  af,
Field< Type > &  f 
) const

Map surface field to field.

Assumes Field faces in the same order as Boundary

Definition at line 180 of file volSurfaceMapping.C.

References f(), and GeometricField< Type, PatchField, GeoMesh >::internalField().

Referenced by ThermoSurfaceFilm< CloudType >::cacheFilmFields(), and SurfaceFilmModel< Foam::KinematicCloud< Cloud< basicKinematicCollidingParcel > > >::cacheFilmFields().

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

◆ mapToField() [2/2]

void mapToField ( const Field< Type > &  af,
Field< Type > &  f 
) const

Map surface field to volume field.

Assumes Field faces in the same order as Boundary

Definition at line 193 of file volSurfaceMapping.C.

References polyMesh::boundaryMesh(), f(), forAll, primitiveMesh::nFaces(), patchID, and polyBoundaryMesh::whichPatch().

Here is the call graph for this function:

◆ mapToSurface() [3/4]

Foam::tmp<Foam::Field<Type> > mapToSurface ( const typename GeometricField< Type, fvPatchField, volMesh >::Boundary &  df) const

Definition at line 35 of file volSurfaceMapping.C.

References polyMesh::boundaryMesh(), forAll, Foam::New(), primitiveMesh::nFaces(), patchID, polyBoundaryMesh::whichPatch(), and Foam::Zero.

Here is the call graph for this function:

◆ mapToSurface() [4/4]

Foam::tmp<Foam::Field<Type> > mapToSurface ( const Field< Type > &  f) const

Definition at line 70 of file volSurfaceMapping.C.

References polyMesh::boundaryMesh(), f(), forAll, Foam::New(), primitiveMesh::nFaces(), patchID, polyBoundaryMesh::whichPatch(), and Foam::Zero.

Here is the call graph for this function:

◆ mapInternalToSurface() [2/2]

Foam::tmp<Foam::Field<Type> > mapInternalToSurface ( const typename GeometricField< Type, fvPatchField, volMesh >::Boundary &  df) const

Definition at line 100 of file volSurfaceMapping.C.

References polyMesh::boundaryMesh(), forAll, Foam::New(), primitiveMesh::nFaces(), patchID, polyBoundaryMesh::whichPatch(), and Foam::Zero.

Here is the call graph for this function:

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