Finite volume reconstructor for volume and surface fields. More...
Data Structures | |
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... | |
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... | |
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 |
Private Member Functions | |
fvFieldReconstructor (const fvFieldReconstructor &) | |
Disallow default bitwise copy construct. More... | |
void | operator= (const fvFieldReconstructor &) |
Disallow default bitwise assignment. More... | |
Private Attributes | |
fvMesh & | mesh_ |
Reconstructed mesh reference. More... | |
const PtrList< fvMesh > & | procMeshes_ |
List of processor meshes. More... | |
const PtrList< labelIOList > & | faceProcAddressing_ |
List of processor face addressing lists. More... | |
const PtrList< labelIOList > & | cellProcAddressing_ |
List of processor cell addressing lists. More... | |
const PtrList< labelIOList > & | boundaryProcAddressing_ |
List of processor boundary addressing lists. More... | |
label | nReconstructed_ |
Number of fields reconstructed. More... | |
Finite volume reconstructor for volume and surface fields.
Definition at line 54 of file fvFieldReconstructor.H.
|
private |
Disallow default bitwise copy construct.
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(), faceProcAddressing, Foam::FatalError, FatalErrorInFunction, forAll, primitiveMesh::nCells(), primitiveMesh::nFaces(), and PtrList::size().
|
private |
Disallow default bitwise assignment.
|
inline |
Return number of fields reconstructed.
Definition at line 146 of file fvFieldReconstructor.H.
References fvFieldReconstructor::nReconstructed_.
Referenced by main().
tmp<DimensionedField<Type, volMesh> > reconstructFvVolumeInternalField | ( | const IOobject & | fieldIoObject, |
const PtrList< DimensionedField< Type, volMesh > > & | procFields | ||
) | const |
Reconstruct volume internal field.
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.
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.
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 590 of file fvFieldReconstructorReconstructFields.C.
References HashTable< nil, word, string::hash >::empty(), Foam::endl(), fields, forAllConstIter(), HashTable< nil, word, string::hash >::found(), Foam::Info, IOobjectList::lookupClass(), Foam::name(), and write().
Referenced by main().
void reconstructFvVolumeFields | ( | const IOobjectList & | objects, |
const HashSet< word > & | selectedFields | ||
) |
Read, reconstruct and write all/selected volume fields.
Definition at line 625 of file fvFieldReconstructorReconstructFields.C.
References HashTable< nil, word, string::hash >::empty(), Foam::endl(), fields, forAllConstIter(), HashTable< nil, word, string::hash >::found(), Foam::Info, IOobjectList::lookupClass(), Foam::name(), and write().
Referenced by main().
void reconstructFvSurfaceFields | ( | const IOobjectList & | objects, |
const HashSet< word > & | selectedFields | ||
) |
Read, reconstruct and write all/selected surface fields.
Definition at line 661 of file fvFieldReconstructorReconstructFields.C.
References HashTable< nil, word, string::hash >::empty(), Foam::endl(), fields, forAllConstIter(), HashTable< nil, word, string::hash >::found(), Foam::Info, IOobjectList::lookupClass(), Foam::name(), and write().
Referenced by main().
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::field(), forAll, and internalField().
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 PtrList::set().
Foam::tmp<Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh> > reconstructFvVolumeField | ( | const IOobject & | fieldIoObject, |
const PtrList< GeometricField< Type, fvPatchField, volMesh > > & | procFields | ||
) | const |
Definition at line 124 of file fvFieldReconstructorReconstructFields.C.
References GeometricField::boundaryField(), cp, Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, internalField(), GeometricField::internalField(), and PtrList::set().
Foam::tmp<Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh> > reconstructFvVolumeField | ( | const IOobject & | fieldIoObject | ) | const |
Definition at line 302 of file fvFieldReconstructorReconstructFields.C.
References forAll, IOobject::name(), and PtrList::set().
Foam::tmp<Foam::GeometricField<Type, Foam::fvsPatchField, Foam::surfaceMesh> > reconstructFvSurfaceField | ( | const IOobject & | fieldIoObject, |
const PtrList< GeometricField< Type, fvsPatchField, surfaceMesh > > & | procFields | ||
) | const |
Definition at line 350 of file fvFieldReconstructorReconstructFields.C.
References GeometricField::boundaryField(), cp, Foam::faceMap(), forAll, internalField(), GeometricField::internalField(), Foam::mag(), and PtrList::set().
Foam::tmp<Foam::GeometricField<Type, Foam::fvsPatchField, Foam::surfaceMesh> > reconstructFvSurfaceField | ( | const IOobject & | fieldIoObject | ) | const |
Definition at line 543 of file fvFieldReconstructorReconstructFields.C.
References forAll, IOobject::name(), and PtrList::set().
|
private |
Reconstructed mesh reference.
Definition at line 59 of file fvFieldReconstructor.H.
List of processor meshes.
Definition at line 62 of file fvFieldReconstructor.H.
|
private |
List of processor face addressing lists.
Definition at line 65 of file fvFieldReconstructor.H.
|
private |
List of processor cell addressing lists.
Definition at line 68 of file fvFieldReconstructor.H.
|
private |
List of processor boundary addressing lists.
Definition at line 71 of file fvFieldReconstructor.H.
|
private |
Number of fields reconstructed.
Definition at line 74 of file fvFieldReconstructor.H.
Referenced by fvFieldReconstructor::nReconstructed().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.