Changeset 8941
- Timestamp:
- Jun 28, 2013, 11:04:40 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga_validation_tests/report.tex
r8933 r8941 45 45 46 46 47 48 % ****Add ***49 How to run, using produce results,50 51 change defaults using local parameters.py format52 53 alg = '2_0'54 55 would use flow_algorithm '2_0' See manual for description of flow algorithms.56 57 validate all will rerun a subset of the tests (which have sensible "correct"58 results to test against.59 60 One by one testing61 62 63 64 65 66 67 47 The results in this report were produced by \anuga{} version \majorR{} from svn 68 48 repository revision \minorR{} at time \timeR. 69 The flow algorithm was \alg{} and CFL condition \cfl, unless otherwise stated explicitly. 49 The flow algorithm was \alg{} and CFL condition \cfl, unless otherwise stated explicitly. Based on this version, 26 tests are available in the subversion. To get an automated report, we can run either an individual run of the available tests or the complete (whole) test. 50 51 To do an individual test, we can run the python module \\ 52 \verb produce_results.py \\ 53 available in the corresponding test directory. The module will do the numerical simulation of the given problem, plot the simulation results in png files, and type-set the corresponding individual automated report. The individual automated report is in pdf file and saved in the same directory. 54 55 To do the complete test, we can just run the python module \\ 56 \verb produce_results.py \\ 57 available in the directory \\ 58 \verb anuga_validation_tests \\ 59 Similar to the module for an individual test, this python module will do the numerical simulations of all the given problems, plot results in png files and save them in its corresponding directory, and finally type-set the complete report. The complete automated report is saved in this directory. 60 61 The simulation results can be analysed qualitatively and quantitatively. Qualitative analysis can be done by investigating the plots of the results whether they are physical or not, and whether the behaviour is the same as we expected. Quantitative analysis can be conducted by checking the numerical error. We have provided python module with the name begun by the word ``validate'' in each of individual tests. We can also run validate$\_$all.py to measure the numerical errors from the directory \verb anuga_validation_tests . This validate$\_$all.py will run a subset of the available tests having sensible ``correct'' results to test against. 62 63 The main parameters in the validations are the Courant--Friedrichs-Lewy (CFL) number and the flow algorithm. They are spelled ``cfl'' and ``alg'' respectively in the python module \\ 64 \verb parameters.py \\ 65 which is available in the \\ 66 \verb anuga_validation_tests \\ 67 directory. In the default setting, we set the CFL to be $1.0$ and the flow algorithm to be 1$\_$5 (second order in space and first order in time). The complete available flow algorithms are as follow: 68 '1$\_$0', '1$\_$5', '1$\_$75', '2$\_$0', '2$\_$0$\_$limited', '2$\_$5', 'tsunami', 'yusuke'. 69 %\begin{enumerate} 70 %\item '1$\_$0', 71 %\item '1$\_$5', 72 %\item '1$\_$75', 73 %\item '2$\_$0', 74 %\item '2$\_$0$\_$limited', 75 %\item '2$\_$5', 76 %\item 'tsunami', 77 %\item 'yusuke'. 78 %\end{enumerate} 79 They can be found in \\ 80 \verb \anuga_core\source\anuga\shallow_water\shallow_water_domain.py . 81 82 70 83 71 84 The report is organised as follows. We collect a number of tests against
Note: See TracChangeset
for help on using the changeset viewer.