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

extended LAMMPS commands support #3

Draft
wants to merge 15 commits into
base: master
Choose a base branch
from
Draft

Conversation

cz4rs
Copy link

@cz4rs cz4rs commented Aug 29, 2024

It is now possible to define multiple regions and the size of simulation box will be adjusted accordingly. This is currently rectricted to fcc lattice style only.

  • use create_atoms to fill the region with atoms of specific type
  • use mass to assign mass to atom type
  • use velocity to assign temperature to atom type

See in.darma deck and the screenshots below for practical demonstration.

You can use paraview --script paraview_process_data.py to speed up analysis of produced data. It will try to load all dump*, domain_act* and domain_lb* data files from your current directory and do some basic ParaView visualization.


Multiple regions with different atom types. Note that when the regions overlap, random type will be assigned:
image

Multiple regions with different velocities:
image

Types after 100 steps:
image

Velocities after 100 steps:
image

Types after 1000 steps:
image

@cz4rs cz4rs marked this pull request as draft September 10, 2024 13:20
@cz4rs
Copy link
Author

cz4rs commented Sep 18, 2024

Submitted upstream as well: ECP-copa#115.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant