Use a Python script to manipulate the value or coordinates of a field.
Use a Python script to manipulate the cell data values of a field.
Combine nodal data from multiple input fields which share the same structure.
Interpolates nodal or cell data from one field to another.
Measure the thickness of a field relative to a specified surface.
Translates a field in x, y, or z based upon either a nodal or cell data component or a constant.
Interpolate cell data components to nodal data components.
Interpolate nodal data components to cell data components.
Produce a mesh containing disjoint cells which can be optionally shrunk relative to their geometric centers.
Produce a mesh containing consisting of points, each point represents a geometrical center of a corresponding cell in the input mesh.
Select connected regions and assign them unique region identifiers.
Subsections of Processing
node computation
node computation performs mathematical operations on nodal data and coordinates. Data values can be used to affect coordinates (x, y, or z), and coordinates can be used to affect data values.
Up to two fields can be input to node computation. Mathematical expressions can involve one or both of the input fields. The fields must be identical grids, meaning they must have the same number of nodes and cells; otherwise the results will not make sense.
Nodal data input to each port is normally scalar. If a vector data component is used, the value in the expression is automatically the magnitude of the vector (which is a scalar). To use a particular component of a vector, insert vector to scalars before connecting the field to node computation. Each output data component is always a scalar. If a field contains more than one data component, you may use any of them.
Expressions and Scripts:
Calculations can be defined either as inline expressions (one per output data component) or in a Python script that is run once per node. Modifying coordinates requires a script. Each nodal data component from Input Field 1 is available as a variable (An0, An1, An2, etc.), and each from Input Field 2 as Bn0, Bn1, Bn2, etc. Coordinate variables (Ax, Ay, Az for Field 1 and Bx, By, Bz for Field 2), the node number, and min/max range variables for each data component are also available, along with the four numeric variables N1 through N4.
Ports
| Direction | Name | Type | Description |
|---|---|---|---|
| Input | Input Field 1 | Field | A field. |
| Input | Input Field 2 | Field | A field. |
| Input | Input Value N1 | Number | A value to use as a variable. |
| Input | Input Value N2 | Number | A value to use as a variable. |
| Input | Input Value N3 | Number | A value to use as a variable. |
| Input | Input Value N4 | Number | A value to use as a variable. |
| Output | Output Value N1 | Number | A value to use as a variable. |
| Output | Output Value N2 | Number | A value to use as a variable. |
| Output | Output Value N3 | Number | A value to use as a variable. |
| Output | Output Value N4 | Number | A value to use as a variable. |
| Output | Output Field | Field | The output field with solved expression data. |
| Output | Output Object | Renderable | A renderable object displaying the solved expression data. |
Properties
| Property | Type | Description |
|---|---|---|
| Allow Run | Boolean | Determines whether the module is allowed to execute. Set to True to allow this module to run. |
| Filename | File | The Python script which is run once per node. The values set within the script are assigned to the coordinates and data of the resulting field. Used in Script mode; a default script can be created from this control. |
| Execute | Button | Accepts all values and runs the computation. If this button is clicked and the application saved, the module will run when the application is loaded. |
| Nodal Computation Variables 1 | String (read-only) | The variables available for use during computation from Input Field 1: coordinates (Ax, Ay, Az), the node number, min/max range variables, and all nodal data components (An0, An1, …). |
| Nodal Computation Variables 2 | String (read-only) | The variables available for use during computation from Input Field 2: coordinates (Bx, By, Bz), the node number, min/max range variables, and all nodal data components (Bn0, Bn1, …). |
Output
| Property | Type | Description |
|---|---|---|
| Affect Coordinates | Boolean | When on, the script can set the X, Y, and Z coordinates. Leaving this off results in more efficient operation when the script only creates data. When on, Script mode is required. |
| Mode | Choice: Expression, Script | Expression mode allows inline expressions per data component. Script mode uses a Python script file. |
| Data Definitions | Data Definitions | The data you wish to generate in addition to coordinates. Each data component has a name, units, a log processing flag, and (in Expression mode) an expression. |
Variables
| Property | Type | Description |
|---|---|---|
| N1 | Double | Number passed into the script. |
| N2 | Double | Number passed into the script. |
| N3 | Double | Number passed into the script. |
| N4 | Double | Number passed into the script. |
cell computation
cell computation performs mathematical operations on cell data in fields. Unlike node computation, it cannot affect coordinates. Although data values cannot be used to affect coordinates (x, y, or z), the cell center (average of nodes) coordinates can be used to affect data values.
Up to two fields can be input to cell computation. Mathematical expressions can involve one or both of the input fields. Cell data input to each port is scalar. If a field contains more than one data component, you may use any of them.
Expressions and Scripts:
Calculations can be defined either as inline expressions (one per output data component) or in a Python script that is run once per cell. Each cell data component from Input Field 1 is available as a variable (Ac0, Ac1, Ac2, etc.), and each from Input Field 2 as Bc0, Bc1, Bc2, etc. Cell center coordinate variables (Ax, Ay, Az for Field 1 and Bx, By, Bz for Field 2), the cell number, and min/max range variables for each data component are also available, along with the four numeric variables N1 through N4.
Ports
| Direction | Name | Type | Description |
|---|---|---|---|
| Input | Input Field 1 | Field | A field. |
| Input | Input Field 2 | Field | A field. |
| Input | Input Value N1 | Number | A value to use as a variable. |
| Input | Input Value N2 | Number | A value to use as a variable. |
| Input | Input Value N3 | Number | A value to use as a variable. |
| Input | Input Value N4 | Number | A value to use as a variable. |
| Output | Output Value N1 | Number | A value to use as a variable. |
| Output | Output Value N2 | Number | A value to use as a variable. |
| Output | Output Value N3 | Number | A value to use as a variable. |
| Output | Output Value N4 | Number | A value to use as a variable. |
| Output | Output Field | Field | The output field with solved expression data. |
| Output | Output Object | Renderable | A renderable object displaying the solved expression data. |
Properties
| Property | Type | Description |
|---|---|---|
| Allow Run | Boolean | Determines whether the module is allowed to execute. Set to True to allow this module to run. |
| Filename | File | The Python script which is run once per cell. The values set within the script are assigned to the cell data of the resulting field. Used in Script mode; a default script can be created from this control. |
| Execute | Button | Accepts all values and runs the computation. If this button is clicked and the application saved, the module will run when the application is loaded. |
| Cell Computation Variables 1 | String (read-only) | The variables available for use during computation from Input Field 1: average cell coordinates (Ax, Ay, Az), the cell number, min/max range variables, and all cell data components (Ac0, Ac1, …). |
| Cell Computation Variables 2 | String (read-only) | The variables available for use during computation from Input Field 2: average cell coordinates (Bx, By, Bz), the cell number, min/max range variables, and all cell data components (Bc0, Bc1, …). |
Output
| Property | Type | Description |
|---|---|---|
| Mode | Choice: Expression, Script | Expression mode allows inline expressions per data component. Script mode uses a Python script file. |
| Data Definitions | Data Definitions | The cell data you wish to generate. Each data component has a name, units, a log processing flag, and (in Expression mode) an expression. |
Variables
| Property | Type | Description |
|---|---|---|
| N1 | Double | Number passed into the script. |
| N2 | Double | Number passed into the script. |
| N3 | Double | Number passed into the script. |
| N4 | Double | Number passed into the script. |
combine nodal data
combine nodal data creates a new set of nodal data components by selecting components from up to six separate input fields. The mesh (x-y-z coordinates) of the first input field (Model Field) is used as the mesh of the output. The input fields should have the same scale, origin, and number of nodes for the output data to have any meaning. This module is useful for combining data contained in multiple field ports or files, or produced by different kriging modules.
Ports
| Direction | Name | Type | Description |
|---|---|---|---|
| Input | Model Field | Field | The main field to add components to. |
| Input | Input Field 1 | Field | A field with nodal data to combine with the Model Field. |
| Input | Input Field 2 | Field | A field with nodal data to combine with the Model Field. |
| Input | Input Field 3 | Field | A field with nodal data to combine with the Model Field. |
| Input | Input Field 4 | Field | A field with nodal data to combine with the Model Field. |
| Input | Input Field 5 | Field | A field with nodal data to combine with the Model Field. |
| Output | Output Field | Field | The main Model Field with added components. |
| Output | Output Object | Renderable | A renderable object displaying the Model Field with added component data. |
Properties
| Property | Type | Description |
|---|---|---|
| Allow Run | Boolean | Prevents the module from running when turned off. This allows the user to make multiple changes without the module constantly updating. |
| Execute | Button | Causes the module to run one time even if Allow Run has been turned off. |
| Model Components | Multi-select | Selects which nodal data components from the Model Field to include in the output. Options are the nodal data components of that field. |
| Components 1 | Multi-select | Selects which nodal data components from Input Field 1 to include in the output. Options are the nodal data components of that field. |
| Components 2 | Multi-select | Selects which nodal data components from Input Field 2 to include in the output. Options are the nodal data components of that field. |
| Components 3 | Multi-select | Selects which nodal data components from Input Field 3 to include in the output. Options are the nodal data components of that field. |
| Components 4 | Multi-select | Selects which nodal data components from Input Field 4 to include in the output. Options are the nodal data components of that field. |
| Components 5 | Multi-select | Selects which nodal data components from Input Field 5 to include in the output. Options are the nodal data components of that field. |
interpolate data
interpolate data interpolates nodal and/or cell data from a 3D or 2D field onto another field, typically a 2D mesh or 1D line. Typical uses of this module are mapping data from a 3D mesh onto a geologic surface or a 2D fence section. In these applications the 2D surface(s) simply provide the new geometry (mesh) onto which the adjacent data values are interpolated. The primary requirement is that the data be of equal or higher dimensionality than the mesh being interpolated onto. For instance, if the user has a 2D surface with nodal data (perhaps z values), then a 1D line may be input and the nodal values from the 2D surface will be interpolated onto it.
Data from the Input Data Field is interpolated onto the Input Destination Field. Data already present on the destination field can also be carried through to the output; it follows the interpolated data in the output field.
This module supplants the deprecated interpolate nodal data and interpolate cell data modules.
Ports
| Direction | Name | Type | Description |
|---|---|---|---|
| Input | Input Destination Field | Field | The field to interpolate data to. |
| Input | Input Data Field | Field | The field to use for data. |
| Output | Output Field | Field | The field with data interpolated. |
| Output | Output Object | Renderable | A renderable object to display. |
Properties
| Property | Type | Description |
|---|---|---|
| Allow Run | Boolean | Prevents the module from running when turned off, allowing the user to make changes to large data sets without waiting for updates. |
| Execute | Button | If Allow Run is turned off, forces the module to run once with the current settings. |
| Method | Choice: Accurate, Nearest Neighbor | Controls how the closest cell to a point or cell is determined. Accurate (the default) finds the cell containing a point within its bounds and uses its nodes to interpolate node data and the cell itself to interpolate cell data; it is slower but yields accurate results. Nearest Neighbor finds the closest cells using distances to cell nodes (for node data) and cell centers (for cell data); it is fast but may not select the correct neighbor in all cases and cannot reject nodes and cells outside the volume. If the destination field is well within the bounds of the data field, Nearest Neighbor may return acceptable results. |
| Remove Nodes Outside Volume | Boolean | Controls whether nodes or cells from the Input Destination Field that fall outside the Input Data Field are removed from the output. Available only with the Accurate method. |
| Node Data To Interpolate | Multi-select | Selects which nodal data components from the Input Data Field are interpolated onto the destination field. Includes an option to automatically select all components. |
| Node Data To Include | Multi-select | Selects which nodal data components already on the Input Destination Field are included in the output. This data follows the interpolated data in the field. Includes an option to automatically select all components. |
| Cell Data To Interpolate | Multi-select | Selects which cell data components from the Input Data Field are interpolated onto the destination field. Includes an option to automatically select all components. |
| Cell Data To Include | Multi-select | Selects which cell data components already on the Input Destination Field are included in the output. This data follows the interpolated data in the field. Includes an option to automatically select all components. |
compute thickness
compute thickness computes the thickness of complex plumes or cell sets such as lithologic materials.
The Input Volume port must have a 3D (volumetric) field as input, since there is no concept of thickness associated with surfaces. Volumetric inputs can also be hollow objects from plume shell or intersection shell; thickness is then determined from the apparent thickness of the plume elements. When 3D shells are input, they must be closed objects.
Determining the thickness of arbitrary volumetric objects is a very computationally intensive operation. You can use this module to compute thickness in two primary ways:
- Compute the thickness distribution of a 3D object and project it onto a 2D surface (generally the ground surface). A surface (such as from surface from horizons) connects to the Input Field port, and the volumetric object connects to the Input Volume port.
- Compute the thickness distribution of a 3D object and project it onto the same object. The volumetric object connects to both the Input Field and Input Volume ports.
In all cases run times can be long. Coarser grids and the first option run faster, but the complexity and resolution of the volumetric object are the major factors in the computation time. GPU acceleration (see Processing Settings) can significantly reduce run times.
Ports
| Direction | Name | Type | Description |
|---|---|---|---|
| Input | Input Field | Field | The field to map thickness data onto. |
| Input | Input Volume | Field | The field to determine thickness data from. |
| Output | Output Field | Field | The surface with mapped thickness data. |
Properties
| Property | Type | Description |
|---|---|---|
| Execute | Button | Forces the module to run even if Allow Run has been turned off. This allows the user to make a number of changes before updating. |
| Allow Run | Boolean | Causes the module to run whenever the inputs change. |
Processing Settings
| Property | Type | Description |
|---|---|---|
| Gpu Settings | GPU Options | GPU acceleration settings. The default for these options can be changed in the global application options menu. |
| Max Block Size | Integer | The number of points processed on each GPU pass. Larger numbers run faster but cause interruptions. Smaller numbers are more likely to succeed on lower-end graphics cards. |
translate by data
translate by data accepts nearly any mesh and translates the grid in x, y, or z based upon either a nodal or cell data component or a constant. Coordinates can either be offset by the selected value (Translate Coordinates) or set directly to it (Set Coordinate Position), for example to place a flat surface at elevations stored in a data component.
The Data Selection settings control only how the renderable output is colored; they do not affect the translation or the data in the output field.
Ports
| Direction | Name | Type | Description |
|---|---|---|---|
| Input | Input Field | Field | A field to translate. |
| Output | Output Field | Field | A field containing the translated field. |
| Output | Output Object | Renderable | A renderable object displaying the translated field. |
Properties
| Property | Type | Description |
|---|---|---|
| Translation Method | Choice: Translate Coordinates, Set Coordinate Position | Chooses between translating (offsetting) the coordinates or setting the coordinates to the selected value. |
| Translation By | Choice: Constant, Cell Data Component, Node Data Component | Sets the basis for translation. |
| Constant Value | Double | The value to translate by when Translation By is set to Constant. |
| Cell Data Component | Choice | The cell data component to translate by when Translation By is set to Cell Data Component. Options are the cell data components of the input field. |
| Node Data Component | Choice | The nodal data component to translate by when Translation By is set to Node Data Component. Options are the nodal data components of the input field. |
| Translation In | Choice: X, Y, Z | Sets the axis of translation. |
Data Selection
| Property | Type | Description |
|---|---|---|
| Color By | Choice: Node Data, Cell Data, Solid Color | Sets how the color of the output object is determined. |
| Nodal Data Component | Choice | If Color By is set to Node Data, selects which nodal data component sets the data map. Options are the nodal data components of the input field. |
| Cell Data Component | Choice | If Color By is set to Cell Data, selects which cell data component sets the data map. Options are the cell data components of the input field. |
| Object Color | Color | If Color By is set to Solid Color, the color of the output object. |
| Vector Component | Integer | If Color By is set to Node Data or Cell Data, uses a single component of vector data to set the data map. A value of -1 uses all components. |
| Use Vector Magnitude | Boolean | If Color By is set to Node Data or Cell Data, uses the magnitude of vector data to set the data map. |
cell data to node data
cell data to node data converts cell data components to nodal data components. Cell data components are associated with cells rather than nodes. Most modules in EVS that deal with analytical or continuum data work with node-based data, so cell data to node data can be used to convert cell-based data to a nodal data structure consistent with other EVS modules.
When cells share nodes, the value at a shared node is a blend of the surrounding cells. Separating the cells (the default) gives each cell its own nodes, so each cell’s value is preserved exactly with no blurring between cells.
Ports
| Direction | Name | Type | Description |
|---|---|---|---|
| Input | Input Field | Field | A field containing cell data to interpolate. |
| Output | Output Field | Field | A field containing the interpolated cell data. |
| Output | Output Object | Renderable | A renderable object displaying the output field. |
Properties
| Property | Type | Description |
|---|---|---|
| Separate Cells | Boolean | Forces any cells with shared nodes to separate, preventing any blurring of values between cells. |
| Cell Data Components | Multi-select | Selects which cell data components to convert to nodal data. Options are the cell data components of the input field; includes an option to automatically select all components. |
| Output Cell Data | Choice: Preserve All Cell Data, Remove Converted Cell Data, Remove All Cell Data | Specifies how input cell data is handled in the output. The default is Remove All Cell Data. |
node data to cell data
node data to cell data converts nodal data components to cell data components. Cell data components are associated with cells rather than nodes. Most modules in EVS that deal with analytical or continuum data work with node-based data, while those that deal with geology (lithology) tend to use cell data. node data to cell data converts between the two so nodal data can be used where cell data is needed.
Each cell value can be computed as the average of the cell’s nodal values, which suits continuous data such as concentrations, or as the majority value, which suits categorical data such as material IDs.
Ports
| Direction | Name | Type | Description |
|---|---|---|---|
| Input | Input Field | Field | The field to use for conversion. |
| Output | Output Field | Field | The field containing the mapped data and the converted cell data. |
| Output | Output Object | Renderable | A renderable object to display. |
Properties
| Property | Type | Description |
|---|---|---|
| Allow Run | Boolean | Prevents the module from running when turned off. This allows the user to make multiple changes without the module constantly updating. |
| Execute | Button | Causes the module to run one time even if Allow Run has been turned off. |
| Node Components To Convert | Multi-select | Selects which nodal data components to convert to cell data. Options are the nodal data components of the input field; includes an option to automatically select all components. |
| Output Nodal Data | Choice: Preserve All Node Data, Remove Converted Node Data, Remove All Node Data | Specifies how input nodal data is handled in the output. The default is Remove All Node Data. |
| Conversion Type | Choice: Average Values, Majority Values | The conversion algorithm. Average Values uses the average value of the nodes connected to each cell. Majority Values uses the value that most of the cell’s nodes have in common; if the nodes all have unique values, the smallest value is used. |
shrink cells
shrink cells produces a mesh containing disjoint cells which can be optionally shrunk relative to their geometric centers. It creates duplicate nodes for all cells that share the same node, making them disjoint. When shrinking is on, the module computes new coordinates for the nodes based on the scale factor, which specifies the scale relative to the geometric center of each cell: 100 percent produces non-shrunk cells and 0 percent produces completely collapsed cells (points). This module is useful for viewing the individual cells that make up a mesh.
Ports
| Direction | Name | Type | Description |
|---|---|---|---|
| Input | Input Field | Field | A field to shrink or disjoint. |
| Output | Output Field | Field | A field containing the shrunk and/or disjointed field. |
| Output | Output Object | Renderable | A renderable object displaying the shrunk and/or disjointed field. |
Properties
| Property | Type | Description |
|---|---|---|
| Allow Run | Boolean | Prevents the module from running when turned off, allowing the user to make changes to large data sets without waiting for updates. |
| Execute | Button | If Allow Run is turned off, forces the module to run once with the current settings. |
| Shrink Cells | Boolean | When off, the output mesh contains disjoint cells with the same coordinates as the input mesh. When on, the module computes new coordinates for the nodes based on the Scale Factor. |
| Scale Factor | Double | Adjusts the size of the cells relative to the geometric center of each cell, from 0 to 100 percent (default 70 percent). 100 percent produces non-shrunk cells and 0 produces completely collapsed cells (points). Available when Shrink Cells is on. |
cell centers
cell centers produces a mesh containing a Point cell set, each point of which represents the geometric center of a corresponding cell in the input mesh. The coordinates of each cell center are calculated by averaging the coordinates of all the nodes of the cell. The number of nodes in the output mesh is equal to the number of cells in the input mesh. Cell data in the input mesh becomes node data in the output mesh, with each node value equal to the corresponding cell value. Nodal data is not output directly.
You can use this module to create a position mesh for glyphs at nodes. You may also use this module as the destination field for interpolate data, with the original grid as the data field, to create interpolated nodal values at cell centroids.
Ports
| Direction | Name | Type | Description |
|---|---|---|---|
| Input | Input Field | Field | A field to generate centers from. |
| Output | Output Field | Field | A field containing the cell centers. |
| Output | Output Object | Renderable | A renderable object displaying the cell centers. |
Properties
| Property | Type | Description |
|---|---|---|
| Allow Run | Boolean | Prevents the module from running when turned off, allowing the user to make changes to large data sets without waiting for updates. |
| Execute | Button | If Allow Run is turned off, forces the module to run once with the current settings. |
| Color By | Choice: Node Data, Cell Data, Solid Color | Sets how the color of the output object is determined. |
| Nodal Data Component | Choice | If Color By is set to Node Data, selects which nodal data component sets the data map. Options are the cell data components of the input field, which become nodal data in the output. |
| Vector Component | Integer | If Color By is set to Node Data, uses a single component of vector data to set the data map. A value of -1 uses all components. |
| Use Vector Magnitude | Boolean | If Color By is set to Node Data, uses the magnitude of vector data to set the data map. |
| Object Color | Color | If Color By is set to Solid Color, the color of the output object. |
connectivity assessment
connectivity assessment assigns data to, and subsets, all (or selected) discrete (disconnected) regions of plumes or lithologic materials.
When subsets of models are created, whether based upon analytical data or stratigraphic or lithologic modeling, these subsets often exist as several disjoint pieces. In the case of analytical (e.g., contaminant) plumes, the number and size of regions can strongly depend on the subsetting level. With lithologic models, the number and size of the regions depends on the complexity of the lithologic data and the modeling parameters.
connectivity assessment assigns a new cell data component (the region ID) to these disconnected regions. The pieces are sorted based upon the number of cells in each piece. This is generally well correlated to the volume of that region, but the region with the most cells may not have the greatest volume. The highest cell count region is assigned 0 (zero), and regions with descending cell counts are assigned increasing integer values.
Ports
| Direction | Name | Type | Description |
|---|---|---|---|
| Input | Input Field | Field | A field. |
| Output | Output Field | Field | The main output field containing regions and region ID data. |
| Output | Output Object | Renderable | A renderable object displaying the selected regions. |
Properties
| Property | Type | Description |
|---|---|---|
| Allow Run | Boolean | Controls whether the module will run when applications are loaded or data changes. When on, the module runs when applications are loaded, when the input changes, or when Execute is pushed. When off, the module will not run unless Execute is pressed. |
| Execute | Button | Forces the module to run. If this has been pressed and the application saved, the module will run when the application is loaded. |
Connectivity Settings
| Property | Type | Description |
|---|---|---|
| Merge Cell Sets | Boolean | Merges cell sets such as stratigraphic layers or lithologic materials before assessing connectivity. Generally should be on when dealing with analytical data. |
| Assessment Mode | Choice: Add Region ID Data, Subset By Region ID, Region Closest to Point, Region With Most Cells | Determines the criteria for subsetting regions and/or assigning data. Add Region ID Data does not subset, but assigns region ID cell data based on cell counts. Subset By Region ID isolates the regions listed in Region IDs. Region Closest to Point isolates the region closest to the Point Coordinate. Region With Most Cells outputs only region ID 0. |
| Point Coordinate | Coordinate 3D | The X, Y, Z coordinate used by the Region Closest to Point mode. |
| Region IDs | Integer List | The IDs of the regions to output when Assessment Mode is set to Subset By Region ID. |