Author Topic: Optimization issue  (Read 1405 times)

0 Members and 1 Guest are viewing this topic.

Offline Jahanzaib

  • Heavy QuantumATK user
  • ***
  • Posts: 81
  • Country: gb
  • Reputation: 2
    • View Profile
Optimization issue
« on: September 21, 2022, 00:47 »
I have been facing alot of problem while optimizing the device calculations. It takes even a week but it didn't converged. Here in, I attached the input file. May be there is an issue in the input file. Can some suggest me ?
I have attached the pdf file for my input. Can someone look into it and suggested me what's wrong in it due to which I am unable to get result for optimized geometry and Device optimized geometry.

Offline Jahanzaib

  • Heavy QuantumATK user
  • ***
  • Posts: 81
  • Country: gb
  • Reputation: 2
    • View Profile
Re: Optimization issue
« Reply #1 on: September 22, 2022, 01:23 »
Can any one guide me, what's the issue in the input file?

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5405
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: Optimization issue
« Reply #2 on: September 28, 2022, 23:40 »
I took a look at your script and problem in general, and I think you need to divide it up into smaller pieces. When designing a car, you don't make a whole working car and then put it in a wind tunnel to see if it's aerodynamic enough, you test and improve each component separately first. Same here - instead of putting the whole device together and optimizing it, which is a huge task, it's a lost faster, easier and simply better to build the device from optimized parts.

So, first you should make sure the 2D sheet itself has an optimal lattice constant and atomic coordinates. This can be done for what constitutes the electrodes, and better yet on just the primitive cell of the 2D material. That is, you optimize the size and positions of the cell with 2 atoms, I guess.

From that optimized unit, you build the 2D ribbon by repeating in A or B whichever makes sense (do not repeat in C yet), passivate it and (optionally, I would say) optimize again for edge reconstruction. I imagine this has negligible effect on the overall results, but for completeness I mention it here.

Now you can make a small repetition, maybe 2 or 3x in the C-direction and add the extra atom over the surface. To find its optimal position you can run a regular geometry optimization on this relatively small system, which is periodic in C (and A and B too). It is highly unlikely that the ad-atom has any influence on the lattice constant, so just a force optimization will be enough. Make sure the outer layers in C of the 2D material are fixed, for later use!

Finally, repeat the ribbon in C as much as needed. In the middle, remove a portion corresponding to the small repeated system with the ad-atom you looked at in the previous step but leave the atoms corresponding to the ones you fixed. Drop in the optimized structure - if you do it right, the fixed atoms will exactly overlap existing atoms in the structure, but that is easy to fix using the selection tools.

Now create the device and run it - there is no need to relax the whole device since each part is already optimized.
« Last Edit: September 28, 2022, 23:44 by Anders Blom »

Offline Jahanzaib

  • Heavy QuantumATK user
  • ***
  • Posts: 81
  • Country: gb
  • Reputation: 2
    • View Profile
Re: Optimization issue
« Reply #3 on: September 29, 2022, 15:04 »
Thank you so much for guiding me. I really appreciate it.

I started with n*m=2*2 then optimized it. After optimization,  I repeat it in the "C direction" to convert it into "device from bulk". I adsorbed the Pd on its surface - to optimized it again to figure out the effect of Pd on stanene nanoribbons in the central regions.

It started with default setting, but it never converged.  However, used 1×1×100 k-point in A,B and C direction respectively but I might change the k point I guess it will effect the simulation too.

Thank you

Offline Ruhani

  • Regular QuantumATK user
  • **
  • Posts: 6
  • Country: cz
  • Reputation: 0
    • View Profile
Re: Optimization issue
« Reply #4 on: April 7, 2023, 05:40 »
Dear Anders,
Is there any video tutorial, webinar, document or publication about your reply that you can forward me please, I am in stuck with Optimization, and need to be accurate in dividing that to steps.