Computational Physics and Chemistry
Case Study 4: Static Properties of the Lennard-Jones Fluid
You can download this Case Study in zip-format or in tar.gz-format.
The Case study contains the following files:
- In directory Source/
The Fortran subroutines:
eneri.f lattice.f rantest.f setvel.f toterg.f
force.f md.f sample.f solve.f velocs.f
init.f ranf.f sample2.f store.f
The include files:
conf.inc potential.inc system.inc
parameter.inc samp.inc veloc.inc
The makefile:
Makefile
- In directory: Run/
lj.prth : defining heading and number of output data for
calculating the standard deviation
lj.res : contains end configuration and can be used to restart the
simulation
lj.gr : data radial distribution function
run : script to run the program (after compilation):
- In directory: Block/
The Fortran program:
block.f
The makefile:
Makefile
We make no warranties, express or implied, that the programs contained
in this work are free of error, or that they will meet your requirements
for any particular application. They should not be relied on for solving
problems whose incorrect solution could result in injury, damage, or
loss of property. The authors and publishers disclaim all liability for
direct or consequential damages resulting from your use of the programs