[Paraview Tutorial] Chapter 1 Installation and Basic Introduction

insert image description here

1 Introduction to Paraview

1.1 Basic introduction

ParaView is an open source, cross-platform data processing and visualization program. ParaView users can quickly create a visual environment to analyze data using quantitative or qualitative means. Using its batch processing capability, it can perform interactive operations in the toolbar and display interface in three-dimensional space, so as to realize "perfect display of data" and further "data mining".
In addition, the development of ParaView uses distributed memory computing resources, which can realize the analysis and processing of very large data sets. It can run teraflops of data sets on supercomputers as well as smaller data analysis on laptops.

1.2 Basic functions

The basic interactive visualization functions of ParaView mainly include functions such as data loading, data processing, parameter adjustment and data interaction. Such as cutting, clipping, contouring, and detection can all be realized through paraview.

1.3 Important Features

  • Handles structured (uniform line, non-uniform line, curved mesh), unstructured, polygonal, image, multiblock and AMR data types.
  • A new dataset is generated after all processing operations. For example, the user can extract a cut surface, reducing the number of points and glyphs (ie, vector arrows) on this masked surface.
  • Vector data can be converted to points by examining the area using graphics (arrows, cones, lines, spheres and various 2D graphics). Symbols can be sized by scalars, vector components, or vectors and can use a vector field orientation.
  • Contours and isosurfaces can be extracted from all data types using scalar or vector components. Results for any other variable can be colored, or processed further. Contour/isosurface extraction of structured data with fast, efficient algorithms using efficient data layout, if possible.
  • Sub-regions of a data set can be extracted, cut or clipped using arbitrary planes (all data types), specified threshold criteria, excluded cells (all data types) and/or specified VOI (volume of interest - structures only data type).
  • Streamlines can be generated. Results can be displayed as points, lines, tubes, strips, etc., which can be processed by some filters. Particle paths can be extracted.
  • Points in the dataset can be warped (replaced) by a scalar (a user-defined displacement vector), or by a vector (not available for nonlinear rectilinear grids).
  • With the array calculator, new variables can be calculated using existing point or cell field arrays. Numerous scalar and vector operations are supported.
  • Advanced data processing can be programmed using VTK, NumPy|SciPy, and other Python modules.
  • Quantitative inspection of data using powerful selection mechanisms and spreadsheet technology.
  • This selection mechanism allows the user channel to pick a point or select a rectangular area to select an important data area, that is, the quantitative selection mechanism.
  • Data table browsing (spreadsheet view) can allow users to select the entire data set or select a region.
  • ParaView provides many other data source interfaces and filters by default, and any VTK filter (filter) can be added by providing a slow XML description (VTK provides hundreds of algorithms, please refer to the VTK documentation).

1.4 Supported file types

2 Paraview download and installation

sudo apt install paraview # 安装
sudo apt-get remove paraview # 卸载

3 The tutorial for the panel

insert image description here
Figure 1: Paraview interface

  • 1 Click the clock to return to the unprocessed version, or choose to go back or go forward.
  • 2 Click to open the file, such as can.ex2 under the downloaded Example folder. Click the small eye before opening the file, and you can see the schematic diagram in Figure 2.

insert image description here
Figure 2: Example

  • 3 After opening the file, you can choose which variables to load in the panel.
  • 4 After any modification to the properties of the loaded data, click apply to update the visualization.
  • 5 a. Click the left mouse button and drag to rotate, click the middle mouse button to pan, and click the wheel or right mouse button to zoom. For a one-button or two-button mouse, hold down the Shift and Control keys while clicking and dragging to tilt, pan, and zoom. b. Click to re-center the data in the view.
  • 6 Press play and watch the cans get crushed. Other buttons allow moving to different time steps. In addition, for similarly named documents, it will be automatically recognized as a unified project, and animations can be made.

insert image description here
Figure 3: The image of being crushed

  • 7 Apply the colormap to the variant. To apply a colormap to a variable, click the drop-down menu in the Variables toolbar and select the EQPS variable.
  • 8 Add vector glyphs.
    insert image description here
    Figure 4: Graph with vector arrows

Guess you like

Origin blog.csdn.net/weixin_45521594/article/details/128060480