Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

MATLAB function for importing PCB tracks

Please login with a confirmed email address before reporting spam

Hi,

If you deal with PCB tracks with COMSOL the problems are:
- use CAD import (or lievlink). Most of PCB design softwares have poors CAD export capabilities.
- use ODB(X)++ import. Most of PCB design softwares can't export ODB(X)++.

In order to solve this, I write a MATLAB function to convert Gerber PCB data to ODB(X)++ for COMSOL import.

Gerber is really a standard (all PCB software can handle this), then you can import the resulting geometry in COMSOL.

The workflow is the following:
1) Design your PCB with your favorite software, export the layout as GERBER files
2) Use the MATLAB function to convert the GERBER into ODB(X)++ files
3) Import the geometry with COMSOL (4.1 or 4.2)

It has worked without any problem for a PCB coil (with Altium Designer Summer 09 and COMSOL 4.2a).

You can find the code in the MATLAB file exchange with:
- the MATLAB code for doing the conversion
- an example geometry (a PCB coil)
- the COMSOL file with the imported geometry (PCB coil with a simple electric current physics).

The function should works with any simple geometry (two layers, tracks and vias).

Download:
www.mathworks.com/matlabcentral/fileexchange/36014

Many thanks in advance for any feedback,
Thomas Guillod


0 Replies Last Post Apr 4, 2012, 11:04 a.m. EDT
COMSOL Moderator

Hello Thomas Guillod

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.