HWD-0040: Presenting Results

In this tutorial, you will learn how to:
  • Capture screen contents to files.
  • Capture animations to files.
  • Export CAE data in Altair’s Hyper3D format and view it with HyperView Player.
  • Create HTML and PowerPoint (XML) report files from HyperView Player.

Tools

From the View menu, select Toolbars > HyperWorks Desktop > Image Capture.



Figure 1.
  • Capture Graphics Area : HyperWorks Desktop allows you to capture the screen (the windows in a session page) to a BMP, JPEG, PNG, or TIFF file to use in a report. You can open the file in an image editor and in HyperView’s video window.
  • Capture Graphics Area Video : HyperWorks Desktop allows you to capture animation data to an AVI, AMF (Altair Movie File), BMP, JPEG, TIFF, PNG, or GIF file. You can view the AVI file in a movie player application and in HyperView’s video window.
  • Capture Dynamic Rectangular Video : This works the same as the Capture Animation Video function, but after entering the file name, you must graphically select a rectangular area where the video will be recorded. Use the left mouse button to draw the window and then click the right mouse button to accept the area.
From the File menu, select Export > H3D Model.
  • Altair’s Hyper3D (H3D) file is a compact, binary 3D movie file. This format allows you to store model and results data in a single, compact file, rather than in multiple, large solver results files. You can create an H3D file containing only the data you want someone to access and easily distribute information using H3D files with HyperView Player.
From the File menu, select Publish > HTML or PowerPoint.
  • You can capture multiple pages and windows to various file formats (H3D, AVI, JPEG, etc.) and organizes them into an HTML or PowerPoint (XML or HTML) file. The PowerPoint file will be in XML format. You can read XML files into Microsoft PowerPoint and the HTML files into Microsoft PowerPoint.

HyperView Player

HyperView Player is an Internet browser plug-in and standalone application for visualizing 3D computer aided engineering models and results in H3D file format created from HyperView.

The HyperView Player window is embedded in the HTML or XML reports generated so as to view the 3D data using the plug ins.

In HTML files, you can also display H3D data in a 2D preview image as shown in the image of the sample HTML report below. This image is stored in the H3D file. Click the image to open HyperView Player’s standalone application with the H3D file loaded. Windows and UNIX support 2D preview images.

Create the H3D File for Page 1, Window 1

  1. Open the session file ../tutorials/mv_hv_hg/animation/presenting_result.mvw.
  2. Activate page 1, window 1.
    On the window’s legend, Displacement (Mag) is the active contour result type. This allows the creation of the maximum displacement results to be saved to the H3D file.
  3. From the Display Control icon, , uncheck the option for Contour.
  4. Also, in the Display Control, uncheck the option for Section Cuts.
    When the H3D file to be created is opened, the default display will not have a contour or section cuts. However, the contour and section cut(s) are saved to the H3D file and can be turned on.
  5. From the Animation Controls panel, , set Animate start to 0.022 and Animate end to 0.042. Be sure to press Enter after typing in the new values.
    Only displacement results in this range will be saved to the H3D file.
  6. From the Preferences menu, select Export Settings > H3D.
  7. From the Export Settings H3D dialog, activate the option Compression Maximum % loss.
  8. Review the other options and then select OK to close the dialog.
  9. From the File menu, select Export > Model and save the file as taurus_new.h3d.

Open the H3D file in HyperView Player

  1. Open HyperView Player from the desktop’s Start > Altair 2022 menu.
  2. Click the Open file button, open the file taurus_new.h3d.
  3. Animate the model by clicking the Play button, .
  4. Use the horizontal slider under the Current Time slider to control the speed of the animation.


    Figure 2.
  5. Rotate, zoom in, and translate the model using the Ctrl + mouse buttons just as you do in HyperView.
  6. From the Display Control icon, , turn on the Contour and the Section Cut.
  7. Close HyperView Player.

AVI Capture of Screen/Animation with Box Selection

  1. Return to the HyperView session.
  2. Activate page 1, window 1.
  3. From the Standard Image Capture toolbar, select Capture Dynamic Rectangular Video, .
  4. Enter a name for the AVI file in the Save Dynamic Rectangle Video As window that is displayed and click Save.
  5. Left-click in the graphics area and draw a window around the area to be captured.
    The window can be moved on the screen (by placing the mouse inside the window and moving it) or resized (by placing the mouse over the window's edge and resizing it).
  6. Right-click anywhere in the graphics area to start the AVI capture of the selected area.
    An AVI file of the animation of the selected area is saved.

Publish Session in HTML or XML Format

  1. Return to the HyperView session.
  2. Open the Session Browser by selecting View > Browsers > HyperWorks > Session.


    Figure 3.
    Notice in the bottom half of the browser, there is an option for Publish Page. This allows you to select the individual pages to be published.
  3. Verify that all pages are selected for publishing
  4. SelectHyperView under the Frontal crash and in the lower half of the browser, under Basic, click in the field for Publish Format. Select H3D.
  5. In the Window Description text box, type FE car model.
  6. Click OK.
  7. In the Session Browser, right-click on HyperGraph 2D under the Frontal crash and select Publish Settings.
  8. In the Window Description field, type compare forces.
  9. SelectHyperGraph 2D under the Frontal crash and in the lower half of the browser, under Basic, click in the field for Publish Format. Select JPG.
  10. Click OK.
  11. SelectHyperView under the Air bag and in the lower half of the browser, under Basic, click in the field for Publish Format. Select JPG.
  12. In the Window Description field, type madymo dummy and set the Format to JPG.
  13. Click OK.
  14. SelectMediaView under the Air bag and in the lower half of the browser, under Basic, click in the field for Publish Format. Select AVI.
  15. Leave the Window Description field empty and set the Format to AVI.
  16. From the menu bar select File > Publish > HTML.
  17. Enter the filename crash_report.html.
    The HTML file is saved in the specified folder along with a new folder named crash_report_data_dir. This folder contains all files linked to the HTML file. Proceed to View the HTML File in Internet Explorer.

    OR

    Repeat step 17 above, and select File > Publish > PowerPoint and save the file as crash_report.xml.

    The XML file is saved in the specified folder along with a new folder named crash_report_xml_dir. This folder contains all files linked to the XML file. In this case, proceed to View the XML File in Microsoft PowerPoint.

  18. Click Save to publish the files.

View the HTML File in Internet Explorer

  1. Open the file crash_report.html using Internet Explorer.
  2. On the left side, the session page names Frontal crash and Air bag are displayed. Also, notice the description under the windows.
    Note: If Internet Explorer blocks the content when the HTML page is opened, please allow the blocked content.
  3. Click the page names to go to that page.
  4. For the Frontal crash page, click on the animation window to launch HyperView Player and animate the model.
  5. Double-click the plot window to expand it.
  6. Click Back at the top of the web browser window to return to the original view of the report.
  7. Click Air bag on the left side to go to the Air bag page in the HTML report.
  8. On the Air bag page, click the video window to open a movie player and play the video.


    Figure 4.


    Figure 5.

    Notice that the video window does not have a description.

View the XML File in Microsoft PowerPoint

  1. Returning to HyperWorks Desktop, select File > Publish > PowerPoint.
  2. From the Publish Session File dialog, browse to crash_report.xml. If prompted for reliability of source, click Yes.
  3. Go to slideshow mode (F5).
    The H3D file is available with HyperView Player embedded in PowerPoint. Also, the other images and movie files are available in the layout selected in the HyperView session.