Giter Club home page Giter Club logo

mdatom's Introduction

Molecular Dynamics of Simple Systems: Ab initio MD simulation of mono- and diatomic molecules

This MD-Simulation was made for the course Statistical Physics and Computer Simulation at ETH Zurich by Jonas Luther and Rafael Steiner.

The given task was to transform an MD simulation with a classical Lennard-Jones potential to an ab initio simulation.

We chose to use psi4 as the library to perform our ab initio calculations.

Current Status of the Project


  • This Project is still under construction and there will soon be coming more changes to the program. Keep an eye on the repository to stay updated.

Results


  • Classical MD-Simulation with 1000 Lennard-Jonesium potential over the time span of 1ps LJSimulation

  • Ab-Initio Simulation of 48 Helium atoms over a time span of 50 fs HeSimulation

  • Ab-Initio Simulation of 64 H2 molecules over a time span of 50 fs H2Simulation

  • Ab-Initio Simulation of 27 Molecules H2/O2 mixture over a time span of 50 fs H2O2Simulation

How to run


  • install all the required dependencies:

    • C++ 17:
      • glm 0.9.9.9
    • Python 3.8:
      • matplotlib 3.3.4
      • numpy 1.19.2
      • psi4 1.4rc2.dev99+c4c438c
      • mendeleev 0.5.2
  • create a folder called tmp at the root of the project

  • build the project located at ./mdatom-main/CMakeLists.txt with CMake

  • run the python script main.py in the ab_initio folder

  • run mdatom with the file ./mdatom-main/input.txt as the argument

Additional features


  • In each frame of the simulation a PNG of the current state is created in the ./animation folder. These files can be converted into an MP4 output_name.mp4 with ffmpeg by running ffmpeg -r 10 -i frame%d.png output_name.mp4 in the ./animation`folder.

mdatom's People

Contributors

steinraf avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.