Quantcast
Channel: Acoustics Module - Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 656

Manipulation of imported CAD files with Java API

$
0
0
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?

Viewing all articles
Browse latest Browse all 656

Trending Articles