Author Topic: Energy vs Vol fitting  (Read 3378 times)

0 Members and 1 Guest are viewing this topic.

Offline Inaoton

  • QuantumATK Guru
  • ****
  • Posts: 114
  • Country: in
  • Reputation: 0
    • View Profile
Energy vs Vol fitting
« on: June 2, 2017, 14:50 »
Hello
        I want to plot Energy Vs Volume for a  hexagonal structure.
     Is it possible to obtain the curve through OptimizeGeometry?
   
« Last Edit: June 2, 2017, 14:53 by Rishikanta »

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5411
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: Energy vs Vol fitting
« Reply #1 on: June 2, 2017, 17:46 »
Not directly. Depending on your purpose, you may prefer to do an ElasticConstants analysis instead, but otherwise you will just have to very a and c, and plot the total energy and function of the two parameters. Very easy to do in Python, fortunately, you can just make two loops, collect the data, and plot using pylab.

Offline Inaoton

  • QuantumATK Guru
  • ****
  • Posts: 114
  • Country: in
  • Reputation: 0
    • View Profile
Re: Energy vs Vol fitting
« Reply #2 on: June 4, 2017, 17:48 »
So i have to vary one parameter and fix the other and plot the energy Vs lattice parameter and do the same for the other parameter . Is it correct sir?

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5411
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: Energy vs Vol fitting
« Reply #3 on: June 5, 2017, 01:41 »
Yes, but you need to vary both - you can't run a series of calculations where you vary "a" for a single value of "c", you need to do it for all values of "c".

Offline Inaoton

  • QuantumATK Guru
  • ****
  • Posts: 114
  • Country: in
  • Reputation: 0
    • View Profile
Re: Energy vs Vol fitting
« Reply #4 on: June 5, 2017, 08:00 »
Sir,
         For that purpose  i think c/a ratio will be fixed ?..

Offline Jess Wellendorff

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 933
  • Country: dk
  • Reputation: 29
    • View Profile
Re: Energy vs Vol fitting
« Reply #5 on: June 6, 2017, 08:35 »
You're looking at a 2-dimensional optimization problem (there are 2 variables: a and c, or a and c/a). So you are looking for a minimum-energy path in 2D. You therefore need to sample the energy on a 2D grid of (a,c) values.

Offline Inaoton

  • QuantumATK Guru
  • ****
  • Posts: 114
  • Country: in
  • Reputation: 0
    • View Profile
Re: Energy vs Vol fitting
« Reply #6 on: June 15, 2017, 15:18 »
 Sir
          I vary a as well as c for a structure and plotted the volume vs  energy for the primitive cell using LDA . I got a volume which is larger than experimental volume . The kpoints and cut off are well converged for the experimental volume. Should i perform those calculations with higher cut off since i am varying volume each time?
« Last Edit: June 15, 2017, 15:25 by Rishikanta »

Offline Jess Wellendorff

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 933
  • Country: dk
  • Reputation: 29
    • View Profile
Re: Energy vs Vol fitting
« Reply #7 on: June 15, 2017, 16:08 »
I would first use OptimizeGeometry to find the minimum-energy LDA structure using the computational parameters you use now. Then you will know if your (a,c) sampling results in the "true" LDA result (given all other computational parameters).

Offline Inaoton

  • QuantumATK Guru
  • ****
  • Posts: 114
  • Country: in
  • Reputation: 0
    • View Profile
Re: Energy vs Vol fitting
« Reply #8 on: July 3, 2017, 09:33 »
 I have done using Optimize geometry and for LDA i am getting a=5.89 and c=11.70 (expt a= 5.904 and c=12.03) but volume vs energy fitting gives a=6.054 and c=11.83. why?

Offline Ulrik G. Vej-Hansen

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 425
  • Country: dk
  • Reputation: 8
    • View Profile
Re: Energy vs Vol fitting
« Reply #9 on: July 5, 2017, 10:34 »
It is very hard to say why, when you do not share information about how you did it - please share your files if you want someone else to help you. My guess is that the fit is not as accurate as it should be, but I need to see your script and output to be sure.