.. _postprocess_data_tree: Postprocess data tree ~~~~~~~~~~~~~~~~~~~~~ The CompassFEM Postprocess provides four panels on the right of th GUI. They allow to perform animations, change mesh display properties as colour or transparency, select results and how to show them, and preferences. These panels can be shown, hidden or minimized using the buttons highlighted in the following image. .. figure:: img/button_panel.png :align: center The four panels provided by Postprocess can be shown, hidden or minimized using the buttons highlighted. The four buttons highlighted with the blue circle can show and hide the panels and th buttons highlighted with the red circle can minimize and maximize them. Moreover, the button highlighted with a green circle allows to dock and undock the four panels to the GUI. .. _animations_control: Animations control ------------------ It is possible to animate dynamic simulations and static analysis if meshes have been deformed using a vector result. If a dynamic analysis is loaded a combo box allows to select a step of the selected result. .. figure:: img/animation_steps.png :align: center The combo box shows the steps of the selected result and allows to choose one of them. For example, the shown result of this simulation contains 25 steps from 0.1 to 2.5 s. This combo box also allows to view :ref:`Animation preferences ` The `Animation panel` provides controls similar to a video player. Moreover, it is possible to save the animation in a video file using `Save animation`. .. figure:: img/save_animation_panel.png :align: center This panel allows to export the animation to AVI, MPEG or other video formats. The procedure recommended to export to standard video format is explained below: 1. Define properties as name, type, delay, etc... `Save redraws` must be set. 2. Click button to start to save the animation. |pic1| .. |pic1| image:: img/start_save_animation.png 3. Click button to start animation. |pic2| .. |pic2| image:: img/animation_controls.png 4. Click button to finish and close animation file. |pic3| .. |pic3| image:: img/end_save_animation.png The following explains how to make an animation of a static simulation. 1. Use :ref:`Deformed preferences ` to select a vector result to deform meshes. Configure other deformed parameters if it is necessary, and activate `Draw` in the `Deformed preferences`. 2. When the red slide bar of the `Animation panel` is clicked, then a dialog win is opened to define interpolated steps. .. figure:: img/animation_static_results.png :align: center Dialog window to define how to create interpolate steps in static results. It is possible to define how many steps to create and if the decrease phase is drawn too. 3. Now, interpolated steps have been created and it is possible to animate simulation as a dynamic analysis. .. figure:: img/interpolated_steps.png :align: center Interpolated steps created in a static result when deformed configuration is activated. Meshes selector --------------- This panel shows all meshes contained in the model and allows to manage their visualization. .. figure:: img/meshes_panel.png :align: center Meshes selector. In structure models, only material meshes are shown when the model is read, only fluid meshes are shown in CFDs or heat transference analysis. Using `Meshes selector` any mesh can be shown or hidden. The available display properties are as follows: * `On/Off`: mesh visualization. * `Display style`: Change the visualization style between the following options available: - Render - Render with border - Render and mesh - Mesh - Borders * `Line style`: it is possible to draw shells and beams with real section. .. figure:: img/line_style.png :align: center :scale: 80% Shell and linear meshes drawn with real section. * `Transparent`: manage the mesh surface transparency. .. figure:: img/transparency_mesh.png :align: center :scale: 80% The mesh surface can be drawn transparent or opaque. * `Boundary conditions:` it draws the selected mesh as boundary conditions. For example, in the next figure, `Fixed constraints Auto1` mesh is drawn as `Boundary conditions`. .. figure:: img/boundary_condition.png :align: center :scale: 80% Mesh drawn as `Boundary conditions` Results selector ---------------- From this window it is possible to draw all calculated results using different type of visualizations (Vectors or Contour Fill). .. figure:: img/results_panel.png :align: center :scale: 80% Results panel allows to select one o several results to be drawn. In the case of `Vectors`, then once a result is chosen, the program will display its nodal vectors. .. figure:: img/vector_result.png :align: center :scale: 80% Example of result drawn using vectors. :ref:`Vectors & Local axes preferences ` allows to define some visualization properties of vectors. `Contour Fill` allows the visualization of colored zones, in which a variable or a component changes between two predefined values. .. figure:: img/contour_fill.png :align: center :scale: 80% `Contour fill` result. Result values are drawn using a colours map. The `Legend colors` can be configured in :ref:`Contour fill preferences ` It is possible to fix maximum and minimum limits for the color scale, which can also be calculated automatically for the active meshes or for all the meshes. The following figure shows controls to define limits for the color scale and the contextual menu that allows to recalculate the limits. .. figure:: img/limits_legend.png :align: center :scale: 60% Values limits of contour fill result can be managed using the controls on the top of the `Results selector`. Contextual menu ^^^^^^^^^^^^^^^ The most important options availables in the contextual menu are: * `Legend colors`: it allows to define the colors scale for contour fill results. .. figure:: img/legend_panel.png :align: center :scale: 60% Legend panel to configure the legend of contour fill results. The menu shown in the previous image, allows to define the colors for values greater or smaller than the limits. * `Multiple results`: it transform the Results selector to make possible to choice more than one result to be shown. .. figure:: img/multiple_results.png :align: center :scale: 60% Multiple results are selected, in this case the contour fill of Displacements and the vector of reactions. Both results are shown. .. _preferences_selector: Preferences selector -------------------- Several configuration options can be managed from this window, in both basic or advanced usage: * `Basic`: for common operations like view deformation, draw labels, etc. .. figure:: img/basic_preferences.png :align: center :scale: 60% `Basic preferences`. When `All preferences` is deactivated, then only basic preferences are available. * `Advanced`: displays preference options that are not modified very often. +----------------------+----------------------+ | |pic4| + |pic5| | | Advanced preferences + Advanced preferences | +----------------------+----------------------+ .. |pic4| image:: img/advanced_preferences_1.png .. |pic5| image:: img/advanced_preferences_2.png Notice that the advanced preferences can only be shown when `All preferences` is set. Labels ^^^^^^ If `Draw labels` is activated, labels are drawn on the model depending on the context and the value of the preferences. If a result is selected, then the labels show the result value to the node. If `Position` is `All`, there are a label for each node, but if `Position` is `Maxima` then only where the result is the maximum. If no result is selected, then the labels show the number of node. In this case, there are labels for each node although `Position` is `Maximum`. .. figure:: img/preferences_label.png :align: center Preferences for labels. It is possible to draw labels on the model depending on the context and the value of the preferences. .. _contour_fill_preferences: Contour fill ^^^^^^^^^^^^ Preferences for `Contour fill` allows to configure the Legend for `Contour fill` results. .. figure:: img/preferences_contour_fill.png :align: center Preferences for `Contour fill` allows to configure the Legend for `Contour fill` results. .. _vector_preferences: Vectors & Local axes ^^^^^^^^^^^^^^^^^^^^ This preferences allows to configure `Vector` and `Local axes` results. It is possible to modify the size factor, the position in all nodes or only some of them (`Automatic`), the arrow style (Line or Cylinder) and if size is fixed or variable. .. figure:: img/preferences_vector.png :align: center Preferences for `Vector` and `Local axes` results. .. figure:: img/vector_fixed_size.png :align: center If `Vector size` is fixed, then all vectors are the same size and their color is different based on the legend colors. .. _deformed_preferences: Deformed ^^^^^^^^ Meshes can be deformed according to a vector result and a factor. When doing this, all results are drawn on the deformed meshes. * `Draw`: if it is activated, the deformed configuration is drawn. * `Adimensional factor`: if it is activated, then the deformed configuration size is not real and the optimum visualization is used. * `Factor`: factor which multiplies the deformed configuration. If factor = 1 and adimensional factor option is not checked, the visualization is real. * `Draw original`: it allows to draw the original configuration (without any deformation) and to choose the visualization style (`render`, `render with border`, `render and mesh`, `mesh` or `borders`). * `Result`: a vector result must be chosen. This result is used to show the deformed configuration. Please see :ref:`Animation control ` to know how to animate the deformed configuration. .. figure:: img/deformed_preferences.png :align: center Example of deformed configuration. `Static displacements` result is selected to define deformed configuration and `Von mises` on the top surface is selected to draw on the model. Moreover, `Non-dimensional factor` is activated to allow the deformed configuration to be visible, and original configuration is drawn in the `Mesh style`. Aristes ^^^^^^^ When drawing mesh aristes, consider similar meshes as a group or draw every mesh individually. .. _cuts_preferences: Cuts ^^^^ Cut preferences are explained below: * `Auto extend cuts`: when creating a cut over one surface, the cut line extends as much as possible. If cut plane is created using menu option, the cut line is extended regardless of this preference. However, if cut plane is create using the contextual menu, then the cut line is extended depending on this preference. * `Cuts on boundaries`: if selected, the cuts on volumes will be lines on the boundary of the volume. .. figure:: img/cut_boundaries.png :align: center * `Auto transparent`: when a cut over a surface or volume is created, then the new mesh is set automatically to transparent. * `Cut type`: this option defines the way that a plane cuts the set of active meshes: - `Connected elements`: only are considered the element under the cursor and elements connected to it, without crossing aristes. - `Mesh`: only are considered the elements that belongs to the mesh under the cursor. - `All`: the created plane cuts all active meshes. Please, see :ref:`Create cut plane ` to know more information about cut plane creation. Detailed information ^^^^^^^^^^^^^^^^^^^^ These are the preferences options in this category: * `Dynamic box`: draw a dynamic box in screen with information about the element under the cursor. * `Information box`: write mor details like gauss point data in the point information boxes. * `Draw frames information`: draw graphics performance information in the screen. .. _animation_preferences: Animations ^^^^^^^^^^ These are the preferences about animations: * `Minimum real time increment`: minimum realtime increment in milliseconds between two animation. * `Constant increment`: if set, increment in time step values for the animations is used as a constant. Please, see :ref:`Animations control ` to know how to perform animations. .. _flow_patterns_preferences: Flow patterns ^^^^^^^^^^^^^ These are the preferences that can be configured for flow patterns: * `Fluid velocity`: this is the most important preference related to flow patterns. It makes possible to choose a fluid velocity result necessary for creating flow patterns. Postprocess tries to find it, but if it is not possible, then user will have to do it. If there is not any fluid velocity result chosen, flow patterns will not be able to be created. * `Fluid density`: it makes possible to choose a fluid density result. If there is not any fluid density result chosen, a fix density value must be defined in the particle tracking window. * `Resolution`: It is the number of points to be drawn for all flow patterns. Between each pair of points, a straight line will be drawn. Therefore the higher resolution, the smother will be flow patterns. When it is changed, all flow patterns will be recalculated and redrawn using the new value. .. figure:: img/flow_pattern_resolution.png :align: center Solid elements ^^^^^^^^^^^^^^ Draw tetrahedra and hexahedra with reduced size, in order to separate them from neighbours. If `Scale factor` is less than one, then the elements are reduced. .. figure:: img/solid_scale_factor.png :align: center :scale: 60% Example of solid scale factor. In this case, factor = 0.9 Memory ^^^^^^ If `Use OpenGL display` is not activated, then drawing will be slower but program will need less memory. Geometry ^^^^^^^^ Transparency style can be `blend` or `stipple` and it is possible to hide meshes without results. .. _export_preferences: Export ^^^^^^^ These are the preferences for export meshes and results: * `Only meshes On`: if it is activated, only meshes set ON will be exported. * `VTK file format`: it is possible to export meshes and results to VTK in `ascii`, `binary`, `appended`. Please, see :ref:`Export ` menu option.