Skip to main content
Version: 0.0.0

Description

Read/compute element nodal component elastic strains 1st principal component by calling the readers defined by the datasources and computing its eigen values. This operation is independent of the coordinate system unless averaging across elements is requested, in which case a rotation to the global coordinate system is performed. The off-diagonal strains are first converted from Voigt notation to the standard strain values.

Supported file types

This operator supports the following keys (file formats) for each listed namespace (plugin/solver):
  • hdf5: h5dpf

Inputs

This table lists the input pins for this operator. Input pins define the data that the operator requires to perform its operation. Some inputs are required, while others are optional and provide additional configuration. Each parameter is detailed in the sections that follow the table.

time_scoping (Pin 0)

time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on “TimeFreq_steps”. Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1.

mesh_scoping (Pin 1)

nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping’s location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains

fields_container (Pin 2)

FieldsContainer already allocated modified inplace

streams_container (Pin 3)

result file container allowed to be kept open to cache data

data_sources (Pin 4)

result file path container, used if no streams are set

bool_rotate_to_global (Pin 5)

  • Required: No
  • Expected type(s): bool
This pin is removed for versions >25.2. An error is raised if connected.

mesh (Pin 7)

prevents from reading the mesh in the result files

requested_location (Pin 9)

  • Required: No
  • Expected type(s): string

read_cyclic (Pin 14)

  • Required: No
  • Expected type(s): enum dataProcessing::ECyclicReading, int32
if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)

read_beams (Pin 22)

  • Required: No
  • Expected type(s): bool
elemental nodal beam results are read if this pin is set to true (default is false)

Outputs

This table lists the output pins for this operator. Output pins provide the results of the operator’s computation and can be connected to inputs of other operators or retrieved for further processing. Each output is detailed in the sections that follow the table.

fields_container (Pin 0)

Configurations

This operator supports configuration options that modify its behavior.

mutex

  • Expected type(s): bool
  • Default value: false
If this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads.

num_threads

  • Expected type(s): int32
  • Default value: 0
Number of threads to use to run in parallel

run_in_parallel

  • Expected type(s): bool
  • Default value: true
Loops are allowed to run in parallel if the value of this config is set to true.

Scripting

This operator can be accessed through scripting interfaces using these identifiers. Category: result Plugin: core Scripting name: elastic_strain_principal_1 Full name: result.elastic_strain_principal_1 Internal name: EPEL1 License: None

Examples

These examples demonstrate how to use this operator in different programming environments. Each example shows how to instantiate the operator, connect the required inputs, and retrieve the output.

Changelog

  • Version 0.0.0: Initial release.