parFvFieldReconstructor Class Reference

Finite volume reconstructor for volume and surface fields. More...

Public Member Functions

 parFvFieldReconstructor (fvMesh &baseMesh, const fvMesh &procMesh, const mapDistributePolyMesh &distMap, const bool isWriteProc)
 Construct from components. More...
 
template<class Type >
tmp< DimensionedField< Type, volMesh > > reconstructFvVolumeInternalField (const DimensionedField< Type, volMesh > &) 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 GeometricField< Type, fvPatchField, volMesh > &fld) 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 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 wordRes &selectedFields=wordRes()) const
 Read, reconstruct and write all/selected volume internal fields. More...
 
template<class Type >
label reconstructFvVolumeFields (const IOobjectList &objects, const wordRes &selectedFields=wordRes()) const
 Read, reconstruct and write all/selected volume fields. More...
 
template<class Type >
label reconstructFvSurfaceFields (const IOobjectList &objects, const wordRes &selectedFields=wordRes()) const
 Read, reconstruct and write all/selected surface fields. More...
 
void reconstructPoints ()
 Helper: reconstruct and write mesh points. More...
 

Detailed Description

Finite volume reconstructor for volume and surface fields.

Runs in parallel. Reconstructs from procMesh to baseMesh. baseMesh is non-zero cells on processor0 only.

Source files

Definition at line 61 of file parFvFieldReconstructor.H.

Constructor & Destructor Documentation

◆ parFvFieldReconstructor()

parFvFieldReconstructor ( fvMesh baseMesh,
const fvMesh procMesh,
const mapDistributePolyMesh distMap,
const bool  isWriteProc 
)

Construct from components.

Member Function Documentation

◆ reconstructFvVolumeInternalField() [1/2]

tmp<DimensionedField<Type, volMesh> > reconstructFvVolumeInternalField ( const DimensionedField< Type, volMesh > &  ) const

Reconstruct volume internal field.

◆ reconstructFvVolumeInternalField() [2/2]

tmp<DimensionedField<Type, volMesh> > reconstructFvVolumeInternalField ( const IOobject fieldIoObject) const

Read and reconstruct volume internal field.

◆ reconstructFvVolumeField() [1/2]

tmp<GeometricField<Type, fvPatchField, volMesh> > reconstructFvVolumeField ( const GeometricField< Type, fvPatchField, volMesh > &  fld) const

Reconstruct volume field.

◆ reconstructFvVolumeField() [2/2]

tmp<GeometricField<Type, fvPatchField, volMesh> > reconstructFvVolumeField ( const IOobject fieldIoObject) const

Read and reconstruct volume field.

◆ reconstructFvSurfaceField() [1/2]

tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > reconstructFvSurfaceField ( const GeometricField< Type, fvsPatchField, surfaceMesh > &  ) const

Reconstruct surface field.

◆ reconstructFvSurfaceField() [2/2]

tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > reconstructFvSurfaceField ( const IOobject fieldIoObject) const

Read and reconstruct surface field.

◆ reconstructFvVolumeInternalFields()

label reconstructFvVolumeInternalFields ( const IOobjectList objects,
const wordRes selectedFields = wordRes() 
) const

Read, reconstruct and write all/selected volume internal fields.

◆ reconstructFvVolumeFields()

label reconstructFvVolumeFields ( const IOobjectList objects,
const wordRes selectedFields = wordRes() 
) const

Read, reconstruct and write all/selected volume fields.

◆ reconstructFvSurfaceFields()

label reconstructFvSurfaceFields ( const IOobjectList objects,
const wordRes selectedFields = wordRes() 
) const

Read, reconstruct and write all/selected surface fields.

◆ reconstructPoints()

void reconstructPoints ( )

Helper: reconstruct and write mesh points.

(note: should be moved to something like processorMeshes class)


The documentation for this class was generated from the following file: