User Tools

Site Tools


wiki:sns:snspro:report

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:sns:snspro:report [2017/07/13 08:23] zachwiki:sns:snspro:report [2023/12/13 13:41] (current) – [Related Video] michael
Line 1: Line 1:
-===== Standard Report =====+~~CLOSETOC~~ 
 +{{TOC:wide}} 
 +\\
  
-A web-ready report of the analysis results may be generated using the **[Report]** button on the View tab:+{{ :wiki:sns:snspro:a10.png?300|}}
  
-{{:wiki:sns:snspro:sns56.png?200|}}+====== 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.+Scan&Solve Pro will prompt for a destination, generate the report, and open your web browser to view the output.
  
 ===== Customizing Report ===== ===== 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.+Scan&Solve pro 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 Pro 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 ==== ==== 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 template file is called **AdvancedReportTemplate.html**. The content of this file looks something like the following (Color and Descriptions added):
  
 {{:wiki:sns:snspro:sns57.png?400|}} {{:wiki:sns:snspro:sns57.png?400|}}
Line 59: Line 63:
 |:::                |~ //SED// --strain energy density| |:::                |~ //SED// --strain energy density|
 |:::                |~ //PTC// --principal tension/compression| |:::                |~ //PTC// --principal tension/compression|
-|//##EXTREMATABLE//|Includes the maximum and minimum values of the analysis results as specified by one or more of the following component tags:+|//##EXTREMATABLE//|Includes the maximum and minimum values of the analysis results as specified by one or more of the following component tags:|
 |:::               |~ //DSPX// --x component of the computed displacement field| |:::               |~ //DSPX// --x component of the computed displacement field|
 |:::               |~ //DSPY// --y component| |:::               |~ //DSPY// --y component|
Line 74: Line 78:
 |:::               |~ //SED// --strain energy density| |:::               |~ //SED// --strain energy density|
 |:::               |~ //PTC// --principal tension/compression| |:::               |~ //PTC// --principal tension/compression|
-|//##DATETIME/|//DATE// includes the current date in the report, may be followed by //TIME//| +|//##DATETIME//|//DATE// includes the current date in the report, may be followed by //TIME//| 
-|:::          |//TIME// includes the current time in the report, may be followed by //DATE//|+|:::           |//TIME// includes the current time in the report, may be followed by //DATE//|
  
 ==== Editing the Templates ==== ==== Editing the Templates ====
Line 82: Line 86:
  
   - Start Notepad and choose File>Open...   - Start Notepad and choose File>Open...
-  - In the File Open dialog, browse to the installation directory and locate the file entitled AdvancedReportTemplate.html or SimplifiedReportTemplate.html, as desired. On Windows XP, the default location will be C:\Program Files\Scan&Solve\ AdvancedReportTemplate.html or C:\Program Files\Scan&Solve\ SimplifiedReportTemplate.html.+  - In the File Open dialog, browse to the installation directory and locate the file entitled AdvancedReportTemplate.html. On Windows, the default location will be C:\Program Files\Scan&Solve Pro\AdvancedReportTemplate.html.
   - Open the file.   - Open the file.
   - Decide the type of information and its desired location in the report:   - Decide the type of information and its desired location in the report:
