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

Merged
merged 26 commits into from
Oct 9, 2024
Merged

extended LAMMPS commands support #3

merged 26 commits into from
Oct 9, 2024

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 cz4rs force-pushed the extended-lammps-support branch 2 times, most recently from ecdbd54 to 8363a06 Compare September 18, 2024 21:48
@cz4rs
Copy link
Author

cz4rs commented Sep 18, 2024

Submitted upstream as well: ECP-copa#115.

cz4rs and others added 3 commits October 8, 2024 16:44
- print imbalance on initial step (will be `-nan`)
- use tabs as separators for easier reading
@cz4rs cz4rs merged commit 0f028b6 into master Oct 9, 2024
36 checks passed
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.

2 participants