ParaviewComponentAnnotationMap
Use this outputter to produce an annotated color map for paraview (works with version 5.8+)
Usage
Add the following block into the [Outputs]
block in your input file:
[map]
type = ParaviewComponentAnnotationMap
[]
This will produce a file named <input_file>_map.json
.
Import this file into paraview via the Color Map Editor window for the vtkBlockColors
variable. You should see a component name associated with each color. See example below:

Figure 1: Example of annotated color map for component blocks
Input Parameters
- file_baseThe desired solution output name without an extension. If not provided, MOOSE sets it with Outputs/file_base when available. Otherwise, MOOSE uses input file name and this object name for a master input or uses master file_base, the subapp name and this object name for a subapp input to set it.
C++ Type:std::string
Controllable:No
Description:The desired solution output name without an extension. If not provided, MOOSE sets it with Outputs/file_base when available. Otherwise, MOOSE uses input file name and this object name for a master input or uses master file_base, the subapp name and this object name for a subapp input to set it.