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 |
Volume to surface and surface to volume mapping.
Author Hrvoje Jasak, Wikki Ltd.
Definition at line 56 of file volSurfaceMapping.H.
|
inline |
Construct from mesh.
Definition at line 78 of file volSurfaceMapping.H.
|
default |
Destructor.
| tmp<Field<Type> > mapToSurface | ( | const typename GeometricField< Type, fvPatchField, volMesh >::Boundary & | df | ) | const |
Map droplet cloud sources to surface.
| 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().
| 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().
| 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.