User Tools

Site Tools


wiki:sns:snspro:report

This is an old revision of the document!


Standard Report

A web-ready report of the analysis results may be generated using the [Report] button on the View tab:

Scan&Solve will prompt for a destination, generate the report, and open your web browser to view the output.

Customizing Report

Scan&Solve uses template files to construct the web-ready reports when the [Report] button is clicked in the View tab. These template files, located in the installation directory, are read by Scan&Solve and the output files are generated based on the contents of the templates. The templates use a simple format that may be easily modified to suit a particular end user application. The only tool required is Microsoft’s Notepad or a similar text editor.

Template File Format

One of two different templates is used depending on the current view setting. Advanced view uses AdvancedReportTemplate.html, the simplified view uses SimplifiedReportTemplate.html. The content of these files looks something like the following (Color and Descriptions added):

The Report Section, where modifications may be made, contains a mixture of HTML code and Scan&Solve keywords.

The standard HTML code is demarcated by <format_code>text</format_code> where the format_code controls how the text between the demarcations will be formatted in the output report. HTML code is ignored by Scan&Solve and passed to the output unchanged. Thus, the HTML formatting and content can be changed to suit a particular application, including additional text or images. More information on HTML formatting may be found on the web.

The Scan&Solve output is generated by the lines containing a ##KEYWORD followed, in most cases, by a series of parameters. The keywords, their parameters, and their results in the output are as follows:

KeywordParameters
##SCREENSHOTWith no trailing parameters includes in the report an image from the active Rhino viewport.
BCS includes an image of the geometry plus the applied boundary conditions.
SOLUTION includes an image of analysis results as specified by one of the following component tags:
~ DSPX –x component of the computed displacement field
~ DSPY –y component
~ DSPZ –z component
~ DSPT –total displacement
~ VONM –Von Mises stress
~ SIG1 –maximum principal stress
~ SIG2 –middle principal stress
~ SIG3 –minimum principal stress
~ EPS1 –maximum principal strain
~ EPS2 –middle principal strain
~ EPS3 –minimum principal strain
~ DGRL –material’s default danger level
~ SED –strain energy density
~ PTC –principal tension/compression
##PROPERTYTABLEGEOMETRY includes a table of basic information about the geometry.
MATERIAL includes a table of the properties of the material currently in use
LOADS includes a summary table of the applied loads
RESTRAINTS includes a summary table of the applied restraints
ANALYSISSETTINGS includes a table of the current analysis settings
EXTREMA includes the maximum and minimum values of the analysis results as specified by one of the following component tags:
~ DSPX –x component of the computed displacement field
~ DSPY –y component DSPZ –z component DSPT –total displacement
~ VONM –Von Mises stress
~ SIG1 –maximum principal stress
~ SIG2 –middle principal stress
~ SIG3 –minimum principal stress
~ EPS1 –maximum principal strain
~ EPS2 –middle principal strain
~ EPS3 –minimum principal strain
~ DGRL –material’s default danger level
~ SED –strain energy density
~ PTC –principal tension/compression
##EXTREMATABLE
~ DSPX –x component of the computed displacement field
~ DSPY –y component
~ DSPZ –z component
~ DSPT –total displacement
~ VONM –Von Mises stress
~ SIG1 –maximum principal stress
~ SIG2 –middle principal stress
~ SIG3 –minimum principal stress
~ EPS1 –maximum principal strain
~ EPS2 –middle principal strain
~ EPS3 –minimum principal strain
~ DGRL –material’s default danger level
~ SED –strain energy density
~ PTC –principal tension/compression
wiki/sns/snspro/report.1499955792.txt.gz · Last modified: 2017/07/13 08:23 by zach