volSurfaceMapping Class Reference

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

Public Member Functions

 volSurfaceMapping (const faMesh &mesh)
 Construct from mesh. More...
 
 ~volSurfaceMapping ()=default
 Destructor. More...
 
template<class Type >
tmp< Field< Type > > mapToSurface (const typename GeometricField< Type, fvPatchField, volMesh >::Boundary &df) const
 Map droplet cloud sources 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
 
template<class Type >
Foam::tmp< Foam::Field< Type > > mapToSurface (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 56 of file volSurfaceMapping.H.

Constructor & Destructor Documentation

◆ volSurfaceMapping()

volSurfaceMapping ( const faMesh mesh)
inline

Construct from mesh.

Definition at line 78 of file volSurfaceMapping.H.

◆ ~volSurfaceMapping()

~volSurfaceMapping ( )
default

Destructor.

Member Function Documentation

◆ mapToSurface() [1/2]

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

Map droplet cloud sources 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 72 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

Definition at line 104 of file volSurfaceMapping.C.

References mapToVolume().

Here is the call graph for this function:

◆ mapToSurface() [2/2]

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

Definition at line 34 of file volSurfaceMapping.C.

References polyMesh::boundaryMesh(), forAll, primitiveMesh::nFaces(), patchID, tmp< T >::ref(), polyBoundaryMesh::whichPatch(), and Foam::Zero.

Here is the call graph for this function:

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