molecular dynamics and Monte carlo, C/C++ Programming

Assignment Help:
Molecular dynamics for a Lennard-Jones system (in C++)
1. Write a function which reads in the input variables of a molecular dynamics simulation of a
Lennard-Jones system. The input variables are the temperature, density, number of particles, a
flag to determine the type of lattice, e.g. simple cubic, face-centered cubic, body-centered cubic
(later also the number of time steps).
2. Write a function which sets upthe initial positions of a molecular dynamics simulation.
3. Write a function which sets up the initial velocities of a molecular dynamics simulation.
4. Write a molecular dynamics algorithm based on the Verlet algorithm.
Calculate the average kinetic energy, potential energy and their standard deviations. Also produce
plots of the kinetic, potential, and total energiesi and check if energy is conserved.
Monte Carlo for a Lennard-Jones system (in C++)
Based on the setup for the molecular dynamics program, write a Monte Carlo code for a
Lennard-Jones system.
Calculate the acceptance ratio. Calculate the average potential energy and compare it to the result of
a molecular dynamics run with the same parameters (density, number of atoms, temperature).

Related Discussions:- molecular dynamics and Monte carlo

Dynamic constructor, dynamic initialization of object using constructor in ...

dynamic initialization of object using constructor in C++

Procedure to compute recursive and iterative process, Consider the followin...

Consider the following mathematical function: (a) Write a procedure that computes f by means of a recursive process (b) Write a procedure that computes f by means of an

Change to palindrome, A palindrome is a string that reads the same from bot...

A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome

develop a calculator in masm, Part 1 Assignment:  develop a calculator...

Part 1 Assignment:  develop a calculator in MASM. Text chapters covered:  1 through 4, 5.4, 5.5, 6.3, 7.4 You will develop a "calculator" algorithm in MASM using reverse-

Rules of function, Rules of function: Inline function created witho...

Rules of function: Inline function created without prototype it reduces the memory and it is used only for small function. Inline function cannot have recursion, static var

Write program to get largest element in array using function, Write a progr...

Write a program to get the largest element in an array using Function? # include int largest(int b[],int); main() { int lar,a[5]={12,2,36,40,5}; lar=largest(a,n); printf("

Cange to palindrome, A palindrome is a string that reads the same from the ...

A palindrome is a string that reads the same from the both the ends. Given a string S convert it to a palindrome by doing character replacement. Your takes is to convert S to palin

#padovan string, #padovan string   program in java // aakash , sur...

#padovan string   program in java // aakash , suraj , prem sasi kumar kamaraj college program 1 : package test.padovanstring; public class PadovanString {

Addition of array elements, Addition of array elements: #define rows 3 ...

Addition of array elements: #define rows 3 #define cols 3 void main() {                 int i=0,j=0,sum=0;                 int arr[rows][cols];

C program to handle stack using exception handling, Aim: To implement a pr...

Aim: To implement a program to handle stack overflow, underflow and odd number exception using Exception Handling. Code: #include #include #include #define MAX

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd