Main function introduction
Main interface
Open the program. The main interface is as shown in the figure below. Users can click New Common, New Hierarchical, Open, and conversion settings. The buttons that cannot be clicked are gray by default.

Click New Common or New Hierarchical to create a new project. You need to select the calculation mode. The currently supported calculation modes are: transport calculation, transport–burnup coupling calculation, point activation calculation, transport - activation coupling calculation, rigorous two-step method (R2S) shutdown dose rate calculation, improved one-step method shutdown dose rate calculation, as shown in the figure below.

After clicking New Common, select the first item transport calculation in the calculation mode and enter the main interface, including toolbar, tree view, 3D view, and information output area, as shown in the figure below.

Note: To ensure computer resource utilization, the number of new windows for creating, opening, and converting projects cannot exceed 10.
Toolbar
At the top of the main interface, there are homepage, view, editor, help, and logo icons. Among them, the home page includes files, conversion, calculation, and visualization, the view is to view the model, and the edit is to edit the model. The help includes license, User Manual, and about. The logo icons include new, open, save, close, etc. The specific functions of each toolbar are described as follows:
1) Home page

2)View

3)Edit

4)Help

5) Logo icon

Tree view
Select Home > File > New Common \ New Hierarchical on the menu, or open a project file, and a tree view will pop up on the left side of the program interface. Currently, the program supports different calculation modes, so the composition of tree nodes also corresponds to the corresponding calculation mode. Usually the TopMC tree view includes two parts: 1) geometry, 2) related physical calculation nodes, depending on the calculation mode.

The geometry corresponds to the entity tree of the opened entity model. The entity tree includes root nodes, group nodes and entity nodes. Each entity node corresponds to an entity in the main view. The user can complete the fight by operating the nodes on the tree view.
Open model selection, grouping, hiding, import, export and other operations. When a new model is created or opened, tree view automatically generates an entity tree and corresponding nodes based on the read model and the group relationships saved in the model.
When a model entity in the main view is selected, the group where the entity node is located in the tree view is automatically expanded and the corresponding entity node is highlighted. When an entity node in the tree view is selected, the corresponding entity in the main view is highlighted. When entities are hidden, imported, exported, deleted, etc., the nodes in the tree view display the corresponding status. The following table lists various icons and their corresponding status descriptions.
In addition, the entity node name in the tree view is in the form of xxx(yyy), where xxx is the cell number in the current model. If the model is converted from the MCNP input file, yyy is the cell number in the MCNP input file corresponding to the entity. For models imported from CAD systems or new models created in programs, this number has no practical meaning.
1) Root node right-click menu

When you right-click the tree view root node geometry, the root node menu pops up. The menu options include:
•Add new group: add new group;
•Import entities: import new entities;
- Export entities: Export entities. There are three sub-items under this option, namely, save all entities as a model, save each group as a model, and save each entity as a model.
When all entities are selected to be saved as a model, all entities in the view are exported and saved as a model. When each group is selected to be saved as a model, the entities in each group under the root node are saved as a model in the selected folder, and the model name is the group name. When you select each entity to be saved as a model, each entity in the model will be saved as a separate model;
- Hide: Hide all entities;
- Display: display all entities;
- Expand all nodes: Expand all group nodes;
- Collapse all nodes: Collapse all group nodes;
- Select all entities: Select all entities in the view. If there is a hidden entity in the view, the entity is automatically displayed;
- Select entities in the view: select entities displayed in the view, hidden entities are not displayed and selected;
- Renumber: Renumber all entity nodes under the root node, sort them from small to large, starting from 1;
- Grouping according to the color of the cell: Grouping according to the color of the cell is suitable for importing CAD files output by other CAD systems. In the CAD modeling system, the corresponding color can be assigned according to the material of the entity, so that after importing TopMC, this function can be used to group the cells.
- Group according to cell number: Group according to cell number.
2) Group node right-click menu

