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
check_convergence_of_a_scenario [2015/08/05 11:17] – [References] willcheck_convergence_of_a_scenario [2017/07/11 12:40] (current) – removed zach
Line 1: Line 1:
-~~NOTOC~~ 
-**Don't have Scan&Solve?  Get it now! 7-day evaluation is free**   
-[[http://www.intact-solutions.com/get_sns.htm|{{wiki:download_button.png?125}}]] 
-=====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. 
  
-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. 
- 
-=====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: 
-[[https://drive.google.com/file/d/0B0_yFqPMpJGlU3hFeVRtUHJKZ1U/view?usp=sharing|link to script]] 
- 
- 
-  * 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 **convergence.rvb** by [[run SnSScript#running_a_script|following these steps.]]  It will 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 check.  The script will check the von Mises stress at this location at three resolutions to determine whether or not the solution is converging. 
- 
-  * Finally, the script will run (this may take some time) and report whether the solution is converging.  If it determines it is, the script will report the percent difference between the second and third resolutions as its tolerance. 
- 
-All of the settings (such as chosen resolutions and the value to check) can be changed in **convergence.rvb** by [[run snsscript#editing_a_script|editing the script]]. 
- 
-If you are interested in the process of convergence checking and why this script was created in this way, check out {{convergencechecking.pdf|this reference on practical convergence checking}}. 
- 
-=====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/file/d/0B0_yFqPMpJGlZWxKREVZZ25seGs/view?usp=sharing|Convergence Plotting Script]] 
- 
- 
-  * 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 file is a CSV (comma separated value) file, and can be opened in Microsoft Excel, OpenOffice, and more. 
- 
- 
- 
-=====References===== 
-{{convergencechecking.pdf|Convergence checking reference}} 
- 
-[[http://www.intact-solutions.com/snsscript_documents/index.htm|Scan&Solve scripting documentation]] 
- 
-[[run SnSScript|How to run SnSScript]] 
check_convergence_of_a_scenario.1438795040.txt.gz · Last modified: 2015/08/05 11:17 by will