A finite element model of semi-rigid mortise-and-tenon joint considering glue line and friction coefficient