Module: Surface Integrals ()

Description:

This module performs calculation of integrals or sums on 3d unstructured grid boundaries, on 2d unstructured grids, on 2d unstructured surfaces and on triangulated Surfaces. The computation might involve unstructured scalar or vector fields.

The results of the computation are written in a spreadsheet. The spreadsheet displays the name of the data, the name of the surface(s) on which the integral is computed, the nature of the integral computed and its numerical value. If the data is transient, the time step is displayed, and if a physical time is associated with the time step, it is displayed too. Depending on the option chosen, information about surfaces may be displayed.

Press the Apply button to start the computation.

Connections:

Data [required]
An Unstructured Model or an unstructured scalar or vector Unstructured Model Field.

Density [optional]
An unstructured Unstructured Model Field scalar field containing density values.
This port is only displayed when density is required for the selected computation, for example mass flow rate.
If the data is an unstructured model, tries to retrieve a density connected to this model. If the data is an unstructured scalar or vector field, tries to retrieve a density connected to the same model as the data field. If one and only one density field is found, it is suggested by default.

Velocity [optional]
A 3D unstructured Unstructured Model Field vector field containing velocity vectors.
This port is only displayed when velocity is required for the selected computation, for example volumetric flow rate.
If the data is an unstructured model, tries to retrieve a velocity connected to this model. If the data is an unstructured scalar or vector field, tries to retrieve a velocity connected to the same model as the data field. If one and only one velocity field is found, it is suggested by default.

Ports:

Surface integral

This port is displayed when the data is an unstructured model. The following quantities can be computed:

Field integral

This port is displayed when the data is an unstructured scalar or vector field (denoted by here). The following quantities can be computed:

Notes:

Spreadsheet

The computation results are written in the tables of a spreadsheet. Choose append table to append the current table, or new table to open a new table.

Table

If the box is checked, a new table will be opened everytime the integral type changes. The new tables will be named after the integral names.

Info

Check this box to display in the tables the following information:

Information are displayed if and only if all surfaces selected are of the same type and this type is one of the three mentioned before.
This port is disabled in global computation mode (see next port description).

Compute

This port is displayed when the data is a 3D unstructured model or field. Choose globally to get one result corresponding to the global surface composed of all the boundaries and surfaces selected in Boundaries and Surfaces ports.
Choose per surface to compute the result on each selected boundary and surface.

Boundaries

This port is displayed when the data is a 3D unstructured model or field.
Select the grid boundaries where the computation should be done.
A boundary has a name and an Id. Both are displayed in the port. In the resulting table, a boundary of Id i will be displayed under the name Bnd i.

Boundary types

This port is displayed when the data is a 3D unstructured model or field at the same time as the Boundaries port.
Select the type of boundaries where the computation should be done. This effectively selects/deselects all boundaries of specific type in the Boundaries port.

Surfaces

This port is displayed when the data is a 3D unstructured field. All the unstructured surfaces and display modules that compute a surface are listed in this port. If no such surface or module exist, then the port is hidden. Notice the Parametric Surface macro button in the upper side of the Project View: use this module to create arbitrary parametric surfaces in 2D and 3D.
Select the surfaces where the computation should be done. The data will be probed on the selected surface(s) cell centers in order to compute the chosen integrals.

Tip: this port can be convenient for example to compute integrals on several parallel cuts of a 3d model. Create a Cross Section, connect it to an Animate Ports module. Select the Cross Section in the Surfaces port, set the computation mode of the Surface Integrals module to auto-refresh. Launch the animation: the current table is appended at every step of the animation with the value of the integral on each successive cut.