User Tools

Site Tools


check_convergence_of_a_scenario

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
Last revisionBoth sides next revision
check_convergence_of_a_scenario [2015/08/05 11:08] – [Create a convergence plot with SnSScript] willcheck_convergence_of_a_scenario [2015/08/10 11:43] – [Automated convergence checking script] will
Line 3: Line 3:
 [[http://www.intact-solutions.com/get_sns.htm|{{wiki:download_button.png?125}}]] [[http://www.intact-solutions.com/get_sns.htm|{{wiki:download_button.png?125}}]]
 =====Checking the convergence of a solution===== =====Checking the convergence of a solution=====
-One important aspect of numerical simulations is to ensure that the resolution you have chosen to simulate resembles the analytical solution.  Generally, there is not an analytical solution generally available, so the simulation must be checked against itself.  The convergence checking process begins by picking a stress, strain, or deflection at a point to study.+One important aspect of numerical simulations is to check the validity of the solution.  Generally, there is not an analytical solution generally available, so the simulation must be checked against itself at a higher resolution. The process of checking a solution at increasing resolution is known as convergence checking, as the solution is expected to converge on a particular value. The convergence checking process begins by picking a stress, strain, or deflection at a point to study.
  
-Generally, the deflection at a point will converge on a consistent solution faster than the stress at a point.  This is because the deflections are the fundamental result of finite element analysis, and stresses are then derived from displacements.  For this reason, we will be studying the convergence of stress.+Generally, the deflection at a point will converge on a consistent solution faster than the stress.  This is because the deflections are the fundamental result of finite element analysis, and stresses are then derived from displacements.  For this reason, we will be studying the convergence of stress.
  
 =====Automated convergence checking script===== =====Automated convergence checking script=====
 The convergence checking process can be automated in SnSScript.  The attached script will allow you to run a basic convergence check. Download the script here: The convergence checking process can be automated in SnSScript.  The attached script will allow you to run a basic convergence check. Download the script here:
-[[https://drive.google.com/open?id=0B0_yFqPMpJGlU3hFeVRtUHJKZ1U|link to script]] +{{convergence_check.rvb|Convergence Checking Script}}
  
  
Line 26: Line 25:
  
 =====Create a convergence plot with SnSScript===== =====Create a convergence plot with SnSScript=====
-It is also possible to generate a plot of convergence data using SnSScript.  Download the script here: [[https://drive.google.com/open?id=0B0_yFqPMpJGlZWxKREVZZ25seGs|Convergence Plotting Script]] +It is also possible to generate a plot of convergence data using SnSScript.  Download the script here: {{convergence_plot.rvb|Convergence Plotting Script}}
-=====References===== +
-[[run SnSScript|How to run SnSScript]]+
  
 +
 +  * Open your model and run **SnS** on the solid.  Choose the material and set the restraints and loads.  Now, exit SnS by clicking **Done**.
 +
 +  * Run **PlotConvergence.rvb** by [[run SnSScript#running_a_script|following these steps.]]  The script will ask for a file location to save the data at.  It will also ask you to select the solid you would like to check, and it will use the material, restraints, and loads as applied in SnS.  
 +
 +  * Next, the script will ask for a point on or in the solid to generate the convergence plot.  The script will query the von Mises stress and total displacement at this location.
 +
 +  * The script will run through the various resolutions and write the queried values to the file specified.  The results file is a CSV (comma separated value) file, and can be opened in Microsoft Excel, OpenOffice and other programs.
 +
 +
 +The data produced by the script is best plotted with the values of resolution on a logarithmic scale.
 +=====References=====
 {{convergencechecking.pdf|Convergence checking reference}} {{convergencechecking.pdf|Convergence checking reference}}
  
 [[http://www.intact-solutions.com/snsscript_documents/index.htm|Scan&Solve scripting documentation]] [[http://www.intact-solutions.com/snsscript_documents/index.htm|Scan&Solve scripting documentation]]
 +
 +[[run SnSScript|How to run SnSScript]]
 +
 +[[https://support.office.com/en-za/article/Import-or-export-text-txt-or-csv-files-5250ac4c-663c-47ce-937b-339e391393ba|Import CSV Files into Excel]]