I have recently completed a Ph.D. in computational physics simulating the ordering and diffusion of hydrogen atoms in palladium metal. This involves writing and running Monte-Carlo simulations -- programs that simulate physical processes using very large numbers of pseudo-random events. These may be computationally rather intensive taking hours or days of run-time on a fast computer.
As part of this I have computed virtual diffraction patterns from atomistic models of H in Pd, see C3 of thesis. Here 3d diffraction patterns were simulated directly from atomic positions permitting simulation of patterns generated by very short-range order i.e. crystalline regions only a few atoms in size or with partial ordering.
Poster presentation given at mh2014 -the 14th International Symposium on Metal_Hydrogen Systems (Poster)
Thesis submitted 2015 Computational Studies of Hydrogen in Palladium (Thesis)