Skip to content

MarcThomson/MDSpectralAnalysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

Introduction

This repository contains the essential data and code from Marc Thomson's Master's Thesis at the University of Colorado Boulder, Department of Applied Mathematics. The idea behind the thesis is to reduce the number of points necesary to compute a spectrum from a molecular dynamics simulation using knowledge of the structure of the spectrum. A pdf copy of the thesis will be available soon at: https://scholar.colorado.edu/appm_gradetds/.

The following two sections will describe the contents of the repository with brief descriptions of how to use the data and codes.

Data

Datasets contained here were computed using LAMMPS example scripts for methanol and sodium chloride.

Vel_data_NaCl.mat contains the x,y,z velocities for all atoms in the sodium chloride system as a function of time. Time is in fs, and velocity is in Angstroms/picosecond.

Vel_data_MetOH.mat contains the x,y,z velocities for all atoms in the methanol system as a function of time. Time is in fs, and velocity is in Angstroms/femtosecond.

Vacf_total_NaCl_n.mat contains the nth part of the computed velocity autocorrelation function for the sodium chloride system. The data is partitioned to be allowed on github. To combine the data, run '[t,Vx,Vy,Vz] = loadNaClVel()' in the proper directory. Time is in fs.

Vacf_total_MetOH_n.mat contains the nth part of the computed velocity autocorrelation function for the methanol system. The data is partitioned to be allowed on github. To combine the data, run '[t,Vx,Vy,Vz] = loadMetOHVel()' in the proper directory. Time is in fs.

The directories "Methanol_gen_files" and "Nacl_gen_files" contain the code used for LAMMPS to generate the datasets. These are essentially the example scripts included with the software, with minor modifications to output the velocity data. Velocities will be output in the file "velocity.dat" which the user can then parse. Also, the scripts will output images of the simulations at regular intervals.

Code

CalculateVACF_n calculates the velocity autocorrelation function using supplied velocity and time data.

The remainder hasn't been added yet. Check back later!

About

Code for spectral estimation using MD simulations. To be completed later.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages