OOF2: The Manual

Name

Element Segments (ElementSegmentSampleSet) — Evaluate data on line segments within Elements.

Synopsis

ElementSegmentSampleSet(n_points,show_segment,show_distance,show_fraction,show_x,show_y)

Details

  • Base class: SampleSet
  • Parameters:

    n_points
    Number of sample points per element Type: An integer in the range [2, 25].
    show_segment
    Include or exclude this data from the output. Type: Boolean, 0 (false) or 1 (true).
    show_distance
    Include or exclude this data from the output. Type: Boolean, 0 (false) or 1 (true).
    show_fraction
    Include or exclude this data from the output. Type: Boolean, 0 (false) or 1 (true).
    show_x
    Include or exclude this data from the output. Type: Boolean, 0 (false) or 1 (true).
    show_y
    Include or exclude this data from the output. Type: Boolean, 0 (false) or 1 (true).

Description

SampleSet objects are part of the post-solution analysis framework, in which useful data is extracted from the Mesh. The SampleSet determines how data is extracted from the sampling Domain. When sampling is set to ElementSegmentSampleSet, data is extracted from evenly spaced points within a linear Domain on an element by element basis. This guarantees that some sampling points lie within each Element crossed by the Domain.

The ElementSegmentSampleSet belongs to the bent line SampleSet category.

n_points determines the number of points along the line within each Element. The point spacing within each Element is determined by the length of the intersection of the line and the Element.

The show_distance parameter governs whether or not the distance of each point from the beginning of the cross section will be displayed along with the data. show_fraction is similar, but the distance displayed will be divided by the total length of the line.

The show_x and show_y parameters govern whether the x and y positions of the points will be displayed along with the data.