About this Block
What it does: Inputs any Scalar Field and uses a Gaussian Blur function to smooth values in the field. Common uses:- Smoothening fields from topology optimization results
- Blurring fields for textures
- Requires a field discretization, which uses the Grid Size input as a modifier. Grid Size represents the spacing between each sample point. Smaller Grid Size values return a Scalar Field that captures finer detail but takes longer to compute.
- The number of iterations contributes to both the overall smoothness and computation time.
- The iterations control how many times it applies the Gaussian smoothing algorithm to the input Scalar Field
Example File
Download Example: Smoothen Field
Smoothen a field with a Gaussian image kernel.
Inputs
| Name | Type | Description |
|---|---|---|
| Scalar field | Scalar Field | Field to smooth. |
| Grid size | Scalar | Size of the sampled grid spacing. |
| Smooth iterations | Integer | Number of smoothing iterations. |
| Interpolation type | Interpolation Enum | Interpolation type. |
| Domain | Bounding Box | Optional bounding box to specify the region of the field to smoothen. If no domain is specified, it will attempt to smoothen with the input field’s bounding box. Note that if the field’s bounding box is too large, the algorithm may take a long time to run. |
| Extrapolation | Blending Side Enum | Specifies the smoothing region when a Domain is provided. Select inside to fully constrain the smoothing to within the Domain, and select Outside to extend the smoothing outside of the Domain input. |
Outputs
| Type |
|---|
| Scalar Field |

