Defining a Line Section
Creating a line section derived part is equivalent to taking a plane section through a plane section. The difference between these two is that you can assign a finite length to a line section.
Specifically, a line intersects several cells where each cell-line intersection creates a segment from two cell-face intersections (or more for non-concave cells). The only difference between this derived part and the intersecting plane sections is an option to create a line segment of a finite length through the input regions.
For example, in a battery simulation, you can use a line section in an averaged concentration plot across the electrode thickness. By this method you can review the salt concentration across electrodes in specific relevant locations (positive and negative electrode parts).
The line section can be used for anything accepting a line or point (such as a plot, scene, monitor, report, or table).
- Follow the general procedure outlined in the section, Defining Derived Parts General Workflow. Choose the menu option, .
- Specify the input parts and display option as described in the section, Defining Derived Parts General Workflow.
-
Complete the line section definition by specifying the
following properties:
- Input Mode: Select a mode for specifying the points of the line, Point to point or Point with offset. In Point to point, you specify the coordinates of the start and end point. In Point with offset, the first entry is the starting point and the second entry is a non-unit vector that defines the direction from the starting point.
- Infinite Line: Decide whether to have the line cut through the entire domain, or be limited to the specified points.
For more information on the available properties, refer to the section Implicit Section Properties.This derived part appears as a line that contains data from input parts.
In the scene, the line section appears as a 1D line if the maximum input part dimension is 3D. All 2D parts are ignored, so the line section produces 0D points if the maximum input part dimension is 2D. For example, a region and its boundaries only produce a 1D line, while region boundaries by themselves produce points where the line crosses the boundaries.
The line section data can be viewed in an XY plot.