Fatigue damage and life assessment of welded joints based on energy methods