-
|
I'm currently running simulations that couples FEM with molecular dynamics (MD). Here, I need to account for the periodic boundary constraints often used with MD on the FEM side as well. The simulation is purely dynamic and the coupling is enforced through Lagrange multipliers, which results in a system of equations that look something like this: Therefore it would be necessary to account for the periodicity not only in M_FE, ü_FE and f_FE, but also in G_FE. The simplest solution I can come up with, is to simply assing the same dofs to the image and mirror nodes within the DofHandler (For this application the periodic boundarys are allways parallel to each other). With this I could avoid explicitly accounting for the periodicity in the assembling routines for M_FE, G_FE, and f_fe. Is this something that can be done with Ferrite? I also don't mind, if this requires me to implement this my self by meddleing with Ferrite internals. P.s. The compoments of the Matrix on the left-hand side are constant throughout the entire simulation and therefore only get assembled once. I also never actually assemble the Matrix on the left-hand side, as I have manipulated the individual components of this equation in a manner that is more efficient to solve. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
I think in principle yes (you would have to renumber the celldofs manually in the dof-handler), and update the |
Beta Was this translation helpful? Give feedback.

I think in principle yes (you would have to renumber the celldofs manually in the dof-handler), and update the
ndofsfield, and then I think it would work. However, the more standard way would be to use the AffineConstraints created when using thePeriodicDirichletwith theConstraintHandler.