Scan-and-Solve for Rhino

Simulate Early, Simulate Often... In Rhino

Getting all available Danger Levels in report?

I noticed that some materials like Glass, have few more "Danger level"s apart from regular von Mises stress and Maximal Shear stress.

They also have Rankine, Coulomb Mohr, Modified Mohr Danger levels.

But for some reason it seems that it is not possible to get all of these in the report .html file?!

I am only getting Coulomb Mohr ones.

Why is that?

And how can I enable to get all of them in the report .html file?

Thank you for the reply.

Views: 423

Reply to This

Replies to This Discussion

Coulomb Mohr is probably the most common failure criterion to use for brittle materials, so it is the default failure criterion associated with the brittle materials included with Scan&Solve.

You can include the other failure criteria if they are available for your chosen material by modifying the report template as described here.  To get a screenshot, add the following line to the report template:

##SCREENSHOT SOLUTION [tag]

where [tag] is one of:

  • DGRVM  (von Mises)
  • DGRSS  (maximum shear stress)
  • DGRRK  (Rankine)
  • DGRCM  (Coulomb Mohr)
  • DGRMM  (Modified Mohr)
  • DGRL  (default for the material)

The same set of tags can be appended to the ##EXTREMATABLE keyword to get numeric values.

~Michael

Thank you for the reply Michael.
I opened the C:\Program Files\Scan&Solve\SimplifiedReportTemplate.html file and noticed that all these specific tags for particular failure criteria were mostly included for ##EXTREMATABLE, in a way that they are just typed in after the ##EXTREMATABLE.

##EXTREMATABLE DSPX DSPY DSPZ DSPT VONM SIG1 SIG2 SIG3 DGRVM DGRSS DGRRK DGRCM DGRMM

Do I need to do the same thing for ##SCREENSHOT SOLUTION  too? Like this:

##SCREENSHOT SOLUTION DSPX DSPY DSPZ DSPT VONM SIG1 SIG2 SIG3 DGRVM DGRSS DGRRK DGRCM DGRMM

?

In that case my "SimplifiedReportTemplate.html" would like like this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Scan&Solve(tm) Results</title>
    <meta name="description" content="Scan&Solve(tm) Results">
    <link href="ReportStyle.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="wrap">
<div id="header"><h1>Scan&amp;Solve&#8482; Simulation Summary</h1></div>
##DATETIME DATE TIME
<h2>Geometry</h2>
##SCREENSHOT
<h3>Geometry Summary</h3>
##PROPERTYTABLE GEOMETRY
<h2>Material Properties</h2>
##PROPERTYTABLE MATERIAL
<h2>Loads &amp; Restraints</h2>
##SCREENSHOT BCS
<h3>Load Summary</h3>
##PROPERTYTABLE LOADS
<h3>Restraint Summary</h3>
##PROPERTYTABLE RESTRAINTS
<h2>Simulation Summary</h2>
<h3>Settings</h3>
##PROPERTYTABLE ANALYSISSETTINGS
<h3>Units</h3>
##PROPERTYTABLE UNITS
<h2>Simulation Results</h2>
<h3>Displacements</h3>
##SCREENSHOT SOLUTION DSPT
<h4>Displacement Summary</h4>
##PROPERTYTABLE EXTREMA DSPT
<h3>Danger Level</h3>


##SCREENSHOT SOLUTION DSPX DSPY DSPZ DSPT VONM SIG1 SIG2 SIG3 DGRVM DGRSS DGRRK DGRCM DGRMM
<h4>Danger Level Summary</h4>
##PROPERTYTABLE EXTREMA DGRL
<h3>Results Extrema</h3>
##EXTREMATABLE DSPX DSPY DSPZ DSPT VONM SIG1 SIG2 SIG3 DGRVM DGRSS DGRRK DGRCM DGRMM
<h2>CAUTION</h2>
<p>Design decisions require experimental data and substantial experience; they should never be made based solely
on a software simulation.  Simulation is not intended to replace physical testing of prototypes, which is required
to validate any design.</p>
</div>
</body>
</html>

