Metafor

ULiege - Aerospace & Mechanical Engineering

User Tools

Site Tools


doc:user:tutorials:runtest

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
doc:user:tutorials:runtest [2015/01/09 12:24] – created bomandoc: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>This page is under construction. Please refer to {{ :teaching:private:tutorial.pdf |}}  for up-to-date information</note>
 +
 +{{:doc:user:ico-worker.png?40 |Under construction}}
 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 9: Line 12:
  
 {{:doc:user:tutorials:findtuto1.png|}} {{:doc:user:tutorials:findtuto1.png|}}
 +
 +{{:doc:user:tutorials:windowdescr.png|}}
 +
 +How to run ''apps.tutorial.tutorial1'' ?
 +{{:doc:user:tutorials:loadandrun.png|}}
 +the simulation should start…
 +
 +
 +How to run ''tutorial1'' from another location? (because you do not want to work in c:\Program Files !)
 +
 +  * Create an empty folder
 +  * Copy ''tutorial1.py'' to that folder
 +  * “Rebase” to that particular folder 
 +
 +{{:doc:user:tutorials:rebaseandrun.png|}}
 +
 +The main window now looks like
 +{{:doc:user:tutorials:windowsresults.png|}}
 +
 +{{:doc:user:tutorials:vizwinresults.png|}}
 +
 +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: console output during the simulation (steps, iterations, residuals, etc.)
 +
 +{{:doc:user:tutorials:workspacetuto1.png|}}
 +
 +  * 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.
 +
 +{{:doc:user:tutorials:loadfac31.png|}}
 +
 +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!
 +
 +{{:doc:user:tutorials:displaycurves.png|}}
 +
 +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.1420802670.txt.gz · Last modified: 2016/03/30 15:22 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki