PVFoamReader: Added support for visualising surfaceFields

To avoid additional clutter in the interface volFields, surfaceFields and
pointFields are now selected from a single fields selection box consistent with
the single directory with guaranteed unique names in which they are stored.

Note that when visualising the "phi" flux fields that these are extensive, the
value depends directly on the face area, so unless the mesh is uniform
interpolated continuous colour plots are not physical or informative.

Based on proposal contributed by Mattijs Janssens
This commit is contained in:
Henry Weller
2019-07-15 11:16:35 +01:00
parent 26187dd89d
commit b7c0646ed9
15 changed files with 635 additions and 578 deletions

View File

@ -113,9 +113,6 @@ protected:
//- Construct null
vtkPVblockMeshReader();
//- Disallow default bitwise copy construction
vtkPVblockMeshReader(const vtkPVblockMeshReader&) = delete;
//- Destructor
~vtkPVblockMeshReader();
@ -143,12 +140,15 @@ protected:
char* FileName;
//- Disallow default bitwise assignment
void operator=(const vtkPVblockMeshReader&) = delete;
private:
//- Disallow default bitwise copy construct
vtkPVblockMeshReader(const vtkPVblockMeshReader&);
//- Disallow default bitwise assignment
void operator=(const vtkPVblockMeshReader&);
//- Add/remove point numbers to/from the view
void updatePointNumbersView(const bool show);