HyperView User's Guide

Layer Filter

Layer Filter

Previous topic Next topic Expand/collapse all hidden text  

Layer Filter

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

The layer filter reduces the layer list available in the Contour, Iso, Vector, and Tensor panels for the data types that have layers (for example, plies in composite stress/stains or any tensor result with layers).  This is important in composites post-processing where different set of layers (plies) belong to different materials, or if different set of layers are oriented in certain directions (0/45/90 degree plies) - and it is of interest to find out the maximum stress or minimum failure index in all the plies oriented in a certain direction, or that are made of particular material.

The filter is enabled whenever a data type with layers is selected.

layer_filter_example1

NoteThe filter will be disabled (or grayed out) if a data type does not contain any layers.

Once the layer list is filtered (orange highlighting will appear around the filter icon to show that it is turned on), the aggregation of Min/Max/Extreme/Sum/Average/Range can be performed on the reduced list.  For example, you can apply the layer filter for plies oriented in a certain direction, and select the Layers aggregate mode of Sum on this reduced ply list to sum up the thickness for that direction of plies.

hmtoggle_plus1greyCreating and Editing Filters

By default the filter is set to None in the Contour, Iso, Vector, and Tensor panels.  To define a custom layer filter, click on the Filter drop-down menu (the downward arrow next to the icon) and select Create/Edit.

layer_filter_drop_down_menu

The Create/Edit Layer Filters dialog is displayed which lists all pre-defined filters available for editing and their status.  The Layers list (located on the right side of the dialog) will display the layers associated with the data type selected in the panel.  If no filter has been previously defined, the dialog will be blank.

create_edit_layer_filters_dialog

Clicking Add allows you to create a customized filter by selecting (or deselecting) from the layers available in the Layers list. A minimum of one layer must be selected in order for the filter to be considered valid.

create_edit_layer_filters_dialog_ex2

If any of the filters do not have at least one layer/ply selected from the list, then Undefined will be displayed in the Status column (next to the filter name).  The following warning message will appear if you attempt to close the dialog with undefined filters displayed in the list:

layer_filter_invalid_filter_message_dialog

If only one layer is selected, the Contour and Iso panels will only show that layer without any aggregation modes of Min/Max/Extreme/Sum/Average/Range. If multiple filters are defined, clicking on each filter name in the Filters list will display the layers selected for that filter.

Existing filters in the list and layers can also be updated using the Create/Edit Layer Filters dialog.  After you are done creating or editing a filter click:

Apply

to apply the layer filter changes.

OK

to apply the changes and exit the Create/Edit Layer Filter dialog.

Cancel

to disregard the changes and exit the dialog.

When a filter is applied, the options listed in the Layers drop-down menu in the panel is reduced to whatever layers have been selected for the filter (see the example below):

layer_filter_no_filter_applied_example

Full list - no filter applied

layer_filter_applied_example

Reduced list - after filter is applied

NoteOrange highlighting around the icon in the panel shows that a filter is applied/turned on layer_filter_icon_orange.
hmtoggle_plus1greyDeleting and Renaming Filters

You can access the following options by right-clicking on any filter within the Filters list:

layer_filter_delete_rename_context_menu

Delete

Deletes the selected filter from the list.

You can also click Delete located at the bottom of the dialog to delete a filter.

Rename

Displays the Rename dialog, which allows you to rename the selected filter.

NoteIf an active filter which is used in any of the plots (contour/vector/tensor/iso) is deleted, or its definition is modified by adding or removing layers, you will need to reapply the relevant plot (contour, vector, tensor, or iso plot) to reflect the state of the updated filter.  In the case of deleting the active filter, the panels will reset the state of the filters to None, however the plot will need to be reapplied.
hmtoggle_plus1greySetting an active filter

All defined filters will be displayed in the Layers filter drop-down (click the arrow next to the Filter icon).  A check mark indicates which is the active filter.  To set/change the active filter, click the Layer filter drop-down menu and select one of the available options.

layer_filter_active_example

hmtoggle_plus1greyFilter Validity

Any filter can be selected/applied, and the data types can be changed from the Result type drop-down menus in the panels.  If the selected data type has layers that match the exact number and labels of the complete list of layers in the filter, then the filter is valid.  The available layers displayed in the layer list will be based on the filter.

If the changed data type does not match the number and labels of the full list of the layers in the filter, an invalid icon or broken filter icon is shown layer_filter_invalid_icon.  Even though the filter is active, it is not valid and the full list of layers will be displayed for the relevant data type.  The invalid/broken filter has the same effect on the list of layers as None.

For example, if a filter has been defined for Ply1, Ply3, Ply5, Ply5 - however the data type selected in the panel is Stress with Z1 and Z2 layers, an invalid filter icon is shown and all of the layers for that data type are displayed:

layer_filter_broken_filter_example

To make a broken filter valid again, simply change back to the original data type or a new data type that has the same complete list (for example, Composite Stress and Composite Strain), and the normal filter icon is restored.

hmtoggle_plus1greyResults Browser

Currently, the filters can be only defined from the panels.  However, once an active filter is set with a contour/iso/tensor/vector plot applied, it will also reduce the layer list in the Results Browser Layer Selector (based on validity of the filter).

layer_filter_results_browser_selector

NoteThe Result View must be active within the Results browser, in order to access the Results Browser Layer Selector.

Clicking on valid data types will show the reduced layer list based on the filter set for the contour/iso/tensor/vector plot.  For example, if a filter is applied for contour plot on Composite Stress/vonMises, but it is not applied to a tensor plot, then highlighting the data type name (Composite Stress in the Tensor folder of the result folder) will display the full list.  However, selecting individual components like XX, YY, P1, etc. will display the filtered list, assuming that the filter is valid.

If a plot style with a valid filter definition is applied on data types/components that will invalidate the filter, then the behavior is same as the Filter Validity treatment (the complete list will be displayed).

hmtoggle_plus1greyLegend

The legend of the contour/iso plot will display the name of the filter next to the layer aggregation:

layer_filter_legend

NoteIf the active filter is an invalid filter, the legend will not display any filter name.
hmtoggle_plus1greyGeneral Notes
Filters are defined for the active model only, and are not available for any overlaid models, or other post windows in the session (unless explicitly defined).
Any filter defined in one of the panels (Contour/Iso/Vector/Tensor) will be available in all the panels for that window.
The session file/report templates will save the filter definition for restoration and comparison.  Report template instantiation resulting in an invalid filter will be handled the same way as defined in the Filter Validity section (the filter is displayed as ON, however it will have no effect).
H3D exports filters as defined, however depending on how many layers are contained in the H3D, the filter may be invalid when reading it back. For example, if a scalar max vonMises is exported instead of a full tensor, then there is only one layer information written to the H3D.  When reading the file back, the filter will be invalid.
When switching between windows or panels, the filter state will be reset to whatever is the valid state for the given contour/iso/vector/tensor plot that is currently applied.

 

See Also:

Composites Post Processing

Value Filter

Contour Panel

Iso Panel

Vector Panel

Tensor Panel

Edit Legend