Matrix Browser
Use the Matrix Browser to explore the HyperMesh and HyperView data entities and export the entities to external files for further analysis.
From the Post ribbon, click the Matrix tool.
The Matrix Browser is organized into two main sections. The top
half of the browser provides a table view similar to an
Excel spreadsheet. The bottom half of the browser shows and
allows you to browse the HyperMesh/HyperView (data source) and its data entity (object) names
and their data names (attributes). The HyperMesh
database entities are shown in green and the HyperView
database entities are shown in yellow. When you select a column in the table it
becomes an active column and is highlighted in blue. All of the following searches
are conducted on the active column.
Matrix Browser Functionalities
Below is a highlight of the functionalities supported by the Matrix Browser.
- Query and modify HyperMesh and HyperView data entities without writing cumbersome Tcl coding.
- Export HyperMesh and HyperView data to an Excel file for further post-processing and report generation.
- Establish a link between HyperMesh and HyperView in order to access model data, such as material, property, beam section, and results data in a single environment. The browser supports the selection of multiple load cases from the HyperView results database.
- Create new procedures (macros) to enable automation with minimum Tcl coding and also capture the automation process as Tcl scripts. These macros can be used external to the Matrix Browser, like the tools in the Altair script exchange.
Note: The Matrix Browser does not allow for the creation of new
HyperMesh entities. The tool queries and modifies
existing entity data. The browser also does not allow
extensive geometry (lines, surface, solids) data query. It is intended for FE data
and results that are already in the HyperMesh/HyperView databases.
Prepare to Use the Matrix Browser
- Open an existing HyperMesh model or import solver data.
- Use the split screen and invoke HyperView.
- Load the results file for the solved data into HyperMesh.
-
From the Post ribbon, click the Matrix
tool.
Note: HyperView is only needed if the results are accessed from the Matrix Browser.
Access HyperMesh Data Using the Matrix Browser
- In the DataSource column, select HMdata.
- In the Entities column, select a HyperMesh entity.
- Click Query.
-
In the panel area, use the entity selector to select
HyperMesh entities to add to the matrix.
A new green colored column is added to the matrix.
-
In the matrix, click the elements header to access
entity data.
The elements column turns blue when clicked, indicating the entities are active for the search operation. The Datanames column is populated with entity attributes from the HyperMesh database for the element IDs shown in the elements column.
-
Select the material, property, or any other attribute(s) and click
Query.
One of more columns will be added. If you selected material, the material IDs will be shown.Component attributes you can select include:
- Masses.
- Center of gravity (CoG) coordinate, X, Y, or Z.
- Moments of inertia components expressed from the origin (IXX, IYY, IZZ, and so on).
- Moments of inertia components expressed from the component CoG (IXXcog, IYYcog, IZZcog, and so on.
-
The next step is to get E, Nu from the material. Activate the
material column, and then select
E and Nu from the data
names.
- Click Query.
- Repeat this process for property and get the element thickness.
Access HyperView Results From the HyperMesh Database
Access HyperView Results From the HyperMesh Database with Multiple Subcases
- Split the graphics area into two windows. In the first screen, use HyperMesh to load the model files. In the second screen, use HyperView to load results files.
-
From the Post ribbon, click the Matrix tool.
The Matrix Browser opens.
- In the DataSource column, select HMdata.
- In the Entities column, select the required element directly or select components, material, property, or sets.
- In the DataSource column, select HVdata.
- In the Entities column, select Results.
-
In the Subcase Options column, select
multiple_subcases.
-
Select the results type(s) available in the solver results.
-
Select layer information (if available) and the results system in which the
results are to be interpreted.
User-defined system results are available as long as a system is available in HyperView.
- By default, the matrix only displays the results for each subcase in separate column. Retrieve additional information by right-clicking and selecting Show all columns from the context menu.
Access HyperView Results From the HyperMesh Database with the Current Subcase
- Split the graphics area into two windows. In the first screen, use HyperMesh to load the model files. In the second screen, use HyperView to load results files.
-
From the Post ribbon, click the Matrix tool.
The Matrix Browser opens.
- In the DataSource column, select HMdata.
- In the Entities column, select the required element directly or select components, material, property, or sets.
- In the DataSource column, select HVdata.
- In the Entities column, select Results.
-
In the Subcase Options column, select
current_subcase.
- Select the results type.
-
In the HVSubcases dialog, select layer and system
information.
Results for the current subcase display in the column.
-
From the Macro pull-down, click Save.
- From the Macro pull-down, click Run.
-
After the macro is finished running, you will be asked to select the load case.
If you select multiple load cases, separate worksheets will be created for each
load case as in the case of current load case.
- Select the worksheet corresponding to the simulation.
Access HyperView Results From the HyperMesh Database with the Current Contour Results
-
In HyperView, select the required results and
contour data.
-
From the Post ribbon, click the Matrix tool.
The Matrix Browser opens.
- In the DataSource column, select HVdata.
- In the Entities column, select Results.
-
In the Subcase Options column, select
current_contour.
- The current contour selection does not prompt you for load case, layer, or system information. The displayed results are queried in HyperView and sent to the matrix.
Query Max/Min Results for Components/Sets/Materials/Property
- In the DataSource column, select HMdata.
-
n the Entities column, select components, sets, materials, or property.
- In the DataSource column, select HVdata.
- Select results and the required data type.
-
In the HVSubcases dialog, select layer, corner data type,
system, and averaging methods.
The max/min results for that component display. In a separate column, additional data lines display the loads case and node/element information for the particular data.
Create Notes in HyperView
In the Matrix Browser, you can create and delete
annotations (HV-notes) for selected column results using the context menu option Notes to HV.
Create and Retrieve User Data in the Matrix Browser
- Click user_data in the Data Source column.
- Click Create in the user variables GUI column.
- Click double in the variable types column.
- Click Query.
-
In the dialog, provide the column label name, select Multiple
values, and activate the Create a column on
OK checkbox.
-
Click OK.
The user data is added to the Matrix Browser.
- In the matrix, right-click on the user data you created and select Create Metadata from the context menu.
-
In the dialog, select entities to create metadata for.
-
Retrieve this data using entity based metadata.
Work with Microsoft Excel
- Once the HyperMesh, HyperView, and user data is gathered in the Matrix Browser, the data can be exported to Excel by clicking Excel in the top right-hand corner of the browser.
-
You can hide some of the columns that are not needed for export by selecting
Hide Columns from the context menu.
- You can also add more columns. To import the new column(s) from Excel into the Matrix Browser, click Matrix.
Display Data in HyperMesh or HyperView
-
Display data in HyperMesh.
-
Display data in HyperView.
Add Tcl Calculation Procedure
- Click user_data in the Data Source column.
- Click Create in the user variables GUI column.
-
Click Procedure in the variable type column.
A dialog opens.
- Enter the column and function name.
- Activate the Create a column on OK checkbox.
-
Add the following Tcl code, based on Matrix and
column names, then click OK.
proc Element_strain_calc { } { set force_fyy[::MatrixBrowser::getColumn2D_Element_Force:YY] set width [::MatrixBrowser::getColumn Width] set young_mod [::MatrixBrowser::getColumn E] set thickness [::MatrixBrowser::getColumn PSHELL_T] set Strain_yy "" set Strain_yy [expr $force_fyy/$width/$thickness/$young_mod] return $Strain_yy }
Store and Reuse the Procedures Outside of the Matrix Browser
- Click .
-
Enter the Macro Name in the dialog and click OK.
This macro can also be added to the menu bar and accessed and run without using the Matrix Browser. The scripts are stored and can be reused like other scripts without the Matrix tool.
Context Menu
The Matrix Browser's context menu contains additional browser options.