Is that it?

Thank you.

That's not quite right.  The ##SCREENSHOT SOLUTION [tag] line will only use the first tag, subsequent tags are ignored.  If you want a series of screenshots, you need to duplicate the ##SCREENSHOT SOLUTION [tag] line for each solution component you want in the report.

~Michael

Oh, I see. So the "" that I am looking for should look this way:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>Scan&Solve(tm) Results</title>
        <meta name="description" content="Scan&Solve(tm) Results">
        <link href="ReportStyle.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <div id="wrap">
    <div id="header"><h1>Scan&amp;Solve&#8482; Simulation Summary</h1></div>
    ##DATETIME DATE TIME
    <h2>Geometry</h2>
    ##SCREENSHOT
    <h3>Geometry Summary</h3>
    ##PROPERTYTABLE GEOMETRY
    <h2>Material Properties</h2>
    ##PROPERTYTABLE MATERIAL
    <h2>Loads &amp; Restraints</h2>
    ##SCREENSHOT BCS
    <h3>Load Summary</h3>
    ##PROPERTYTABLE LOADS
    <h3>Restraint Summary</h3>
    ##PROPERTYTABLE RESTRAINTS
    <h2>Simulation Summary</h2>
    <h3>Settings</h3>
    ##PROPERTYTABLE ANALYSISSETTINGS
    <h3>Units</h3>
    ##PROPERTYTABLE UNITS
    <h2>Simulation Results</h2>
    <h3>Displacements</h3>
    ##SCREENSHOT SOLUTION DSPT
    <h4>Displacement Summary</h4>
    ##PROPERTYTABLE EXTREMA DSPT
    <h3>Danger Level</h3>

    ##SCREENSHOT SOLUTION DSPX
    ##SCREENSHOT SOLUTION DSPY
    ##SCREENSHOT SOLUTION DSPZ
    ##SCREENSHOT SOLUTION DSPT
    ##SCREENSHOT SOLUTION VONM
    ##SCREENSHOT SOLUTION SIG1
    ##SCREENSHOT SOLUTION SIG2
    ##SCREENSHOT SOLUTION SIG3
    ##SCREENSHOT SOLUTION DGRVM
    ##SCREENSHOT SOLUTION DGRSS
    ##SCREENSHOT SOLUTION DGRRK
    ##SCREENSHOT SOLUTION DGRCM
    ##SCREENSHOT SOLUTION DGRMM
<h4>Danger Level Summary</h4>
    ##PROPERTYTABLE EXTREMA DGRL
    <h3>Results Extrema</h3>
    ##EXTREMATABLE DSPX DSPY DSPZ DSPT VONM SIG1 SIG2 SIG3 DGRVM DGRSS DGRRK DGRCM DGRMM
    <h2>CAUTION</h2>
    <p>Design decisions require experimental data and substantial experience; they should never be made based solely
    on a software simulation.  Simulation is not intended to replace physical testing of prototypes, which is required
    to validate any design.</p>
    </div>
    </body>
    </html>

?

Michael is my last reply correct, or do I need to add:

<h4>Danger Level Summary</h4>
    ##PROPERTYTABLE EXTREMA X

after each "##SCREENSHOT SOLUTION X"

?

Like this:

##SCREENSHOT SOLUTION DSPX
<h4>Danger Level Summary</h4>
##PROPERTYTABLE EXTREMA DSPX

##SCREENSHOT SOLUTION DSPY  
<h4>Danger Level Summary</h4>
##PROPERTYTABLE EXTREMA DSPY

 ##SCREENSHOT SOLUTION DSPZ  
<h4>Danger Level Summary</h4>
##PROPERTYTABLE EXTREMA DSPZ

