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.
Manipulation of imported CAD files with Java API
Posted 9 feb 2016, 15:54 GMT-5 Acoustics & Vibrations, Simulation Apps, Geometry Version 5.1 2 Replies
Please login with a confirmed email address before reporting spam
I am using the COMSOL Java API to create an acoustics model programmatically. In the model, I want to import a CAD file (specifically a .sldprt or .asm from Solidworks), and then automatically assign impedance boundary conditions to certain surfaces, say an exit nozzle. In Solidworks, I am able to attach a specific label to any surface or volume of interest, but when I try import that geometry into COMSOL, as far as I am aware that information is lost. All the elements of the imported CAD geometry are identified only by a number in a more-or-less arbitrarily ordered list. Is there any way to recover such information upon importing a CAD file using the API?
2 Replies Last Post 15 feb 2016, 08:14 GMT-5