Hello!
Yes, correct
The mesh of the line itself will be different if you change line length, so the effective mesh near the via can also change. For practical purposes, the results still look very close, so I would not worry!
But if you wish to refine the mesh, you can find these settings in the mesh tab. I would in this case specify the absolute size, not cells per wavelength, but the end results is the same. Edge mesh is also very important where the current enters the via drill.
View attachment 193628
I would model it differently, because just line a piece of transmission line, the via has series inductance and shunt capacitance to the bottom ground. If you short the output port to that ground, you don't capture that properly.
For 1-port simulation of the series path, you can connect one floating Term (not TermG !) across (between) both ends of the EM model.
This also ignores the small shunt C, but is more correct from a simulation method viewpoint.
Good luck!
Volker