Skip to main content

DPF Mechanical 2026 R1

meshes_provider class

Last update: 18.06.2026

Namespace: Ans.DataProcessing.operators.mesh

Summary

Reads meshes from result files. Meshes can be spatially or temporally varying.

The operator attempts to read mesh data from the provided data sources. When the permissive configuration is enabled, the operator silently skips result files that cannot be opened or have unsupported namespaces. If permissive is disabled (default), errors are thrown for invalid files.

available inputs: time_scoping (Scoping, IList int, Int32, System.Collections.IEnumerable) (optional), streams_container (StreamsContainer) (optional), data_sources (DataSources), read_cyclic (Int32) (optional), region_scoping (Scoping, Int32, IList int, System.Collections.IEnumerable) (optional)

available outputs: meshes (MeshesContainer)

Example

op = meshes_provider()

op = meshes_provider(time_scoping=my_time_scoping,streams_container=my_streams_container,data_sources=my_data_sources)

Class Information

Property Value
Namespace Ans.DataProcessing.operators.mesh
Assembly Ans_Dpf_Native_dll_cs
Base Class Ans.DataProcessing.internal_objects.BaseOperator

Inputs

time_scoping

Time/frequency set IDs required in output.

Type: LinkableInput

streams_container

result file container allowed to be kept open to cache data

Type: LinkableInput

data_sources

Type: LinkableInput

read_cyclic

if 1, cyclic symmetry is ignored. If 2, cyclic expansion is done (default is 1).

Type: LinkableInput

region_scoping

region id (integer) or vector of region ids (vector) or region scoping (scoping) of the model (region corresponds to zone for Fluid results or part for LSDyna results).

Type: LinkableInput

Outputs

meshes

Type: LinkableOutput

Constructors

Constructor

meshes_provider()

Constructor

meshes_provider(time_scoping, streams_container, data_sources, config)

Parameters:

  • time_scoping (object)
  • streams_container (object)
  • data_sources (object)
  • config (OperatorConfig)

Constructor

meshes_provider(config)

Parameters:

  • config (OperatorConfig)

Methods

Properties

inputs

Type: InputSpec

# Get or set the property
value = obj.inputs
obj.inputs = new_value

outputs

Type: OutputSpec

# Get or set the property
value = obj.outputs
obj.outputs = new_value

defaultConfig

Type: Config

# Get the property (read-only)
value = obj.defaultConfig

Connect with Ansys