Subgrid-scale dynamics for a nonlinear beam