Karaca, KaanTemizer, İlker2024-03-152024-03-152023-01-010045-7825https://hdl.handle.net/11693/114788Hellmann–Feynman forces are derived within the numerical framework of the finite element method for density functional theory in the Kohn–Sham formalism. The variational consistency of the force expressions in all-electron and pseudopotential settings are carefully examined, with a particular focus on the implications arising from different representations for interaction terms that are associated with electrostatics. Numerical investigations in nonperiodic systems which range from diatomic molecules to carbon allotropes demonstrate the systematic convergence that is offered by the finite element framework, not only for energy and force but also for geometric configuration and molecular statics parameters. A range of higher-order discretizations employing fixed meshes are invoked within these examples based on classical finite elements as well as on isogeometric analysis. Overall, this work contributes to recent advances which demonstrate the viability of the finite element method for carrying out ab initio molecular dynamics.enCC BY 4.0 DEED (Attribution 4.0 International)Ab initio molecular dynamicsFinite element methodHellmann–Feynman forceIsogeometric analysisKohn–Sham density functional theoryVariationally consistent Hellmann–Feynman forces in the finite element formulation of Kohn–Sham density functional theoryArticle10.1016/j.cma.2022.1156741879-2138