Finite element method for living tissues