{"cells":[{"metadata":{},"id":"convinced-stretch","cell_type":"markdown","source":"# pyiron example notebook\nThis is an example notebook to demonstrate the functionality of the publication template. The notebook loads an existing Si calculation and calculates the total energy using LAMMPS and the quip potential provided as additional resource in this repository. \n\nThe calculation archive was created using the following commands: \n```\nfrom pyiron_atomistics import Project\npr = Project(\"old_calculation\")\njob = pr.create.job.Lammps(job_name=\"lmp_si\")\njob.structure = pr.create.structure.ase.bulk(\"Si\")\njob.run()\npr.pack(destination_path=\"save\")\n```\n\nThe pyiron project class is imported using:"},{"metadata":{"trusted":true},"id":"genetic-obligation","cell_type":"code","source":"from pyiron_atomistics import Project","execution_count":1,"outputs":[]},{"metadata":{},"id":"coated-backing","cell_type":"markdown","source":"To validate the previous calculation have been successfully imported: "},{"metadata":{"trusted":true},"id":"nuclear-vacation","cell_type":"code","source":"pr_data = Project(\"pyiron/calculation\")\npr_data.job_table()","execution_count":2,"outputs":[{"output_type":"execute_result","execution_count":2,"data":{"text/plain":" id status chemicalformula job subjob projectpath \\\n0 1 finished Si2 lmp_si /lmp_si /home/jovyan/ \n\n project timestart \\\n0 calculation/old_calculation/ 2021-03-19 16:21:40.376046 \n\n timestop totalcputime computer \\\n0 2021-03-19 16:21:41.573096 1.0 pyiron@MacBook-Pro.local#1 \n\n hamilton hamversion parentid masterid \n0 Lammps 0.1 None None ","text/html":"
\n | id | \nstatus | \nchemicalformula | \njob | \nsubjob | \nprojectpath | \nproject | \ntimestart | \ntimestop | \ntotalcputime | \ncomputer | \nhamilton | \nhamversion | \nparentid | \nmasterid | \n
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n1 | \nfinished | \nSi2 | \nlmp_si | \n/lmp_si | \n/home/jovyan/ | \ncalculation/old_calculation/ | \n2021-03-19 16:21:40.376046 | \n2021-03-19 16:21:41.573096 | \n1.0 | \npyiron@MacBook-Pro.local#1 | \nLammps | \n0.1 | \nNone | \nNone | \n
\n | Config | \nFilename | \nModel | \nName | \nSpecies | \nCitations | \n
---|---|---|---|---|---|---|
0 | \n[pair_style quip\\n, pair_coeff * * sw_example.xml \"IP SW\" 14\\n] | \n[quip/sw_example.xml, quip/data_sw] | \nQUIP | \nSi-quip-xml | \n[Si] | \n{} | \n
1 | \n[pair_style sw\\n, pair_coeff * * Si.sw Si\\n] | \n[potential_LAMMPS/1985--Stillinger-F-H--Si--LAMMPS--ipr1/Si.sw] | \nNISTiprpy | \n1985--Stillinger-F-H--Si--LAMMPS--ipr1 | \n[Si] | \n[{'Stillinger_1985': {'title': 'Computer simulation of local order in condensed phases of silicon', 'journal': 'Physical Review B', 'volume': '31', 'pages': '5262--5271', 'number': '8', 'doi': '10... | \n
18 | \n[pair_style tersoff\\n, pair_coeff * * 1988_Si(B).tersoff Si\\n] | \n[potential_LAMMPS/1988--Tersoff-J--Si-b--LAMMPS--ipr1/1988_Si(B).tersoff] | \nNISTiprpy | \n1988--Tersoff-J--Si-b--LAMMPS--ipr1 | \n[Si] | \n[{'Tersoff_1988': {'title': 'New empirical approach for the structure and energy of covalent systems', 'journal': 'Physical Review B', 'volume': '37', 'pages': '6991--7000', 'number': '12', 'doi':... | \n
19 | \n[pair_style tersoff\\n, pair_coeff * * 1988_Si(C).tersoff Si\\n] | \n[potential_LAMMPS/1988--Tersoff-J--Si-c--LAMMPS--ipr1/1988_Si(C).tersoff] | \nNISTiprpy | \n1988--Tersoff-J--Si-c--LAMMPS--ipr1 | \n[Si] | \n[{'Tersoff_1988': {'title': 'Empirical interatomic potential for silicon with improved elastic properties', 'journal': 'Physical Review B', 'volume': '38', 'pages': '9902--9905', 'number': '14', '... | \n
27 | \n[pair_style tersoff\\n, pair_coeff * * 1989_SiC.tersoff Si C\\n] | \n[potential_LAMMPS/1989--Tersoff-J--Si-C--LAMMPS--ipr1/1989_SiC.tersoff] | \nNISTiprpy | \n1989--Tersoff-J--Si-C--LAMMPS--ipr1 | \n[Si, C] | \n[{'Tersoff_1989': {'title': 'Modeling solid-state chemistry: Interatomic potentials for multicomponent systems', 'journal': 'Physical Review B', 'volume': '39', 'pages': '5566--5568', 'number': '8... | \n
... | \n... | \n... | \n... | \n... | \n... | \n... | \n
917 | \n[pair_style kim Sim_LAMMPS_TersoffZBL_DevanathanDiazdelaRubiaWeber_1998_SiC__SM_578912636995_000\\n, pair_coeff * * Si C\\n] | \n[] | \nOPENKIM | \nSim_LAMMPS_TersoffZBL_DevanathanDiazdelaRubiaWeber_1998_SiC__SM_578912636995_000 | \n[Si, C] | \n[{'R._1998': {'title': 'Displacement threshold energies in β-SiC', 'volume': '253', 'year': '1998', 'journal': 'Journal of Nuclear Materials', 'doi': '10.1016/S0022-3115(97)00304-8', 'author': ['D... | \n
920 | \n[pair_style kim Sim_LAMMPS_Vashishta_BroughtonMeliVashishta_1997_SiO__SM_422553794879_000\\n, pair_coeff * * Si O\\n] | \n[] | \nOPENKIM | \nSim_LAMMPS_Vashishta_BroughtonMeliVashishta_1997_SiO__SM_422553794879_000 | \n[Si, O] | \n[{'Q._1997': {'title': 'Direct atomistic simulation of quartz crystal oscillators: Bulk properties and nanoscale devices', 'volume': '56', 'year': '1997', 'journal': 'Physical Review B', 'doi': '1... | \n
921 | \n[pair_style kim Sim_LAMMPS_Vashishta_NakanoKaliaVashishta_1994_SiO__SM_503555646986_000\\n, pair_coeff * * Si O\\n] | \n[] | \nOPENKIM | \nSim_LAMMPS_Vashishta_NakanoKaliaVashishta_1994_SiO__SM_503555646986_000 | \n[Si, O] | \n[{'Aiichiro_1994': {'title': 'First sharp diffraction peak and intermediate-range order in amorphous silica: finite-size effects in molecular dynamics simulations', 'volume': '171', 'year': '1994'... | \n
922 | \n[pair_style kim Sim_LAMMPS_Vashishta_VashishtaKaliaNakano_2007_SiC__SM_196548226654_000\\n, pair_coeff * * Si C\\n] | \n[] | \nOPENKIM | \nSim_LAMMPS_Vashishta_VashishtaKaliaNakano_2007_SiC__SM_196548226654_000 | \n[Si, C] | \n[{'Priya_2007': {'title': 'Interaction potential for silicon carbide: A molecular dynamics study of elastic constants and vibrational density of states for crystalline and amorphous silicon carbid... | \n
923 | \n[pair_style kim Sim_LAMMPS_Vashishta_VashishtaKaliaRino_1990_SiO__SM_887826436433_000\\n, pair_coeff * * Si O\\n] | \n[] | \nOPENKIM | \nSim_LAMMPS_Vashishta_VashishtaKaliaRino_1990_SiO__SM_887826436433_000 | \n[Si, O] | \n[{'P._1990': {'title': 'Interaction potential for {SiO}2: A molecular-dynamics study of structural correlations', 'volume': '41', 'year': '1990', 'journal': 'Physical Review B', 'doi': '10.1103/ph... | \n
77 rows × 6 columns
\n