Refining a Vector Display
Simcenter STAR-CCM+ allows you to view vector fields using either arrows (glyphs) or a texture-based method known as line integral convolution. For each method, multiple properties are provided for customizing the appearance.
-
Select the [vector displayer] node and set
Display Mode to either
Glyph (for arrows) or
Line Integral
Convolution (for texture). Line integral convolution
requires more computing resources.
When using line integral convolution there is some delay before the effect of a property change is seen in the graphics window.
Figure 1. Vector scene rendered using glyphs
Figure 2. Vector scene rendered using Line Integral Convolution
By default, the vector field is colored according to the vector magnitude of the vector field. Other options are available including constant color, preset material, or according to an additional scalar field. This latter option is useful for when you want to detect correlations between flow direction and another quantity in the simulation.
- To set the method by which the vector field is colored, select the [vector displayer] node and modify Color Mode.
Other properties available on the [vector
displayer] node include Projection
Mode, which allows you to display only one component of
the vector relative to the chosen part. For a full list of properties and their use,
see Displayer
Properties Reference.
- When using arrows (glyphs), you can apply proportionate or constant sizing as follows:
- To adjust the appearance of the texture when using line integral convolution:
- To reduce the amount by which the underlying texture shows through the rendered surfaces, select the Color Transparency closer to 0. A value closer to 1 shows more of the texture pattern at the expense of color in the scene. node. Decrease the
- Line Length increases the length of the integrated line. A low setting produces a "noisy" result (short lines). With a high setting the lines appear very long.
Note | At high resolutions, hardcopy export with line integral convolution may fail due to graphics hardware memory being exceeded. If this error occurs, try lowering the resolution to 4096 pixels or less, or alternatively enforce Mesa OpenGL for software-based rendering. (Preferably configure Mesa SWR graphics with up to 16 renderer threads.) |