-    - To add an image showing the geometry alone, add the following to the template file: ##SCREENSHOT +    - To add an image showing the geometry alone, add the following to the template file: //##SCREENSHOT// 
-    - To add an image of the boundary conditions, add the following to the template file: ##SCREENSHOT BCS +    - To add an image of the boundary conditions, add the following to the template file: //##SCREENSHOT BCS// 
-    - To add an image showing a component of the solution displayed on the geometry, refer to the table of keywords above for valid entries for component_tag and add the following line to the template file: ##SCREENSHOT SOLUTION component_tag +    - To add an image showing a component of the solution displayed on the geometry, refer to the table of keywords above for valid entries for component_tag and add the following line to the template file: //##SCREENSHOT SOLUTION component_tag// 
-    - To add a table of geometric properties, add the following line to the template file: ##PROPERTYTABLE GEOMETRY +    - To add a table of geometric properties, add the following line to the template file: //##PROPERTYTABLE GEOMETRY// 
-    - To add a table of material properties, add the following line to the template file: ##PROPERTYTABLE MATERIAL +    - To add a table of material properties, add the following line to the template file: //##PROPERTYTABLE MATERIAL// 
-    - To add a table of applied loads, add the following line to the template file: ##PROPERTYTABLE LOADS +    - To add a table of applied loads, add the following line to the template file: //##PROPERTYTABLE LOADS// 
-    - To add a table of restraints, add the following line to the template file: ##PROPERTYTABLE RESTRAINTS +    - To add a table of restraints, add the following line to the template file: //##PROPERTYTABLE RESTRAINTS// 
-    - To add a table of analysis settings, add the following line to the template file: ##PROPERTYTABLE ANALYSISSETTINGS +    - To add a table of analysis settings, add the following line to the template file: //##PROPERTYTABLE ANALYSISSETTINGS// 
-    - To add a table showing the extrema of a solution component, refer to the table of keywords above for valid entries for component_tag and add the following line to the template file: ##PROPERTYTABLE EXTREMA component_tag +    - To add a table showing the extrema of a solution component, refer to the table of keywords above for valid entries for component_tag and add the following line to the template file: //##PROPERTYTABLE EXTREMA component_tag// 
-    - To add a table summarizing solution extrema, refer to the table of keywords above for valid entries for component_tag and add the following line to the template file: ##PROPERTYTABLE EXTREMA component_tag1 component_tag2 ... component_tag3+    - To add a table summarizing solution extrema, refer to the table of keywords above for valid entries for component_tag and add the following line to the template file: //##PROPERTYTABLE EXTREMA component_tag1 component_tag2 ... component_tag3//
   - Headings and descriptions may be intermixed with the Scan&Solve codes to add comments and headings as desired in the final report.   - Headings and descriptions may be intermixed with the Scan&Solve codes to add comments and headings as desired in the final report.
   - When finished, save the template file in the installation directory.   - When finished, save the template file in the installation directory.
Line 106: Line 110:
 {{:wiki:sns:snspro:sns58.png?600|}} {{:wiki:sns:snspro:sns58.png?600|}}
  
-Template code on the left gives rise to the output on the right. HTML code is output directly to the report file unchanged. Scan&Solve code is interpreted by the Scan&Solve plugin to produce the output shown on the right. This example introduces the use of the ##SCREENSHOT keyword and the generation of a table using the ##PROPERTYTABLE keyword.+Template code on the left gives rise to the output on the right. HTML code is output directly to the report file unchanged. Scan&Solve code is interpreted by the Scan&Solve plugin to produce the output shown on the right. This example introduces the use of the //##SCREENSHOT// keyword and the generation of a table using the //##PROPERTYTABLE// keyword.
  
 === Detail 2 === === Detail 2 ===
Line 112: Line 116:
 {{:wiki:sns:snspro:sns59.png?600|}} {{:wiki:sns:snspro:sns59.png?600|}}
  
-Template code on the left gives rise to the output on the right. HTML code is output directly to the report file unchanged. Scan&Solve code is interpreted by the Scan&Solve plugin to produce the output shown on the right. This example shows an expanded use of the ##SCREENSHOT keyword to display a solution value. The ##PROPERTYTABLE keyword is used to generate a summary of a solution component using the EXTREMA parameter and a solution component tag, TDSP, for total displacement.+Template code on the left gives rise to the output on the right. HTML code is output directly to the report file unchanged. Scan&Solve code is interpreted by the Scan&Solve plugin to produce the output shown on the right. This example shows an expanded use of the //##SCREENSHOT// keyword to display a solution value. The //##PROPERTYTABLE// keyword is used to generate a summary of a solution component using the //EXTREMA// parameter and a solution component tag, //TDSP//, for total displacement. 
 + 
 +=====Related Video===== 
 +<WRAP half column> 
 +To learn more on how to generate reports, watch Intact Solutions' video "Getting Started with Scan&Solve Pro Part 2: Analyzing Results" from [[https://youtu.be/I9ZMjGpNO9g?t=324|5:24]]. 
 + 
 +{{youtube>I9ZMjGpNO9g?large}} 
 +</WRAP>
  
wiki/sns/snspro/report.1499955792.txt.gz · Last modified: 2017/07/13 08:23 by zach