Author Topic: Implementing a new Reactive Forcefield  (Read 7285 times)

0 Members and 1 Guest are viewing this topic.

Offline AsifShah

  • QuantumATK Guru
  • ****
  • Posts: 173
  • Country: in
  • Reputation: 2
    • View Profile
Implementing a new Reactive Forcefield
« on: March 30, 2024, 03:40 »
Dear Admin,
I am trying to implement a new MoS2 reactive forcefield file into my simulation. The method I use is as follows:

1. I send the configuration to workflow and then choose the forcefield calculator. Then, I choose some inbuilt forcefield and add an optimization block.
2. Then send it to editor with all details present.
3. Then change reactive forcefield parameters with new parameters.

But it shows error. I have attached the python file and as well as the reactive forcefield parameter file. Kindly look into the matter why simulations shows error "Segmentation fault- core dumped"

Thanks
Regards

Offline AsifShah

  • QuantumATK Guru
  • ****
  • Posts: 173
  • Country: in
  • Reputation: 2
    • View Profile
Re: Implementing a new Reactive Forcefield
« Reply #1 on: April 10, 2024, 05:59 »
Dear Admin,

Kindly help in this regard.

Offline Julian Schneider

  • QuantumATK Staff
  • QuantumATK Guru
  • *****
  • Posts: 164
  • Country: dk
  • Reputation: 25
    • View Profile
Re: Implementing a new Reactive Forcefield
« Reply #2 on: April 15, 2024, 14:22 »
Dear Asif,

We will check and get back to you.

Offline AsifShah

  • QuantumATK Guru
  • ****
  • Posts: 173
  • Country: in
  • Reputation: 2
    • View Profile
Re: Implementing a new Reactive Forcefield
« Reply #3 on: April 21, 2024, 03:11 »
Dear Admin,
Sure. Looking forward to your response.

Offline AsifShah

  • QuantumATK Guru
  • ****
  • Posts: 173
  • Country: in
  • Reputation: 2
    • View Profile
« Last Edit: May 2, 2024, 04:05 by AsifShah »

Offline AsifShah

  • QuantumATK Guru
  • ****
  • Posts: 173
  • Country: in
  • Reputation: 2
    • View Profile
Re: Implementing a new Reactive Forcefield
« Reply #5 on: May 9, 2024, 05:30 »
Dear admin,
Is there any update on this? I am not able to find a solution.

Offline AsifShah

  • QuantumATK Guru
  • ****
  • Posts: 173
  • Country: in
  • Reputation: 2
    • View Profile
Re: Implementing a new Reactive Forcefield
« Reply #6 on: May 31, 2024, 08:46 »
Dear Admin,
Is there any update? It is urgent.

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5576
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: Implementing a new Reactive Forcefield
« Reply #7 on: June 1, 2024, 20:19 »
I am trying to be constructive here, not criticize or downplay the problem, but why not fit an MTP for MoS2 instead, if this is urgent (and anyway)? I am sure it will be more accurate and perform similarly.

Even if that takes a week month to fit (which it doesn't, more like a day or two) it's faster than waiting for us to try to debug someone else's potential which may have some mistake in the numerical values, which is almost impossible to sort out; even if we see where the problem is we don't know the correct value. Or if there is a mistake in our ReaxFF model, it will take until September to release a new version...

So in any scenario you are probably much better off fitting a new MTP, and after that you can use the same procedure for any other 2D material (for which there are no ReaxFF potentials).



Offline AsifShah

  • QuantumATK Guru
  • ****
  • Posts: 173
  • Country: in
  • Reputation: 2
    • View Profile
Re: Implementing a new Reactive Forcefield
« Reply #8 on: June 2, 2024, 09:32 »
Dear Anders Blom,
Thanks for your response. I thought about it earlier but the problem is that I am not sure how accurate the MTP will be for studying the properties that I want to study. Also, generating AIMD training data for those properties is very time consuming. That's why I wanted to use something that is already tested.

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5576
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: Implementing a new Reactive Forcefield
« Reply #9 on: June 3, 2024, 20:37 »
I am sure an MTP can be just as accurate a ReaxFF if not more.

Second, the whole point of the way we fit MTPs is that you do NOT need AIMD data.

If you take a look at the tutorial https://docs.quantumatk.com/tutorials/mtp_basic/mtp_basic.html you can see that we have protocols for automatically generating small sets (100-200) of training structures very fast, based on logical distortions of the unit cell, and for complex systems like amorphous we use active learning (https://docs.quantumatk.com/tutorials/mtp_hfo2/mtp_hfo2.html). In both cases we explicitly avoid AIMD!

Offline AsifShah

  • QuantumATK Guru
  • ****
  • Posts: 173
  • Country: in
  • Reputation: 2
    • View Profile
Re: Implementing a new Reactive Forcefield
« Reply #10 on: June 4, 2024, 07:25 »
Dear Anders Blom,
How should one include effects due to electric field?
Is it possible to include optimized trajectories under electric fields?
Moreover, if the MTP is designed in this way, can it predict material distortions when subjected to high electric fields?

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5576
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: Implementing a new Reactive Forcefield
« Reply #11 on: June 4, 2024, 18:36 »
MTPs work the same way as for other forcefields in this respect. You need to compute partial charges using e.g. Qeq or even DFT, then use can use those to couple to an electric field. You typically do not include this in the fitting procedure. It might be hard to go to high fields though, but this would hold true also for ReaxFF etc.

Offline AsifShah

  • QuantumATK Guru
  • ****
  • Posts: 173
  • Country: in
  • Reputation: 2
    • View Profile
Re: Implementing a new Reactive Forcefield
« Reply #12 on: June 5, 2024, 10:46 »
Dear Anders Blom,

Thanks a lot for your response.

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5576
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: Implementing a new Reactive Forcefield
« Reply #13 on: June 8, 2024, 00:42 »
Your original file actually works perfectly well as long as you replace element X with Xe.
Turns out we don't recognize dummy elements like X...

Offline AsifShah

  • QuantumATK Guru
  • ****
  • Posts: 173
  • Country: in
  • Reputation: 2
    • View Profile
Re: Implementing a new Reactive Forcefield
« Reply #14 on: June 8, 2024, 08:46 »
Dear Anders Blom,
Thanks a lot.
Yes, now I can run it very well.