Yes, in order to use Ansoft HFSS, you will actually have to purchase a licence. However, the product is offered at 98 % discount for universities and it's about ~3000 $. The normal price varies from 50.000 up to 70.000 $ based on the modules. You need to contact the sales team in order to acquire the program.