Physics Symbol
The Physics Symbol node () is a subnode to the Auxiliary Settings node (see Auxiliary Settings (Feature Nodes) and contains settings that specify a symbol to be shown on the geometry in the Graphics window. The symbol displays by default on the selection of the physics feature.
Physics Symbol
Enter a valid image filename in the Icon field to specify the image that should be used for the symbol. Next to the symbol a few extra decorations can be displayed. From the Decoration list choose an option:
None (the default). No decoration should be used.
Selected input coordinate system. A symbol indicating which coordinate system the user has selected for the physics feature.
Line to point. A line from the physics feature’s selection to a point that can either be specified by entering coordinates or by selecting Center of mass of selection from the Point list. To specify coordinates select Specify coordinates from the Point list and then enter the coordinates in the Coordinate field; for example, you can use {0,0,1} or par.someVectorInput. The physics symbol is displayed at the given coordinate.
Plane. You can define one or more planes (in 3D) or lines (in 2D) for visualization in the Graphics window. Each of plane’s information is a line in the table, and it contains:
-
In the Coordinates column, the coordinates of 3 points not aligned in the 3D plane (3D) or of 2 points in the line (2D) that you want to show. In 3D, the format is {{A.1,A.2,A.3}, {B.1,B.2,B.3}, {C.1,C.2,C.3}}, and in 2D, the format is {{A.1,A.2}, {B.1,B.2}}.
-
In the Color [RGBA] column, the color of the plane or the line in the format of values from 0 to 255 for the red (R), green (G), and blue (B) colors and for the alpha channel (A), which specifies the opacity (for example, {222, 49, 99, 128}). The alpha value is 0 for a fully transparent object and 255 for a fully opaque object.
Normal vector. An arrow indicating a surface normal. The direction of the surface normal can be reversed by selecting the Reverse direction check box.
Tangent vector. An arrow indicating a tangent vector. The direction of the tangent vector can be reversed by selecting the Reverse direction check box.
From the Display symbol when list, choose one of the following options:
Choose Symbol is enabled (the default) to display the symbol if symbols are enabled in the physics interface.
Choose Feature is selected and symbol is enabled to display a symbol for the feature if the feature is selected and symbols are enabled in the physics interface.
Choose Only if the feature is selected to display a symbol for the feature if and only if the feature is selected. The symbol settings in the physics interface are ignored.
Choose Physics or a feature is selected and symbol is enabled to display a symbol for the feature if its physics, or a feature in it, is selected and symbols are enabled in the physics interface.
Choose Physics or a feature is selected to display a symbol for the feature if its physics, or a feature in it, is selected. The symbol settings in the physics interface are ignored.
Selection
Choose an option from the Selection list: From parent (the default), From selection input, Global, Operation, From definitions library, From external resource, Top level entities applicable to parent, or Operation on sibling-feature selections, From moving domains.
For any choice, except Global, choose the Output entities: Selected entities (the default), Adjacent domains, Adjacent boundaries, Adjacent edges, Adjacent points, Mesh boundaries, Restricted to geometric entity types, Restricted to frame type, Base selection of extra dimension, or Attached extra dimension.
For Adjacent boundaries, select an option from the Restrict to list: All adjacent boundaries, Exterior boundaries to the domain selection, Interior boundaries to the domain selection, Exterior boundaries whose up side is in the domain selection, or Exterior boundaries whose down side is in the domain selection.
For Adjacent edges or Adjacent points, select an option from the Restrict to list: All adjacent entities, Exterior entities to the selection, or Interior entities to the selection.
For Restricted to geometric entity types choose the Allowed entity types in the table, Interior or Exterior.
For Restricted to frame type choose a Frame type: Material (the default), Mesh, Geometry, or Spatial.
Operation
For Operation, choose the Operation type: Union (the default), Intersection, Difference, or Complement. Then define the Input selections, and for Difference the Selections to subtract. Select options from the Output entities list as defined above.
From definitions library
For From definitions library, choose an option from the Link list and select options from the Output entities list as defined above.
Operation on sibling-feature selections
For Operation on sibling-feature selections, choose the Operation type: Union (the default), Intersection, Difference, or Complement. Then define the Input feature types, and, for Difference, the Feature types to subtract. Select options from the Output entities list as defined above. Instead of writing the feature ID of the physics feature to use in the selection, you can also write a path of IDs. The first ID is then the physics ID followed by one or several feature IDs. Regular expressions are accepted to match the IDs against a pattern. If the current entity is a coupling feature, the path syntax also accepts a coupling type instead of the physics ID. The coupling type must be preceded with the multiphysics prefix (mph.) and uses the coupling feature’s selected physics of this coupling type. Here are some examples:
FeatureB: Looks for the selections of features with ID FeatureB.
InterfaceA/FeatureB/FeatureC: Looks for the selections under FeatureB with ID FeatureC. The interface ID must be InterfaceA.
\w+/FeatureB/Feature[A-C]: Looks for the selections under FeatureB with IDs that start with Feature and end with any of the letters A, B, or C. The interface ID can be any nonempty sequence of word characters.
mph.TypeA/Feature[A-C]: Looks for selections of features under the interface of coupling type TypeA in a coupling feature. The features must have IDs that start with Feature and end with any of the letters A, B, or C.
Note that a physics feature can only match interface IDs of the physics that it belongs to. A coupling feature can only match interfaces that are part of its selected interfaces.