Dynamo in a rotating ellipsoidal fluid cores subjected to libration, tides and precession