User Tools

Site Tools


Practical Session 5 | Practical Session 7

Practical Session 6: Produce Output

Estimated completion time = 50 minutes.

In this practical session, you will create output to be displayed as a report on the Results pages. This report will include a summary of the user’s inputs, tables of results, and a contour plot of the plate displacement.

Please follow the instructions below to complete this practical session. Detailed information on the objects created during this session can be found at the Author's Pages.

  • Log in, and Set Mode→Author.
  • Under EASA→Author→Applications→My EASAPs find your ‘Rectangular Plate’ EASAP
  • Click on it then click on the EASAP Builder link on the new page.

The first object to add to the OUTPUT branch will be a NOTES object to help users annotate their individual EASAP runs.

  • Click on the Tree tab.
  • Right-click OUTPUT branch and select Child→Add NOTES (). Then set:
Parameter Name Parameter Value
Value:%project%:%case%

We need to perform some data processing in order to complete the report.

  • Right-click NOTES and select Sibling→Add DATA PROCESSING and expand it to show its SCALAR and LIST Child objects.

Now extract the displacement data out of the output file created by the underlying plate analysis software and then present it in a table.

  • Right-click LIST and select Child→Add EXTRACT (). Rename it extract_values and set:
Parameter Name Parameter Value
File:PLATE.OUT

Note: This file name will not appear in the pull-down list because it is only created after running the plate software application.

  • Right-click extract_values and select Child→Add FIND (). Then set:
Parameter Name Parameter Value
Value:JOINT DISPLACEMENTS

Now set up a repeating find to pull out the desired data.

  • Right-click the new FIND object and select Sibling→Add REPEAT (). Then set:
Parameter Name Parameter Value
Stop When Value:plate MOMENT
  • Expand the above REPEAT and select its child FIND. Then set its:
Parameter Name Parameter Value
Value:%node% %xd% %yd% %zd%
Type:Integer, Real, Real, Real

Note 1: The Value: parameter color will change upon completing the content entry to: node xd yd zd. This indicates that the four DORs have been recognized as new list objects.

Note 2: The Type: parameter is set by clicking the 'Integer' selection once and then the 'Real' selection three times on the pop-up form.

  • Right-click the REPEAT object and select Copy. Right-click again and select Paste (Sibling). Set:
Parameter Name Parameter Value
Stop When Value:REACTIONS
  • Set parameters of the new FIND child object to extract the plate moment data.
Parameter Name Parameter Value
Value:%dum1% %MX% %MY% %MXY%
Type:Integer, Real, Real, Real

We have extracted the plate displacement data and now some processing of this data is required before it can be presented in the report. First we compute X and Y locations from the node list in three steps:

  1. compute the column (i) and row (j) locations
  2. compute the actual X and Y locations
  3. format the values of the X and Y locations for inclusion in a report table
  • Right-click extract_values and select Sibling→Add REPEATED COMPUTE. Rename it jNode and set:
Parameter Name Parameter Value
Value:round((node+5)/11)
Type:REAL
  • Right-click jNode and select Sibling→Add REPEATED COMPUTE. Rename it iNode and set:
Parameter Name Parameter Value
Value:node-11*(jNode-1)
Type:REAL

To compute the nodal X and Y locations we need to create two more REPEATED COMPUTEs.

  • Right-click iNode and select Sibling→Add REPEATED COMPUTE. Rename it xN and set:
Parameter Name Parameter Value
Value:dx*(iNode-1)
Type:REAL
Unit Group:Length
  • Right-click xN and select Sibling→Add REPEATED COMPUTE. Rename it yN and set:
Parameter Name Parameter Value
Value:dy*(jNode-1)
Type:REAL
Unit Group:Length

To complete the nodal X and Y location values we use two REPEATED EXPAND's to specify the units of ‘ft’ and to format the numbers to be floating point style with three digits after the decimal point.

  • Right-click yN and select Sibling→Add REPEATED EXPAND object as a sibling, Rename it xT and set:
Parameter Name Parameter Value
Value:%xN [ft] 8.3f%
  • Right-click xT and select Sibling→Add REPEATED EXPAND. Rename it yT and set:
Parameter Name Parameter Value
Value:%yN [ft] 8.3f%

