Phase-Field Modeling In Eutectic Alloys And Dichalcogenides