PARAVIEW Les fonctionnalités principales

Download Report

Transcript PARAVIEW Les fonctionnalités principales

PARAVIEW
Les fonctionnalités principales
09 juillet 2014 - C. Bligny
mercredi 9 juillet 14
PLAN
•
•
•
•
•
•
•
•
•
mercredi 9 juillet 14
Introduction
Les données sources
Prise en main, pipeline, views
Principaux filtres
Animation
Sélection
Scripts python et automatisation
Lancement à distance, en parallèle
Pluggins
INTRODUCTION
mercredi 9 juillet 14
•
ParaView : Logiciel de visualisation de données 3D, basé sur
la librairie VTK
•
•
Logiciels similaires :VisIt, MayaVi
Architecture :
DONNEES SOURCES - STRUCTURE
Image (Uniform Rectilinear Grid)
Unstructured Grid
Rectilinear Grid
Polygonal Mesh
Structured / Curvilinear Grid
mercredi 9 juillet 14
DONNEES SOURCES - FORMATS
•
Formats VTK (http://www.vtk.org/VTK/img/file-formats.pdf)
•
•
•
•
•
mercredi 9 juillet 14
Legacy vtk vs xml (utilitaire de conversion : vtk2xml.py)
Binaire, ascii
Collections : Time series, parallel
Composite dataset : multiblock ou hierarchique (AMR)
Beaucoup d’autres formats lus (cf liste suivante)
Les readers Liste des readers
■
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
mercredi 9 juillet 14
1 AVS UCD Reader
2 BYU Reader
3 CML Molecule Reader
4 COSMO Reader
5 CSV Reader
6 DEM Reader
7 ENZO AMR Particles Reader
8 EnSight Master Server Reader
9 EnSight Reader
10 Enzo Reader
11 ExodusIIReader
12 FLASH AMR Particles Reader
13 FacetReader
14 Flash Reader
15 Fluent Case Reader
16 Gaussian Cube Reader
17 Image Reader
18 JPEG Series Reader
19 LSDynaReader
20 Legacy VTK Reader
21 MFIXReader
22 Meta File Series Reader
23 NetCDF CAM reader
24 NetCDF MPAS reader
25 NetCDF POP reader
26 NetCDF Reader
27 Nrrd Reader
28 OpenFOAMReader
29 PDB Reader
30 PLOT3D Meta-File Reader
31 PLOT3D Reader
32 PLY Reader
33 PNG Series Reader
34 PVD Reader
35 Parallel NetCDF POP reader
http://www.paraview.org/Wiki/ParaView/Users_Guide/List_of_readers
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
36 Particles Reader
37 Partitioned Legacy VTK Reader
38 Phasta Reader
39 RTXMLPolyDataReader
40 Restarted Sim Exodus Reader
41 Restarted Sim Spy Plot Reader
42 SESAME Reader
43 SLAC Data Reader
44 SLAC Particle Data Reader
45 STL Reader
46 Spy Plot Reader
47 TIFF Reader
48 TIFF Series Reader
49 Tecplot Reader
50 Unstructured NetCDF POP reader
51 VPIC Reader
52 VRML Reader
53 Wavefront OBJ Reader
54 WindBlade reader
55 XDMF Reader
56 XML Hierarchical Box Data reader
57 XML Image Data Reader
58 XML MultiBlock Data Reader
59 XML Partitioned Image Data Reader
60 XML Partitioned Polydata Reader
61 XML Partitioned Rectilinear Grid Reader
62 XML Partitioned Structured Grid Reader
63 XML Partitioned Unstructured Grid Reader
64 XML PolyData Reader
65 XML Rectilinear Grid Reader
66 XML Structured Grid Reader
67 XML UniformGrid AMR Reader
68 XML Unstructured Grid Reader
69 XYZ Reader
70 proSTAR (STARCD) Reader
71 spcth history reader
PRISE EN MAIN
•
•
•
•
•
mercredi 9 juillet 14
Organisation de l’espace
Déplacer la caméra (reset :
)
souris mac
souris molette
trackpad mac
Zoom
molette/bton gauche
molette/bton gauche
molette / cmd click
Tourner autour
bton droit
bton droit
click
Pivoter
maj + bton droit
maj + bton droit
maj + click
Translation
maj + bton gauche
click molette/maj
bton gauche
maj + click 2 doigts
Les différents modes d’affichage
Color map
Principe du pipeline
FILTRES - Contour
mercredi 9 juillet 14
FILTRES - Contour + Comparative View
Contour par température
mercredi 9 juillet 14
FILTRES - Clip, Slice
Slice
mercredi 9 juillet 14
Clip
Clip - Show Plane
FILTRES - Stream Tracer
Stream Tracer + Extract Surface +
Clip
mercredi 9 juillet 14
Stream Tracer + Mask Point + Glyph
FILTRES - Stream Tracer
Stream Tracer + Tube
mercredi 9 juillet 14
Stream Tracer + Ribbon
FILTRES - Warp by scalar
mercredi 9 juillet 14
FILTRES - Tensor
mercredi 9 juillet 14
FILTRES - Autres
•
Calculs à partir des données : Calculator, Python
calculator
•
Modifier la géométrie : Transform, Clean to Grid,
Smooth, Delaunay 2D & 3D, Decimate/Subdivide
•
Normal generation, Cell Data to Point Data,
Programmable filter
•
Plot over time/line, threshold
mercredi 9 juillet 14
Animation
•
•
•
•
mercredi 9 juillet 14
Temporelle
Mouvement caméra
Slice, Contour, Glyph
Création de films : paraview, ou utilitaire type
memcoder
Sélection, exploration des données
•
•
mercredi 9 juillet 14
Pourquoi
•
•
•
Vérifier des valeurs, explorer ses données
Extraction
Label
Comment
•
•
Sélection manuelle via la vue 3D (2D)
Edit/Find Data (v)
Automatisation & Python
•
Dans l’interface client
•
•
•
•
•
•
Save state
Custom filters
Macros python
Lancer Paraview en ligne de cde (paraview --script=macro.py)
Sans l’interface client : pvpython et pvbatch
Si besoin, mettre à jour la variable PATH et la variable
DYLD_LIBRARY_PATH (lib python). Ex sous mac :
export PATH=/Applications/paraview.app/Contents/bin:$PATH
export PATH=/Applications/paraview.app/Contents/MacOS:$PATH
mercredi 9 juillet 14
DONNEES VOLUMINEUSES
•
•
•
•
mercredi 9 juillet 14
Utiliser la visualisation à distance, //
Exemple
•
•
Depuis tetta : module load Paraview-3.14.1 / pvserver
•
En local, utiliser le client paraview (même version) pour se connecter au
server distant.
Depuis syrah : module load paraview-4.0.1/
module load GNU-4.7.2/openmpi-1.7.1 /
pvserver
Lancer paraview en //
•
Depuis syrah : oarsub -I -l/nodes=1/core=4 / module load paraview-4.0.1 / mpirun -np
4 pvserver Attention, depuis le client se connecter à grenache.
•
En local : Paraview/preferences : cocher ‘use multi core’.
Utiliser les réglages du LOD.