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
Posted 4 avr. 2012, 11:04 UTC−4 Interfacing, Geometry Version 4.1, Version 4.2, Version 4.2a 0 Replies
Please login with a confirmed email address before reporting spam
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
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.