A patient presents with severe unilateral pelvic pain that started suddenly, and ultrasound shows an enlarged ovary with absence of blood flow on Doppler.What is the diagnosis?