Skip to content

Instantly share code, notes, and snippets.

@mforets
Last active September 1, 2020 17:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mforets/27771dea6a4e4fa604d70740d427b0df to your computer and use it in GitHub Desktop.
Save mforets/27771dea6a4e4fa604d70740d427b0df to your computer and use it in GitHub Desktop.
ONSAS tests
$ ./runTests.sh
keyfiles =
{
[1,1] = onsasExample_staticVonMisesTruss_test.m
[1,2] = onsasExample_uniaxialExtension_test.m
[1,3] = onsasExample_uniformCurvatureCantilever_test.m
}
totalRuns = 3
|=================================================|
| _ _ _ _ _ _ _ _ |
| / / /| / / / / / |
| / / / | / /_ _ /_ _ / /_ _ |
| / / / | / / / / / |
| /_ _ / / |/ _ _ / / / _ _ / |
| |
|-------------------------------------------------|
| Welcome to ONSAS v0.1.10. |
| This program comes with ABSOLUTELY NO WARRANTY. |
| Read files COPYING.txt and README.md for more |
| information. |
|-------------------------------------------------|
| Solving problem: staticVonMisesTrussLin
| - input variables verification ... done.
| - Creating output directory ... done.
|-------------------------------------------------|
| TimeSteps progress: 1| | 1 |
=====================
| end time-step 2 - (max,avg) iters: ( 1, 1.00) |
-----------------------------------------------
Analytical solution verification ... PASSED.
Numerical solution error: 2.2204e-16 < 1.00e-08
-----------------------------------------------
- writing report file ... done.
|-------------------------------------------------|
| ONSAS finished in: 4.6e-01 seconds / 0.01 mins |
|=================================================|
|=================================================|
| _ _ _ _ _ _ _ _ |
| / / /| / / / / / |
| / / / | / /_ _ /_ _ / /_ _ |
| / / / | / / / / / |
| /_ _ / / |/ _ _ / / / _ _ / |
| |
|-------------------------------------------------|
| Welcome to ONSAS v0.1.10. |
| This program comes with ABSOLUTELY NO WARRANTY. |
| Read files COPYING.txt and README.md for more |
| information. |
|-------------------------------------------------|
| Solving problem: staticVonMisesTrussNR
| - input variables verification ... done.
| - Creating output directory ... done.
|-------------------------------------------------|
| TimeSteps progress: 1| | 6 |
=====================
| end time-step 7 - (max,avg) iters: ( 6, 3.83) |
- writing report file ... done.
|-------------------------------------------------|
| ONSAS finished in: 2.8e-01 seconds / 0.00 mins |
|=================================================|
=== test staticVonMisesTrussNR problem: PASSED ===
|=================================================|
| _ _ _ _ _ _ _ _ |
| / / /| / / / / / |
| / / / | / /_ _ /_ _ / /_ _ |
| / / / | / / / / / |
| /_ _ / / |/ _ _ / / / _ _ / |
| |
|-------------------------------------------------|
| Welcome to ONSAS v0.1.10. |
| This program comes with ABSOLUTELY NO WARRANTY. |
| Read files COPYING.txt and README.md for more |
| information. |
|-------------------------------------------------|
| Solving problem: uniaxialExtension_Manual
| - input variables verification ... done.
| - Cleaning output directory ... done.
|-------------------------------------------------|
| TimeSteps progress: 1| | 10 |
======================
| end time-step 12 - (max,avg) iters: ( 5, 4.18) |
-----------------------------------------------
Analytical solution verification ... PASSED.
Numerical solution error: 1.8851e-13 < 1.00e-08
-----------------------------------------------
- writing report file ... done.
|-------------------------------------------------|
| ONSAS finished in: 1.5e+00 seconds / 0.03 mins |
|=================================================|
=== test uniaxialExtension_Manual problem: PASSED ===
|=================================================|
| _ _ _ _ _ _ _ _ |
| / / /| / / / / / |
| / / / | / /_ _ /_ _ / /_ _ |
| / / / | / / / / / |
| /_ _ / / |/ _ _ / / / _ _ / |
| |
|-------------------------------------------------|
| Welcome to ONSAS v0.1.10. |
| This program comes with ABSOLUTELY NO WARRANTY. |
| Read files COPYING.txt and README.md for more |
| information. |
|-------------------------------------------------|
| Solving problem: cantileverNodalMoment
| - input variables verification ... done.
| - Creating output directory ... done.
|-------------------------------------------------|
| TimeSteps progress: 1| | 10 |
=====================
| end time-step 11 - (max,avg) iters: ( 2, 2.00) |
-----------------------------------------------
Analytical solution verification ... normRelativeError = 0.99993
warning: large difference between analytical and numerical solutions!
-----------------------------------------------
|-------------------------------------------------|
| ONSAS finished in: 8.3e+00 seconds / 0.14 mins |
|=================================================|
=== test cantileverNodalMoment problem FAILED ===
[mforets@localhost ONSAS]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment