Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LAMMPS interactive indicies bug #1260

Open
jan-janssen opened this issue Dec 13, 2023 · 0 comments
Open

LAMMPS interactive indicies bug #1260

jan-janssen opened this issue Dec 13, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@jan-janssen
Copy link
Member

jan-janssen commented Dec 13, 2023

Example from the journal club:

from ase.build import bulk
from pyiron_atomistics import Project, ase_to_pyiron
import structuretoolkit as stk
from tqdm import tqdm

structure = bulk('Cu',cubic=True).repeat(3)
target_c = 0.75
mole_fractions = {'Cu': target_c, 'Ag': 1-target_c}
pr = Project(".")
lmp = pr.create.job.Lammps(job_name="lmp", delete_existing_job=True)
lmp.potential = '2006--Williams-P-L--Cu-Ag--LAMMPS--ipr1'
lmp.interactive_open()
lmp.calc_static()
for _ in tqdm(range(10)):
    lmp.structure = ase_to_pyiron(stk.build.sqs_structures(
        structure=structure,
        mole_fractions=mole_fractions,
    )[0])
    lmp.run()
lmp.interactive_close()
lmp.output.energy_tot
@jan-janssen jan-janssen added the bug Something isn't working label Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant