07.08.2013 Views

ms2: A Molecular Simulation Tool for Thermodynamic Properties

ms2: A Molecular Simulation Tool for Thermodynamic Properties

ms2: A Molecular Simulation Tool for Thermodynamic Properties

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Applying<strong>ms2</strong>par is simple and should be intuitive even <strong>for</strong> new users. <strong>ms2</strong>par is a java application, thus it runs<br />

on all operating systems.<br />

7.2. <strong>Simulation</strong> analysis: <strong>ms2</strong>chart<br />

<strong>ms2</strong>chart is a GUI-based java applet <strong>for</strong> evaluating the simulation results from <strong>ms2</strong>, cf. Figure 11. This tool<br />

plots the evolution of properties calculated by <strong>ms2</strong>. The properties can be shown <strong>for</strong> different graph axes that<br />

are chosen from a drop down menu and the plot is shown directly in the GUI. For a better analysis, <strong>ms2</strong>chart<br />

allows various features: plotting block averages as well as simulation averages into the same plot, changing the<br />

design of the plot, individual labeling of the axes and adjusting the frame detail. All plots can be exported in<br />

png <strong>for</strong>mat.<br />

The analysis program <strong>ms2</strong>chart can be executed at any time of the simulation, i.e. also while the simulation<br />

is still running. There is no loss of data, if it is run on the fly. The tool <strong>ms2</strong>chart is easy to understand and<br />

can be handled intuitively. It allows <strong>for</strong> an easy first analysis of the <strong>ms2</strong> simulation results. Users will employ<br />

<strong>ms2</strong>chart <strong>for</strong> a quick check of their simulation results, such as whether the equilibration time was appropriate,<br />

which is important if extensive series of simulation runs are per<strong>for</strong>med.<br />

7.3. Visualization tool: <strong>ms2</strong>molecules<br />

The program <strong>ms2</strong>molecules is a visualization tool <strong>for</strong> <strong>ms2</strong>. The program displays the molecular trajectories<br />

that are stored by <strong>ms2</strong> as a series of configurations in the *.vim file. <strong>ms2</strong>molecules visualizes molecular sites<br />

by colored spheres. The colors are user defined. The size of a sphere is by default proportional to the LJ size<br />

parameterσ, but can be changed manually in the first lines of the *.vim file. This feature facilitates monitoring a<br />

component of interest by reducing the size of other components, e.g. solvents. Other features like zooming into<br />

or out of the simulation volume as well as rotating the simulation volume also facilitate the analysis of simula-<br />

tions. The visualization can be exported via snapshots in the jpg <strong>for</strong>mat.<br />

The program is based on OpenGL and written in C. The handling of the program is simple and console based.<br />

Requirements <strong>for</strong> the feature tool are OpenGL in a Windows or Linux environment. Figure 12 shows a snap-<br />

shot of a ternary mixture, taken with the program <strong>ms2</strong>molecules, which is convenient to gain insight into the<br />

trajectory of the system or the state of the system, respectively.<br />

8. Conclusions<br />

The molecular simulation program <strong>ms2</strong> was designed <strong>for</strong> the calculation of thermodynamic properties of bulk<br />

fluids. Special care was given to a minimization of the response time. The capabilities of <strong>ms2</strong> are broad, rang-<br />

ing from basic static thermodynamic properties, like thermal and caloric data, over vapor-liquid equilibria to<br />

transport properties, like diffusion coefficient, viscosity and thermal conductivity. These data are accessible <strong>for</strong><br />

pure substances and mixtures. The accuracy of the simulation data generated by <strong>ms2</strong> is high, while consum-<br />

ing a reasonable computational ef<strong>for</strong>t. <strong>Molecular</strong> models of more than 100 pure fluids are supplied with <strong>ms2</strong><br />

that accurately describe their thermodynamic properties. Despite the fact that <strong>ms2</strong> is a sophisticated Fortran90<br />

program, new developers benefit from its modular structure and object-orientation. The application of <strong>ms2</strong> is<br />

25

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!