Dear developers and users of Plumed,
I am trying to repeat a metadynamics simulation of a nucleation process of Ge2Sb2Te5 reported in a paper(Adv. Funct. Mater. 2015, 25, 6407–6413). I follow their supporting infomation to define the CV. In their calculation, they used something similar to the local steinhardt order parameter to monitor the crystallinity of the system.
The final CV is define in the following way:
As shown by the fomula above, they randomly selected an atom i and calculated the switch function between i and j. The final CV is an average sum with the switch function fij as the weight. In order to implement this CV. I wrote the following lines in plumed.dat.
UNITS LENGTH=A TIME=fs
i: GROUP ATOMS=52
j: GROUP ATOMS=1-72
### To calculate the local steinhardt parameter ###
q6: Q6 SPECIES=1-72 SWITCH={RATIONAL R_0=3.86 D_0=0 NN=24 MM=48}
lq6: LOCAL_Q6 SPECIES=q6 SWITCH={RATIONAL R_0=5.52 D_0=0 NN=24 MM=48}
### To calculate the local steinhardt parameter ###
### To get the fij in the final CV ###
con_mat: CONTACT_MATRIX GROUPA=j GROUPB=i SWITCH={RATIONAL R_0=7.82 D_0=0 NN=24 MM=48}
real_con_mat: COORDINATIONNUMBER WEIGHT=con_mat.w
### To get the fij in the final CV ###
### To get the final CV ###
m: CUSTOM ARG1=lq6 ARG2=real_con_mat FUNC=x*y PERIODIC=NO
CV: COMBINE ARG=m PERIODIC=NO
### To get the final CV ###
However, when I test this input file using plumed driver, the following error was reported. Seems like that I cannot use the CUSTOM function to multiply lq6 and fij. Is there other command in plumed can be applied to obtaine the final CV.
Best wishes,
Hang LYU