analysis of bike frames

How would one determine the boundary conditions and forces needed to analyse bike lugs. Interested in loading conditions : braking and accelerating .simulation on headtube and seat tube lug