Mechanics of viscous wedges: Modeling by analytical and numerical approaches