Legal advise on divorce

Mine female friend got married 1 month ago. she had a boyfriend. she didn't even wanted to marry her husband, but her family forced her into it. Even beaten her many times. even her husband knew she didn't wanted to marry Somehow she married her husband for her family sake. But she couldn't forget her past boyfriend. So she said everything about her past to her husband to let him understand her situation. But husband didn't took it well. he told about this to both of the families. she couldn't complete her graduation because of marriage and now her husband is not allowing her anything. She is not allowed to talk with anyone, they have taken away her mobile phone. Her husband beats her for her past. even girls parents support her husband in this. she has no place to go or anyone to turn to or money to survive. Her career, her freedom gets completely over. Apart from that everyday mental and physical torture. Now her only choices are 1) To get divorced somehow and live on her own. 2) suicide Are this grounds are enough to get divorce in court? please give your invaluable advise how to tackle this situation.