The Optimization Interface
The Optimization (opt) interface () contains tools for setting up advanced optimization problems. The main purpose of the interface is its ability to set up objective functions, constraint contributions, and control variables that are defined locally only on certain geometric entities, as well as least-squares contribution with a time or parameter dependence.
You can define objective functions and constraints in terms of control and solution variables (the latter are given as the solution to the differential equations defined by the multiphysics model) and restrict these to specific geometric entities, or make them globally available. The Optimization interface itself does not have any geometry selection and is not associated with any particular space dimension. Instead you find the same set of feature nodes for domains, boundaries, edges, and points.
Common Physics Interface and Feature Settings and Nodes in the COMSOL Multiphysics Reference Manual
Settings
The Label is the default physics interface name.
The Name is used primarily as a scope prefix for variables defined by the physics interface. Refer to such physics interface variables in expressions using the pattern <name>.<variable_name>. In order to distinguish between variables belonging to different physics interfaces, the name string must be unique. Only letters, numbers, and underscores (_) are permitted in the Name field. The first character must be a letter.
The default Name (for the first physics interface in the model) is opt.
Optimization interface
The following feature nodes are available in the optimization interface. Some of the features can have subnodes (available by right-clicking) as indicated by the sub-bullets.
-
-
-
-
-
Control Variable Field (which includes the settings for the associated bound constraints)
-