Indian Institute of Science Department of Electrical Communication Engineering
Indian Institute of Science Department of Electrical Communication Engineering
Homework 2
1. Write a simulation program for electrostatic extraction of 3D metallic structures in any one of
the following programing languages (MATLAB or C or C++ or python). (10 credits)
Hints: You can consider the following architecture for your solution
(a) Mesh Generator for a plate:
- Input: plate length, breadth, number of x discretization, number of y discretization and z
location of the plate
- nodelist.txt
- patchlist.txt
- Debugging technique: Use the “patch” command in MATLAB to visualize nodelist and
patchlist
(b) Integration:
- Input: Source triangle nodes, observer triangle centroid
1
- Output: ∫r
T Tc − r'
ds where rTc is the centroid of the observer triangle
- Method: Compare the distance between source and test triangle centroids with the
maximum length or circum-radius of the source triangle and call 1pt, 7pt or analytical
rules respectively
(c) 1 point integration:
- Input and output same as (b)
- Method: Too easy
(d) 7 point integration:
- Input and output same as (b)
- Method: 7 quadrature points are given below
(2) With this code, find the capacitance of the supplied mesh nodelist_3d.txt and patchlist_3d.txt (5
credits)