When you right-click the tree view group node, the group node menu pops up. The menu options include:
•Select group: select all entities in the group. When there are hidden entities in the group, a dialog box will pop up to prompt whether you want to display the hidden entities. If you select Yes, the hidden entities will be displayed and selected; if you select No, only the entities in the displayed state will be selected.
•Export entities: There are two sub-items under this option, namely group and single. When a group is selected, a model will be generated for the entities in the group, and the model name is the group name; when a single is selected, a folder named after the group name will be generated under the selected folder, and the entities in the group will be saved in different files under the folder;
•Import entities: Import entities into this group and generate corresponding entity nodes of the entities;
•Rename: Rename the group. When the group name overlaps with other group names, the system will automatically prompt;
•Delete group: delete the group and all entities in the group;
•Hide group: Hide the group and all entities in the group;
•Display group: display all entities in the group;
•Show current group: Hide other groups and only display entities in this group;
•Properties: Pops up the property editing dialog box.
Note: When the selected group is hidden, the right-click menu only displays the Show Group, Show Current Group, Properties and Export Entity options.
3) Right-click menu of entity node

When you right-click an entity node, the entity node menu pops up. The menu options include the following:
•Attributes: After selecting the entity, the attribute editing dialog box pops up;
•Export entities: Save the selected entities as model files;
•Delete entity: delete the selected entity;
•Hide entity: hide the selected entity;
•Multiple selection of hidden entities: Multiple selection of hidden entities;
•Show entities: Display the selected entities;
•Rename: Rename the node name of the entity. This name is not saved as entity properties. When it is opened again, the entity name needs to be redefined;
•Scale bar: Calculate and create a scale bar based on the actual size of the model in the 3D view. When the geometric model is scaled or deformed, the scale bar automatically adjusts its display size and label value to ensure that it always accurately reflects the actual size of the model.
•Move to group: Move the selected entity to any group.
Note: When the selected entity is hidden, the right-click menu only displays the Show Entity option.
4) Tree view right-click menu

When the mouse clicks on a blank space in the tree view, the tree view menu pops up, which is divided into the following menu items:
•Unselect all: Cancel the selected entities;
•Update item: refresh the display entity node and expand the group node;
•Display status: Display entities can be successfully converted. When the entities in the view can be converted to Monte Carlo input files, the corresponding entity nodes in the tree view will be displayed as
, indicating that the model entity can be successfully converted into a Mongolian
The card input file is saved in the entity as an attribute of the entity. When you open it again, you can view it through this menu item. Click the update item to refresh the entity node and restore it to its initial state;
- Background color: Set the background color of the tree view.
Among them, the tree diagram corresponding to New Hierarchical modeling (New Hierarchical) is slightly different from the tree diagram corresponding to New Common modeling (New Common), which will be introduced in detail in subsequent chapters.
Geometry boundary sets nodes for the boundary conditions of the geometric model. In addition to the geometry nodes, the tree diagram also contains a variety of physics modeling parameter setting nodes, and the physics modeling parameter setting nodes corresponding to different calculation modes are also different.
The figure below shows the tree node of transport calculation physics modeling, where transport represents the root node of transport calculation, and the material, source, tally, and transport process are the modeling interface entrances of transport material, transport source, transport tally, and transport physical process respectively.

The figure below shows the tree node of the transport–burnup coupling calculation physics modeling. The transport root node and its sub-nodes are consistent with the transport calculation. The newly added burnup root node is the modeling interface entrance of the burnup physical process.

The figure below shows the tree node of point activation calculation physics modeling, where activation represents the root node of point activation calculation, and the material, source, tally, and transport process are the modeling interface entrances of activation material, activation source, activation tally, and activation irradiation plan respectively.

The figure below shows the tree node of the transport-activation coupling calculation physics modeling. The transport root node and its sub-nodes are consistent with the transport calculation, and the activation root node and its sub-nodes are basically consistent with the point activation calculation.

The figure below shows the tree node of physics modeling for calculating the rigorous two-step method (R2S) shutdown dose rate. The material corresponds to transport material modeling, the neutron source corresponds to transport neutron source modeling, tally corresponds to transport tally modeling, the neutron physical process and the photon physical process correspond to transport neutron physical process modeling and transport photon physical process modeling respectively. The activation source corresponds to activation source modeling, activation The process corresponds to activation and irradiation plan modeling.

