COMSOL model 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).
|
•
|
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.
|
•
|
Similarly, to search for models whose maximum memory usage falls within a specific range, use the prefix “@memory:”. For example, the search expression @memory:>1GB <2GB returns all models with a memory usage between 1 and 2 GB. The supported units are GB (gigabytes), MB (megabytes, the default if no unit is given), kB (kilobytes), and B (bytes). The supported relational operators are the same as for computation-time searches.
|
•
|
If you enter more than one search term separated by spaces (in a search that is not restricted to filename using the “@name” prefix), the search finds files where all of the search terms appear.
|
•
|
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:verification — finds models classified as verification models or benchmarks;
|
•
|
You can also search for applications with a particular identifier in the COMSOL Application Gallery ( www.comsol.com/models) using the search prefix @appdb: immediately followed by the identifier. This can be useful when communicating with a COMSOL support or sales representative.
|
•
|
To find all models and applications that are locally available in solved or compact form, or only as previews, use the search strings $solved, $compact, and $preview, respectively.
|
•
|
To find all models with an associated geometry-sequence MPH-file (with the standard filename suffix _geom_sequence.mph), use the search string $geomsequence. These geometry-sequence files are not shown in the Application Libraries window, so if you want to open the geometry-sequence file and not the model MPH-file where it is inserted, you must choose File>Open and browse to the relevant folder.
|
@cpl:genext, @cpl
|
||
@export:anim, @export
|
||
@func:wv, @func
|
||
@multiphysics:emh, @multiphysics
|
||
@numerical:min, @numerical
|
||
@probe:bnd, @probe
|
||
@selection:box, @selection
|
||