Now we create lists of X and Y values to be used in a 2D Graph object, which only needs X values for a single row and Y values for a single column.

  • Right-click yT and select Sibling→Add AUTO LIST. Rename it xylist and set:
Parameter Name Parameter Value
Type:INTEGER
Size:11
  • Right-click xylist and select Sibling→Add REPEATED COMPUTE. Rename it xP and set:
Parameter Name Parameter Value
Value:10*(xylist-1)
Type:REAL
  • Now Copy xP then Paste (Sibling). Rename it yP.

Finally compute the maximum displacement on the plate.

  • Right-click SCALAR and select Child→Add STATISTICS (). Rename it MaxDisp and set:
Parameter Name Parameter Value
List:zd
Function:MAXIMUM

Now create an object that determines when the results have been created and extracted properly.

  • Right-click MaxDisp and select Sibling → Add IS VALID (). Rename it results_ready and set:
Parameter Name Parameter Value
Value:zd
  • Time to save your work, click the Save button.

Proceed with creating the report.

  • Right-click the DATA PROCESSING above and select Sibling→Add REPORT ()

We read-in the main body of the report as an HTML file.

  • Right-click report1 and select Child→Add HTML OUTPUT (). Rename it body and set:
Parameter Name Parameter Value
File:plate.html

Add a table for displaying the concentrated loads specified by the user.

  • Right-click body and select Sibling→Add TABULATED DATA (). Rename it Cloads_table and set parameters below:

Note: To set the Columns: parameter click on the three list objects in the order shown.

Parameter Name Parameter Value
Column Titles:X location [%], Y location [%], Load [kip]
Columns:xloc, yloc, input_LC
Show if:input_Lc >0

Create a heading that will show in the event that no concentrated loads were specified by the user.

  • Right-click Cloads_table select Sibling→Add TEXT OUTPUT. Set:
Parameter Name Parameter Value
Text:No concentrated loads specified.
Style:Normal
Show if:input_Lc ==0

Create a heading to introduce the results section of the report.

  • Right-click the TEXT OUTPUT and select Sibling→Add HTML OUTPUT. Rename it Results and set:
Parameter Name Parameter Value
Text:<br /> <h3>Analysis Results: </h3> <br />

The first result to be displayed in the report is the maximum displacement of the plate.

  • Right-click Results and select Sibling→Add TEXT OUTPUT (). Rename it MaximumDisp and set:
Parameter Name Parameter Value
Text:Maximum Plate Displacement: %MaxDisp% in.
Style:Normal

Create a heading introducing the plot section of the report.

  • Right-click MaximumDisp and select Sibling→Add HTML OUTPUT. Rename it Plots and set:
Parameter Name Parameter Value
Text:<h4>Plots: </h4>

Create a contour plot of the displacement on the plate using the 2D GRAPH.

  • Right-click Plots and select Sibling→Add 2D GRAPH (). Rename it graph_Disp and set:
Parameter Name Parameter Value
Display:IMAGE
Width:600
Height:600
  • Right-click graph_Disp and select Child→Add CONTOUR DATA (). Set:
Parameter Name Parameter Value
X Values:xP
Y Values:yP
Data Values:zd
Type:LINEAR
Style:FILL_LINE
Number of Contours:10
Refinement Factor:2
Parameter Name Parameter Value
Title:X [% Width]
Type:LINEAR
Parameter Name Parameter Value
Title:Y [% Length]
Type:LINEAR
  • Last select TITLE and set:
Parameter Name Parameter Value
Title:Contour Plot of Plate Displacement
SubTitle:- Units = inches

Now we create three more graphs to display plate moment data.

  • Right-click graph_Disp and select Copy, then right-click and select Paste (Sibling) three times. Name the pasted graphs graph_MX, graph_MY and graph_MXY
  • For each, set the parameters of the CONTOUR DATA Child objects to match their respective graphs:
Parameter Name Parameter Value
Data Values:MX
Parameter Name Parameter Value
Data Values:MY
Parameter Name Parameter Value
Data Values:MXY
  • Finally edit the parameter TITLE objects to match their respective graphs:
Parameter Name Parameter Value
Title:Contour Plot of Plate Moment X
SubTitle:- Moment X [foot-kips/foot]
Parameter Name Parameter Value
Title:Contour Plot of Plate Moment Y
SubTitle:- Moment Y [foot-kips/foot]
Parameter Name Parameter Value
Title:Contour Plot of Plate Moment XY
SubTitle:- Moment XY [foot-kips/foot]