The figure below shows the tree node of the improved one-step method shutdown dose rate calculation of physics modeling. The material corresponds to transport material modeling, the neutron source corresponds to transport neutron source modeling, the tally corresponds to transport tally modeling, and the transport process corresponds to transport.
Physical process modeling, activation process corresponds to activation irradiation scheme modeling.

3D view
The middle part of the main interface displays the 3D view. Users can view and edit the 3D model in this interface. For example, click the toolbar Edit -> box to add a box. As shown in the figure below, the tree view area will display the geometry number, and the 3D view area will display the geometry 3D view.

1) Right-click menu in the view area. Place the mouse in a blank area of the view area, right-click, and the following menu will pop up:

- Pan view: Pan, select and drag with the left button to pan the view;
- Rotate the view: Rotate, select and drag with the left button to rotate the view;
- Select body: select the entity, and then left-click to select a single cell entity;
- Select a face: Select a face, then left-click to select a face on the entity;
- Select edges/vertices: Select edges/vertices, then left-click to select an edge/vertex on the entity;
- Zoom selection & zoom window: Zoom display, click to select the box area, and zoom to the box area;
- Visibility: Control whether points, edges, surfaces, and lines are displayed;
a) Vertex: Controls the display of points b) Edge: Controls the display of edges c) Surface: Controls the display of surfaces d) Light: Controls the display of lights e) Capping plane: Controls the display of the surface covering the surface of the geometry in the cross-section view f) Capping line: Controls the display of the line formed by the cross-section cutting the surface of the geometry in the cross-section view Rendering mode: Corresponding view –> Display mode toolbar;
- Standard view: Corresponding view–>View perspective toolbar;
- Z slice, X slice & Y slice: corresponding view–>Section toolbar;
- Import entities: Entity import;
- Set boundary conditions: Set entity reflection surface and periodic surface boundary conditions, corresponding to Edit–>Select–>Surface
In the selected state, use this function to set boundary conditions.
2) After selecting the entity in the entity right-click menu (yellow entity in the picture), right-click and the following menu will pop up:

Different from the view area right-click menu, the entity right-click menu adds 4 options:
- Export entity: entity export;
- Hide entity: entity is hidden;
- Delete entity: entity delete;
- Properties: entity properties.
Entity properties
Select View>Properties from the menu item or "Properties" from the right-click menu of the entity. The model property editing dialog box pops up, including geometry properties (Geometry) and physics properties (Physics).
1) Geometry properties (Geometry)
- Entity information: displays the cell's bounding box, list number, cell number, and volume information;
- Color: Change the color of the currently selected cell;
- Transparency: Change the transparency of the currently selected cell;
- Total volume: The total volume of the currently selected cell.

2) Physics properties (Physics)

- Number: Display and specify the material number of the currently selected cell;
- Density: Displays the material density of the current cell;
- Edit material card: It has the same function as the material editing entrance in the tree view, and opens the material editing function;
- Particle importance: the importance of neutron, photon, and electron of the current cell in the transport process;
- Cell temperature: the temperature of the selected cell;
•Additional information: display or edit other additional information of the current cell;
•Set the selected cell as the source: Set the currently selected cell as the volume source and open the source modeling interface;
•Set the selected cell or surface as tally: Set the currently selected cell or surface as tally and turn on tally modeling.
Note: If a cell is selected, the physics properties of the selected cell will be displayed on the physics properties interface. If multiple cells are selected, the physics properties will not be displayed. However, no matter how many cells are selected, after modifying the properties, checking the corresponding application material, application importance, and application temperature check boxes and then clicking the Apply button will assign the corresponding material, importance, and temperature to the currently selected cell.
Information output area
The bottom of the main interface is the information output area. Some warning messages of the software will be displayed in this window, and some operation prompts are also displayed in this window. For example, if you use the left mouse button to click on the rectangular geometric model in the view to interact, the information output area will display the relevant information of the rectangle, as shown in the figure below.

•When saving and reading the model, output the corresponding file path information;
•In face selection mode, the parameter information of the selected face is displayed;
•When running the preprocessing function, the corresponding prompt information is displayed;
•Other warnings and prompts.
TopMC®