Any Ideas how to do Chain and sprocket simulation

I am fairly new to unreal engine… I don’t know how to go about simulating or animating the chain and sprocket in unreal engine… please give me your thought on what workflow you’d use to achieve this but must render in unreal engine and also is there a way to import solidworks animations?