Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
user_manual:post_processing [2021/07/17 22:15] Ali Baba [Controlling the symbol size] |
user_manual:post_processing [2021/07/17 22:18] Ali Baba [See also] |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{description> | ||
+ | |||
+ | ====== 4. Post-processing ====== | ||
+ | |||
+ | Once you have created an image file using SesamX, you can post-process its content. Similarly to the pre-processing, | ||
+ | |||
+ | In order to have access to the SesamX viewer, you need to run the **customized Salome version bundled in the SesamX installation archive**. The information given below assumes that Salome is installed at the following location: " | ||
+ | |||
+ | ===== How to run the SesamX viewer ===== | ||
+ | First, **you need to run Salome to access the SesamX viewer**. To proceed, you have to double click on the " | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Once loaded, you should see the following screen. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Only the relevant panels for post-processing SesamX images are highlighted in the previous picture: | ||
+ | * the SesamX viewer panel that enables visualization creation and modification. | ||
+ | * the pipeline browser that organizes the various visualizations created. | ||
+ | * the properties panel that contains options to control the visualizations. | ||
+ | * and the visualization panel that display the visualizations. | ||
+ | |||
+ | <callout type=" | ||
+ | |||
+ | **Only the SesamX viewer panel is part of the customization**. The other components are embedded in the default Salome version. | ||
+ | |||
+ | **The Paravis module of Salome relies on the Paraview software**. Hence, Paravis shares multiple features with Paraview. The remaining of this page will mainly discuss the SesamX viewer panel, plus some Paraview tips. **The goal is to teach you how to create visualizations efficiently from SesamX images files**. If you are looking for more information about Paraview features and manipulation, | ||
+ | |||
+ | |||
+ | ===== How to create a visualization with the SesamX viewer ===== | ||
+ | |||
+ | To create a visualization, | ||
+ | |||
+ | * First, the " | ||
+ | * Then, the " | ||
+ | * Then, the "Field Type" lets you chose the type of field available on this object. | ||
+ | * And finally the "Field Name" lets you select the field you want to visualize. | ||
+ | |||
+ | For instance, to select the " | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Finally, you can click on the " | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | In the pipeline browser, the visualization is named " | ||
+ | * **" | ||
+ | * **" | ||
+ | |||
+ | <callout type=" | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | As already discussed in the '' | ||
+ | * a scalar field is always represented with points. | ||
+ | * a vector field is always represented with arrows. The direction of the arrow gives the direction of the vector, and the size of the arrow is proportional to the vector magnitude. | ||
+ | * a tensor field is always represented by 3 lines. The direction of each line gives the principal directions of the tensor, and the length of each line gives the absolute value of the principal values. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | |||
+ | ===== How to apply mappings on a sub-visualization ===== | ||
+ | |||
+ | A mapping is a colored representation of some data on a sub-visualization. For instance, the translations at the nodes can be mapped on the model sub-visualization to get a colored representation of their magnitude. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | There are some rules that govern mappings: | ||
+ | * **a mapping is either attached to nodes or to elements**. We will see a bit further how to distinguish the attachment. | ||
+ | * **a mapping can be a scalar mapping, a vector mapping or a tensor mapping**. For instance, a translation mapping is a vector mapping. | ||
+ | |||
+ | Mappings can be applied through the options available in the properties panel, inside the " | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | These options relate to the current sub-visualization selected in the pipeline browser. The " | ||
+ | |||
+ | **For the model sub-visualization, | ||
+ | * the nodes " | ||
+ | * and the elements " | ||
+ | |||
+ | We will see later on how we can ask the SesamX viewer to add relevant mappings to the model sub-visualization. | ||
+ | |||
+ | **For the symbols sub-visualization, | ||
+ | |||
+ | **For a vector or tensor mapping, you can select the components or the magnitude to map** on the visualization (obviously there is no such choice available for a scalar mapping). | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Finally, you can distinguish a node mapping from an element mapping with the help of the symbol near the mapping name, as shown on the picture below. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | This is pretty much what is needed to know about mappings. If you are looking for more information, | ||
+ | |||
+ | ===== How to edit a visualization ===== | ||
+ | |||
+ | Besides visualization creation, the **SesamX viewer allows you to edit an existing visualization**. To active the edit mode, you need to check the "Edit Image" box in the SesamX viewer. Afterwards, once you have selected a visualization in the pipeline browser, the **SesamX viewer edit section will update with the available options related to the visualization**. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | On this edit panel, you find first the information about the SesamX field related to the visualization. And next you find multiple options to control the visualization. | ||
+ | |||
+ | ==== Data manipulation section ==== | ||
+ | |||
+ | Depending on the field attachment (nodes or elements), **the "Data Manipulation" | ||
+ | |||
+ | For a field attached on the nodes or on the elements, you can select the process you want to apply to the field before plotting. **A process is a function that takes a SesamX field on input and gives another field on output**. For instance, you can apply a " | ||
+ | |||
+ | **The SesamX viewer proposes a set of predefined processes** depending on the field nature. Currently for scalar and vector fields, only **the " | ||
+ | * **the " | ||
+ | * **the " | ||
+ | * **the " | ||
+ | |||
+ | <callout type=" | ||
+ | |||
+ | Furthermore, | ||
+ | * **the " | ||
+ | * **the " | ||
+ | * **the " | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | For instance, you can select to output stress data on a shell element at the center of the top face. | ||
+ | |||
+ | ==== Data visualization section ==== | ||
+ | |||
+ | Using the data visualization section **you can instruct the SesamX viewer to add a mapping of the field values on the model sub-visualization**. For instance, as showcased in the following image, you can map the Mises stress on the model sub-visualization. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Furthermore, | ||
+ | |||
+ | ==== Warping section ==== | ||
+ | |||
+ | Finally the last section available is the " | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | |||
+ | ===== Paraview tips ===== | ||
+ | |||
+ | This part aims at providing some tips about Paraview that make things easier. | ||
+ | |||
+ | ==== Controlling the symbol size ==== | ||
+ | |||
+ | The line and point symbols (used for tensor and scalar fields) may sometimes be difficult to visualize. When necessary, **you can increase the point size and the line width**. To proceed, you need click on the gear icon in the properties panel, which shows hidden options. Then under the styling section you can control the "Point Size" and "Line Width" parameters. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== See also ===== | ||
+ | * [[user_manual: | ||
+ | * [[user_manual: | ||
+ | * [[user_manual: | ||
+ | |||
+ | |||
+ | ===== Reference ===== | ||
+ | * Paraview project website: [[https:// | ||
+ | |||