Lars Gregersen | July 2, 2014
This is Part 3 of a blog series on how to handle selections and entity numbers when using LiveLink™ for MATLAB® and the COMSOL® Application Programming Interface (API). In this section, I’ll discuss how the internal handling of selections and entity numbers in COMSOL Multiphysics® simulation software is performed and how you can utilize these methods when setting up your own models.
Lars Gregersen | June 4, 2014
In Part 1 of this blog series, I introduced how you can export a model M-file from COMSOL Multiphysics® simulation software to learn about the structure of the COMSOL Application Programming Interface (API). One important part of a model M-file is the selections that are made in order to set up properties for the domain, boundaries, etc. These selections are identified using numbers. Here, we explain how you can automate the handling of the entity numbers using LiveLink™ for MATLAB®.
Lars Gregersen | March 31, 2014
Modeling in COMSOL Multiphysics involves a lot of tasks, such as choosing the right physics, defining the geometry, and setting up boundary conditions and domain settings. Additionally, material properties have to be defined for the materials included in the model. Such material data may come from the Material Library, but it often has to be obtained experimentally or from literature and imported into COMSOL Multiphysics.