Advanced Numerical Modeling of Fracture Mechanisms in Lithium-Ion Batteries During Charge/Discharge Cycles: Implementation Using FEniCS