##SCREENSHOT SOLUTION DSPT  
<h4>Danger Level Summary</h4>
##PROPERTYTABLE EXTREMA DSPT

##SCREENSHOT SOLUTION VONM   
<h4>Danger Level Summary</h4>
##PROPERTYTABLE EXTREMA VONM

##SCREENSHOT SOLUTION SIG1
<h4>Danger Level Summary</h4>
##PROPERTYTABLE EXTREMA SIG1

##SCREENSHOT SOLUTION SIG2
<h4>Danger Level Summary</h4>
##PROPERTYTABLE EXTREMA SIG2

##SCREENSHOT SOLUTION SIG3
<h4>Danger Level Summary</h4>
##PROPERTYTABLE EXTREMA SIG3

##SCREENSHOT SOLUTION DGRVM
<h4>Danger Level Summary</h4>
##PROPERTYTABLE EXTREMA DGRVM

##SCREENSHOT SOLUTION DGRSS  
<h4>Danger Level Summary</h4>
##PROPERTYTABLE EXTREMA DGRSS

##SCREENSHOT SOLUTION DGRRK  
<h4>Danger Level Summary</h4>
##PROPERTYTABLE EXTREMA DGRRK

##SCREENSHOT SOLUTION DGRCM
<h4>Danger Level Summary</h4>
##PROPERTYTABLE EXTREMA DGRCM

##SCREENSHOT SOLUTION DGRMM
<h4>Danger Level Summary</h4>
##PROPERTYTABLE EXTREMA DGRMM

?

Thank you.

Sorry, I didn't see your post.

What you put in the template depends on what you want to see in the final report.  ##SCREENSHOT SOLUTION [tag] gives you a screenshot of the solution component corresponding to the specified tag.  ##PROPERTYTABL EXTREMA [tag] will give you the extremes of the corresponding solution component.  The other stuff is straight html readable by your web browser.  Anything in the template that Scan&Solve doesn't parse as "code" is simply copied to the output for interpretation by your web browser.

Are your modifications to the template not working?

~Michael

The problem seems to be with my knowledge (in fact I do not have it) of html.

Is there any way you can post the html code for the report file, in case all possible Danger levels and failure criterions were included along with it's screenshots and extremes?

Add the following to the template of your choice:

<h3>Von Mises Danger Level</h3>
##SCREENSHOT SOLUTION DGRVM
<h4>Von Mises Stress Summary</h4>
##PROPERTYTABLE EXTREMA DGRVM

<h3>Maximum Shear Stress Danger Level</h3>
##SCREENSHOT SOLUTION DGRSS
<h4>Maximum Shear Stress Danger Level Summary</h4>
##PROPERTYTABLE EXTREMA DGRSS

<h3>Rankine Danger Level</h3>
##SCREENSHOT SOLUTION DGRRK
<h4>Rankine Danger Level Summary</h4>
##PROPERTYTABLE EXTREMA DGRRK

<h3>Coulomb-Mohr Danger Level</h3>
##SCREENSHOT SOLUTION DGRCM
<h4>Coulomb-Mohr Danger Level Summary</h4>
##PROPERTYTABLE EXTREMA DGRCM

<h3>Modified Mohr Danger Level</h3>
##SCREENSHOT SOLUTION DGRMM
<h4>Modified Mohr Danger Level Summary</h4>
##PROPERTYTABLE EXTREMA DGRMM

The <h3> & </h3> are html codes that tell your browser to render the text between them in a level 3 sub-heading format. Similarly for <h4> & </h4>. The next lines beginning with ## instruct Scan&Solve to obtain a screenshot or output a property table.

~Michael
Hopefully my code is now being shown rather than parsed.

Understood.
Thank you Michael!

I owe you a beer for all this !!

RSS

FOLLOW SCAN&SOLVE

© 2020   Created by Michael Freytag.   Powered by

Badges  |  Report an Issue  |  Terms of Service