Giter Club home page Giter Club logo

moldy-argon's Introduction

Moldy Argon

By Tommy Ogden <[email protected]>

Moldy Argon is a molecular dynamics simulator of argon atoms.

Download

See Releases page.

## Use

Compile the app using the makefile. You'll need the GCC installer.

$ make

Once compiled, the simulator can be run with

$ moldy_argon

Parameters you can set for the simulations, with [default value].

  • --num-dims number of dimensions, i.e. 2 or 3 [2]
  • --num-atoms number of atoms [16]
  • --box-length length of the box containing the atoms, in each dimension. [4.0]
  • --max-speed max speed ofthe atoms. [1.0]
  • --t-step the time step [0.1]
  • --num-t-steps number of time steps [100]
  • --bc-type boundary condition type ('b': bounce, 't': toroidal, 'n': none) [t]
  • --force-type force type ('l': Lennard-Jones, 'n': none) [l]
  • --cutoff force cutoff distance [0.0]
  • --filename filename to save the simulation ['moldy_argon.json']

e.g.

$ ./moldy_argon --num-atoms 100 --bc-type b --filename my_file.json

For 2D simulations, there's a basic visualiser for the dynamics, written in Python with Numpy and Matplotlib. If you've got those installed, try

$ ./moldy_argon
$ python plot/plot_moldy_argon.py

to see some atoms moving around.

Documentation

This README is the documentation for now. More soon.

## License

See LICENSE.txt.

moldy-argon's People

Contributors

tpogden avatar

Stargazers

 avatar

Watchers

 avatar James Cloos 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.