I use the ECI of ZnO1-xSx obtained by maps to do calculate x-T phase diagram by using phb -gs1=0 -gs2=1 -dT=25 -dx=1e-3 -er=50 -ltep=5e-3 -keV -o=ph01.out. It took 10 days to reach 3700 K and still continues because the critical temperature doesn’t reach until now. It seems to take long time in high temperature. How can I accelerate the calculation? By increasing -er or by using -dn?
It is well-known that Monte Carlo becomes slow to converge near a critical point.
You could run at constant speed (but with decreasing precision, using -eq and -n instead of -dx).
Now, this phase diagram looks pretty good to me! If you just join the two ends manually you are done, within the accuracy of the plot!
You can explore the critical region "manually" with emc2 if you want. But fluctuation will be slow to average out there too.
It is also possible that the two phases have merge at the next T step, so the code searches for the phase transition, which does not exist (it usually detects this and stops, but it may sometime fail to do so).
Getting the spinodal is difficult with Monte Carlo, because you are at the onset of an unavoidable instability. In fact even the region between the phase boundary and the spinodal can spontaneously snap to the other phase boundary.
In the completely random approximation, you could use SQS to get the formation enthalpies and add an ideal entropy term (x*ln x + (1-x)*ln(1-x))*kT to get the free energy. You could get the spinodal analytically. It is approximate, however.
You mentioned to use SQS to get formation enthalpies and add an ideal entropy term (x*ln x + (1-x)*ln(1-x))*kT to get the free energy. My question is whether I have to use SQS to get formation enthalpies. However SQS structures usually do not have mimum energies for each content. Is it reasonable to use the the lowest fitting energies for each content from maps as the formation enthalpies? In my opinion, the system always falls down to the minimum energy state. So it shoulbd be right to choose the mimimum energies to construct the free energy.
A random construction usually has a higher total energy than the ground state total energy at that composition, because it has to meet the constraint of being "random".
My experience (two systems…) with ab initio calculation of SQS cells and cluster expansion fitting of random cells is that with full relaxation, ab initio SQS gives even lower total energy values.
With corrdump -rnd, one can get the cluster expanded random cell total energy. This can be combined with random mixing entropy to get free energy of the high T random phase.
Thermodynamic fact:
The system only goes to the minimum energy at T=0K.
At higher temperature, it goes to the minimum free energy, which also includes an entropy term. This is actually why system for solid solutions at high T!
Which "canonical mode" -cm or -g2c ?
With -cm, the code cannot integrate the free energy as you scan over composition.
I am not sure which column of the output your are reporting. Perhaps you are not using the right free energy?
It should be possible to get the free energy in the metastable region between the spinodal and the phase boundary.