Module: Add Margins


Extends field with defined margins

module_box

input port type description data acceptors
inField VNRegularField [Large] Regular Field with affine geometry
output port type description data schemas
outField VNRegularField Regular Field
outObj VNGeometryObject

Description

The add margins module extends the regular input field by adding margins.


Input data

The input field is regular.


Output data

The output field is regular. There is a geometric object of the field.


Computation panel

The user has the possibility to extend the input field in three coordinate directions i, j and k below minimum and above maximum by changing the appropriate margins value in the table.

In the components list the user chooses components for module output.
The field can be extended by zero, fixed, periodic or reflected values dependent on the extension option. In the case of reflected values the user can choose the reflect vectors option, which causes vectors to be reflected.

If Auto is switched on new geometric data is generated immediately. By default this option is switched off, and the user should press the Run button. A yellow colored button indicates that parameters have changed.


Presentation panel

Presentation tab contents are described in the common interfaces section unter the Presentation Panel entry.


Example

Choose the test field module from test objects library, add margins module from data filters library and the stationary flow visualization module from the 3D field mappers library and connect them.
In the test field module choose 2D , resolution=50 and Gaussians swirls component. The size of the generated field is 840x62. In the add margins module UI choose 40 for the max i-margin and reflected extension. In this way the initial field is doubled. In stationary flow visualization choose a suitable preferred subset size.

See the difference between two possibilities of vector reflection: if reflect vectors is switched on, the two portions of data are symmetric, if the option ist switched off, streamlines are not symmetric.