Add another heading to introduce a data table.

  • Right-click graph_MXY and select Sibling→Add HTML OUTPUT. Rename it Table1 and set:
Parameter Name Parameter Value
Text:<h4>Table of Nodal Displacements</h4>
Show if:showdisp=="TRUE"

Note: The logical expression in the Show if: parameter refers to the value of the logic box found on the fourth TABBED PANE. The TEXT OUTPUT will only be displayed if this expression evaluates as true.

Now display the previously extracted nodal displacement data in a table.

  • Right-click Table1 and select Sibling→Add TABULATED DATA. Rename it Disp_table and set:
Parameter Name Parameter Value
Column Titles:Node, X [ft], Y [ft], Displacement [in]
Columns:node,xT,yT,zd
Show if:showdisp=="TRUE"

Note: The logical expression in the Show if: parameter refers to the value of the logic box found on the fourth TABBED PANE: Disp_table will only be displayed if this expression evaluates as true

Finally display the previously extracted plate moment data in a table in the same manner as you displayed the nodal displacement data.

  • Right-click Disp_table and select Sibling→Add HTML OUTPUT. Rename it Table2 and set:
Parameter Name Parameter Value
Text:<h4>Table of Plate Moments</h4>
Show if:showmom=="TRUE"
  • Right-click Table2 and select Sibling→Add TABULATED DATA. Rename it Mom_table and set:
Parameter Name Parameter Value
Column Titles:Node , X [ft] , Y [ft] , Moment X [ft-kip/ft] , Moment Y [ft-kip/ft] , Moment XY [ft-kip/ft]
Columns:node,xT,yT,MX,MY,MXY
Show if:showmom=="TRUE"

We are done defining the browser-based report that will be generated by each submitted run of our EASAP. Now display some of the generated results back on the user interface of your EASAP. Copy the plate displacement graph for pasting the user interface.

  • Select OUTPUT→report1→graph_Disp and type Ctrl-C.
  • Expand the USER INTERFACE branch and then expand the DIAGRAM LIST.
  • Select loads2 and type Ctrl-B. A new 2D GRAPH will appear on the tree, rename it graph_Disp_results
  • Right-click the TABBED PANE USER INTERFACE→report and select Sibling→Add TABBED PANE. Rename it results and set:
Parameter Name Parameter Value
Tab:5. Results
Diagram:graph_Disp_results
Enable if:results_ready=="TRUE"
Divider Location:-80
  • Right-click on OUTPUT→report1→Mom_table and select Copy. Expand the TABBED PANE USER INTERFACE→result and select Paste (Child).

Add some results output to results.

  • Right-click on results and select Child→Add LABEL (). Rename it Max_disp and set:
Parameter Name Parameter Value
Label:Maximum Plate Displacement: %MaxDisp% in.

Copy the tabulated data from your report onto this pane.

  • Select OUTPUT→report1→Disp_table and type Ctrl-C.
  • Select USER INTERFACE→results→Max_disp and type Ctrl-B. For this new TABULATED DATA set:
Parameter Name Parameter Value
Column Titles:Node, X [ft], Y [ft], dZ [in]
Height:400

The final step in adding the results display to the user interface is to add EVENT PROCESSING to refresh automatically when the results are completed.

  • Right-click TABBED PANE LIST and select Child→Add EVENT PROCESSING. Expand it.
Parameter Name Parameter Value
Action:Refresh
  • Select USER INTERFACE and set Results Time:'5'
  • Now save the EASAP, and then check the EASAP tree to ensure that the OUTPUT branch looks like this:

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

  • Back in your EASA browser window select EASA→Authoring→Testing and click View Results button () in the Output column for the test run completed in the previous practical session.

The following should appear in the browser window:

If you scroll down in the window, you should also see the following:

Note: If your results pages do not look like what is shown above, you may have a problem with the original EASAP run or with the objects on your OUTPUT branch. You can try to resolve the problem now or wait until Practical Session 8 when you will be testing and troubleshooting your EASAP.

  • After reviewing the OUTPUT content, return to EASAP Builder and then exit it.

You are now finished with Practical Session 6.

Practical Session 5 | Practical Session 7


Page Tools