Finite volume reconstructor for volume and surface fields. More...
Classes | |
class | fvPatchFieldReconstructor |
Mapper for sizing only - does not do any actual mapping. More... | |
Public Member Functions | |
fvFieldReconstructor (fvMesh &mesh, const PtrList< fvMesh > &procMeshes, const PtrList< labelIOList > &faceProcAddressing, const PtrList< labelIOList > &cellProcAddressing, const PtrList< labelIOList > &boundaryProcAddressing) | |
Construct from components. More... | |
fvFieldReconstructor (const fvFieldReconstructor &)=delete | |
Disallow default bitwise copy construction. More... | |
label | nReconstructed () const |
Return number of fields reconstructed. More... | |
template<class Type > | |
tmp< DimensionedField< Type, volMesh > > | reconstructFvVolumeInternalField (const IOobject &fieldIoObject, const PtrList< DimensionedField< Type, volMesh >> &procFields) const |
Reconstruct volume internal field. More... | |
template<class Type > | |
tmp< DimensionedField< Type, volMesh > > | reconstructFvVolumeInternalField (const IOobject &fieldIoObject) const |
Read and reconstruct volume internal field. More... | |
template<class Type > | |
tmp< GeometricField< Type, fvPatchField, volMesh > > | reconstructFvVolumeField (const IOobject &fieldIoObject, const PtrList< GeometricField< Type, fvPatchField, volMesh >> &) const |
Reconstruct volume field. More... | |
template<class Type > | |
tmp< GeometricField< Type, fvPatchField, volMesh > > | reconstructFvVolumeField (const IOobject &fieldIoObject) const |
Read and reconstruct volume field. More... | |
template<class Type > | |
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > | reconstructFvSurfaceField (const IOobject &fieldIoObject, const PtrList< GeometricField< Type, fvsPatchField, surfaceMesh >> &) const |
Reconstruct surface field. More... | |
template<class Type > | |
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > | reconstructFvSurfaceField (const IOobject &fieldIoObject) const |
Read and reconstruct surface field. More... | |
template<class Type > | |
void | reconstructFvVolumeInternalFields (const IOobjectList &objects, const HashSet< word > &selectedFields) |
Read, reconstruct and write all/selected volume internal fields. More... | |
template<class Type > | |
void | reconstructFvVolumeFields (const IOobjectList &objects, const HashSet< word > &selectedFields) |
Read, reconstruct and write all/selected volume fields. More... | |
template<class Type > | |
void | reconstructFvSurfaceFields (const IOobjectList &objects, const HashSet< word > &selectedFields) |
Read, reconstruct and write all/selected surface fields. More... | |
void | operator= (const fvFieldReconstructor &)=delete |
Disallow default bitwise assignment. More... | |
template<class Type > | |
Foam::tmp< Foam::DimensionedField< Type, Foam::volMesh > > | reconstructFvVolumeInternalField (const IOobject &fieldIoObject, const PtrList< DimensionedField< Type, volMesh >> &procFields) const |
template<class Type > | |
Foam::tmp< Foam::DimensionedField< Type, Foam::volMesh > > | reconstructFvVolumeInternalField (const IOobject &fieldIoObject) const |
template<class Type > | |
Foam::tmp< Foam::GeometricField< Type, Foam::fvPatchField, Foam::volMesh > > | reconstructFvVolumeField (const IOobject &fieldIoObject, const PtrList< GeometricField< Type, fvPatchField, volMesh >> &procFields) const |
template<class Type > | |
Foam::tmp< Foam::GeometricField< Type, Foam::fvPatchField, Foam::volMesh > > | reconstructFvVolumeField (const IOobject &fieldIoObject) const |
template<class Type > | |
Foam::tmp< Foam::GeometricField< Type, Foam::fvsPatchField, Foam::surfaceMesh > > | reconstructFvSurfaceField (const IOobject &fieldIoObject, const PtrList< GeometricField< Type, fvsPatchField, surfaceMesh >> &procFields) const |
template<class Type > | |
Foam::tmp< Foam::GeometricField< Type, Foam::fvsPatchField, Foam::surfaceMesh > > | reconstructFvSurfaceField (const IOobject &fieldIoObject) const |
Finite volume reconstructor for volume and surface fields.
Definition at line 55 of file fvFieldReconstructor.H.
fvFieldReconstructor | ( | fvMesh & | mesh, |
const PtrList< fvMesh > & | procMeshes, | ||
const PtrList< labelIOList > & | faceProcAddressing, | ||
const PtrList< labelIOList > & | cellProcAddressing, | ||
const PtrList< labelIOList > & | boundaryProcAddressing | ||
) |
Construct from components.
Definition at line 31 of file fvFieldReconstructor.C.
References fvMesh::boundary(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, primitiveMesh::nCells(), primitiveMesh::nFaces(), and UPtrList< T >::size().
Referenced by fvFieldReconstructor::fvPatchFieldReconstructor::fvPatchFieldReconstructor().
|
delete |
Disallow default bitwise copy construction.
|
inline |
Return number of fields reconstructed.
Definition at line 117 of file fvFieldReconstructor.H.
References objects, fvFieldReconstructor::operator=(), fvFieldReconstructor::reconstructFvSurfaceField(), fvFieldReconstructor::reconstructFvSurfaceFields(), fvFieldReconstructor::reconstructFvVolumeField(), fvFieldReconstructor::reconstructFvVolumeFields(), fvFieldReconstructor::reconstructFvVolumeInternalField(), and fvFieldReconstructor::reconstructFvVolumeInternalFields().
tmp<DimensionedField<Type, volMesh> > reconstructFvVolumeInternalField | ( | const IOobject & | fieldIoObject, |
const PtrList< DimensionedField< Type, volMesh >> & | procFields | ||
) | const |
Reconstruct volume internal field.
Referenced by fvFieldReconstructor::nReconstructed(), and fvFieldReconstructor::reconstructFvVolumeInternalField().
tmp<DimensionedField<Type, volMesh> > reconstructFvVolumeInternalField | ( | const IOobject & | fieldIoObject | ) | const |
Read and reconstruct volume internal field.
tmp<GeometricField<Type, fvPatchField, volMesh> > reconstructFvVolumeField | ( | const IOobject & | fieldIoObject, |
const PtrList< GeometricField< Type, fvPatchField, volMesh >> & | |||
) | const |
Reconstruct volume field.
Referenced by fvFieldReconstructor::nReconstructed(), fvFieldReconstructor::reconstructFvVolumeField(), and fvFieldReconstructor::reconstructFvVolumeInternalField().
tmp<GeometricField<Type, fvPatchField, volMesh> > reconstructFvVolumeField | ( | const IOobject & | fieldIoObject | ) | const |
Read and reconstruct volume field.
tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > reconstructFvSurfaceField | ( | const IOobject & | fieldIoObject, |
const PtrList< GeometricField< Type, fvsPatchField, surfaceMesh >> & | |||
) | const |
Reconstruct surface field.
Referenced by fvFieldReconstructor::nReconstructed(), fvFieldReconstructor::reconstructFvSurfaceField(), and fvFieldReconstructor::reconstructFvVolumeField().
tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > reconstructFvSurfaceField | ( | const IOobject & | fieldIoObject | ) | const |
Read and reconstruct surface field.
void reconstructFvVolumeInternalFields | ( | const IOobjectList & | objects, |
const HashSet< word > & | selectedFields | ||
) |
Read, reconstruct and write all/selected volume internal fields.
Definition at line 607 of file fvFieldReconstructorReconstructFields.C.
References HashTable< nil, Key, Hash >::empty(), Foam::endl(), fields, forAllConstIter(), HashTable< nil, Key, Hash >::found(), Foam::Info, IOobjectList::lookupClass(), Foam::name(), fvFieldReconstructor::reconstructFvVolumeFields(), HashTable< T, Key, Hash >::size(), and Ostream::write().
Referenced by fvFieldReconstructor::nReconstructed(), and fvFieldReconstructor::reconstructFvSurfaceField().
void reconstructFvVolumeFields | ( | const IOobjectList & | objects, |
const HashSet< word > & | selectedFields | ||
) |
Read, reconstruct and write all/selected volume fields.
Definition at line 642 of file fvFieldReconstructorReconstructFields.C.
References HashTable< nil, Key, Hash >::empty(), Foam::endl(), fields, forAllConstIter(), HashTable< nil, Key, Hash >::found(), Foam::Info, IOobjectList::lookupClass(), Foam::name(), fvFieldReconstructor::reconstructFvSurfaceFields(), HashTable< T, Key, Hash >::size(), and Ostream::write().
Referenced by fvFieldReconstructor::nReconstructed(), and fvFieldReconstructor::reconstructFvVolumeInternalFields().
void reconstructFvSurfaceFields | ( | const IOobjectList & | objects, |
const HashSet< word > & | selectedFields | ||
) |
Read, reconstruct and write all/selected surface fields.
Definition at line 678 of file fvFieldReconstructorReconstructFields.C.
References HashTable< nil, Key, Hash >::empty(), Foam::endl(), fields, forAllConstIter(), HashTable< nil, Key, Hash >::found(), Foam::Info, IOobjectList::lookupClass(), Foam::name(), HashTable< T, Key, Hash >::size(), and Ostream::write().
Referenced by fvFieldReconstructor::nReconstructed(), and fvFieldReconstructor::reconstructFvVolumeFields().
|
delete |
Disallow default bitwise assignment.
Referenced by fvFieldReconstructor::nReconstructed().
Foam::tmp<Foam::DimensionedField<Type, Foam::volMesh> > reconstructFvVolumeInternalField | ( | const IOobject & | fieldIoObject, |
const PtrList< DimensionedField< Type, volMesh >> & | procFields | ||
) | const |
Definition at line 39 of file fvFieldReconstructorReconstructFields.C.
References DimensionedField< Type, GeoMesh >::field(), forAll, fvFieldReconstructor::reconstructFvVolumeInternalField(), and Field< Type >::rmap().
Foam::tmp<Foam::DimensionedField<Type, Foam::volMesh> > reconstructFvVolumeInternalField | ( | const IOobject & | fieldIoObject | ) | const |
Definition at line 75 of file fvFieldReconstructorReconstructFields.C.
References forAll, IOobject::name(), and fvFieldReconstructor::reconstructFvVolumeField().
Foam::tmp<Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh> > reconstructFvVolumeField | ( | const IOobject & | fieldIoObject, |
const PtrList< GeometricField< Type, fvPatchField, volMesh >> & | procFields | ||
) | const |
Definition at line 126 of file fvFieldReconstructorReconstructFields.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), Foam::cp(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, DimensionedField< Type, GeoMesh >::mesh(), patchi, GeometricField< Type, PatchField, GeoMesh >::primitiveField(), fvFieldReconstructor::reconstructFvVolumeField(), Field< Type >::rmap(), and UList< T >::size().
Foam::tmp<Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh> > reconstructFvVolumeField | ( | const IOobject & | fieldIoObject | ) | const |
Definition at line 304 of file fvFieldReconstructorReconstructFields.C.
References forAll, IOobject::name(), and fvFieldReconstructor::reconstructFvSurfaceField().
Foam::tmp<Foam::GeometricField<Type, Foam::fvsPatchField, Foam::surfaceMesh> > reconstructFvSurfaceField | ( | const IOobject & | fieldIoObject, |
const PtrList< GeometricField< Type, fvsPatchField, surfaceMesh >> & | procFields | ||
) | const |
Definition at line 354 of file fvFieldReconstructorReconstructFields.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), Foam::cp(), Foam::faceMap(), forAll, Foam::mag(), patchi, GeometricField< Type, PatchField, GeoMesh >::primitiveField(), fvFieldReconstructor::reconstructFvSurfaceField(), and UList< T >::size().
Foam::tmp<Foam::GeometricField<Type, Foam::fvsPatchField, Foam::surfaceMesh> > reconstructFvSurfaceField | ( | const IOobject & | fieldIoObject | ) | const |
Definition at line 558 of file fvFieldReconstructorReconstructFields.C.
References forAll, IOobject::name(), and fvFieldReconstructor::reconstructFvVolumeInternalFields().