You can create a new expression by clicking on the Expression Window's New button. When you click on the New button, VisIt adds a new expression and shows its new, empty definition in the Definitions area. The initial name for a new expression is "unnamed" followed by some integer suffix. As you type a new name for the expression into the Name text field, the expression's name in the Expression list will update.
Each expression has an expression type that determines the variable menu in which the new variable appears. The available expression types are: Scalar Mesh Variable, Vector Mesh Variable, Mesh variable, Tensor variable, Symmetric Tensor Variable. Since the expression type determines the menu in which the variable appears, it also determines the plots that can operate on the variable. Scalar mesh variables and species variables can be used in the Contour, Pseudocolor, and Volume plots. Vector mesh variables are used in the Streamline and Vector plots. Tensor mesh variables are used in the Tensor plot.
![]() |
Figure 3 |
![]() |
Figure 4 |
Some variables can only be expressed as very complex expressions containing several intermediate subexpressions that are only used to simplify the overall expression definition. These types of subexpressions are seldom visualized on their own. If you want to prevent them from being added to the Plot menu, turn off the Show variable in plot menus check box.