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 |
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 > | |
label | reconstructFvVolumeInternalFields (const IOobjectList &objects, const UList< word > &fieldNames) |
Read, reconstruct and write specified volume internal fields. More... | |
template<class Type > | |
label | reconstructFvVolumeFields (const IOobjectList &objects, const UList< word > &fieldNames) |
Read, reconstruct and write specified volume fields. More... | |
template<class Type > | |
label | reconstructFvSurfaceFields (const IOobjectList &objects, const UList< word > &fieldNames) |
Read, reconstruct and write specified surface fields. More... | |
template<class Type > | |
label | reconstructFvVolumeInternalFields (const IOobjectList &objects, const wordRes &selectedFields=wordRes()) |
Read, reconstruct and write all/selected volume internal fields. More... | |
template<class Type > | |
label | reconstructFvVolumeFields (const IOobjectList &objects, const wordRes &selectedFields=wordRes()) |
Read, reconstruct and write all/selected volume fields. More... | |
template<class Type > | |
label | reconstructFvSurfaceFields (const IOobjectList &objects, const wordRes &selectedFields=wordRes()) |
Read, reconstruct and write all/selected surface fields. More... | |
template<class Type > | |
label | reconstructFvVolumeInternalFields (const IOobjectList &objects, const wordHashSet &selectedFields) |
Read, reconstruct and write all/selected volume internal fields. More... | |
template<class Type > | |
label | reconstructFvVolumeFields (const IOobjectList &objects, const wordHashSet &selectedFields) |
Read, reconstruct and write all/selected volume fields. More... | |
template<class Type > | |
label | reconstructFvSurfaceFields (const IOobjectList &objects, const wordHashSet &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 |
template<class Type > | |
Foam::label | reconstructFvVolumeInternalFields (const IOobjectList &objects, const UList< word > &fieldNames) |
template<class Type > | |
Foam::label | reconstructFvVolumeFields (const IOobjectList &objects, const UList< word > &fieldNames) |
template<class Type > | |
Foam::label | reconstructFvSurfaceFields (const IOobjectList &objects, const UList< word > &fieldNames) |
template<class Type > | |
Foam::label | reconstructFvVolumeInternalFields (const IOobjectList &objects, const wordRes &selectedFields) |
template<class Type > | |
Foam::label | reconstructFvVolumeFields (const IOobjectList &objects, const wordRes &selectedFields) |
template<class Type > | |
Foam::label | reconstructFvSurfaceFields (const IOobjectList &objects, const wordRes &selectedFields) |
template<class Type > | |
Foam::label | reconstructFvVolumeInternalFields (const IOobjectList &objects, const wordHashSet &selectedFields) |
template<class Type > | |
Foam::label | reconstructFvVolumeFields (const IOobjectList &objects, const wordHashSet &selectedFields) |
template<class Type > | |
Foam::label | reconstructFvSurfaceFields (const IOobjectList &objects, const wordHashSet &selectedFields) |
Finite volume reconstructor for volume and surface fields.
Definition at line 56 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 33 of file fvFieldReconstructor.C.
References fvMesh::boundary(), Foam::endl(), Foam::exit(), faceProcAddressing, Foam::FatalError, FatalErrorInFunction, forAll, primitiveMesh::nCells(), and primitiveMesh::nFaces().
|
inline |
Return number of fields reconstructed.
Definition at line 148 of file fvFieldReconstructor.H.
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.
label reconstructFvVolumeInternalFields | ( | const IOobjectList & | objects, |
const UList< word > & | fieldNames | ||
) |
Read, reconstruct and write specified volume internal fields.
label reconstructFvVolumeFields | ( | const IOobjectList & | objects, |
const UList< word > & | fieldNames | ||
) |
Read, reconstruct and write specified volume fields.
label reconstructFvSurfaceFields | ( | const IOobjectList & | objects, |
const UList< word > & | fieldNames | ||
) |
Read, reconstruct and write specified surface fields.
label reconstructFvVolumeInternalFields | ( | const IOobjectList & | objects, |
const wordRes & | selectedFields = wordRes() |
||
) |
Read, reconstruct and write all/selected volume internal fields.
An empty wordRes corresponds to select ALL.
label reconstructFvVolumeFields | ( | const IOobjectList & | objects, |
const wordRes & | selectedFields = wordRes() |
||
) |
Read, reconstruct and write all/selected volume fields.
An empty wordRes corresponds to select ALL.
label reconstructFvSurfaceFields | ( | const IOobjectList & | objects, |
const wordRes & | selectedFields = wordRes() |
||
) |
Read, reconstruct and write all/selected surface fields.
An empty wordRes corresponds to select ALL.
label reconstructFvVolumeInternalFields | ( | const IOobjectList & | objects, |
const wordHashSet & | selectedFields | ||
) |
Read, reconstruct and write all/selected volume internal fields.
An empty wordHashSet corresponds to select ALL.
label reconstructFvVolumeFields | ( | const IOobjectList & | objects, |
const wordHashSet & | selectedFields | ||
) |
Read, reconstruct and write all/selected volume fields.
An empty wordHashSet corresponds to select ALL.
label reconstructFvSurfaceFields | ( | const IOobjectList & | objects, |
const wordHashSet & | selectedFields | ||
) |
Read, reconstruct and write all/selected surface fields.
An empty wordHashSet corresponds to select ALL.
Foam::tmp<Foam::DimensionedField<Type, Foam::volMesh> > reconstructFvVolumeInternalField | ( | const IOobject & | fieldIoObject, |
const PtrList< DimensionedField< Type, volMesh >> & | procFields | ||
) | const |
Definition at line 42 of file fvFieldReconstructorFields.C.
References DimensionedField< Type, GeoMesh >::field(), forAll, and Foam::New().
Foam::tmp<Foam::DimensionedField<Type, Foam::volMesh> > reconstructFvVolumeInternalField | ( | const IOobject & | fieldIoObject | ) | const |
Definition at line 79 of file fvFieldReconstructorFields.C.
References forAll, and IOobject::name().
Foam::tmp<Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh> > reconstructFvVolumeField | ( | const IOobject & | fieldIoObject, |
const PtrList< GeometricField< Type, fvPatchField, volMesh >> & | procFields | ||
) | const |
Definition at line 127 of file fvFieldReconstructorFields.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), cp, Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::New(), and GeometricField< Type, PatchField, GeoMesh >::primitiveField().
Foam::tmp<Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh> > reconstructFvVolumeField | ( | const IOobject & | fieldIoObject | ) | const |
Definition at line 306 of file fvFieldReconstructorFields.C.
References forAll, and IOobject::name().
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 fvFieldReconstructorFields.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), cp, Foam::faceMap(), forAll, Foam::mag(), Foam::New(), and GeometricField< Type, PatchField, GeoMesh >::primitiveField().
Foam::tmp<Foam::GeometricField<Type, Foam::fvsPatchField, Foam::surfaceMesh> > reconstructFvSurfaceField | ( | const IOobject & | fieldIoObject | ) | const |
Definition at line 548 of file fvFieldReconstructorFields.C.
References forAll, and IOobject::name().
Foam::label reconstructFvVolumeInternalFields | ( | const IOobjectList & | objects, |
const UList< word > & | fieldNames | ||
) |
Definition at line 595 of file fvFieldReconstructorFields.C.
References IOobjectList::cfindObject(), Foam::endl(), fieldNames(), Foam::Info, Foam::nl, and Foam::vtk::write().
Foam::label reconstructFvVolumeFields | ( | const IOobjectList & | objects, |
const UList< word > & | fieldNames | ||
) |
Definition at line 627 of file fvFieldReconstructorFields.C.
References IOobjectList::cfindObject(), Foam::endl(), fieldNames(), Foam::Info, Foam::nl, and Foam::vtk::write().
Foam::label reconstructFvSurfaceFields | ( | const IOobjectList & | objects, |
const UList< word > & | fieldNames | ||
) |
Definition at line 659 of file fvFieldReconstructorFields.C.
References IOobjectList::cfindObject(), Foam::endl(), fieldNames(), Foam::Info, Foam::nl, and Foam::vtk::write().
Foam::label reconstructFvVolumeInternalFields | ( | const IOobjectList & | objects, |
const wordRes & | selectedFields | ||
) |
Definition at line 691 of file fvFieldReconstructorFields.C.
References fieldNames(), and IOobjectList::sortedNames().
Foam::label reconstructFvVolumeFields | ( | const IOobjectList & | objects, |
const wordRes & | selectedFields | ||
) |
Definition at line 711 of file fvFieldReconstructorFields.C.
References fieldNames(), and IOobjectList::sortedNames().
Foam::label reconstructFvSurfaceFields | ( | const IOobjectList & | objects, |
const wordRes & | selectedFields | ||
) |
Definition at line 731 of file fvFieldReconstructorFields.C.
References fieldNames(), and IOobjectList::sortedNames().
Foam::label reconstructFvVolumeInternalFields | ( | const IOobjectList & | objects, |
const wordHashSet & | selectedFields | ||
) |
Definition at line 751 of file fvFieldReconstructorFields.C.
References fieldNames(), and IOobjectList::sortedNames().
Foam::label reconstructFvVolumeFields | ( | const IOobjectList & | objects, |
const wordHashSet & | selectedFields | ||
) |
Definition at line 771 of file fvFieldReconstructorFields.C.
References fieldNames(), and IOobjectList::sortedNames().
Foam::label reconstructFvSurfaceFields | ( | const IOobjectList & | objects, |
const wordHashSet & | selectedFields | ||
) |
Definition at line 791 of file fvFieldReconstructorFields.C.
References fieldNames(), and IOobjectList::sortedNames().