Coder Social home page Coder Social logo

chenghao-wu / robertomd.jl Goto Github PK

View Code? Open in Web Editor NEW
12.0 4.0 2.0 14.45 MB

Massively parallel hybrid particle-field molecular dynamics (hPF-MD) simulation method in Julia

License: MIT License

Julia 100.00%
molecular-dynamics coarse-grained physical-chemistry physical-modeling simulation polymer julia particle-field

robertomd.jl's People

Contributors

chenghao-wu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

robertomd.jl's Issues

Roadmap of hPF-MD.jl

hPF-MD.jl => RobertoMD.jl due to the naming policy of Julia general package.

The roadmap below was originally intended to write a toy code for testing new algorithms based on the particle field scheme.

The goal of this package is now to become a production simulator for particle-field simulations, since the performance of Julia and the parallelization capability of MPI.jl are quite satisfactory.

The support force-fields are limited. Next tasks will be implementations of:

  • Angle
  • Dihedral
  • Electronics
  • Spectral method to solve fields [Bore, S. L.; Cascella, M. J. Chem. Phys. 2020, 153 (9), 094106.]
  • Improvements on the formulation of the particle-field interactions

Improvements of hPF-MD.jl:

  1. benchmark this serial version against OCCAM or GALAMOST (MD-SCF) using the simple CG-polymer systems
    1. implement harmonic bond interactions ✅
    2. implement Andersen thermostat ✅
    3. implement unwrapped trajectory writer ✅
  2. implement the auto-differentiation for determination of the force and pressure tensor from energy function.✅
    • The implementation of auto-differentiation is okay-ish but the computational consumption is very high.
  3. add functionality for modeling multicomponent systems
  4. implement the spectral method for the calculation of density gradient with convolution of Gaussian filter ✅
    • general step:
      1. construction of wave vectors using: k=fftfreq(N_grids,2pi/(dcell))
      1. forward transform density grids: rho_=fft(rho)
      1. convolution with gaussian function: rho_conv=rho_*exp(-|k|^2)
      1. backward transform density grids: rho=real(ifft(rho_conv))
  5. parallelization (may use MPI not MP) ✅
    • using particle decomposition algorithm with MPI.jl
  6. add pressure function via incorporating other equation of state of liquids.

Future work of hPF-MD method:

  1. replace the physics-based potential form (Flory-Huggins Interactions Energy) with numerical form: e.g. train a neural network using the local density grids as features to predict the potential energy and forces.
  2. automatic determination of the interaction parameters for coarse-graining

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.