Text this: Finite element-based nonlinear dynamic optimization of nanomechanical resonators