Scalar map on Point Mesh
Scalar Map is the basic type of visualization of calculation data in Post-Pro module. This presentation consists of the following:
-
creating a 3D presentation on the basis of a field:
-
on the whole mesh (default)
-
on group(s) of the mesh
-
coloring the cells of this presentation, according the scalar or vector values applied to this cells;
-
creating a scalar bar representing the correspondence between the scalar values of the field and the used colors.
All other types of field presentations are based on the Scalar Map.
To create a Scalar Map presentation:
- – Right-click on one of the time stamps of the field in the Object browser and from the pop-up menu choose Scalar Map, or
– Click on one of the time stamps of the field in the Object browser and select from the main menu Visualization > Scalar Map, or click "Scalar Map" icon in the Visualization Toolbar
"Scalar Map" icon- The following dialog box will appear:
- Note:
- This dialog box is the same for all types of field presentations and it will be present as an additional tab in all dialog boxes allowing to create the other types of presentations. It allows to set the parameters of Scalar range, as well as the parameters of the Scalar Bar. You can also set these parameters as preferences which will be used in all SALOME sessions: in the main menu select File > Preferences > Post Pro > Scalar Bar.
-
Build presentation on groups: You can choose the groups on which Scalar Map can be built from the list to the left and add them in the list to the right.
-
Scalar range parameters:
-
Scalar Mode field: This field allows to choose the mode of transformation of vector values into scalar values for creation of the presentation. It can be module of the vector or one of three components of the vector. (Note: This choose box is relevant only for fields containing vector values, in other cases it will be inactive).
-
Logarithmic scaling check box: You can apply logarithmic scaling to the color scale of the presentation.
-
Gauss Metric field: This field allows to choose what kind of value will be extracted from gauss points data. (Note: This field is shown only for two presentation types - Scalar Map and Deformed Shape and Scalar Map, and it is active only when the result is based on multiple gauss points).
-
Use field range: if this check box is selected, all cells of the field presentation will be colored according the values applied to these cells.
-
Use imposed range: here you can define your own range of scalar values of the field, on the basis of which this presentation will be constructed. The cells of the field presentation with applied scalar or vector values belonging to this imposed range will be colored according to these values. The other cells of the field presentation (with applied scalar or vector values out of this imposed range) will be displayed using one color. For the cells with applied scalar or vector values, which are less than the minimal value of the imposed range, the color will be the same as for the cells with applied minimal values. For the cells with applied scalar or vector values, which are larger than the maximal value of the imposed range the color will be the same as for the cells with applied minimal values.
-
Colors and Labels:
-
Nb. of colors field: In this field you can enter the number of colors, which will be used for coloring of cells containing scalar values.
-
Nb. of labels field: In this field you can enter the number of labels, indicating graduation of the scalar bar.
-
Orientation: You can select Vertical or Horizontal orientation of the scalar bar.
-
Origin: you can enter X & Y coordinates of the origin of the scalar bar.
-
Dimensions: you can enter Width and Height of the scalar bar specified in % of the size of view.
-
Text properties button allows you to define from the following dialog box:
-
Title of the field, on the basis of which this presentation is created,
-
Font properties of the Title, displayed in the Viewer,
-
Font properties of the Labels, displayed in the Viewer.
-
Bar properties button allows you to define from the following dialog box:
-
Relative size of Title (in percents of the width of scalar bar widget),
-
Relative size of Labels (in percents of the width of scalar bar widget),
-
Relative width and height of Bar (in percents of the width and height of scalar bar widget),
-
Visibility of Units in Title,
-
Precision of Labels which specifies the number of characters to be printed, the number of decimal places, or the number of significant digits
-
Preview checkbox allows to see a preview of the presentation while editing Scalar Bar properties.
-
Show distribution checkbox introduces additional curved scalar bar representing the distribution curve according to the number of mesh elements of the corresponding color. This bar is always placed along the scalar bar.
Distribution Bar
-
Save as default checkbox saves the modified Scalar Bar parameters as default for all other presentations.
- Note:
- The following option is relevant only for Gauss Points presentations.
Gauss Points Presentations presume that two different scalar bars are displayed simultaneously:
The Global scale corresponds to the minimum and maximum values founded for the variable at all time stamps (located on the left side). When active, the second is displayed in grey and disabled. The Local scale defines the minimum and maximum values at the current time stamp for the variable (located on the right side). When the Local scale is active, the Global scale shows its limits with two black lines.
Local and Global bars
Local and Global bars can be switched in the Scalar bar tab for Gauss Points presentation.
-
Local: when selected, the Local bar will be active and colors used for rendering of the results will be taken from this bar. If displayed, the Global bar will be displayed in grey and 2 markers will define the limits of the local min/max range.
-
Global: when selected, the Global bar will be active and colors used for rendering of the results will be taken from this bar (i.e.: not all colors may be used to display results at a given time stamp). Local bar will be displayed in grey and inactive.
-
Displayed: when checked, the Global bar is displayed, else it is not seen. This control is systematically checked and disabled when the Global bar is defined as active.
After you have finished with setting the parameters, click OK. The presentation will be immediately displayed in the viewer:
Scalar map on Cell Mesh