Is it possible to make a peridynamics ADKernel? #28465
Unanswered
andrisfreimanis
asked this question in
Q&A Modules: General
Replies: 1 comment 1 reply
-
Hello Whether for ADKernel or Kernel you want to override computeQpResidual. Overriding computeResidual is for expert users. It should be possible to write an ADKernel for PD. I think some complexity might come from how to handle the bonds breaking but a similar treatment as for non AD might be possible AD was added to moose after peridynamics which is why there is no AD in PD right now |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear All,
I want to modify peridynamics kernel, but writing the full jacobian for it would be a headache due to nonlocal interaction. Therefore, using an ADKernel seems like an attractive option.
The existing PD implementation inherits from the regular kernel and overrides the computeResidual() method rather than using computeQpResidual(). However, the computeResidual() in Kernel.h is virtual but it is not in ADKernel.h, and if my understanding is correct it is not meant to be overridden.
But it is better to ask before starting to write a long jacobian. So is it possible to implement a peridynamics ADKernel?
Beta Was this translation helpful? Give feedback.
All reactions