If i have the second derevative per respect to time of u equal to [u(n-1)-2u(n)+u(n+1)]/dt^2
how can I implement this in fenics if Ineed to solve the elastodynamic equation?
Thank you
Hi, FEniCS is finite element, not finite difference solver.
But anyway, you can get some equivalent of finite differences using a proper discontinuous galerkin method. But it is not a question to be discussed here.
How do you get an equivalent FD and FEM system using DG?