saladyn use - inrialpes.fr · 2012. 9. 19. · nonsmooth contact mechanics summer school 2012 v....

6
Saladyn Use Nonsmooth Contact Mechanics Summer school 2012 V. Acary, F. Dubois, S. Mazet, A. Assire, R. Mozul LMGC, INRIA, LamSid, EDF R&D, Schneider Electrics vendredi 14 septembre 2012

Upload: others

Post on 13-Jun-2021

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Saladyn Use - inrialpes.fr · 2012. 9. 19. · Nonsmooth Contact Mechanics Summer school 2012 V. Acary, F. Dubois, S. Mazet, A. Assire, R. Mozul LMGC, INRIA, LamSid, EDF R&D, Schneider

Saladyn Use

Nonsmooth Contact MechanicsSummer school 2012

V. Acary, F. Dubois, S. Mazet, A. Assire, R. Mozul

LMGC, INRIA, LamSid, EDF R&D, Schneider Electrics

vendredi 14 septembre 2012

Page 2: Saladyn Use - inrialpes.fr · 2012. 9. 19. · Nonsmooth Contact Mechanics Summer school 2012 V. Acary, F. Dubois, S. Mazet, A. Assire, R. Mozul LMGC, INRIA, LamSid, EDF R&D, Schneider

• Boot on DVD

• Select «Live» (AND NOTHING ELSE !!!)

• Be patient

• DO NOT CLIC on «Debian Installer» icon (NEVER EVER)

• (optional) change keyboard layout

‣ Clic «System» -> «Preferences»‣ Clic «Layout» thumbnail‣ Add the desired keyboard layout in the list‣ Put it on top of the list

vendredi 14 septembre 2012

Page 3: Saladyn Use - inrialpes.fr · 2012. 9. 19. · Nonsmooth Contact Mechanics Summer school 2012 V. Acary, F. Dubois, S. Mazet, A. Assire, R. Mozul LMGC, INRIA, LamSid, EDF R&D, Schneider

• Clic «Applications» -> «Accessories» -> «Terminal»

$> cd /opt/SALADYN$> ./post_install.sh$> source envSaladyn.sh$> saladyn_make_export_files.sh

vendredi 14 septembre 2012

Page 4: Saladyn Use - inrialpes.fr · 2012. 9. 19. · Nonsmooth Contact Mechanics Summer school 2012 V. Acary, F. Dubois, S. Mazet, A. Assire, R. Mozul LMGC, INRIA, LamSid, EDF R&D, Schneider

$> cd SRC/Toolbox/Marbles/Data$> python gen_sample_msh.py defor(close window)$> cd ..$> as_run marbles.export(be patient...)$ sed -i -e "s/REPE_IN//"Results/*.pvd

(no spaces betwen the quotes)$ paraview-med &

vendredi 14 septembre 2012

Page 5: Saladyn Use - inrialpes.fr · 2012. 9. 19. · Nonsmooth Contact Mechanics Summer school 2012 V. Acary, F. Dubois, S. Mazet, A. Assire, R. Mozul LMGC, INRIA, LamSid, EDF R&D, Schneider

• Clic «File -> Open»

• Select «marbles.med»

• Clic «Accept»

• Clic «File -> Open»

• Select «Results» then «tacts.pvd» and «inters.pvd»

• Clic «Accept»

• Play with the interface...

vendredi 14 septembre 2012

Page 6: Saladyn Use - inrialpes.fr · 2012. 9. 19. · Nonsmooth Contact Mechanics Summer school 2012 V. Acary, F. Dubois, S. Mazet, A. Assire, R. Mozul LMGC, INRIA, LamSid, EDF R&D, Schneider

$> cd ../TestsLmgcSiconos$> nedit SiconosLmgc90Script.py

• At the end of the file add the command:‣ ‘simL.terminate(graff)’ then save and quit

• To simulate a similar case than with Aster:$> cp ../Marbles/Data/gen_sample_msh.py .$> python gen_sample_msh.py rigid$> python SiconosLmgc90Script.py

• Play with paraview again• Change time step and number of steps in

SaladynUserData.py file

vendredi 14 septembre 2012