doc:user:tutorials:runtest
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:user:tutorials:runtest [2015/01/09 12:28] – boman | doc:user:tutorials:runtest [2018/10/05 10:10] (current) – boman | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== How to run an existing test? ====== | ====== How to run an existing test? ====== | ||
+ | <note important> | ||
+ | |||
+ | {{: | ||
In Metafor, 1 model corresponds to 1 (or more) python module(s). | In Metafor, 1 model corresponds to 1 (or more) python module(s). | ||
Line 11: | Line 14: | ||
{{: | {{: | ||
+ | |||
+ | How to run '' | ||
+ | {{: | ||
+ | the simulation should start… | ||
+ | |||
+ | |||
+ | How to run '' | ||
+ | |||
+ | * Create an empty folder | ||
+ | * Copy '' | ||
+ | * “Rebase” to that particular folder | ||
+ | |||
+ | {{: | ||
+ | |||
+ | The main window now looks like | ||
+ | {{: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | On your disk... | ||
+ | |||
+ | * .bfac.gz files: 1 file = all the results (nodal and Gauss-point values) at 1 time step | ||
+ | * .ascii files: 1 file = 1 vector containing a particular result thoughout the simulation (size = number of time steps) | ||
+ | * resfile.txt: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | * Here, the first and the last step have been saved to disk (there are two .bfac.gz) | ||
+ | * The time discretisation (time.ascii) and the value of a force somewhere on the solid (force.ascii) has been saved | ||
+ | |||
+ | How to display previously-computed results? | ||
+ | |||
+ | Procedure for Archives (.bfac.gz files) | ||
+ | |||
+ | - Start Metafor | ||
+ | - Load your module (as if you were restarting the simulation) | ||
+ | - In the workspace, load a .bfac.gz using the “load FAC” command in the context menu. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | How to display previously-computed results? | ||
+ | |||
+ | Procedure for history curves (.ascii files) | ||
+ | |||
+ | - Start Matlab | ||
+ | - Load the files using the “load” command | ||
+ | - Plot the values | ||
+ | |||
+ | History curves are simple ASCII files! | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Excel can also be used… | ||
+ | |||
+ | Final Remarks | ||
+ | |||
+ | Each time you start a new simulation, you MUST restart Metafor! (PhD students, researchers do not free the whole memory) | ||
+ | |||
+ | Some other interesting examples from the apps folder (among many others!) | ||
+ | |||
+ | apps.qs.ringtest : a tribological test | ||
+ | apps.iso.amor : a shock absorber | ||
+ | apps.qs.ddrawing : deep drawing simulation | ||
+ | apps.qs.tube : hydroforming (3D) | ||
+ | apps.qs.nine : drawbead simulation | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
doc/user/tutorials/runtest.txt · Last modified: 2018/10/05 10:10 by boman