This is an old revision of the document!
As of revision 6515, directory with test-cases can be found under [ELMER_TRUNK]/elmerice/Tests
.
For some test-cases, more tools (.SIF, grd) are available under [ELMER_TRUNK]/elmerice/examples
.
Tests are run with command line
runTest.sh
Default option wich runs all the tests:
runTest.sh
For running all tests and sending results by e-mail:
runTest.sh --all or -a
Next option runs only selection of directory with “space-separator”, and there is possibility to send results by e-mail:
runTest.sh --selection or -s
You choose one ElmerIceSolver keyword and it runs all directories with this solver, and there is possibility to send results by e-mail:
runTest.sh --solvers or -so
Resume all the options:
runTest.sh --help
Run the tests will print some informations:
============================================================= Test ElmerIce Solvers Option []: All tests without email option ============================================================= test 1 : Buoyancy [FAILED] Comparison failed: look at [File_log/Buoyancy.log] for details test 2 : ComputeDevStress [PASSED] test 3 : Contact [PASSED - Diff Time-]
[FAILED] in case where difference between results are upper 1E-8
[PASSED] in case where there is no difference
[PASSED - Diff Time-] where there is a difference with time CPU
[ELMER_TRUNK]/elmerice/Tests/File_log/
This repertory is created if there is some troubles in the simulation (OutputSIF_<TestName>.log
) or in the comparison of results (Output_<TestName>.log
).
elmerice/Tests/
, define your analysis (.SIF, mesh files, …).
☛ Note, for the outputs, files named results.dat
and result.dat.names
have to be created.
If do not exist, you can write a script to configure their creation see /Tests/InvMeth_AdjBeta for example).
- run
: how to run the test
- clean
: how to clean up if successfull.
Step1Data1 [space] Step1Data2 [space] Step1Data3 .... Step2Data1 [space] Step2Data2 [space] Step2Data3 ....
See details in [ELMER_TRUNK]/elmerice/Tests/ElmerIceSolver_test_how-to.txt
.