SSAGESproject / SSAGES

Software Suite for Advanced General Ensemble Simulations
GNU General Public License v3.0
81 stars 28 forks source link

Unable to produce the Rouse modes free energy curve using ABF #49

Closed wisecashew closed 11 months ago

wisecashew commented 11 months ago

I am trying to reproduce the Rouse modes free energy curve using ABF. I have already run the standard all-atom simulation and plotted the simple Boltzmann inverted free energy of the first Rouse mode. The plots have been pasted below: f_x1

Now, I am trying to run the ABF calculation for the simulation, using the same LAMMPS settings and data file I used for creating the plots I have posted above. I am running four independent simulation for 5e+6 timesteps. My JSON file for ssages is:

{
        "logger" :
        {
                "output_file" :
                [
                        "node-0",
                        "node-1",
                        "node-2",
                        "node-3"
                ]
        },
        "walkers": 4,
        "input": ["in.ssages.gaussianpolymer1", "in.ssages.gaussianpolymer2", "in.ssages.gaussianpolymer3", "in.ssages.gaussianpolymer4"],
        "CVs":
        [
                {
                        "type": "RouseMode",
                        "mode": 1,
                        "groups": [
                                        [1],[2],[3],[4],[5],[6],[7],
                                        [8],[9],[10],[11],[12],[13],[14],
                                        [15],[16],[17],[18],[19],[20],[21]
                                ]
                }
        ],
        "methods": [
                {
                        "type": "ABF",
                        "cvs": [0],
                        "CV_lower_bounds": [0.03],
                        "CV_upper_bounds": [20],
                        "CV_bins": [100],
                        "CV_restraint_minimums": [0.001],
                        "CV_restraint_maximums": [20.5],
                        "CV_isperiodic": [false],
                        "CV_restraint_spring_constants": [1000],
                        "timestep": 0.1,
                        "minimum_count": 200,
                        "output_file": "Force_ABF.out",
                        "output_frequency": 1000,
                        "unit_conversion": 1,
                        "frequency": 1
                }
        ]
}

The free energy curve i obtained after running the integrator ABF_integrator.py -i Force_ABF.out -o ABF -p False -n 1000 was: RouseMode1_integrated

This is entirely off. I don't quite understand what I am doing wrong. What is the method for plotting the ABF curve for the first Rouse Mode?

If it is of any use, my LAMMPS unbiased MD settings and data files (with a .txt extension) have been posted here.

I just wanted so say: I appreciate all the help you have provided here!! sys.gaussianpolymer.data.txt sys.gaussianpolymer.settings.txt