Package for building moleular systems
Project description
Molecular builder
This builder relies heavily on the atomic simulation environment (ase). I particular we use ase to generate crystals from space group descriptions.
This molecular builder is made with LAMMPS in mind. Usually, saving to input files for other simulators will work just fine, but anywhere a choice has to be made, convenience when preparing systems for LAMMPS will be prioritized.
Description
This package facilitates building molecular systems. It has functions for creating bulk crystals and for fetching periodic boxes of non-crystalline systems from the internet. After generating bulk crystals, the user may carve out specific geometries, and combine several elements to create a system.
We also support adding water using packmol. This requires having packmol installed.
Installation
pip install git+https://github.com/henriasv/molecular-builder
Usage
Simple use case for creating a bulk alpha-quartz crystal.
from molecular_builder import create_bulk_crystal
atoms = create_bulk_crystal("alpha_quartz", [50,100,200])
write(atoms, "alpha_quartz.data)
Please refer to the documentation for more usage examples.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for molecular_builder-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb5a63f66015d3546a2793ccdae7e1f92448efa87840c0d3981185ed46f369bd |
|
MD5 | 4672b9333282c97d433871e3254ea6fb |
|
BLAKE2b-256 | 6ebca86784877be6d847bbd307940005d27e83adad0eaa474719568d9bd1e2a5 |