User Tools

Site Tools


Practical Session 4: Produce Output

Estimated completion time→15 minutes.

In this practical session we will create an output report that includes a summary of user input and a table of results.

During the Authoring phase of development the above output is available at:

  • EASA→Authoring→Testing

Once the EASAP has been Published a User will submit runs and view output from a similar page at:

  • EASA→User→Results→My Results

  • Find our EASAP at EASA→Author→Applications→My EASAPs.
  • Click on it and then click on the EASAP Builder link in the new page.
  • On the Tree right-click OUTPUT
    • Select Child→Add REPORT
    • Right-click report1
      • Select Child→Add HTML OUTPUT
      • Rename it body
      • Set the following parameter:
Parameter Name Parameter Value
File:report.html

We need to extract some data from the underlying analysis software output file.

  • Right-click report1
    • Select Sibling→Add DATA PROCESSING
    • Expand it.
    • Right-click LIST
      • Select Child→Add EXTRACT
      • Set the following parameter:
Parameter Name Parameter Value
File:PLATE.OUT

This file name is not in the pull-down list because it is created after the plate software application is run.

  • Type in the file name and click somewhere else on the parameter table to store the text.
    • (<ENTER> will erase what has been typed and offer a choice from the existing files).

Use the Extract Tool to help in the creation of EXTRACT, FIND, and REPEAT objects:

  • Right-click on extract1
    • Select Extract Tool at the bottom (see the following page).

When the Extract Tool window appears,

  • Click on the Open button ().

At the top of the Load sample file window:

  • Select Local file and browse to the tutorial files,
    • Select PLATE.OUT
    • Click OK.

The window should appear as follows:

  • In the preview pane scroll down until the text ‘JOINT DISPLACEMENTS’.
  • Highlight ‘JOINT DISPLACEMENTS’,
    • Right-click,
      • Select Add Literal Find from the icon bar.

JOINT DISPLACEMENTS will appear in the left Matched Lines column (next page).

  • Highlight the number '1' below ‘JOINT DISPLACEMENTS’
    • Right-click
      • Select Add Variable Find
  • After the Add Variable Find window opens
    • Name the 'delimited' object reference or DOR→ node
    • Select ‘Integer’ for the object reference type
  • Highlight the first '0.000000' after 1
    • Right-click
      • Select Add Variable Find
  • After the Add Variable Find window opens,
    • Name the object reference or DOR → xd
    • Select ‘Real’ for the type
  • Highlight the second '0.000000' after '1'
    • Right-click
      • Select Add Variable Find
  • After the Add Variable Find window opens
    • Name the object reference or DOR → yd
    • Select ‘Real’ for the type
  • Highlight the last '0.000000' after '1'
    • Right-click
      • Select Add Variable Find
  • After the Add Variable Find window opens
    • Name the object reference or DOR → zd
    • Select ‘Real’ for the type

These steps are visible below.

Next we set up a repeating FIND to pull out the desired data.

  • Highlight the second line (node xd yd zd) in the Matched Lines column.
  • After the line becomes yellow,
    • Select the Repeat () button within the Extract Tool toolbar.
  • The Set Repeat Parameters window opens,
    • Select Match up to a maximum number of lines.
    • Enter 21 within the Maximum number of matches
  • Select OK to close the Extract Tool window.

Finally we compute the maximum displacement on the plate. In the OUTPUT branch:

  • Right-click SCALAR
    • Select Child→Add STATISTICS
    • Rename it MaxD
    • Set the parameters below:
Parameter Name Parameter Value
List:zd
Function:MAXIMUM
  • Time to save our work, click Save.


Now let’s display the calculated maximum displacement of the plate in our report.

  • Right-click body
    • Select Sibling→Add TEXT OUTPUT
    • Rename it MaxDisp
    • Set the parameters below:
Parameter Name Parameter Value
Text:Maximum Plate Displacement = %MaxD% in.
Style:Normal

Now add a heading.

  • Right-click MaxDisp
    • Select Sibling→Add HTML OUTPUT
    • Rename it heading
    • Set the following parameter:
Parameter Name Parameter Value
Text:<h4>Table of Plate Displacement</h4>

Finally display our extracted nodal displacement data in a table.

  • Right-click heading
    • Select Sibling→Add TABULATED DATA
    • Rename it DispTable
    • Set:
Parameter Name Parameter Value
Column Titles:Node, Displacement [in]
Columns:node, zd
  • Now save the EASAP, and then check the EASAP Tree to ensure that the OUTPUT branch looks like the following figure:

At this point, we can get a preliminary view of the report that will be generated by the objects in the OUTPUT branch.

Back in the browser window,

  • Select EASA→Authoring→Testing
  • Click on the View Results button () in the Output column for the prior test run.
  • Click Re-generate report using the latest version of this EASAP

The following figure will appear in the browser window:

If the results pages do not look like what is shown above, there may be a problem with the original EASAP run or with the objects on the OUTPUT branch. We can try to resolve the problem now or wait until Practical Session 5 when we will test and troubleshoot the EASAP.

  • After reviewing the Latest Output content, return to EASAP Builder and exit.

We are now finished with Practical Session 4.


Page Tools