Error when fixing graphene surface using Fix Bonds in Materials Studio

Dear All,

I would like to simulate the permeation of a solvent through a membrane. To do this, I first modeled the polymer on top of a graphene surface, which acts as a wall to prevent the solvent molecules from crossing to the other side. However, after relaxation, the graphene surface is no longer flat — it appears curved. When I tried to fix the graphene surface using the Fix Bonds option, I encountered an error:

---- Dynamics parameters ----

Ensemble                        : NPT
Temperature                     : 300.00 K
 Control method                : Nose
 Q ratio                       : 0.0100000
Pressure                        : 0 GPa
 Control method                : Berendsen
 Decay constant                : 0.1000000 ps
Timestep                        : 5.00 fs
Number of steps                 : 2000
Duration                        : 10 ps
Initial velocities              : Random
Random number seed              : 1761653801

---- Energy parameters ----

Forcefield                      : COMPASSIII (Version 1.2)
Charges                         : Forcefield assigned
Electrostatic terms:
 Summation method              : Group based
 Cutoff distance               : 12.5 A
 Spline width                  : 1 A
 Buffer width                  : 2 A

van der Waals terms:
 Summation method              : Group based
 Cutoff distance               : 12.5 A
 Spline width                  : 1 A
 Long range correction         : YES
 Buffer width                  : 2 A


---- Thermostat ----

Nose mass parameter, Q mass: 52.9808 kcal/mol*ps^2

 

---- Constraints ----

Distance constraints            : 6140

Dynamics calculation - Constraint solver failed to converge

 

Termination status : Error


 

Answers 7
JL
JL 2025-10-28

Hi,

 

Instead of fixing bonds, try use constraints dialogue to fix the whole graphene slab, 

 

Menu    Modify | Constraints | Atom | Fix fractional position

 

For details, please refer to the MS help manual, under,

 

Visualizer Tools > Constraints > Constraints dialogs > Edit Constraints dialog > Atom tab

 

Hope it helps,

Jian-jie

JL
JL 2025-10-28

In such case, try fix the Cartesian position, as well (Have both  Cartesian and fractional positions fixed):

 

Menu    Modify | Constraints | Atom | Fix fractional position

Menu    Modify | Constraints | Atom | Fix Cartesian position

JL
JL 2025-10-28

Common practice in this type of modeling is to use NVT, instead of NPT, that’ll allow fixed atoms.  Is there a particular reason why you want to use NPT here?

CM
CM 2025-10-28

You may want to have a look at the Anisotropic barostat which is a available as of Materials Studio 2024.

As I understand it NPT does not allow to fix atoms and the graphene layer will always show some kind of bending. This is at least my expectation

How exactly do you simulate the permeation of small molecules (which molecules?) through a membrane? by Applying an external force via scripting?


I think I would already build the membrane/polymer system as layer:
1. In Amorphous Cell Use the confined layer task for the orthohombic lattice type. a and be are defined by the average lattice constants a and b of graphene for the given forcefield at the given temperature. 
2. Such a frame can then be used to use the layer builder to put the graphene and the polymer slab together.
3. use the Ansisotropic barostat to sjust the density of the polymer. Keep a, b and all angles fixed.
4. Do the same for the solvent layer (1.-3.) using the same a and b values
5. Use the layer builder to put them together ( a and b should be the same, just as a check).
6. Use the Anisotropic barostat do do your runs to refine your system.
7. remove the graphene layer between the solvent and the system.
8. Use the Ansisotropic barostat again.
9. Apply the forces via scripting.
20. Do your analysis for the resulting trajectory (and here I do not have a good idea what to analyze).

This has to be done for 3-10 layers and different force strengths I think-

Just some ideas I have and I might have overseen things or details -> If someone has an own methodology please add some ideas

I suggest to check out here to see what others did:

 


 

CM
CM 2025-10-29

What is the DOI of the reference?

JD
JD 2025-10-31

Hi @HV, How could that big polymer molecule with bulky rings in it ever get through the tiny holes in a sheet of graphene? Especially not if the graphene atoms are frozen in place so that their rings cannot expand! Thanks for sharing the paper. Their procedure maybe omits some important details. Figure 4 below helps explain what they did. Although they mention NPT, that was probably for equilibration prior to construction of the permeation model. They have a vacuum on one side of the box, which would collapse under NPT. So you have to use NVT for this part. I suggest that you use the external force option in Forcite (scripting) to push the permeants into the membrane.

comment imagecomment image
JD
JD 2025-11-07

Here is an example of a permeation run that I constructed. You can reuse the script and it can be run from the User menu.