Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

finite differences method and TEM transmission line parameters

finite differences method and TEM transmission line parameters

finite differences method and TEM transmission line parameters

hi all,
I need to work out the the voltage distribution in the dielectric material and TEM transmission line parameters.
The cross section has 0 V at the boundary AND unbalanced conductors at 10 V as illustrated on attachment. I need to write a matlab code that automatically sets up a matrix from the difference equations using Laplacian equation and solve for the nodal voltages using the format AV=B hence V=A\B. Apart from the initialised known node voltages, I am stuck on how to come up with a matlab matrix which would include the unknown node voltages, preallocation of the matrix fills the other nodes with zeros, hence gives false additions when i start scanning the meshes.

I do not intend to use SOR or iterative fdm, but rather set up a matrix and solve as pointed above.

i hope this make sense



RE: finite differences method and TEM transmission line parameters

For a rectangular geometery, the simplest approach is rectanglar mesh.

Looks like you have no variation in dielectric constant and no space charge. Piece of cake (except for the details !?)

A difference equation which can easily be derived:

Vcenter = 0.25(Vleft+Vright+Vtop+Vbottom)
where Vcenter Vleft, Vright, Vtop, Vbottom describe the voltages adjacent to any position.

Every unknown point generates an equation.  The adjacent points are either other unknowns or known boundary conditions.  It should be easy to realize the number of equations is the same as the number of unknowns, so all the remains is to solve n equations in n unknowns.

N equations in N unknowns... all that remains is bookkeeping to put it into matrix form.   

There are of course a wide range of strategies for solving the problem and not all of them require solving NxN matrix.  

Eng-tips forums: The best place on the web for engineering discussions.

RE: finite differences method and TEM transmission line parameters

hi electricpete

thanks for the reply, I understand that i have to come up with a rectangular mesh as you rightly point out, my real issue is in the Matab implementation- maybe i am just not thinking hard enough! I have solved the problem before by hand calcs taking a few nodes and set up a matrix, then  inputted into matlab and solve for unknowns. I can not figure out a way of automatically generating the required matrices in matlab- as I need to increase the number of nodes to plenty for accuracy, which will be beyond realism of hand calcs.

How can I come up with a system written in the form AV=B?.

I hope this all makes sense.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close