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 |
Volume to surface and surface to volume mapping.
Author Hrvoje Jasak, Wikki Ltd.
Definition at line 57 of file volSurfaceMapping.H.
|
inline |
Construct from mesh.
Definition at line 70 of file volSurfaceMapping.H.
|
delete |
No copy construct.
|
default |
Destructor.
|
delete |
No copy assignment.
tmp<Field<Type> > mapToSurface | ( | const typename GeometricField< Type, fvPatchField, volMesh >::Boundary & | df | ) | const |
Map Boundary field to surface.
Referenced by liquidFilmModel::preEvolveRegion().
tmp<Field<Type> > mapInternalToSurface | ( | const typename GeometricField< Type, fvPatchField, volMesh >::Boundary & | df | ) | const |
Map patch internal field 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 135 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 |
Map surface tmp field to volume boundary field.
Definition at line 167 of file volSurfaceMapping.C.
References mapToVolume().
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().
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().
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.
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.
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.