Free Volume

Tutorial Created with Software Release: 2026-1
Topics: Consumer Packaged Goods, Organic Electronics, Pharmaceutical Formulations, Polymeric Materials
Methodology: All-Atom Molecular Dynamics
Products Used: MS Maestro

Tutorial files

0.8 GB

This tutorial is written for use with a 3-button mouse with a scroll wheel.
Words found in the Glossary of Terms are shown like this: Workspacethe 3D display area in the center of the main window, where molecular structures are displayed

 

Tip: You can hover over a glossary term to display its definition. You can click on an image to expand it in the page.
Abstract:

 

In this tutorial, we will learn to use the Free Volume Analysis calculation and viewer panels to determine the location and size of voids in a set of structures.

 

Tutorial Content
  1. Introduction to Free Volume Calculations

  1. Creating Projects and Importing Structures

  1. Performing Free Volume Analysis on a Metal-Organic Framework

  1. Performing Free Volume Analysis on a Polymer System

  1. Conclusions and References

  1. Glossary of Terms

1. Introduction to Free Volume Calculations

Free volume is the volume of the total mass that is not occupied by atoms. In polymers it is the gap or pores occupied between the chains of polymers. Molecular motion in liquids and solids requires molecule-sized holes as developed by Eyring. These holes, which collectively make up the free volume, are constantly moving. Such information may be useful in a variety of materials science applications, for example:

  • Predicting physisorption capabilities for gas storage
  • Understanding polymer behavior, including viscosity, diffusion, glass transition temperature, transport capabilities, response to deformation and expansion, among other properties

The Free Volume Analysis calculations and results panels in Materials Science (MS) Maestro can be used for both quantitative and qualitative analysis of the free volume of periodic systems. Moreover, the free volume of a single structure as well as a series of frames across a trajectory can be studied.

For a complete introduction to the Free Volume Analysis panels, please visit the help documentation.

In this tutorial, we will first learn to use the free volume tools to study a zinc metal-organic framework (MOF) structure. Then we will use the panel to analyze an equilibrated polystyrene system, in which we will look at free volume across a trajectory.

2. Creating Projects and Importing Structures

At the start of the session, change the file path to your chosen Working Directorythe location where files are saved in MS Maestro to make file navigation easier. Each session in MS Maestro begins with a default Scratch Projecta temporary project in which work is not saved, closing a scratch project removes all current work and begins a new scratch project, which is not saved. A MS Maestro project stores all your data and has a .prj extension. A project may contain numerous entries corresponding to imported structures, as well as the output of modeling-related tasks. Once a project is saved, the project is automatically saved each time a change is made.

Structures can be built in MS Maestro or can be imported using File > Import Structures (or drag-and-dropped), and are added to the Entry Lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion and Project Tabledisplays the contents of a project and is also an interface for performing operations on selected entries, viewing properties, and organizing structures and data. The Entry Lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion is located to the left of the Workspacethe 3D display area in the center of the main window, where molecular structures are displayed. The Project Tabledisplays the contents of a project and is also an interface for performing operations on selected entries, viewing properties, and organizing structures and data can be accessed by Ctrl+T (Cmd+T) or Window > Project Table if you would like to see an expanded view of your project data.

  1. Double-click the Materials Science icon

Figure 2-1. Change Working Directory option.

  1. Go to File > Change Working Directory
  2. Find your directory, and click Choose
  3. Pre-generated input and results files are included for running jobs or examining output. Download the zip file here: schrodinger.com/sites/default/files/s3/release/current/Tutorials/zip/free_volume.zip
  4. After downloading the zip file, unzip the contents in your Working Directory for ease of access throughout the tutorial

Figure 2-2. Save Project panel.

  1. Go to File > Save Project As
  2. Change the File name to free_volume_tutorial, click Save
    • The project is now named free_volume_tutorial.prj

Figure 2-3. The entry list and workspace after importing.

