Active Side Arrows
2.10.11 Logic Location Selection
Forms in the Network Element Logic (Section 2.10.10) and Logic Manager (Section 12) allow the user to place logic in specific locations within the solution. These locations determine when, during the solution, the logic is run and, indirectly, how many times the logic is run. In depth information regarding logic blocks and the solution flow diagrams can be found in the SINDA/FLUINT manual. This section gives a brief summary of the available logic locations.
Most Logic Blocks in SINDA are related to a Submodel.
Time Dependent Update/Variables0/Flogic0. Logic placed here is performed at the be-
ginning of a steady state solution or at the beginning of every transient time step.
Iteration Dependent/Variables1/Flogic1. Logic placed here is performed once every
steady state iteration or at the beginning of every transient time step, by default. If NARVB1 is set to 1 (in CONTROLS on the SINDA tab of the Case Set, Section 15.2.4) then this logic
is called every iteration within a transient time step.
Post Timestep/Variables2/Flogic2. Logic placed here is performed after completion of the
steady state solution or at the end of each transient time step.
Output Calls. Logic placed here is called once every output interval (Section 15.2.3) Operations Block Pre Build/TDPREBL. Logic placed here is called before the BUILD
statement that generates the configuration of submodels. This logic cannot reference thermal or fluid network objects as they have yet to be created. Within SINDA/FLUINT this logic is placed in the subroutine TDPREBL.
Operations Block Post Build/TDPOSTBL. Logic placed here is called after the build
statement but before the solution. This is a good location to set initial conditions. Within SINDA/FLUINT this logic is placed in the subroutine TDPOSTBL.
Operations Block Post Solution/TDPOSTSL. Logic placed here is called after the solu-
tion before the SINDA/FLUINT run terminates. Within SINDA/FLUINT, this logic is placed in the subroutine TDPOSTSL.
In Operations. This logic is placed directly in the OPERATIONS block. This is for advanced usage.
2.10.12 Import and Export Buttons
Some forms allow the user to import and export items related to and from that form. These forms are:
• Case Set Manager • Symbol Manager • Logic Manager • Property Aliases
• SINDA/FLUINT Submodel Manager • Orbit Manager
When exporting, a file is written with those specific items. When importing, the user can choose an exported file or a DWG file. When a DWG file is chosen, the specific items are obtained from the chosen thermal model.
2.10.13 Node Lists
Some forms require lists of nodes for node-specific calculations. In these fields multiple nodes can be referenced using wild cards and brackets. Some examples follow:
• MAIN.* - specifies all nodes in submodel MAIN
• M* - specifies all nodes in any submodel starting with the letter M • MAIN.[1-6] - specifies nodes 1 through 6 in submodel MAIN • MAIN.[1-3]0 - specifies nodes 10, 20 and 30 in submodel MAIN • MAIN.[1-9][0-9] - specifies nodes 10-99
Each bracketed range can only refer to a single digit location. Leading zeros are not recognized. Tabs and white spaces are not allowed. Nonexistent node IDs are allowed in the ranges.
If a list field on a form has “Nodes/Submodels” in the name, then a submodel name must be used to specify all nodes in the submodel. For example:
• MAIN instead of MAIN.*
2.10.14 Advanced Text Editor
For editing user logic, the user has access to an advanced text editor (Figure 2-24). The advanced text editor is available from the Case Set edit form on the SINDA tab (Section 15.2.4) when editing certain logic and data block and by double-clicking in the text field in a user text input or subroutine logic object (Section 12.4) and in the network element logic form (Section 2.10.10).
The functions at the top of the form provide common tools for writing logic (listed from left to right):
• Cut • Copy • Paste
• Find and Replace - the Mark All options will place a bookmark on the line of each instance of the searched string
• Undo • Redo
• Increase Indent - adds one tab to the beginning of the current line or each line in the selection
• Decrease Indent - removes one tab or all consecutive spaces from the beginning of the current line or each line of the selection
• Comment Selected Region - adds a ‘C’ at the beginning of each of the selected lines • Uncomment Selected Region - removes one non-blank character from the beginning of
each of the selected lines (note that this will remove ‘F’ or ‘M’ if one exists in the first column of any of the selected lines)
• Set a Bookmark - marks a line for quick access (note that bookmarks are not kept between sessions)
• Move to Next Bookmark - moves the cursor to the next line with a bookmark
• Move to Previous Bookmark - moves the cursor to the previous line with a bookmark • Clear Bookmarks - removes all bookmarks
• View Whitespace - toggles between displaying and not displaying symbols for spaces, tabs, and
• Print Preview
The above commands can also be accessed through right-click menus. Commands in the right-click menu that are not listed above do not work with the advanced text editor in Thermal Desktop.
To select an entire line click on the line number while the cursor arrow is tilted to the right.
2.10.15 Edit Mesh Displayer
When importing a finite element model using an FE Mesh Importer (Section 18.2.3.1) or mapping data with a Postprocessing Data Mapper (Section 18.3.2), the FE mesh is dis- played with a Mesh Displayer. Editing a Mesh Displayers allow setting display preferences using the form shown in Figure 2-25. Different selections may be made and are stored for
model view and postprocessing view. The options on the form are:
Wireframe Outline. Only the edges of the geometry are visible.
Wireframe exterior faces (hidden internal faces). All edges of external mesh faces are
visible.
Wireframe interior and exterior faces. All mesh edges are visible.
Shaded exterior faces (hidden internal faces). Mesh faces are shaded. This is the default
in postprocessing.
Shaded interior and exterior faces. Mesh faces are shaded.
Finite element models used for stress analysis can contain a large number of elements. Using the hidden edge option in normal model building mode displays a skeleton outline of the model for fast rendering and easier visualization of the location of the model. Using the hide internal faces option for post processing mapped results will also speed the display operation but still allow data to be visualized.