• Multiwfn forum

    Multiwfn official website: http://www.shanxitv.org/multiwfn. Multiwfn forum in Chinese: http://bbs.keinsci.com/wfn. E-mail of admin: sobereva[at]sina.com

    You are not logged in.

    #1 2021-01-08 06:25:38

    ffuser
    Member
    Registered: 2020-10-20
    Posts: 9

    CHELPG analysis using density cube file

    Hello,

    I’m wondering if we could calculate ESP fitting charge using density cube file.

    I understood that ESP charges by such as CHELPG and MK were easily calculated using wfn or fchk files.
    But I couldn’t find the way to do the same thing using only density cube file.

    Thanks in advance for you help!

    Offline

    #2 2021-01-08 19:36:16

    sobereva
    Tian Lu (Multiwfn developer)
    From: Beijing
    Registered: 2017-09-11
    Posts: 1,468
    Website

    Re: CHELPG analysis using density cube file

    Unfortunately, this is not possible in Multiwfn

    Offline

    #3 2021-01-09 03:46:43

    ffuser
    Member
    Registered: 2020-10-20
    Posts: 9

    Re: CHELPG analysis using density cube file

    OK. Thanks for your reply.

    Let me ask another question to find an alternative.
    Is a text file including grid points and ESP values enough to calculate the ESP charges in Multiwfn?

    If yes, I will prepare grid points and ESP values using density cube file.

    Last edited by ffuser (2021-01-09 03:59:22)

    Offline

    #4 2021-01-09 11:55:21

    sobereva
    Tian Lu (Multiwfn developer)
    From: Beijing
    Registered: 2017-09-11
    Posts: 1,468
    Website

    Re: CHELPG analysis using density cube file

    It can be realized via a special module. Here I provide you a complete example, ESP charge of water will be calculated.

    I directly use Multiwfn to generate cube file of ESP here, you can also use other code. Boot up Multiwfn and input
    examples\H2O.fch
    5  // Calculate grid data
    12  // ESP
    2  // Medium quality grid
    2  // Export grid data to cube file

    Now you have totesp.cub in current folder.

    Next, we calculate ESP charges based on the totesp.cub. You should set "iuserfunc" in settings.ini to -1 to make user-defined function equivalent to linearly interpolated function based on the loaded grid data. Then boot up Multiwfn and input

    totesp.cub
    100  // Other function (Part 1)
    23  // Fit function distribution to atomic value
    5  // Set constraint for total value
    0
    1  // Select a real space function and start calculation
    100  // User-defined real space function

    You will see

     Center       X           Y           Z             Value
        1O     0.000000    0.000000    0.225257       -0.725089
        2H     0.000000    1.434977   -0.901029        0.362542
        3H     0.000000   -1.434977   -0.901029        0.362548
    Sum of values:    0.000000
    RMSE:    0.002612   RRMSE:    0.124550

    Note that the subfunction 23 in main function 100 is a general module for fitting a function as atomic values using the same algorithm as ESP fitting, see Section 3.100.23 of Multiwfn manual for detail. Since this module employs MK-type of fitting points, the "Value" shown above corresponds to Merz-Kollman ESP fitting charge.

    Be aware that when generating the ESP cube file, the buffer distance between the boundary atom and the box should be large enough. Under the default setting of fitting points (standard MK fitting points), the buffer should be no less than two times of vdW radius of boundary atoms, otherwise some fitting points will be out-of-box, and ESP at those points cannot be evaluated by interpolation.

    Offline

    #5 2021-01-09 23:08:54

    ffuser
    Member
    Registered: 2020-10-20
    Posts: 9

    Re: CHELPG analysis using density cube file

    Thank you so much for your detailed explanation.
    It looks very useful.
    I’ll give it a try.

    Offline

    Board footer

    Powered by FluxBB

    久久精品国产99久久香蕉