A source is a separate type of entity which can be used to:
Source entities can be created using the following tools in the Create menu:
Additionally, it is also possible to create point cloud sources using the Create Point Cloud option in the Examine command. These sources may have Constant spacing type (see below), meaning they will apply a constant-value target spacing and decay throughout. Or they may have a General spacing type, where the target spacing can vary per point. The Spacing Type available to apply to a point cloud created within Examine will be dependent on the diagnostic being viewed. Additionally, you can directly import a point cloud source via File, Import, Sources and create a point cloud source via Glyph.
By default, any source located inside a region computed as twice the size of the extent box of a given block or domain will be automatically set to influence the grid entity's size field. This influence is achieved by converting the source into a cloud of points. Furthermore, this point cloud representation will increase in density as spacing values get smaller. This in turn will increase the time necessary for the unstructured solver to initialize the interior of a block. The influence of individual sources can be turned on/off in the Grid, Solve, Size Field command tab.
Tip: It is prudent to initially use conservative values of source spacing in order to decrease the time it takes for a block to be initialized.
When sources are automatically set to influence the size field of a given block or domain, an out-of-sync icon ( ) may be displayed in the List panel next to the grid entity's name. This icon indicates that the current distribution of cells in the grid entity and its size field (affected by source entities) are not in-sync. In this case, the grid entity will need to be updated in order to reflect the influence of the sources and the icon will remain displayed until this is done.
The Sources panel (shown below) is primarily used to adjust Spacing and Decay values for your existing, selected sources. Note that at least one source entity must be selected for the Grid, Sources command to be enabled.
Newly created sources will have default values for Spacing and Decay set automatically from those found in the Defaults panel. These values can be updated here or in the Grid, Solve, Size Field command tab.
Spacing and Decay values are applied at the beginning and end locations of each source. These locations are determined by the order in which the ends of the source were originally created. At the top of the Sources panel, there is a table listing current values of spacing and decay for the selected source. If multiple sources are selected, average values will be displayed.
Below the table, the Beginning/Constant Values frame provides entry fields to input new values of Spacing and Decay for the beginning of the currently selected source(s). The Decay parameter has a default value of 0.5 and it varies from 0.0 to 1.0; a value of 0.0 indicates no influence beyond the boundary of the selected source(s) while a value of 1.0 indicates maximum influence. Note that if the selected source has been set to type Constant (see below), it will only be necessary to input the Spacing and Decay values in the Beginning/Constant Values frame for the entire source.
Likewise, additional fields are available in the Ending Values frame to enter values for the end of the currently selected source(s).
Below the input frames you will find the Reverse and Start Interactive Edit commands. The Reverse command allows you to swap beginning and end Spacing and Decay values for the currently selected source(s). The Start Interactive Edit command puts you into a graphical mode for adjusting spacing values at the beginning and end locations. A relatively sized ring (see image below) can be clicked and dragged in the Display window to adjust the corresponding value. The new spacing is dynamically updated in the table for the selected location. When finished adjusting, click Stop Interactive Edit to end the graphical interaction mode.
Finally, at the bottom of the Sources panel you will find the Spacing Type frame, which shows and allows you to select the type of distribution used by the selected source(s).
The table below shows the different Spacing Type options available for each type of source entity: shape, curve, point, and point cloud.