Searching the Application Libraries
In the Application Libraries window, you can Search the application libraries to find any files using a specific feature. For example, enter all or part of the name, a physics interface name, a feature name, a feature tag or name prefixed by ‘@’, or any other phrase or words or and click Search.
By default, the search includes all words in the Search field (with space signifying logical AND).
COMSOL files are named using an underscore between words (for example, effective_diffusivity) because the filename is also the name of the corresponding Model MPH-file. The underscore is required to form a valid filename, so it is recommended that you, if you are not sure of the full name, enter only the first word (rather than multiple words separated by spaces) in the Search field when searching for a model or application name.
The search in the Application Libraries window does not include the models’ PDF documents. To search for text in the model documentation, use the COMSOL Documentation window and select Application libraries from the Search scope list to limit the search for the application libraries (see Searching the Documentation).
Search Parameters for Models and Applications
To search for models and applications by filename only, use the prefix “@name:”, for example @name:busbar. You can also use the wildcard character ‘*’ at the beginning and the end of the search expression, for example @name:fluid* or @name:*electr*.
To search for models and applications whose computation time (as displayed in the Application Libraries window) falls within a specific range, use the prefix “@time:”. For example, the search expression @time:>=1[h] <=2[h] returns all models and applications with a computation time between 1 and 2 hours. The supported relational operators are < (the default if no operator is given), >, <=, >=, and ==. Elapsed times can be expressed using the supported time units (see the section SI Base, Derived, and Other Units in The COMSOL Modeling Environment chapter for details). If no unit is specified, the expression entered is assumed to be given in seconds.
Limit the search to tags (identifiers) with the prefix “@tag:”. For example, @tag:genext finds all files using a General Extrusion node, and @tag:ehs finds all files with an Electron Heat Source node.
Limit the search to node labels (excluding trailing digits and tags enclosed in parentheses) with the prefix “@label:”. To search for labels that include spaces, you need to enclose the label text within quotes. For example, @label:"point evaluation" finds files containing Derived Values nodes of Point Evaluation type with the default label base (as shown immediately below the window label in the Settings window).
Limit the search to type names with the prefix “@type:”. For example, @type:segregated finds all files using a segregated solver, @type:slider finds all applications containing a Slider form object, and @type:bodyload finds all files with a Body Load node.To find out the type names, consult the COMSOL Programming Reference Manual or, for application form objects, the COMSOL Multiphysics Application Programming Guide. Alternatively, you can save an application as a Model File for Java or Model File for MATLAB and look up the second argument for the create(…) method for an object of the type of node you want to search for.
To search for a specific physics interface, use the scoping syntax @physics:id, where id is a default physics-interface identifier (forming the base of the tags shown in the Model Builder window if you have selected Model Tree Node Text>Tag in the window’s toolbar). For example, enter @physics:ec to find all models that use the Electric Currents interface. Similarly, enter @geom:if to search for models that include an If statement (node) in the geometry sequence. Table 2-3 lists the supported model-object context scopes.
The model-context search scopes @cpl, @export, @func, @multiphysics, @numerical, @probe, and @selection used without an identifier return all models that contain any node of the corresponding type; see Table 2-3.
-
@keyword:tutorial — finds introductory and tutorial models;
-
@keyword:verification — finds models classified as verification models or benchmarks;
-
@keyword:industrial — finds models classified as industrial applications.
@export:anim, @export
@func:wv, @func
@multiphysics:emh,
@multiphysics
@numerical:min,
@numerical
@probe:bnd, @probe
@selection:box,
@selection
When a search result is presented, hover over a top-level node in the tree to see the number of matching files under the corresponding folder. If the search does not return any results, the Application Libraries window contains the message No Results Found. Click the Refresh button () under the tree to return to the root Application Libraries folder list.