This is a 1D finite element model for 1D analysis