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

DECODE, Smugglers are becoming very smart day by day. Now they have develop...

Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are send

Caesar cipher, This task involves char arrays and pointer based string hand...

This task involves char arrays and pointer based string handling. Which we use to make a simple encryption program, using a Caesar Cipher, Write a program that: a. Asks

How to use http headers inside php, How to use HTTP Headers inside PHP? Wri...

How to use HTTP Headers inside PHP? Write the statement through which it can be added? HTTP headers can be used in PHP by redirection that is written as: Headers can be

Design a game in c, Design a game in c: const DODGERS = 0; const GI...

Design a game in c: const DODGERS = 0; const GIANTS = 1;   void main(void) {    int scoreboard [2][9];    // An array two rows by nine columns    int team, i

Give example of the for loop, The for Loop For loop is the controlled f...

The for Loop For loop is the controlled form of loop. The general format of this : for( initialize ; test ; update)                  {                     statements;

Discount program, Build a program that calculates a discount for items base...

Build a program that calculates a discount for items based on quantity bought each item is $99.99 Ask user to enter the quantity of the items Get the quantity of items from the u

Socket Programming, Need someone to look over my assignment for correctness...

Need someone to look over my assignment for correctness and make any necessary changes.

C programs, 2. a) Define a structure to store roll no, name and marks of a ...

2. a) Define a structure to store roll no, name and marks of a student. b) Using the structure of Q2. a), above write a ''C'' program to create a file "student.dat". There must be

Oop, write a program which has three classes

write a program which has three classes

Need a solution, Hello. I need a solution for this assignment. It is for C+...

Hello. I need a solution for this assignment. It is for C++ Language: Create a BusinessPartner class that contains a first name, company name, and a telephone number. Create a Con

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