Hi,
1 - You have to follow this procedure :
2 - If you still face errors, try to see if your mesh is well defined. Typically, with your mesh you have to be able to run this example without no errors :
Good luck and please tell me if it solved your problem