User Tools

Site Tools


nnm:visualization

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
nnm:visualization [2020/06/08 17:20]
stefan.birner [3D Visualization: Paraview]
nnm:visualization [2020/10/23 09:43]
nextnanowikiadmin removed
Line 1: Line 1:
-====== Output ​format ​======+====== ​Tab: Output ====== 
 + 
 +===== Output format ​=====
  
 nextnanomat can display the following output formats. nextnanomat can display the following output formats.
Line 168: Line 170:
 ====== 3D Visualization:​ Paraview ====== ====== 3D Visualization:​ Paraview ======
   - Install the free software [[https://​www.paraview.org|Paraview]] on your computer   - Install the free software [[https://​www.paraview.org|Paraview]] on your computer
-  - Within nextnanomat:​ in Tools>>​ Options>>​View write the path of the Paraview executable in the user computer+  - Within nextnanomat:​ 
 +     ​- ​in 'Tools' ​>> ​'Options' ​>> ​'View', ​write the path of the Paraview executable in the user computer, e.g. ''​C:​\Program Files\ParaView 5.6.0-Windows-msvc2015-64bit\bin\paraview.exe''​ 
 +     - Select a 3D ''​.vtr''​ file of the simulation output folder and click on the '​Export and open in specific format'​ button. Choose 'Open File with Paraview'​ ( Paraview will open automatically.) 
 +  - Withing Paraview: 
 +     - (The selected file should be automatically highlighted in Paraview.) Click on '​Apply'​. 
 +     - Other settings: 
 +       - Representation:​ Surface 
 +       - Cell/Point Array Status: Choose the array to be displayed. For example, one can display the file ''​bandedges.vtr''​ and choose the array ''​Gamma''​ that corresponds to the \Gamma conduction band. Click on '​Apply'​. 
 +       - Coloring: Choose the array to be displayed. (Gamma, in this example) 
 + 
 +Now you can play with the tool rotating, changing opacity and adding filters. 
 +Paraview is a very rich tool: It requires some time to explore all its capabilities. 
 +We recommend investing some time to learn about its filters. First the file should be highlighted and then to click '​Filter'​ >> '​Alphabetical'​ 
 +Some interesting ones are: 
 +  * Edit cells by region 
 +  * Calculator 
 +  * Contour 
 +                 
 +Using '​File'​ >> 'Save State',​ the compute can store the value of all variables, to reproduce again the representation,​ if necessary (by loading the state). This is useful for generation of scripts. 
 + 
 +Having more questions, we recommend a good tutorial from TACC, although there exist plenty of examples on the web: [[https://​portal.tacc.utexas.edu/​c/​document_library/​get_file?​uuid=01dd202d-58c6-4b46-8310-b6d7087372ac&​groupId=13601|https://​portal.tacc.utexas.edu/​c/​document_library/​get_file?​uuid=01dd202d-58c6-4b46-8310-b6d7087372ac&​groupId=13601]]