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

New example/UNITS dir #1709

merged 2 commits into from Oct 9, 2019


Copy link

sjplimp commented Oct 9, 2019


Provide 3 input scripts that simluate the same physical system (LJ liquid argond) in 3 different LAMMPS units: lj, real, metal. They illustrate how to scale/unscale input/output quantities between unit systems, so that users can hopefully do this for any input script they might need to.

Related Issues

Questions about how to do this arise occasionally on the mail list.




By submitting this pull request, I agree, that my contribution will be included in LAMMPS and redistributed under either the GNU General Public License version 2 (GPL v2) or the GNU Lesser General Public License version 2.1 (LGPL v2.1).

Backward Compatibility


Implementation Notes

Provide any relevant details about how the changes are implemented, how correctness was verified, how other features - if any - in LAMMPS are affected

Post Submission Checklist

Please check the fields below as they are completed after the pull request has been submitted. Delete lines that don't apply

  • The feature or features in this pull request is complete
  • Licensing information is complete
  • Corresponding author information is complete
  • The source code follows the LAMMPS formatting guidelines
  • Suitable new documentation files and/or updates to the existing docs are included
  • The added/updated documentation is integrated and tested with the documentation build system
  • The feature has been verified to work with the conventional build system
  • The feature has been verified to work with the CMake based build system
  • A package specific README file has been included or updated
  • One or more example input decks are included

Further Information, Files, and Links

Put any additional information here, attach relevant text or image files, and URLs to external sites (e.g. DOIs or webpages)

@akohlmey akohlmey self-requested a review Oct 9, 2019
@akohlmey akohlmey added the enhancement label Oct 9, 2019

This comment has been minimized.

Copy link

akohlmey commented Oct 9, 2019

@ellio167 @tadmor perhaps this folder is a good place to contribute some example cases for the KIM package unit conversion features. There is an Argon model in your data base, so you could start from the examples here.

@akohlmey akohlmey merged commit 0cf60d0 into master Oct 9, 2019
8 checks passed
8 checks passed
lammps/pull-requests/build-docs-pr head run ended
lammps/pull-requests/cmake/cmake-kokkos-cuda-pr head run ended
lammps/pull-requests/cmake/cmake-kokkos-omp-pr head run ended
lammps/pull-requests/cmake/cmake-serial-pr head run ended
lammps/pull-requests/kokkos-omp-pr head run ended
lammps/pull-requests/openmpi-pr head run ended
lammps/pull-requests/serial-pr head run ended
lammps/pull-requests/shlib-pr head run ended
@akohlmey akohlmey deleted the units-example branch Oct 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.