In Section 3 of this tutorial, we will analyze a Zn-MOF structure. In Section 4, we will analyze a polymer trajectory. Let’s import these structures now:

  1. Go to File > Import Structures
  2. Import Zn_MOF.mae
  3. Click Open
    • Zn_MOF is added to the entry list
  4. Import multistage_simulation_PS > multistage_simulation_PS-out.cms
  5. Click Open
    • polymer_builder_PS_system is added to the entry list

3. Performing Free Volume Analysis on a Metal-Organic Framework

We will begin by performing the free volume analysis on the imported Zn-MOF structure. Note that this structure was built using the Enumerate Metal-Organic Frameworks panel, which is described here in detail if you are interested. It is also possible to use a .cif file directly for a free volume calculation; however, for a trajectory free volume calculation on a MOF (as demonstrated in Section 4), the Enumerate Metal-Organic Frameworks panel is the best structure source.

Figure 3-1. Parameterizing the Free Volume Analysis panel.

  1. With the Zn_MOF entry selected and included, go to Tasks > Materials > Tools > Free Volume Calculations
  2. Maintain the defaults for Use grid spacings and Probe radius
    • The calculation (by default) will be run at four different grid spacings, 1.00 Å, 0.75 Å, 0.50 Å and 0.25 Å. Evaluating over a range allows us to assess convergence
    • The probe radius is used to determine whether a grid point is a void or not; the default here is good. If you want to use multiple radii, you can use the output of one analysis to run another with a different probe radius
  3. Change the Job name to free_volume_MOF
  4. Click Run
    • This job takes ~5 minutes on a 12 CPU host. Adjust your job settings as needed.

Figure 3-2. Accessing the results via the WAM.

When the job is complete, a banner appears to indicate that the output has been incorporated. A new entry group entitled free_volume_MOF-freevolume (1) is added to the entry list with one entry titled Zn_MOF

  1. Select and include the new Zn_MOF entry
  2. Use the Workflow Action Menu (WAM) button in the entry list and click on Free Volume Results

Note: Alternatively, access the Free Volume Analysis Viewer via Tasks > Materials > Tools > Free Volume Results

Figure 3-3. Radius, spacing and void statistics.

The Probe radius and Grid spacing can be selected from the dropdowns at the top of the panel. We used 1.40 Å for probe radius and four different grid spacings. We will analyze the grid spacing of 0.25 Å

Also at the top of the results panel, you can see several void statistics, including the number of total voids, the free volume overall percent as well as the mean and median void size.

Figure 3-4. Distribution tab.

In the Distribution tab, a histogram titled Void Size Distribution of fractional volume versus volume-equivalent sphere radius is shown. In the case of this structure, essentially all of the void volume is the largest cavity of the MOF.  

 

Adjusting the Number of bins, allows adjusting the size of the groupings in which the void sizes are grouped.

Figure 3-5. Display the voids.

The voids can be visualized in the workspace.

  1. Click Display next to Number of voids to display
    • Be patient, as the voids can take a moment to load in the workspacethe 3D display area in the center of the main window, where molecular structures are displayed
    • The filter can be used to define the size of voids to display

The voids are displayed as surfaces (the surface occupies the negative space). You can see details about the various voids, or hide/display specific voids using the surface button () in the entry list

  1. Hide the surfaces by clicking on the surface button  () in the entry lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion and choosing Hide All

Figure 3-6. Void location plot.

Return to the Free Volume Analysis Viewer panel. We will discuss the Cumulative tab in detail in Section 4, though in general this tab can be useful in MOF applications for determining the pore-limiting diameter.

  1. Go to the Location tab
    • The location of the voids in a cross-section is shown
    • A plane is shown in the workspace that indicates the location of the current cross section
    • Use the View along dropdown and the green arrows to toggle the plane to various locations

The voids are shown as colored blobs, with color indicating a specific void; as stated before, the main void here is all one interconnected entity, thus the blobs are all the same color

Note: double-clicking on a blob within the plot will result in that void being displayed in the workspace as a surface

Figure 3-7. Convergence plot.

  1. Go to the Convergence tab
    • The convergence of the free volume as a function of the grid spacing is shown. In this case, the grid spacing of 1.00 Å is sufficient

