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... | |
label | nReconstructed () const noexcept |
Return number of fields reconstructed. More... | |
template<class Type > | |
tmp< DimensionedField< Type, volMesh > > | reconstructField (const IOobject &fieldObject, const PtrList< DimensionedField< Type, volMesh >> &procFields) const |
Reconstruct volume internal field. More... | |
template<class Type > | |
tmp< DimensionedField< Type, volMesh > > | reconstructInternalField (const IOobject &fieldObject) const |
Read and reconstruct volume internal field. More... | |
template<class Type > | |
tmp< GeometricField< Type, fvPatchField, volMesh > > | reconstructField (const IOobject &fieldObject, const PtrList< GeometricField< Type, fvPatchField, volMesh >> &) const |
Reconstruct volume field. More... | |
template<class Type > | |
tmp< GeometricField< Type, fvPatchField, volMesh > > | reconstructVolumeField (const IOobject &fieldObject) const |
Read and reconstruct volume field. More... | |
template<class Type > | |
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > | reconstructField (const IOobject &fieldObject, const PtrList< GeometricField< Type, fvsPatchField, surfaceMesh >> &) const |
Reconstruct surface field. More... | |
template<class Type > | |
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > | reconstructSurfaceField (const IOobject &fieldObject) const |
Read and reconstruct surface field. More... | |
template<class Type > | |
label | reconstructInternalFields (const UPtrList< const IOobject > &fieldObjects) |
Read, reconstruct and write specified volume internal fields. More... | |
template<class Type > | |
label | reconstructVolumeFields (const UPtrList< const IOobject > &fieldObjects) |
Read, reconstruct and write specified volume fields. More... | |
template<class Type > | |
label | reconstructSurfaceFields (const UPtrList< const IOobject > &fieldObjects) |
Read, reconstruct and write specified surface fields. More... | |
template<class Type > | |
label | reconstructInternalFields (const IOobjectList &objects, const wordRes &selectedFields=wordRes()) |
Read, reconstruct and write all/selected volume internal fields. More... | |
template<class Type > | |
label | reconstructVolumeFields (const IOobjectList &objects, const wordRes &selectedFields=wordRes()) |
Read, reconstruct and write all/selected volume fields. More... | |
template<class Type > | |
label | reconstructSurfaceFields (const IOobjectList &objects, const wordRes &selectedFields=wordRes()) |
Read, reconstruct and write all/selected surface fields. More... | |
label | reconstructAllFields (const IOobjectList &objects, const wordRes &selectedFields=wordRes()) |
Reconstruct all known field types. More... | |
template<class Type > | |
Foam::tmp< Foam::DimensionedField< Type, Foam::volMesh > > | reconstructField (const IOobject &fieldObject, const PtrList< DimensionedField< Type, volMesh >> &procFields) const |
template<class Type > | |
Foam::tmp< Foam::GeometricField< Type, Foam::fvPatchField, Foam::volMesh > > | reconstructField (const IOobject &fieldObject, const PtrList< GeometricField< Type, fvPatchField, volMesh >> &procFields) const |
template<class Type > | |
Foam::tmp< Foam::GeometricField< Type, Foam::fvsPatchField, Foam::surfaceMesh > > | reconstructField (const IOobject &fieldObject, const PtrList< GeometricField< Type, fvsPatchField, surfaceMesh >> &procFields) const |
template<class Type > | |
Foam::tmp< Foam::DimensionedField< Type, Foam::volMesh > > | reconstructInternalField (const IOobject &fieldObject) const |
template<class Type > | |
Foam::tmp< Foam::GeometricField< Type, Foam::fvPatchField, Foam::volMesh > > | reconstructVolumeField (const IOobject &fieldObject) const |
template<class Type > | |
Foam::tmp< Foam::GeometricField< Type, Foam::fvsPatchField, Foam::surfaceMesh > > | reconstructSurfaceField (const IOobject &fieldObject) const |
template<class Type > | |
Foam::label | reconstructInternalFields (const UPtrList< const IOobject > &fieldObjects) |
template<class Type > | |
Foam::label | reconstructVolumeFields (const UPtrList< const IOobject > &fieldObjects) |
template<class Type > | |
Foam::label | reconstructSurfaceFields (const UPtrList< const IOobject > &fieldObjects) |
template<class Type > | |
Foam::label | reconstructInternalFields (const IOobjectList &objects, const wordRes &selectedFields) |
template<class Type > | |
Foam::label | reconstructVolumeFields (const IOobjectList &objects, const wordRes &selectedFields) |
template<class Type > | |
Foam::label | reconstructSurfaceFields (const IOobjectList &objects, const wordRes &selectedFields) |
Static Public Attributes | |
static int | verbose_ = 1 |
Output verbosity when writing. More... | |
Finite volume reconstructor for volume and surface fields.
Definition at line 52 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 34 of file fvFieldReconstructor.C.
References fvMesh::boundary(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, primitiveMesh::nCells(), primitiveMesh::nFaces(), and UPtrList< T >::size().
|
inlinenoexcept |
Return number of fields reconstructed.
Definition at line 178 of file fvFieldReconstructor.H.
tmp<DimensionedField<Type, volMesh> > reconstructField | ( | const IOobject & | fieldObject, |
const PtrList< DimensionedField< Type, volMesh >> & | procFields | ||
) | const |
Reconstruct volume internal field.
tmp<DimensionedField<Type, volMesh> > reconstructInternalField | ( | const IOobject & | fieldObject | ) | const |
Read and reconstruct volume internal field.
tmp<GeometricField<Type, fvPatchField, volMesh> > reconstructField | ( | const IOobject & | fieldObject, |
const PtrList< GeometricField< Type, fvPatchField, volMesh >> & | |||
) | const |
Reconstruct volume field.
tmp<GeometricField<Type, fvPatchField, volMesh> > reconstructVolumeField | ( | const IOobject & | fieldObject | ) | const |
Read and reconstruct volume field.
tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > reconstructField | ( | const IOobject & | fieldObject, |
const PtrList< GeometricField< Type, fvsPatchField, surfaceMesh >> & | |||
) | const |
Reconstruct surface field.
tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > reconstructSurfaceField | ( | const IOobject & | fieldObject | ) | const |
Read and reconstruct surface field.
Read, reconstruct and write specified volume internal fields.
Read, reconstruct and write specified volume fields.
Read, reconstruct and write specified surface fields.
label reconstructInternalFields | ( | const IOobjectList & | objects, |
const wordRes & | selectedFields = wordRes() |
||
) |
Read, reconstruct and write all/selected volume internal fields.
An empty wordRes corresponds to select ALL.
label reconstructVolumeFields | ( | const IOobjectList & | objects, |
const wordRes & | selectedFields = wordRes() |
||
) |
Read, reconstruct and write all/selected volume fields.
An empty wordRes corresponds to select ALL.
label reconstructSurfaceFields | ( | const IOobjectList & | objects, |
const wordRes & | selectedFields = wordRes() |
||
) |
Read, reconstruct and write all/selected surface fields.
An empty wordRes corresponds to select ALL.
Foam::label reconstructAllFields | ( | const IOobjectList & | objects, |
const wordRes & | selectedFields = wordRes() |
||
) |
Reconstruct all known field types.
Definition at line 78 of file fvFieldReconstructor.C.
References doLocalCode.
Foam::tmp<Foam::DimensionedField<Type, Foam::volMesh> > reconstructField | ( | const IOobject & | fieldObject, |
const PtrList< DimensionedField< Type, volMesh >> & | procFields | ||
) | const |
Definition at line 35 of file fvFieldReconstructorTemplates.C.
References DimensionedField< Type, GeoMesh >::field(), forAll, Foam::New(), and Field< Type >::rmap().
Foam::tmp<Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh> > reconstructField | ( | const IOobject & | fieldObject, |
const PtrList< GeometricField< Type, fvPatchField, volMesh >> & | procFields | ||
) | const |
Definition at line 72 of file fvFieldReconstructorTemplates.C.
References cp, Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, and Foam::New().
Foam::tmp<Foam::GeometricField<Type, Foam::fvsPatchField, Foam::surfaceMesh> > reconstructField | ( | const IOobject & | fieldObject, |
const PtrList< GeometricField< Type, fvsPatchField, surfaceMesh >> & | procFields | ||
) | const |
Definition at line 250 of file fvFieldReconstructorTemplates.C.
References cp, Foam::faceMap(), forAll, Foam::mag(), and Foam::New().
Foam::tmp<Foam::DimensionedField<Type, Foam::volMesh> > reconstructInternalField | ( | const IOobject & | fieldObject | ) | const |
Definition at line 443 of file fvFieldReconstructorTemplates.C.
References forAll, and IOobject::name().
Foam::tmp<Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh> > reconstructVolumeField | ( | const IOobject & | fieldObject | ) | const |
Definition at line 491 of file fvFieldReconstructorTemplates.C.
References forAll, and IOobject::name().
Foam::tmp<Foam::GeometricField<Type, Foam::fvsPatchField, Foam::surfaceMesh> > reconstructSurfaceField | ( | const IOobject & | fieldObject | ) | const |
Definition at line 539 of file fvFieldReconstructorTemplates.C.
References forAll, and IOobject::name().
Definition at line 586 of file fvFieldReconstructorTemplates.C.
References Foam::endl(), Foam::Info, io(), Foam::nl, and Ostream::write().
Definition at line 621 of file fvFieldReconstructorTemplates.C.
References Foam::endl(), Foam::Info, io(), Foam::nl, and Ostream::write().
Definition at line 656 of file fvFieldReconstructorTemplates.C.
References Foam::endl(), Foam::Info, io(), Foam::nl, and Ostream::write().
Foam::label reconstructInternalFields | ( | const IOobjectList & | objects, |
const wordRes & | selectedFields | ||
) |
Definition at line 692 of file fvFieldReconstructorTemplates.C.
References UList< T >::empty(), and IOobjectList::sorted().
Foam::label reconstructVolumeFields | ( | const IOobjectList & | objects, |
const wordRes & | selectedFields | ||
) |
Definition at line 712 of file fvFieldReconstructorTemplates.C.
References UList< T >::empty(), and IOobjectList::sorted().
Foam::label reconstructSurfaceFields | ( | const IOobjectList & | objects, |
const wordRes & | selectedFields | ||
) |
Definition at line 732 of file fvFieldReconstructorTemplates.C.
References UList< T >::empty(), and IOobjectList::sorted().
|
static |
Output verbosity when writing.
Definition at line 155 of file fvFieldReconstructor.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.