Question: I was trying to simulate two serpentine resistors on COMSOL multiphysics with exactly the same length, width and thickness. I drew them on AutoCAD. The only difference between the two resistors is the number of bends. For resistor(1), number of bends is only 2, while for resistor(2), number of bends is 18.

After running simulation on AC/DC module and Electric Currents (ec) sub module, resistance values came as the following:

Resistor(1) = 13.221 ohm (2 number of bends)

Resistor(2)= 12.654 ohm (18 number of bends)

I expected that the number of bends will not affect the resistance value, but it actually does in an inverse manner (though not much, but it does)
Is anyone aware why would the number of bends affect the resistance value?

Simulation parameters:

Resistor(1):
Length:337mm; Width: 1mm; Thickness: 0.2mm; Number of bends:2

Resistor(2):
Length:337mm; Width: 1mm; Thickness: 0.2mm;Number of bends:18

Meshing:

Resolution: Extra fine.

Minimum Element Size: 0.18mm.

Maximum Element Size: 4.2mm.

Maximum Element Growth Rate: 1.35

Curvature Factor:0.3

Resolution of Narrow Regions: 0.8

[![The two serpentine resistors](https://i.stack.imgur.com/aR5UP.png)](https://i.stack.imgur.com/aR5UP.png)

Effect of meshing resolution on resistance values:

[![enter image description here](https://i.stack.imgur.com/2iHrt.png)](https://i.stack.imgur.com/2iHrt.png)

Answer: 
You are measuring the length through the center, but the current will not follow that path, rather it will crowd into the corners and, on average, take a somewhat shorter path through each bend, so your total resistance will be less for the serpentine pattern with more bends. Below is a [field solver simulation](https://www.linkedin.com/pulse/20141021193200-43694073-on-corner-contribution-to-resistance) showing a current density at the inside corner that is 5x higher than the average in the straightaways. 

[![enter image description here](https://i.stack.imgur.com/HHBK1.jpg)](https://i.stack.imgur.com/HHBK1.jpg)

One [rule of thumb](http://www.prenhall.com/howe3/microelectronics/pdf_folder/lectures/tth/lecture4.fm5.pdf) is that a corner square is equivalent to 0.56 squares rather than one square. Your first example has 4 corners, the second 36. 

If I back-calculate the effect from the ratios in your simulation I get 0.55 as the effect of one square, which is pretty close.
Your results do not surprise me. Actually, to compute the resistance, you need to solve the Laplace problem in your areas. My coauthor and I solved a similar problem in <http://arxiv.org/abs/1506.01599> . I believe the reason you have a difference is the width/length ratio is small but finite. I would predict the relative difference would be smaller for a smaller ratio. To understand the difference, you may note that the shortest distance from one end of a resistor to another (within the area of the resistor) is shorter for the resistor with more bends. Imagine for a moment that your resistors are racetracks and try to determine the shortest trajectories drivers would select to win, for example, how they would pass the bends - closer to the "inner radius". In the same way, current tends to choose a trajectory that is the shortest in some respect.