I am designing a patch antenna with an Ansys HFSS toolkit. I put the parameters but when the software creates the antenna the feed length does not go to the edged and the port 1 is inside the substrate;
Hey Sebastian Tamayo In this case they are exciting the structure with a lumped port which must be defined internal to the domain.
Here is a discussion on lumped ports vs. wave ports (https://www.researchgate.net/post/How_do_you_identify_whether_to_use_lumped_port_or_wave_port_in_a_microstrip_patch_antenna)
I agree with Adam Weidling but there are many other things to be considered, I recommend going through the discussion in the link provided by Adam Weidling hopefully you will get your answer.