Note: Smaller grid sizes allow for more accurate results, but also result in significantly more expensive calculations. Thus, the convergence plot can be used to evaluate the necessary grid spacing for an accurate free volume analysis

For a complete summary of all aspects of the Free Volume Analysis Viewer panel, visit the help documentation

  1. Close the Free Volume Analysis Viewer panel

4. Performing Free Volume Analysis on a Polymer System

We will now perform the free volume analysis on a polystyrene system previously equilibrated with a molecular dynamics (MD) simulation.

Figure 4-1. Polystyrene system in the workspace.

  1. Select and include polymer_builder_PS_system from the entry list (imported in Section 2)

Note: For practice building amorphous polymers, see the Building, Equilibrating and Analyzing Amorphous Polymers tutorial

Figure 4-2. Parameterizing the Free Volume Analysis panel.

  1. Go to Tasks > Materials > Tools > Free Volume Calculations
    • The Free Volume Analysis panel opens

Because this system includes a trajectory, the Free Volume Analysis panel allows for the analysis to performed over some or all of the trajectory

  1. Check Analyze trajectory
  2. Click Trajectory Range and set the filter to 900-1000 (9.00 - 10.00 ns) with a Step size of 10. Click OK
    • Here we are only looking at some of the trajectory to simplify the calculation
    • A range can be specified, as well as a step size
  3. Maintain the defaults for Use grid spacings and Probe radius
    • In practice, computational resources can be conserved by running multiple grid spacings on one frame from the trajectory to ensure convergence, and then running the free volume job at the max sufficient grid spacing post-convergence
  4. Change the Job name to free_volume_polymer
  5. This job takes ~15 hours on a CPU host. If you do not wish to run the job, rather than proceeding to Step 7, import amorphous_polypolystyrene-12-out.cms from the provided tutorial files (in the Section_04 > free_volume_polymer directory), then continue to Step 8.
  6. Otherwise, adjust your job settings as needed and click Run

Figure 4-3. Accessing the results via the WAM.

  1. Select and include the new polymer_builder_PS_system from the entry list
  2. Use the Workflow Action Menu (WAM) button in the entry list and click on Free Volume Results

Note: Alternatively, access the Free Volume Analysis Viewer via Tasks > Materials > Tools > Free Volume Results

Figure 4-4. Void size distribution for one frame.

  1. Click Load Data from Workspace

The Free Volume Analysis Viewer opens on the Distribution tab with data for just the last frame of the trajectory showing.

 

As before, the Probe radius and Grid spacing can be adjusted according to the input settings.

 

Adjusting the Number of bins, allows adjusting the size of the groupings in which the void sizes are grouped.

Figure 4-5. Void size distribution for a range of frames.

  1. Adjust the Number of frames slider to 7
    • The Void Size Distribution graph updates to now include the data for 11 equally spaced frames (every 0.10 ns from 4.0 to 5.0 ns)

 

Note: Voids can be displayed in the workspace as we observed in Section 3. In general with trajectory analysis, it is advisable to Precalculate All Voids before viewing voids to facilitate the loading of the surfaces in the workspace without significant delay.

As before, the Location tab can be used to visualize the location of the voids in a cross-section. Additionally, the Convergence can be used to verify that the grid spacing employed was sufficient.

5. Conclusion and References

In this tutorial, we used the Free Volume Calculations and Results panels to determine the location and size of voids in a Zn-MOF as well as a polystyrene polymer model. In the latter case, we analyzed the free volume over the course of a trajectory.  

For further reading:

6. Glossary of Terms

Entry List - a simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion

Included - the entry is represented in the Workspace, the circle in the In column is blue

Project Table - displays the contents of a project and is also an interface for performing operations on selected entries, viewing properties, and organizing structures and data

Recent actions - This is a list of your recent actions, which you can use to reopen a panel, displayed below the Browse row. (Right-click to delete.)

Scratch Project - a temporary project in which work is not saved, closing a scratch project removes all current work and begins a new scratch project

Selected - (1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries

Working Directory - the location where files are saved

Workspace - the 3D display area in the center of the main window, where molecular structures are displayed