Res2d for 2-D resistance calculation
Download
Res2d: The two-terminal resistance calculator of a 2-D wire with arbitary shape. Version 1 released. [2014]
Contributors
Wenjian Yu, Chensu Zhao, and Siyu Yang.
Details
1. The released version has been tested on a 32-bit Linux kernel version 2.6.9. The folder cases includes some test cases.
Running syntax
$ Res2d <filename>
Make sure that file executable B2D is in the current folder! And, the program assumes that the conductivity of wire is 1/(Ohm.um). Scaling on the result is needed to reflect the actual material used.
The input file describes an arbitary polygon, and the two terminals for resistance extraction. The file format is as follows:
< term1_vertex1_x> < term1_vertex1_y>
< term1_vertex2_x> < term1_vertex2_y>
< term2_vertex1_x> < term2_vertex1_y>
< term2_vertex2_x> < term2_vertex2_y>
< vertex1_x> < vertex1_y>
< vertex2_x> < vertex2_y>
...
< vertexN_x> < vertexN_y>
where each item is a number standing for the x- or y-coordinate of a vertex. The polygon vertices from the 5th line obey the anti-clockwise order; the vertices on a terminal edge obey the clockwise order around the polygon. For example, below we give the content of an input file case1.res2d. It corresponds to the polygon to the right for calculating the resistance.
10, 0
0, 0
500, 400
10, 0
10, 200
210, 400
500, 400
500, 410
200, 410
0, 210
0, 0
Refered papers
1. Wenjian Yu, Chensu Zhao, Siyu Yang, and Taotao Lu, "The application of boundary element method to the resistance calculation problem in designing flat panel displays," Journal of the Society for Information Display, 24(3): 177-186, 2016 [pdf]