From 52820a5d12d6165f7b0551bdbd96400e3c993d06 Mon Sep 17 00:00:00 2001
From: PProfizi <100710998+PProfizi@users.noreply.github.com>
Date: Mon, 10 Feb 2025 10:13:24 +0000
Subject: [PATCH] update generated code
---
doc/source/_static/dpf_operators.html | 16 +-
.../dpf/core/operators/logic/__init__.py | 6 +
.../core/operators/logic/identical_anys.py | 413 ++++++++++
.../dpf/core/operators/logic/identical_fc.py | 4 +-
.../core/operators/logic/identical_fields.py | 45 +-
.../identical_generic_data_containers.py | 432 ++++++++++
.../dpf/core/operators/logic/identical_mc.py | 397 +++++++++
.../core/operators/logic/identical_meshes.py | 23 +-
.../dpf/core/operators/logic/identical_pfc.py | 258 ++++++
.../dpf/core/operators/logic/identical_sc.py | 254 ++++++
.../operators/logic/identical_scopings.py | 244 ++++++
.../core/operators/logic/included_fields.py | 45 +-
.../dpf/core/operators/result/__init__.py | 1 +
.../dpf/core/operators/result/acceleration.py | 143 +++-
.../operators/result/accu_eqv_creep_strain.py | 52 --
.../result/accu_eqv_plastic_strain.py | 52 --
.../result/artificial_hourglass_energy.py | 52 --
.../dpf/core/operators/result/co_energy.py | 50 --
.../contact_fluid_penetration_pressure.py | 147 +++-
.../result/contact_friction_stress.py | 145 +++-
.../operators/result/contact_gap_distance.py | 145 +++-
.../operators/result/contact_penetration.py | 145 +++-
.../core/operators/result/contact_pressure.py | 145 +++-
.../result/contact_sliding_distance.py | 145 +++-
.../core/operators/result/contact_status.py | 145 +++-
.../result/contact_surface_heat_flux.py | 145 +++-
.../operators/result/contact_total_stress.py | 145 +++-
.../dpf/core/operators/result/coordinates.py | 50 --
.../result/creep_strain_energy_density.py | 52 --
.../core/operators/result/current_density.py | 50 --
src/ansys/dpf/core/operators/result/custom.py | 50 --
.../result/cyclic_expanded_acceleration.py | 10 +-
.../result/cyclic_expanded_displacement.py | 10 +-
.../result/cyclic_expanded_el_strain.py | 10 +-
.../operators/result/cyclic_expanded_enf.py | 10 +-
.../result/cyclic_expanded_heat_flux.py | 10 +-
.../result/cyclic_expanded_stress.py | 10 +-
.../result/cyclic_expanded_temperature.py | 10 +-
.../result/cyclic_expanded_velocity.py | 10 +-
.../operators/result/cyclic_kinetic_energy.py | 8 +-
.../dpf/core/operators/result/cyclic_nmisc.py | 8 +-
.../operators/result/cyclic_strain_energy.py | 8 +-
.../core/operators/result/cyclic_volume.py | 8 +-
.../dpf/core/operators/result/displacement.py | 143 +++-
.../core/operators/result/elastic_strain.py | 145 +++-
.../result/elastic_strain_energy_density.py | 52 --
.../operators/result/elastic_strain_eqv.py | 50 --
.../core/operators/result/electric_field.py | 50 --
.../operators/result/electric_flux_density.py | 52 --
.../operators/result/electric_potential.py | 50 --
.../operators/result/element_centroids.py | 50 --
.../operators/result/element_nodal_forces.py | 145 +++-
.../operators/result/element_orientations.py | 52 --
.../result/elemental_heat_generation.py | 52 --
.../core/operators/result/elemental_mass.py | 50 --
.../core/operators/result/elemental_volume.py | 145 +++-
.../core/operators/result/equivalent_mass.py | 50 --
.../operators/result/eqv_stress_parameter.py | 52 --
.../operators/result/gasket_deformation.py | 50 --
.../result/gasket_inelastic_closure.py | 52 --
.../core/operators/result/gasket_stress.py | 50 --
.../result/gasket_thermal_closure.py | 52 --
.../dpf/core/operators/result/heat_flux.py | 143 +++-
.../operators/result/hydrostatic_pressure.py | 52 --
.../operators/result/incremental_energy.py | 50 --
.../operators/result/initial_coordinates.py | 50 --
.../operators/result/joint_force_reaction.py | 52 --
.../operators/result/joint_moment_reaction.py | 52 --
.../result/joint_relative_acceleration.py | 52 --
.../joint_relative_angular_acceleration.py | 52 --
.../result/joint_relative_angular_velocity.py | 52 --
.../result/joint_relative_displacement.py | 52 --
.../result/joint_relative_rotation.py | 52 --
.../result/joint_relative_velocity.py | 52 --
.../core/operators/result/kinetic_energy.py | 145 +++-
.../core/operators/result/magnetic_field.py | 50 --
.../operators/result/magnetic_flux_density.py | 52 --
.../result/magnetic_scalar_potential.py | 52 --
.../result/magnetic_vector_potential.py | 52 --
.../dpf/core/operators/result/modal_basis.py | 50 --
src/ansys/dpf/core/operators/result/nmisc.py | 141 +++-
.../dpf/core/operators/result/nodal_force.py | 50 --
.../dpf/core/operators/result/nodal_moment.py | 50 --
.../operators/result/normal_contact_force.py | 52 --
.../operators/result/normal_contact_moment.py | 52 --
.../result/num_surface_status_changes.py | 145 +++-
.../result/plastic_state_variable.py | 52 --
.../core/operators/result/plastic_strain.py | 50 --
.../result/plastic_strain_energy_density.py | 52 --
.../operators/result/plastic_strain_eqv.py | 50 --
.../dpf/core/operators/result/pressure.py | 50 --
.../core/operators/result/raw_displacement.py | 50 --
.../operators/result/raw_reaction_force.py | 50 --
.../core/operators/result/reaction_force.py | 50 --
src/ansys/dpf/core/operators/result/smisc.py | 141 +++-
.../core/operators/result/state_variable.py | 754 ++++++++++++++++++
.../result/stiffness_matrix_energy.py | 145 +++-
src/ansys/dpf/core/operators/result/stress.py | 141 +++-
.../dpf/core/operators/result/stress_ratio.py | 50 --
.../result/structural_temperature.py | 52 --
.../core/operators/result/swelling_strains.py | 50 --
.../result/tangential_contact_force.py | 52 --
.../result/tangential_contact_moment.py | 52 --
.../dpf/core/operators/result/temperature.py | 143 +++-
.../core/operators/result/temperature_grad.py | 50 --
.../result/thermal_dissipation_energy.py | 52 --
.../core/operators/result/thermal_strain.py | 50 --
.../operators/result/thermal_strains_eqv.py | 50 --
.../dpf/core/operators/result/thickness.py | 50 --
.../operators/result/total_contact_force.py | 50 --
.../operators/result/total_contact_moment.py | 52 --
.../dpf/core/operators/result/total_strain.py | 50 --
.../dpf/core/operators/result/velocity.py | 141 +++-
.../hdf5dpf_generate_result_file.py | 46 ++
src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll | Bin 12848640 -> 12852736 bytes
src/ansys/dpf/gatebin/DPFClientAPI.dll | Bin 900096 -> 900096 bytes
.../dpf/gatebin/libAns.Dpf.GrpcClient.so | Bin 32662224 -> 32663656 bytes
src/ansys/dpf/gatebin/libDPFClientAPI.so | Bin 2244752 -> 2244752 bytes
118 files changed, 6123 insertions(+), 3504 deletions(-)
create mode 100644 src/ansys/dpf/core/operators/logic/identical_anys.py
create mode 100644 src/ansys/dpf/core/operators/logic/identical_generic_data_containers.py
create mode 100644 src/ansys/dpf/core/operators/logic/identical_mc.py
create mode 100644 src/ansys/dpf/core/operators/logic/identical_pfc.py
create mode 100644 src/ansys/dpf/core/operators/logic/identical_sc.py
create mode 100644 src/ansys/dpf/core/operators/logic/identical_scopings.py
create mode 100644 src/ansys/dpf/core/operators/result/state_variable.py
diff --git a/doc/source/_static/dpf_operators.html b/doc/source/_static/dpf_operators.html
index f1a6c0abf9..a5ab8327b5 100644
--- a/doc/source/_static/dpf_operators.html
+++ b/doc/source/_static/dpf_operators.html
@@ -2070,7 +2070,7 @@
Configurating operators
0 0 0
0 0 0
0 0 0
-">Example of workflows and their scripts
math: imaginary part
Inputs
Outputs
Configurations
Scripting
math: amplitude (fields container)
Inputs
Outputs
Configurations
Scripting
metadata: mesh support provider
Inputs
Outputs
Configurations
Scripting
result: beam axial stress (LSDyna)
Inputs
Outputs
Configurations
Scripting
math: unit convert (fields container)
Inputs
Outputs
Configurations
Scripting
result: element orientations X
Inputs
Outputs
Configurations
Scripting
math: norm (fields container)
Inputs
Outputs
Configurations
Scripting
mapping: prepare mapping workflow
Inputs
Outputs
Configurations
Scripting
math: sqrt (fields container)
Inputs
Outputs
Configurations
Scripting
math: conjugate
Inputs
Outputs
Configurations
Scripting
utility: html doc
Inputs
Outputs
Configurations
Scripting
math: real part
Inputs
Outputs
Configurations
Scripting
result: current density
Inputs
Outputs
Configurations
Scripting
math: multiply (complex fields)
Inputs
Outputs
Configurations
Scripting
utility: merge result infos
Inputs
Outputs
Configurations
Scripting
result: cyclic kinetic energy
Inputs
Outputs
Configurations
Scripting
result: global total mass (LSDyna)
Inputs
Outputs
Configurations
Scripting
math: unit convert
Inputs
Outputs
Configurations
Scripting
math: norm (field)
Inputs
Outputs
Configurations
Scripting
utility: make label space
Inputs
Outputs
Configurations
Scripting
math: sqrt (field)
Inputs
Outputs
Configurations
Scripting
result: y plus (y+)
Inputs
Outputs
Configurations
Scripting
math: accumulate min over label
Inputs
Outputs
Configurations
Scripting
math: +
Inputs
Outputs
Configurations
Scripting
server: grpc shutdown server
Inputs
Outputs
Configurations
Scripting
result: magnetic scalar potential
Inputs
Outputs
Configurations
Scripting
min_max: min max over time
Inputs
Outputs
Configurations
Scripting
math: time freq interpolation
Inputs
Outputs
Configurations
Scripting
math: + (fields container)
Inputs
Outputs
Configurations
Scripting
math: sin (fields container)
Inputs
Outputs
Configurations
Scripting
math: + constant (field)
Inputs
Outputs
Configurations
Scripting
math: / (component-wise field)
Inputs
Outputs
Configurations
Scripting
math: + constant (fields container)
Inputs
Outputs
Configurations
Scripting
math: cross product (fields container)
Inputs
Outputs
Configurations
Scripting
result: cyclic strain energy
Inputs
Outputs
Configurations
Scripting
invariant: scalar invariants (fields container)
Inputs
Outputs
Configurations
Scripting
mapping: find reduced coordinates
Inputs
Outputs
Configurations
Scripting
scoping: rescope property field
Inputs
Outputs
Configurations
Scripting
result: plastic strain principal 1
Inputs
Outputs
Configurations
Scripting
math: -
Inputs
Outputs
Configurations
Scripting
math: total sum
Inputs
Outputs
Configurations
Scripting
math: - (fields container)
Inputs
Outputs
Configurations
Scripting
scoping: intersect scopings
Inputs
Outputs
Configurations
Scripting
math: ^ (field)
Inputs
Outputs
Configurations
Scripting
scoping: elements in mesh
Inputs
Outputs
Configurations
Scripting
math: scale (field)
Inputs
Outputs
Configurations
Scripting
result: enthalpy
Inputs
Outputs
Configurations
Scripting
math: ^ (fields container)
Inputs
Outputs
Configurations
Scripting
result: global eroded internal energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
math: scale fields container
Inputs
Outputs
Configurations
Scripting
math: sweeping phase
Inputs
Outputs
Configurations
Scripting
math: centroid
Inputs
Outputs
Configurations
Scripting
math: sweeping phase (fields container)
Inputs
Outputs
Configurations
Scripting
filter: signed high pass (field)
Inputs
Outputs
Configurations
Scripting
math: centroid (fields container)
Inputs
Outputs
Configurations
Scripting
math: ^2 (field)
Inputs
Outputs
Configurations
Scripting
utility: remove unnecessary labels
Inputs
Outputs
Configurations
Scripting
result: velocity Z
Inputs
Outputs
Configurations
Scripting
result: reaction force Z
Inputs
Outputs
Configurations
Scripting
math: sin (field)
Inputs
Outputs
Configurations
Scripting
math: cos (field)
Inputs
Outputs
Configurations
Scripting
math: cos (fields container)
Inputs
Outputs
Configurations
Scripting
logic: ascending sort
Inputs
Outputs
Configurations
Scripting
result: initial coordinates (LSDyna)
Inputs
Outputs
Configurations
Scripting
utility: convert to fields container
Inputs
Outputs
Configurations
Scripting
math: linear combination
Inputs
Outputs
Configurations
Scripting
math: ^2 (fields container)
Inputs
Outputs
Configurations
Scripting
result: mean static pressure
Inputs
Outputs
Configurations
Scripting
math: exp (field)
Inputs
Outputs
Configurations
Scripting
math: exp (fields container)
Inputs
Outputs
Configurations
Scripting
math: * (component-wise field)
Inputs
Outputs
Configurations
Scripting
result: stress max_shear
Inputs
Outputs
Configurations
Scripting
result: euler nodes
Inputs
Outputs
Configurations
Scripting
math: * (component-wise field) (fields container)
Inputs
Outputs
Configurations
Scripting
result: beam TR shear stress (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: num surface status changes
Inputs
Outputs
Configurations
Scripting
math: ln (field)
Inputs
Outputs
Configurations
Scripting
mesh: mesh to pyvista
Inputs
Outputs
Configurations
Scripting
math: ln (fields container)
Inputs
Outputs
Configurations
Scripting
invariant: scalar invariants (field)
Inputs
Outputs
Configurations
Scripting
math: cross product
Inputs
Outputs
Configurations
Scripting
filter: high pass (timefreq)
Inputs
Outputs
Configurations
Scripting
math: / (component-wise fields container)
Inputs
Outputs
Configurations
Scripting
result: global sliding interface energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
math: kronecker product
Inputs
Outputs
Configurations
Scripting
math: modulus (fields container)
Inputs
Outputs
Configurations
Scripting
result: joint relative angular velocity
Inputs
Outputs
Configurations
Scripting
math: dot (complex fields)
Inputs
Outputs
Configurations
Scripting
result: gasket stress XZ
Inputs
Outputs
Configurations
Scripting
math: / (complex fields)
Inputs
Outputs
Configurations
Scripting
utility: unitary field
Inputs
Outputs
Configurations
Scripting
utility: server path
Inputs
Outputs
Configurations
Scripting
result: beam axial force (LSDyna)
Inputs
Outputs
Configurations
Scripting
math: derivate (complex fields)
Inputs
Outputs
Configurations
Scripting
math: polar to complex fields
Inputs
Outputs
Configurations
Scripting
utility: merge data tree
Inputs
Outputs
Configurations
Scripting
math: dot (fields container)
Inputs
Outputs
Configurations
Scripting
result: nodal moment
Inputs
Outputs
Configurations
Scripting
math: phase (field)
Inputs
Outputs
Configurations
Scripting
math: phase (fields container)
Inputs
Outputs
Configurations
Scripting
math: modulus (field)
Inputs
Outputs
Configurations
Scripting
result: elemental mass
Inputs
Outputs
Configurations
Scripting
result: heat flux
Inputs
Outputs
Configurations
Scripting
math: total sum (fields container)
Inputs
Outputs
Configurations
Scripting
result: co-energy
Inputs
Outputs
Configurations
Scripting
math: dot
Inputs
Outputs
Configurations
Scripting
math: outer product
Inputs
Outputs
Configurations
Scripting
math: overall dot
Inputs
Outputs
Configurations
Scripting
math: relative error
Inputs
Outputs
Configurations
Scripting
result: velocity Y
Inputs
Outputs
Configurations
Scripting
result: reaction force Y
Inputs
Outputs
Configurations
Scripting
result: global velocity (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: superficial velocity
Inputs
Outputs
Configurations
Scripting
math: absolute value by component (field)
Inputs
Outputs
Configurations
Scripting
result: incremental energy
Inputs
Outputs
Configurations
Scripting
result: thermal strain
Inputs
Outputs
Configurations
Scripting
result: stiffness matrix energy
Inputs
Outputs
Configurations
Scripting
math: absolute value by component (fields container)
Inputs
Outputs
Configurations
Scripting
metadata: element types provider
Inputs
Outputs
Configurations
Scripting
result: total temperature
Inputs
Outputs
Configurations
Scripting
result: cyclic equivalent mass
Inputs
Outputs
Configurations
Scripting
result: acceleration Y
Inputs
Outputs
Configurations
Scripting
utility: delegate to operator
Inputs
Outputs
Configurations
Scripting
logic: component selector (fields container)
Inputs
Outputs
Configurations
Scripting
logic: component selector (field)
Inputs
Outputs
Configurations
Scripting
scoping: on property
Inputs
Outputs
Configurations
Scripting
result: stress intensity
Inputs
Outputs
Configurations
Scripting
logic: same property fields?
Inputs
Outputs
Configurations
Scripting
logic: elementary data selector (fields container)
Inputs
Outputs
Configurations
Scripting
utility: convert to scoping
Inputs
Outputs
Configurations
Scripting
logic: elementary data selector (field)
Inputs
Outputs
Configurations
Scripting
utility: change location
Inputs
Outputs
Configurations
Scripting
mesh: node coordinates
Inputs
Outputs
Configurations
Scripting
mesh: stl export
Inputs
Outputs
Configurations
Scripting
utility: bind support
Inputs
Outputs
Configurations
Scripting
utility: convert to meshes container
Inputs
Outputs
Configurations
Scripting
result: beam torsional moment (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: equivalent stress parameter
Inputs
Outputs
Configurations
Scripting
utility: convert to field
Inputs
Outputs
Configurations
Scripting
result: beam axial total strain (LSDyna)
Inputs
Outputs
Configurations
Scripting
utility: set property
Inputs
Outputs
Configurations
Scripting
result: electric flux density Y
Inputs
Outputs
Configurations
Scripting
utility: forward field
Inputs
Outputs
Configurations
Scripting
utility: forward fields container
Inputs
Outputs
Configurations
Scripting
result: electric flux density
Inputs
Outputs
Configurations
Scripting
geo: integrate over elements
Inputs
Outputs
Configurations
Scripting
result: plastic strain principal 2
Inputs
Outputs
Configurations
Scripting
utility: forward meshes container
Inputs
Outputs
Configurations
Scripting
result: compute total strain X
Example of workflows and their scripts
math: imaginary part
Inputs
Outputs
Configurations
Scripting
math: amplitude (fields container)
Inputs
Outputs
Configurations
Scripting
metadata: mesh support provider
Inputs
Outputs
Configurations
Scripting
result: beam axial stress (LSDyna)
Inputs
Outputs
Configurations
Scripting
math: unit convert (fields container)
Inputs
Outputs
Configurations
Scripting
result: element orientations X
Inputs
Outputs
Configurations
Scripting
math: norm (fields container)
Inputs
Outputs
Configurations
Scripting
mapping: prepare mapping workflow
Inputs
Outputs
Configurations
Scripting
math: sqrt (fields container)
Inputs
Outputs
Configurations
Scripting
math: conjugate
Inputs
Outputs
Configurations
Scripting
utility: html doc
Inputs
Outputs
Configurations
Scripting
math: real part
Inputs
Outputs
Configurations
Scripting
result: current density
Inputs
Outputs
Configurations
Scripting
logic: same property fields container?
Inputs
Outputs
Configurations
Scripting
math: multiply (complex fields)
Inputs
Outputs
Configurations
Scripting
utility: merge result infos
Inputs
Outputs
Configurations
Scripting
result: cyclic kinetic energy
Inputs
Outputs
Configurations
Scripting
result: global total mass (LSDyna)
Inputs
Outputs
Configurations
Scripting
math: unit convert
Inputs
Outputs
Configurations
Scripting
math: norm (field)
Inputs
Outputs
Configurations
Scripting
utility: make label space
Inputs
Outputs
Configurations
Scripting
math: sqrt (field)
Inputs
Outputs
Configurations
Scripting
result: y plus (y+)
Inputs
Outputs
Configurations
Scripting
math: accumulate min over label
Inputs
Outputs
Configurations
Scripting
math: +
Inputs
Outputs
Configurations
Scripting
server: grpc shutdown server
Inputs
Outputs
Configurations
Scripting
result: magnetic scalar potential
Inputs
Outputs
Configurations
Scripting
min_max: min max over time
Inputs
Outputs
Configurations
Scripting
math: time freq interpolation
Inputs
Outputs
Configurations
Scripting
math: + (fields container)
Inputs
Outputs
Configurations
Scripting
math: sin (fields container)
Inputs
Outputs
Configurations
Scripting
math: + constant (field)
Inputs
Outputs
Configurations
Scripting
math: / (component-wise field)
Inputs
Outputs
Configurations
Scripting
math: + constant (fields container)
Inputs
Outputs
Configurations
Scripting
math: cross product (fields container)
Inputs
Outputs
Configurations
Scripting
result: cyclic strain energy
Inputs
Outputs
Configurations
Scripting
invariant: scalar invariants (fields container)
Inputs
Outputs
Configurations
Scripting
mapping: find reduced coordinates
Inputs
Outputs
Configurations
Scripting
scoping: rescope property field
Inputs
Outputs
Configurations
Scripting
result: plastic strain principal 1
Inputs
Outputs
Configurations
Scripting
math: -
Inputs
Outputs
Configurations
Scripting
math: total sum
Inputs
Outputs
Configurations
Scripting
math: - (fields container)
Inputs
Outputs
Configurations
Scripting
scoping: intersect scopings
Inputs
Outputs
Configurations
Scripting
math: ^ (field)
Inputs
Outputs
Configurations
Scripting
scoping: elements in mesh
Inputs
Outputs
Configurations
Scripting
math: scale (field)
Inputs
Outputs
Configurations
Scripting
result: enthalpy
Inputs
Outputs
Configurations
Scripting
math: ^ (fields container)
Inputs
Outputs
Configurations
Scripting
result: global eroded internal energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
math: scale fields container
Inputs
Outputs
Configurations
Scripting
math: sweeping phase
Inputs
Outputs
Configurations
Scripting
math: centroid
Inputs
Outputs
Configurations
Scripting
math: sweeping phase (fields container)
Inputs
Outputs
Configurations
Scripting
filter: signed high pass (field)
Inputs
Outputs
Configurations
Scripting
math: centroid (fields container)
Inputs
Outputs
Configurations
Scripting
math: ^2 (field)
Inputs
Outputs
Configurations
Scripting
utility: remove unnecessary labels
Inputs
Outputs
Configurations
Scripting
result: velocity Z
Inputs
Outputs
Configurations
Scripting
result: reaction force Z
Inputs
Outputs
Configurations
Scripting
math: sin (field)
Inputs
Outputs
Configurations
Scripting
math: cos (field)
Inputs
Outputs
Configurations
Scripting
math: cos (fields container)
Inputs
Outputs
Configurations
Scripting
logic: ascending sort
Inputs
Outputs
Configurations
Scripting
result: initial coordinates (LSDyna)
Inputs
Outputs
Configurations
Scripting
utility: convert to fields container
Inputs
Outputs
Configurations
Scripting
math: linear combination
Inputs
Outputs
Configurations
Scripting
math: ^2 (fields container)
Inputs
Outputs
Configurations
Scripting
result: mean static pressure
Inputs
Outputs
Configurations
Scripting
math: exp (field)
Inputs
Outputs
Configurations
Scripting
math: exp (fields container)
Inputs
Outputs
Configurations
Scripting
math: * (component-wise field)
Inputs
Outputs
Configurations
Scripting
result: stress max_shear
Inputs
Outputs
Configurations
Scripting
result: euler nodes
Inputs
Outputs
Configurations
Scripting
math: * (component-wise field) (fields container)
Inputs
Outputs
Configurations
Scripting
logic: same meshes container?
Inputs
Outputs
Configurations
Scripting
result: beam TR shear stress (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: num surface status changes
Inputs
Outputs
Configurations
Scripting
math: ln (field)
Inputs
Outputs
Configurations
Scripting
mesh: mesh to pyvista
Inputs
Outputs
Configurations
Scripting
math: ln (fields container)
Inputs
Outputs
Configurations
Scripting
invariant: scalar invariants (field)
Inputs
Outputs
Configurations
Scripting
math: cross product
Inputs
Outputs
Configurations
Scripting
filter: high pass (timefreq)
Inputs
Outputs
Configurations
Scripting
math: / (component-wise fields container)
Inputs
Outputs
Configurations
Scripting
result: global sliding interface energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
math: kronecker product
Inputs
Outputs
Configurations
Scripting
math: modulus (fields container)
Inputs
Outputs
Configurations
Scripting
result: joint relative angular velocity
Inputs
Outputs
Configurations
Scripting
math: dot (complex fields)
Inputs
Outputs
Configurations
Scripting
result: gasket stress XZ
Inputs
Outputs
Configurations
Scripting
math: / (complex fields)
Inputs
Outputs
Configurations
Scripting
utility: unitary field
Inputs
Outputs
Configurations
Scripting
utility: server path
Inputs
Outputs
Configurations
Scripting
result: beam axial force (LSDyna)
Inputs
Outputs
Configurations
Scripting
math: derivate (complex fields)
Inputs
Outputs
Configurations
Scripting
math: polar to complex fields
Inputs
Outputs
Configurations
Scripting
utility: merge data tree
Inputs
Outputs
Configurations
Scripting
math: dot (fields container)
Inputs
Outputs
Configurations
Scripting
result: nodal moment
Inputs
Outputs
Configurations
Scripting
math: phase (field)
Inputs
Outputs
Configurations
Scripting
math: phase (fields container)
Inputs
Outputs
Configurations
Scripting
math: modulus (field)
Inputs
Outputs
Configurations
Scripting
result: elemental mass
Inputs
Outputs
Configurations
Scripting
result: heat flux
Inputs
Outputs
Configurations
Scripting
math: total sum (fields container)
Inputs
Outputs
Configurations
Scripting
result: co-energy
Inputs
Outputs
Configurations
Scripting
math: dot
Inputs
Outputs
Configurations
Scripting
math: outer product
Inputs
Outputs
Configurations
Scripting
math: overall dot
Inputs
Outputs
Configurations
Scripting
math: relative error
Inputs
Outputs
Configurations
Scripting
result: velocity Y
Inputs
Outputs
Configurations
Scripting
result: reaction force Y
Inputs
Outputs
Configurations
Scripting
result: global velocity (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: superficial velocity
Inputs
Outputs
Configurations
Scripting
math: absolute value by component (field)
Inputs
Outputs
Configurations
Scripting
result: incremental energy
Inputs
Outputs
Configurations
Scripting
result: thermal strain
Inputs
Outputs
Configurations
Scripting
result: stiffness matrix energy
Inputs
Outputs
Configurations
Scripting
math: absolute value by component (fields container)
Inputs
Outputs
Configurations
Scripting
metadata: element types provider
Inputs
Outputs
Configurations
Scripting
result: total temperature
Inputs
Outputs
Configurations
Scripting
result: cyclic equivalent mass
Inputs
Outputs
Configurations
Scripting
result: acceleration Y
Inputs
Outputs
Configurations
Scripting
utility: delegate to operator
Inputs
Outputs
Configurations
Scripting
logic: component selector (fields container)
Inputs
Outputs
Configurations
Scripting
logic: component selector (field)
Inputs
Outputs
Configurations
Scripting
scoping: on property
Inputs
Outputs
Configurations
Scripting
result: stress intensity
Inputs
Outputs
Configurations
Scripting
logic: same property fields?
Inputs
Outputs
Configurations
Scripting
logic: elementary data selector (fields container)
Inputs
Outputs
Configurations
Scripting
utility: convert to scoping
Inputs
Outputs
Configurations
Scripting
logic: elementary data selector (field)
Inputs
Outputs
Configurations
Scripting
utility: change location
Inputs
Outputs
Configurations
Scripting
mesh: node coordinates
Inputs
Outputs
Configurations
Scripting
mesh: stl export
Inputs
Outputs
Configurations
Scripting
utility: bind support
Inputs
Outputs
Configurations
Scripting
utility: convert to meshes container
Inputs
Outputs
Configurations
Scripting
result: beam torsional moment (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: equivalent stress parameter
Inputs
Outputs
Configurations
Scripting
utility: convert to field
Inputs
Outputs
Configurations
Scripting
result: beam axial total strain (LSDyna)
Inputs
Outputs
Configurations
Scripting
utility: set property
Inputs
Outputs
Configurations
Scripting
result: electric flux density Y
Inputs
Outputs
Configurations
Scripting
utility: forward field
Inputs
Outputs
Configurations
Scripting
utility: forward fields container
Inputs
Outputs
Configurations
Scripting
result: electric flux density
Inputs
Outputs
Configurations
Scripting
result: plastic strain principal 2
Inputs
Outputs
Configurations
Scripting
utility: forward meshes container
Inputs
Outputs
Configurations
Scripting
geo: integrate over elements
Inputs
Outputs
Configurations
Scripting
result: compute total strain X
Configurating operators
Only linear analysis are supported without On Demand Expansion.
All coordinates are global coordinates.
Euler Angles need to be included in the database.
- Get the XX normal component (00 component).">Inputs
Outputs
Configurations
Scripting
utility: forward
Inputs
Outputs
Configurations
Scripting
utility: incremental meshes container
Inputs
Outputs
Configurations
Scripting
utility: txt file to dpf
Inputs
Outputs
Configurations
Scripting
utility: bind support (fields container)
Inputs
Outputs
Configurations
Scripting
utility: fields container get attribute
Inputs
Outputs
Configurations
Scripting
result: thermal strain XZ
Inputs
Outputs
Configurations
Scripting
utility: assemble scalars to vector
Inputs
Outputs
Configurations
Scripting
result: global eroded hourglass energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
utility: assemble scalars to vector fc
Inputs
Outputs
Configurations
Scripting
utility: assemble scalars to matrix
Inputs
Outputs
Configurations
Scripting
math: make one on component
Inputs
Outputs
Configurations
Scripting
mesh: from scopings
Inputs
Outputs
Configurations
Scripting
utility: assemble scalars to matrix fc
Inputs
Outputs
Configurations
Scripting
result: pres to field
Inputs
Outputs
Configurations
Scripting
result: part internal energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: part momentum (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: compute invariant terms rbd
Inputs
Outputs
Configurations
Scripting
utility: default value
Inputs
Outputs
Configurations
Scripting
averaging: elemental nodal to nodal elemental (fields container)
Inputs
Outputs
Configurations
Scripting
result: rms velocity
Inputs
Outputs
Configurations
Scripting
result: acceleration X
Inputs
Outputs
Configurations
Scripting
result: poynting vector
Inputs
Outputs
Configurations
Scripting
result: total strain (LSDyna)
Inputs
Outputs
Configurations
Scripting
averaging: elemental difference (fields container)
Inputs
Outputs
Configurations
Scripting
utility: compute time scoping
Inputs
Outputs
Configurations
Scripting
result: static pressure
Inputs
Outputs
Configurations
Scripting
result: elastic strain
Inputs
Outputs
Configurations
Scripting
math: window bartlett (fields container)
Inputs
Outputs
Configurations
Scripting
result: turbulent viscosity
Inputs
Outputs
Configurations
Scripting
utility: python generator
Inputs
Outputs
Configurations
Scripting
utility: make overall
Inputs
Outputs
Configurations
Scripting
geo: elements volume
Inputs
Outputs
Configurations
Scripting
result: pressure
Inputs
Outputs
Configurations
Scripting
result: stress
Inputs
Outputs
Configurations
Scripting
result: stress X
Inputs
Outputs
Configurations
Scripting
result: gasket thermal closure XZ
Inputs
Outputs
Configurations
Scripting
result: stress Y
Inputs
Outputs
Configurations
Scripting
result: stress Z
Inputs
Outputs
Configurations
Scripting
result: gasket thermal closure XY
Inputs
Outputs
Configurations
Scripting
result: stress XY
Inputs
Outputs
Configurations
Scripting
compression: kMeans clustering
Inputs
Outputs
Configurations
Scripting
result: stress YZ
Inputs
Outputs
Configurations
Scripting
result: modal basis
Inputs
Outputs
Configurations
Scripting
result: stress XZ
Inputs
Outputs
Configurations
Scripting
utility: merge string fields
Inputs
Outputs
Configurations
Scripting
result: stress principal 1
Inputs
Outputs
Configurations
Scripting
result: stress principal 2
Inputs
Outputs
Configurations
Scripting
invariant: convertnum bcs to nod
Inputs
Outputs
Configurations
Scripting
result: stress principal 3
Inputs
Outputs
Configurations
Scripting
result: stress von mises
Inputs
Outputs
Configurations
Scripting
result: gasket stress
Inputs
Outputs
Configurations
Scripting
result: gasket stress X
Inputs
Outputs
Configurations
Scripting
result: gasket stress XY
Inputs
Outputs
Configurations
Scripting
geo: elements facets surfaces over time
Inputs
Outputs
Configurations
Scripting
metadata: property field provider by property name
Inputs
Outputs
Configurations
Scripting
mesh: mesh provider
Inputs
Inputs
Outputs
Configurations
Scripting
utility: forward
Inputs
Outputs
Configurations
Scripting
utility: incremental meshes container
Inputs
Outputs
Configurations
Scripting
utility: txt file to dpf
Inputs
Outputs
Configurations
Scripting
utility: bind support (fields container)
Inputs
Outputs
Configurations
Scripting
utility: fields container get attribute
Inputs
Outputs
Configurations
Scripting
result: thermal strain XZ
Inputs
Outputs
Configurations
Scripting
utility: assemble scalars to vector
Inputs
Outputs
Configurations
Scripting
result: global eroded hourglass energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
utility: assemble scalars to vector fc
Inputs
Outputs
Configurations
Scripting
utility: assemble scalars to matrix
Inputs
Outputs
Configurations
Scripting
math: make one on component
Inputs
Outputs
Configurations
Scripting
mesh: from scopings
Inputs
Outputs
Configurations
Scripting
utility: assemble scalars to matrix fc
Inputs
Outputs
Configurations
Scripting
result: pres to field
Inputs
Outputs
Configurations
Scripting
result: part internal energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: part momentum (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: compute invariant terms rbd
Inputs
Outputs
Configurations
Scripting
utility: default value
Inputs
Outputs
Configurations
Scripting
averaging: elemental nodal to nodal elemental (fields container)
Inputs
Outputs
Configurations
Scripting
result: rms velocity
Inputs
Outputs
Configurations
Scripting
result: acceleration X
Inputs
Outputs
Configurations
Scripting
result: poynting vector
Inputs
Outputs
Configurations
Scripting
result: total strain (LSDyna)
Inputs
Outputs
Configurations
Scripting
averaging: elemental difference (fields container)
Inputs
Outputs
Configurations
Scripting
utility: compute time scoping
Inputs
Outputs
Configurations
Scripting
result: static pressure
Inputs
Outputs
Configurations
Scripting
result: elastic strain
Inputs
Outputs
Configurations
Scripting
math: window bartlett (fields container)
Inputs
Outputs
Configurations
Scripting
result: turbulent viscosity
Inputs
Outputs
Configurations
Scripting
utility: python generator
Inputs
Outputs
Configurations
Scripting
utility: make overall
Inputs
Outputs
Configurations
Scripting
geo: elements volume
Inputs
Outputs
Configurations
Scripting
result: pressure
Inputs
Outputs
Configurations
Scripting
result: stress
Inputs
Outputs
Configurations
Scripting
result: stress X
Inputs
Outputs
Configurations
Scripting
result: gasket thermal closure XZ
Inputs
Outputs
Configurations
Scripting
result: stress Y
Inputs
Outputs
Configurations
Scripting
result: stress Z
Inputs
Outputs
Configurations
Scripting
result: gasket thermal closure XY
Inputs
Outputs
Configurations
Scripting
result: stress XY
Inputs
Outputs
Configurations
Scripting
compression: kMeans clustering
Inputs
Outputs
Configurations
Scripting
result: stress YZ
Inputs
Outputs
Configurations
Scripting
result: modal basis
Inputs
Outputs
Configurations
Scripting
result: stress XZ
Inputs
Outputs
Configurations
Scripting
utility: merge string fields
Inputs
Outputs
Configurations
Scripting
result: stress principal 1
Inputs
Outputs
Configurations
Scripting
result: stress principal 2
Inputs
Outputs
Configurations
Scripting
invariant: convertnum bcs to nod
Inputs
Outputs
Configurations
Scripting
result: stress principal 3
Inputs
Outputs
Configurations
Scripting
result: stress von mises
Inputs
Outputs
Configurations
Scripting
result: gasket stress
Inputs
Outputs
Configurations
Scripting
result: gasket stress X
Inputs
Outputs
Configurations
Scripting
result: gasket stress XY
Inputs
Outputs
Configurations
Scripting
geo: elements facets surfaces over time
Inputs
Outputs
Configurations
Scripting
metadata: property field provider by property name
Inputs
Outputs
Configurations
Scripting
mesh: mesh provider
Inputs
Outputs
Configurations
Scripting
result: gasket inelastic closure
Inputs
Outputs
Configurations
Scripting
result: gasket inelastic closure X
Inputs
Outputs
Configurations
Scripting
result: write cms rbd file
Inputs
Outputs
Configurations
Scripting
serialization: export symbolic workflow
Inputs
Outputs
Configurations
Scripting
result: gasket inelastic closure XY
Inputs
Outputs
Configurations
Scripting
result: plastic strain eqv
Inputs
Outputs
Configurations
Scripting
mesh: beam properties
Inputs
Outputs
Configurations
Scripting
result: gasket inelastic closure XZ
Inputs
Outputs
Configurations
Scripting
result: gasket thermal closure
Inputs
Outputs
Configurations
Scripting
result: gasket thermal closure X
Inputs
Outputs
Configurations
Scripting
result: elastic strain X
Inputs
Outputs
Configurations
Scripting
result: elastic strain Y
Inputs
Outputs
Configurations
Scripting
result: elastic strain Z
Inputs
Outputs
Configurations
Scripting
math: min/max over time
Inputs
Outputs
Configurations
Scripting
utility: merge fields containers
Inputs
Outputs
Configurations
Scripting
result: global energy ratio without eroded energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
utility: merge weighted fields containers
Inputs
Outputs
Configurations
Scripting
result: elastic strain XY
Inputs
Outputs
Configurations
Scripting
result: elastic strain YZ
Inputs
Outputs
Configurations
Scripting
invariant: eigen values (fields container)
Inputs
Outputs
Configurations
Scripting
result: elastic strain XZ
Inputs
Outputs
Configurations
Scripting
metadata: mesh property provider
Inputs
Outputs
Configurations
Scripting
result: elastic strain principal 1
Inputs
Outputs
Configurations
Scripting
result: elastic strain principal 2
Inputs
Outputs
Configurations
Scripting
utility: merge scopings
Inputs
Outputs
Configurations
Scripting
result: elastic strain principal 3
Inputs
Outputs
Configurations
Scripting
result: cyclic analytic disp max
Inputs
Outputs
Configurations
Scripting
result: elastic strain eqv
Inputs
Outputs
Configurations
Scripting
result: electric flux density X
Inputs
Outputs
Configurations
Scripting
result: elastic strain intensity
Inputs
Outputs
Configurations
Scripting
result: elastic strain max_shear
Inputs
Outputs
Configurations
Scripting
result: turbulent dissipation rate (omega)
Inputs
Outputs
Configurations
Scripting
averaging: to elemental (fields container)
Inputs
Outputs
Configurations
Scripting
result: plastic strain
Inputs
Outputs
Configurations
Scripting
scoping: transpose
Inputs
Outputs
Configurations
Scripting
result: mass fraction
Inputs
Outputs
Configurations
Scripting
result: plastic strain X
Inputs
Outputs
Configurations
Scripting
result: coordinates (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: plastic strain Y
Inputs
Outputs
Configurations
Scripting
filter: band pass (fields container)
Inputs
Outputs
Configurations
Scripting
geo: to polar coordinates
Inputs
Outputs
Configurations
Scripting
math: fft evaluation
Inputs
Outputs
Configurations
Scripting
result: global total energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: plastic strain Z
Inputs
Outputs
Configurations
Scripting
utility: merge materials
Inputs
Outputs
Configurations
Scripting
serialization: vtk export
Inputs
Outputs
Configurations
Scripting
result: dynamic viscosity
Inputs
Outputs
Configurations
Scripting
result: plastic strain XY
Inputs
Outputs
Configurations
Scripting
result: hydrostatic pressure
Inputs
Outputs
Configurations
Scripting
result: compute stress von mises
Inputs
Outputs
Configurations
Scripting
filter: low pass (scoping)
Inputs
Outputs
Configurations
Scripting
mesh: iso surfaces
Inputs
Outputs
Configurations
Scripting
result: plastic strain YZ
Inputs
Outputs
Configurations
Scripting
result: plastic strain XZ
Inputs
Outputs
Configurations
Scripting
result: workflow energy per harmonic
Inputs
Outputs
Configurations
Scripting
result: plastic strain principal 3
Inputs
Outputs
Configurations
Scripting
result: plastic strain intensity
Inputs
Outputs
Configurations
Scripting
result: plastic strain max_shear
Inputs
Outputs
Configurations
Scripting
filter: low pass (timefreq)
Inputs
Outputs
Configurations
Scripting
filter: band pass (field)
Inputs
Outputs
Configurations
Scripting
math: modal damping ratio
Inputs
Outputs
Configurations
Scripting
result: thermal strain X
Inputs
Outputs
Configurations
Scripting
result: thermal strain Y
Inputs
Outputs
Configurations
Scripting
result: equivalent radiated power
Inputs
Outputs
Configurations
Scripting
result: thermal strain Z
Inputs
Outputs
Configurations
Scripting
utility: merge scopings containers
Inputs
Outputs
Configurations
Scripting
math: accumulate over label
Inputs
Outputs
Configurations
Scripting
result: thermal strain XY
Inputs
Outputs
Configurations
Scripting
result: thermal strain YZ
Inputs
Outputs
Configurations
Scripting
result: thermal strain principal 1
Inputs
Outputs
Configurations
Scripting
result: thermal strain principal 2
Inputs
Outputs
Configurations
Scripting
result: thermal strain principal 3
Inputs
Outputs
Configurations
Scripting
serialization: serializer
Inputs
Outputs
Configurations
Scripting
result: wall shear stress
Inputs
Outputs
Configurations
Scripting
result: velocity
Inputs
Outputs
Configurations
Scripting
result: reaction force
Inputs
Outputs
Configurations
Scripting
result: velocity X
Inputs
Outputs
Configurations
Scripting
result: reaction force X
Inputs
Outputs
Configurations
Scripting
geo: cartesian to spherical coordinates (fields container)
Inputs
Outputs
Configurations
Scripting
result: global external work (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: acceleration
Inputs
Outputs
Configurations
Scripting
result: element centroids
Inputs
Outputs
Configurations
Scripting
result: acceleration Z
Inputs
Outputs
Configurations
Scripting
scoping: rescope (fields container)
Inputs
Outputs
Configurations
Scripting
serialization: workflow to workflow_topology
Inputs
Outputs
Configurations
Scripting
result: displacement
Inputs
Outputs
Configurations
Scripting
result: electric field Z
Inputs
Outputs
Configurations
Scripting
result: displacement X
Inputs
Outputs
Configurations
Scripting
averaging: force_summation
Inputs
Outputs
Configurations
Scripting
result: displacement Y
Inputs
Outputs
Configurations
Scripting
result: electric field X
Inputs
Outputs
Configurations
Scripting
result: displacement Z
Inputs
Outputs
Configurations
Scripting
result: heat flux X
Inputs
Outputs
Configurations
Scripting
result: heat flux Y
Inputs
Outputs
Configurations
Scripting
result: electric field
Inputs
Outputs
Configurations
Scripting
result: heat flux Z
Inputs
Outputs
Configurations
Scripting
serialization: serialize to hdf5
Inputs
Outputs
Configurations
Scripting
result: element orientations
Inputs
Outputs
Configurations
Scripting
result: element orientations Y
Inputs
Outputs
Configurations
Scripting
result: magnetic field Z
Inputs
Outputs
Configurations
Scripting
averaging: elemental mean (fields container)
Inputs
Outputs
Configurations
Scripting
result: magnetic field Y
Inputs
Outputs
Configurations
Scripting
mesh: split mesh wrt property
Inputs
Outputs
Configurations
Scripting
result: element orientations Z
Inputs
Outputs
Configurations
Scripting
result: temperature gradient
Inputs
Outputs
Configurations
Scripting
result: cgns result provider
Inputs
Outputs
Configurations
Scripting
result: temperature gradient X
Inputs
Outputs
Configurations
Scripting
result: entropy
Inputs
Outputs
Configurations
Scripting
result: volume fraction
Inputs
Outputs
Configurations
Scripting
result: temperature gradient Y
Inputs
Outputs
Configurations
Scripting
result: temperature gradient Z
Inputs
Outputs
Configurations
Scripting
result: elemental summable miscellaneous data
Inputs
Outputs
Configurations
Scripting
result: magnetic field
Inputs
Outputs
Configurations
Scripting
result: compute stress Z
Inputs
Outputs
Configurations
Scripting
result: part eroded kinetic energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: magnetic field X
Inputs
Outputs
Configurations
Scripting
serialization: string deserializer
Inputs
Outputs
Configurations
Scripting
utility: merge meshes containers
Inputs
Outputs
Configurations
Scripting
result: magnetic flux density
Inputs
Outputs
Configurations
Scripting
result: magnetic flux density X
Inputs
Outputs
Configurations
Scripting
result: magnetic flux density Y
Inputs
Outputs
Configurations
Scripting
result: nodal force
Inputs
Outputs
Configurations
Scripting
result: magnetic flux density Z
Inputs
Outputs
Configurations
Scripting
result: electric field Y
Inputs
Outputs
Configurations
Scripting
result: electric flux density Z
Inputs
Outputs
Configurations
Scripting
result: element nodal forces
Inputs
Outputs
Configurations
Scripting
result: compute total strain Z
Outputs
Configurations
Scripting
result: gasket inelastic closure
Inputs
Outputs
Configurations
Scripting
result: gasket inelastic closure X
Inputs
Outputs
Configurations
Scripting
result: write cms rbd file
Inputs
Outputs
Configurations
Scripting
serialization: export symbolic workflow
Inputs
Outputs
Configurations
Scripting
result: gasket inelastic closure XY
Inputs
Outputs
Configurations
Scripting
result: plastic strain eqv
Inputs
Outputs
Configurations
Scripting
mesh: beam properties
Inputs
Outputs
Configurations
Scripting
result: gasket inelastic closure XZ
Inputs
Outputs
Configurations
Scripting
result: gasket thermal closure
Inputs
Outputs
Configurations
Scripting
result: gasket thermal closure X
Inputs
Outputs
Configurations
Scripting
result: elastic strain X
Inputs
Outputs
Configurations
Scripting
result: elastic strain Y
Inputs
Outputs
Configurations
Scripting
result: elastic strain Z
Inputs
Outputs
Configurations
Scripting
math: min/max over time
Inputs
Outputs
Configurations
Scripting
utility: merge fields containers
Inputs
Outputs
Configurations
Scripting
result: global energy ratio without eroded energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
utility: merge weighted fields containers
Inputs
Outputs
Configurations
Scripting
result: elastic strain XY
Inputs
Outputs
Configurations
Scripting
result: elastic strain YZ
Inputs
Outputs
Configurations
Scripting
invariant: eigen values (fields container)
Inputs
Outputs
Configurations
Scripting
result: elastic strain XZ
Inputs
Outputs
Configurations
Scripting
metadata: mesh property provider
Inputs
Outputs
Configurations
Scripting
result: elastic strain principal 1
Inputs
Outputs
Configurations
Scripting
result: elastic strain principal 2
Inputs
Outputs
Configurations
Scripting
utility: merge scopings
Inputs
Outputs
Configurations
Scripting
result: elastic strain principal 3
Inputs
Outputs
Configurations
Scripting
result: cyclic analytic disp max
Inputs
Outputs
Configurations
Scripting
result: elastic strain eqv
Inputs
Outputs
Configurations
Scripting
result: electric flux density X
Inputs
Outputs
Configurations
Scripting
result: elastic strain intensity
Inputs
Outputs
Configurations
Scripting
result: elastic strain max_shear
Inputs
Outputs
Configurations
Scripting
result: turbulent dissipation rate (omega)
Inputs
Outputs
Configurations
Scripting
averaging: to elemental (fields container)
Inputs
Outputs
Configurations
Scripting
result: plastic strain
Inputs
Outputs
Configurations
Scripting
scoping: transpose
Inputs
Outputs
Configurations
Scripting
result: mass fraction
Inputs
Outputs
Configurations
Scripting
result: plastic strain X
Inputs
Outputs
Configurations
Scripting
result: coordinates (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: plastic strain Y
Inputs
Outputs
Configurations
Scripting
filter: band pass (fields container)
Inputs
Outputs
Configurations
Scripting
geo: to polar coordinates
Inputs
Outputs
Configurations
Scripting
math: fft evaluation
Inputs
Outputs
Configurations
Scripting
result: global total energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: plastic strain Z
Inputs
Outputs
Configurations
Scripting
utility: merge materials
Inputs
Outputs
Configurations
Scripting
serialization: vtk export
Inputs
Outputs
Configurations
Scripting
result: dynamic viscosity
Inputs
Outputs
Configurations
Scripting
result: plastic strain XY
Inputs
Outputs
Configurations
Scripting
result: hydrostatic pressure
Inputs
Outputs
Configurations
Scripting
result: compute stress von mises
Inputs
Outputs
Configurations
Scripting
filter: low pass (scoping)
Inputs
Outputs
Configurations
Scripting
mesh: iso surfaces
Inputs
Outputs
Configurations
Scripting
result: plastic strain YZ
Inputs
Outputs
Configurations
Scripting
result: plastic strain XZ
Inputs
Outputs
Configurations
Scripting
result: workflow energy per harmonic
Inputs
Outputs
Configurations
Scripting
result: plastic strain principal 3
Inputs
Outputs
Configurations
Scripting
result: plastic strain intensity
Inputs
Outputs
Configurations
Scripting
result: plastic strain max_shear
Inputs
Outputs
Configurations
Scripting
filter: low pass (timefreq)
Inputs
Outputs
Configurations
Scripting
filter: band pass (field)
Inputs
Outputs
Configurations
Scripting
math: modal damping ratio
Inputs
Outputs
Configurations
Scripting
result: thermal strain X
Inputs
Outputs
Configurations
Scripting
result: thermal strain Y
Inputs
Outputs
Configurations
Scripting
result: equivalent radiated power
Inputs
Outputs
Configurations
Scripting
result: thermal strain Z
Inputs
Outputs
Configurations
Scripting
utility: merge scopings containers
Inputs
Outputs
Configurations
Scripting
math: accumulate over label
Inputs
Outputs
Configurations
Scripting
result: thermal strain XY
Inputs
Outputs
Configurations
Scripting
result: thermal strain YZ
Inputs
Outputs
Configurations
Scripting
result: thermal strain principal 1
Inputs
Outputs
Configurations
Scripting
logic: same anys?
Inputs
Outputs
Configurations
Scripting
result: thermal strain principal 2
Inputs
Outputs
Configurations
Scripting
result: thermal strain principal 3
Inputs
Outputs
Configurations
Scripting
serialization: serializer
Inputs
Outputs
Configurations
Scripting
result: wall shear stress
Inputs
Outputs
Configurations
Scripting
result: velocity
Inputs
Outputs
Configurations
Scripting
result: reaction force
Inputs
Outputs
Configurations
Scripting
result: velocity X
Inputs
Outputs
Configurations
Scripting
result: reaction force X
Inputs
Outputs
Configurations
Scripting
geo: cartesian to spherical coordinates (fields container)
Inputs
Outputs
Configurations
Scripting
result: global external work (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: acceleration
Inputs
Outputs
Configurations
Scripting
result: element centroids
Inputs
Outputs
Configurations
Scripting
result: acceleration Z
Inputs
Outputs
Configurations
Scripting
scoping: rescope (fields container)
Inputs
Outputs
Configurations
Scripting
serialization: workflow to workflow_topology
Inputs
Outputs
Configurations
Scripting
result: displacement
Inputs
Outputs
Configurations
Scripting
result: electric field Z
Inputs
Outputs
Configurations
Scripting
result: displacement X
Inputs
Outputs
Configurations
Scripting
averaging: force_summation
Inputs
Outputs
Configurations
Scripting
result: displacement Y
Inputs
Outputs
Configurations
Scripting
result: electric field X
Inputs
Outputs
Configurations
Scripting
result: displacement Z
Inputs
Outputs
Configurations
Scripting
result: heat flux X
Inputs
Outputs
Configurations
Scripting
result: heat flux Y
Inputs
Outputs
Configurations
Scripting
result: electric field
Inputs
Outputs
Configurations
Scripting
result: heat flux Z
Inputs
Outputs
Configurations
Scripting
serialization: serialize to hdf5
Inputs
Outputs
Configurations
Scripting
result: element orientations
Inputs
Outputs
Configurations
Scripting
result: element orientations Y
Inputs
Outputs
Configurations
Scripting
result: magnetic field Z
Inputs
Outputs
Configurations
Scripting
averaging: elemental mean (fields container)
Inputs
Outputs
Configurations
Scripting
result: magnetic field Y
Inputs
Outputs
Configurations
Scripting
mesh: split mesh wrt property
Inputs
Outputs
Configurations
Scripting
result: element orientations Z
Inputs
Outputs
Configurations
Scripting
result: temperature gradient
Inputs
Outputs
Configurations
Scripting
result: cgns result provider
Inputs
Outputs
Configurations
Scripting
result: temperature gradient X
Inputs
Outputs
Configurations
Scripting
result: entropy
Inputs
Outputs
Configurations
Scripting
result: volume fraction
Inputs
Outputs
Configurations
Scripting
result: temperature gradient Y
Inputs
Outputs
Configurations
Scripting
result: temperature gradient Z
Inputs
Outputs
Configurations
Scripting
result: elemental summable miscellaneous data
Inputs
Outputs
Configurations
Scripting
result: magnetic field
Inputs
Outputs
Configurations
Scripting
result: compute stress Z
Inputs
Outputs
Configurations
Scripting
result: part eroded kinetic energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: magnetic field X
Inputs
Outputs
Configurations
Scripting
serialization: string deserializer
Inputs
Outputs
Configurations
Scripting
utility: merge meshes containers
Inputs
Outputs
Configurations
Scripting
result: magnetic flux density
Inputs
Outputs
Configurations
Scripting
result: magnetic flux density X
Inputs
Outputs
Configurations
Scripting
result: magnetic flux density Y
Inputs
Outputs
Configurations
Scripting
result: nodal force
Inputs
Outputs
Configurations
Scripting
result: magnetic flux density Z
Inputs
Outputs
Configurations
Scripting
result: electric field Y
Inputs
Outputs
Configurations
Scripting
result: electric flux density Z
Inputs
Outputs
Configurations
Scripting
result: element nodal forces
Inputs
Outputs
Configurations
Scripting
result: compute total strain Z
Configurating operators
Only linear analysis are supported without On Demand Expansion.
All coordinates are global coordinates.
Euler Angles need to be included in the database.
- Get the ZZ normal component (22 component).">Inputs
Outputs
Configurations
Scripting
result: structural temperature
Inputs
Outputs
Configurations
Scripting
metadata: result info provider
Inputs
Outputs
Configurations
Scripting
mesh: skin (tri mesh)
Inputs
Outputs
Configurations
Scripting
result: stress ratio
Inputs
Outputs
Configurations
Scripting
filter: band pass (timescoping)
Inputs
Outputs
Configurations
Scripting
compression: sketch matrix
Inputs
Outputs
Configurations
Scripting
result: accu eqv plastic strain
Inputs
Outputs
Configurations
Scripting
result: plastic state variable
Inputs
Outputs
Configurations
Scripting
result: accu eqv creep strain
Inputs
Outputs
Configurations
Scripting
result: plastic strain energy density
Inputs
Outputs
Configurations
Scripting
result: material property of element
Inputs
Outputs
Configurations
Scripting
result: creep strain energy density
Inputs
Outputs
Configurations
Scripting
result: erp radiation efficiency
Inputs
Outputs
Configurations
Scripting
result: elastic strain energy density
Inputs
Outputs
Configurations
Scripting
serialization: field to csv
Inputs
Outputs
Configurations
Scripting
utility: merge generic data container
Inputs
Outputs
Configurations
Scripting
result: global joint internal energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: cyclic expanded element nodal forces
Inputs
Outputs
Configurations
Scripting
serialization: vtk to fields
Inputs
Outputs
Configurations
Scripting
utility: merge any objects
Inputs
Outputs
Configurations
Scripting
result: elemental volume
Inputs
Outputs
Configurations
Scripting
result: artificial hourglass energy
Inputs
Outputs
Configurations
Scripting
result: kinetic energy
Inputs
Outputs
Configurations
Scripting
result: thermal dissipation energy
Inputs
Outputs
Configurations
Scripting
result: total mass
Inputs
Outputs
Configurations
Scripting
result: rms static pressure
Inputs
Outputs
Configurations
Scripting
result: swelling strains
Inputs
Outputs
Configurations
Scripting
result: temperature
Inputs
Outputs
Configurations
Scripting
result: compute stress
Inputs
Outputs
Configurations
Scripting
result: raw displacement
Inputs
Outputs
Configurations
Scripting
result: raw reaction force
Inputs
Outputs
Configurations
Scripting
result: turbulent kinetic energy (k)
Inputs
Outputs
Configurations
Scripting
result: electric potential
Inputs
Outputs
Configurations
Scripting
result: thickness
Inputs
Outputs
Configurations
Scripting
result: mapdl run
Inputs
Outputs
Configurations
Scripting
result: equivalent mass
Inputs
Outputs
Configurations
Scripting
result: custom result
Inputs
Outputs
Configurations
Scripting
result: elemental heat generation
Inputs
Outputs
Configurations
Scripting
result: magnetic vector potential
Inputs
Outputs
Configurations
Scripting
result: joint force reaction
Inputs
Outputs
Configurations
Scripting
result: joint moment reaction
Inputs
Outputs
Configurations
Scripting
result: beam T shear force (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: joint relative displacement
Inputs
Outputs
Configurations
Scripting
result: joint relative rotation
Inputs
Outputs
Configurations
Scripting
result: joint relative velocity
Inputs
Outputs
Configurations
Scripting
result: joint relative acceleration
Inputs
Outputs
Configurations
Scripting
result: joint relative angular acceleration
Inputs
Outputs
Configurations
Scripting
result: global internal energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
serialization: txt to data tree
Inputs
Outputs
Configurations
Scripting
result: thermal strains eqv
Inputs
Outputs
Configurations
Scripting
result: elemental non summable miscellaneous data
Inputs
Outputs
Configurations
Scripting
utility: merge supports
Inputs
Outputs
Configurations
Scripting
result: global kinetic energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
math: matrix inverse
Inputs
Outputs
Configurations
Scripting
result: global time step (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: global rigid body stopper energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
geo: cartesian to spherical coordinates
Inputs
Outputs
Configurations
Scripting
result: global spring and damper energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: beam T bending moment (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: global hourglass energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: global system damping energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: global eroded kinetic energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: global energy ratio (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: global added mass (LSDyna)
Inputs
Outputs
Configurations
Scripting
mapping: on reduced coordinates
Inputs
Outputs
Configurations
Scripting
invariant: principal invariants (fields container)
Inputs
Outputs
Configurations
Scripting
result: global added mass (percentage) (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: global center of mass (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: beam S shear force (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: beam S bending moment (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: beam RS shear stress (LSDyna)
Inputs
Outputs
Configurations
Scripting
utility: merge fields into field matrix
Inputs
Outputs
Configurations
Scripting
result: beam axial plastic strain (LSDyna)
Inputs
Outputs
Configurations
Scripting
invariant: von mises eqv (field)
Inputs
Outputs
Configurations
Scripting
invariant: segalman von mises eqv (field)
Inputs
Outputs
Configurations
Scripting
result: part eroded internal energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: part kinetic energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
scoping: on mesh property
Inputs
Outputs
Configurations
Scripting
scoping: from mesh
Inputs
Outputs
Configurations
Scripting
result: part added mass (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: part hourglass energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: part rigid body velocity (LSDyna)
Inputs
Outputs
Configurations
Scripting
min_max: time of max
Inputs
Outputs
Configurations
Scripting
scoping: nodes in mesh
Inputs
Outputs
Configurations
Scripting
metadata: cyclic support provider
Inputs
Outputs
Configurations
Scripting
result: density
Inputs
Outputs
Configurations
Scripting
result: spectrum data
Inputs
Outputs
Configurations
Scripting
averaging: elemental to elemental nodal (fields container)
Inputs
Outputs
Configurations
Scripting
result: total pressure
Inputs
Outputs
Configurations
Scripting
result: mean velocity
Inputs
Outputs
Configurations
Scripting
result: Lighthill tensor divergence
Inputs
Outputs
Configurations
Scripting
result: mass flow rate
Inputs
Outputs
Configurations
Scripting
result: mach number
Inputs
Outputs
Configurations
Scripting
result: rms temperature
Inputs
Outputs
Configurations
Scripting
scoping: scoping get attribute
Inputs
Outputs
Configurations
Scripting
result: read cms_rbd file
Inputs
Outputs
Configurations
Scripting
result: mean temperature
Inputs
Outputs
Configurations
Scripting
result: surface heat rate
Inputs
Outputs
Configurations
Scripting
result: thermal conductivity
Inputs
Outputs
Configurations
Scripting
result: specific heat
Inputs
Outputs
Configurations
Scripting
result: turbulent dissipation rate (epsilon)
Inputs
Outputs
Configurations
Scripting
metadata: time freq provider
Inputs
Outputs
Configurations
Scripting
metadata: mesh info provider
Inputs
Outputs
Configurations
Scripting
result: von mises stresses as mechanical
Inputs
Outputs
Configurations
Scripting
metadata: streams provider
Inputs
Outputs
Configurations
Scripting
result: poynting vector surface
Inputs
Outputs
Configurations
Scripting
metadata: datasources provider
Inputs
Outputs
Configurations
Scripting
scoping: rescope
Inputs
Outputs
Configurations
Scripting
filter: low pass (timescoping)
Inputs
Outputs
Configurations
Scripting
utility: data sources get attribute
Inputs
Outputs
Configurations
Scripting
mesh: meshes provider
Inputs
Outputs
Configurations
Scripting
metadata: mesh selection manager provider
Inputs
Outputs
Configurations
Scripting
utility: for each
Inputs
Outputs
Configurations
Scripting
metadata: boundary condition provider
Inputs
Outputs
Configurations
Scripting
utility: merge property fields
Inputs
Outputs
Configurations
Scripting
metadata: cyclic analysis?
Inputs
Outputs
Configurations
Scripting
metadata: material support provider
Inputs
Outputs
Configurations
Scripting
scoping: on named selection
Inputs
Outputs
Configurations
Scripting
scoping: reduce sampling scoping
Inputs
Outputs
Configurations
Scripting
math: accumulation per scoping
Inputs
Outputs
Configurations
Scripting
metadata: real constants provider
Inputs
Outputs
Configurations
Scripting
metadata: coordinate system data provider
Inputs
Outputs
Configurations
Scripting
result: coordinate system
Inputs
Outputs
Configurations
Scripting
logic: splitter::streams
Inputs
Outputs
Configurations
Scripting
serialization: hdf5dpf custom read
Inputs
Outputs
Configurations
Scripting
result: nodal_to_global
Inputs
Outputs
Configurations
Scripting
scoping: rescope custom type field
Inputs
Outputs
Configurations
Scripting
result: global_to_nodal
Inputs
Outputs
Configurations
Scripting
min_max: min max by entity over time
Inputs
Outputs
Configurations
Scripting
min_max: max over time
Inputs
Outputs
Configurations
Scripting
scoping: connectivity ids
Inputs
Outputs
Configurations
Scripting
utility: remote workflow instantiate
Inputs
Outputs
Configurations
Scripting
utility: remote operator instantiate
Inputs
Outputs
Configurations
Scripting
math: compute residual and error
Inputs
Outputs
Configurations
Scripting
result: structural temperature
Inputs
Outputs
Configurations
Scripting
metadata: result info provider
Inputs
Outputs
Configurations
Scripting
mesh: skin (tri mesh)
Inputs
Outputs
Configurations
Scripting
result: stress ratio
Inputs
Outputs
Configurations
Scripting
filter: band pass (timescoping)
Inputs
Outputs
Configurations
Scripting
compression: sketch matrix
Inputs
Outputs
Configurations
Scripting
result: accu eqv plastic strain
Inputs
Outputs
Configurations
Scripting
result: plastic state variable
Inputs
Outputs
Configurations
Scripting
result: accu eqv creep strain
Inputs
Outputs
Configurations
Scripting
result: plastic strain energy density
Inputs
Outputs
Configurations
Scripting
result: material property of element
Inputs
Outputs
Configurations
Scripting
result: creep strain energy density
Inputs
Outputs
Configurations
Scripting
result: erp radiation efficiency
Inputs
Outputs
Configurations
Scripting
result: elastic strain energy density
Inputs
Outputs
Configurations
Scripting
serialization: field to csv
Inputs
Outputs
Configurations
Scripting
utility: merge generic data container
Inputs
Outputs
Configurations
Scripting
result: global joint internal energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: cyclic expanded element nodal forces
Inputs
Outputs
Configurations
Scripting
serialization: vtk to fields
Inputs
Outputs
Configurations
Scripting
utility: merge any objects
Inputs
Outputs
Configurations
Scripting
result: elemental volume
Inputs
Outputs
Configurations
Scripting
result: artificial hourglass energy
Inputs
Outputs
Configurations
Scripting
result: kinetic energy
Inputs
Outputs
Configurations
Scripting
result: thermal dissipation energy
Inputs
Outputs
Configurations
Scripting
result: total mass
Inputs
Outputs
Configurations
Scripting
result: rms static pressure
Inputs
Outputs
Configurations
Scripting
result: swelling strains
Inputs
Outputs
Configurations
Scripting
result: temperature
Inputs
Outputs
Configurations
Scripting
result: compute stress
Inputs
Outputs
Configurations
Scripting
result: raw displacement
Inputs
Outputs
Configurations
Scripting
result: raw reaction force
Inputs
Outputs
Configurations
Scripting
result: turbulent kinetic energy (k)
Inputs
Outputs
Configurations
Scripting
result: electric potential
Inputs
Outputs
Configurations
Scripting
result: thickness
Inputs
Outputs
Configurations
Scripting
result: mapdl run
Inputs
Outputs
Configurations
Scripting
result: equivalent mass
Inputs
Outputs
Configurations
Scripting
result: custom result
Inputs
Outputs
Configurations
Scripting
result: elemental heat generation
Inputs
Outputs
Configurations
Scripting
result: magnetic vector potential
Inputs
Outputs
Configurations
Scripting
result: joint force reaction
Inputs
Outputs
Configurations
Scripting
result: joint moment reaction
Inputs
Outputs
Configurations
Scripting
result: beam T shear force (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: joint relative displacement
Inputs
Outputs
Configurations
Scripting
result: joint relative rotation
Inputs
Outputs
Configurations
Scripting
result: joint relative velocity
Inputs
Outputs
Configurations
Scripting
result: joint relative acceleration
Inputs
Outputs
Configurations
Scripting
result: joint relative angular acceleration
Inputs
Outputs
Configurations
Scripting
result: global internal energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
serialization: txt to data tree
Inputs
Outputs
Configurations
Scripting
result: thermal strains eqv
Inputs
Outputs
Configurations
Scripting
result: elemental non summable miscellaneous data
Inputs
Outputs
Configurations
Scripting
result: state variable
Inputs
Outputs
Configurations
Scripting
utility: merge supports
Inputs
Outputs
Configurations
Scripting
result: global kinetic energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
math: matrix inverse
Inputs
Outputs
Configurations
Scripting
result: global time step (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: global rigid body stopper energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
geo: cartesian to spherical coordinates
Inputs
Outputs
Configurations
Scripting
result: global spring and damper energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: beam T bending moment (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: global hourglass energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: global system damping energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: global eroded kinetic energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: global energy ratio (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: global added mass (LSDyna)
Inputs
Outputs
Configurations
Scripting
mapping: on reduced coordinates
Inputs
Outputs
Configurations
Scripting
invariant: principal invariants (fields container)
Inputs
Outputs
Configurations
Scripting
result: global added mass (percentage) (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: global center of mass (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: beam S shear force (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: beam S bending moment (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: beam RS shear stress (LSDyna)
Inputs
Outputs
Configurations
Scripting
utility: merge fields into field matrix
Inputs
Outputs
Configurations
Scripting
result: beam axial plastic strain (LSDyna)
Inputs
Outputs
Configurations
Scripting
invariant: von mises eqv (field)
Inputs
Outputs
Configurations
Scripting
invariant: segalman von mises eqv (field)
Inputs
Outputs
Configurations
Scripting
result: part eroded internal energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: part kinetic energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
scoping: on mesh property
Inputs
Outputs
Configurations
Scripting
scoping: from mesh
Inputs
Outputs
Configurations
Scripting
result: part added mass (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: part hourglass energy (LSDyna)
Inputs
Outputs
Configurations
Scripting
result: part rigid body velocity (LSDyna)
Inputs
Outputs
Configurations
Scripting
min_max: time of max
Inputs
Outputs
Configurations
Scripting
scoping: nodes in mesh
Inputs
Outputs
Configurations
Scripting
metadata: cyclic support provider
Inputs
Outputs
Configurations
Scripting
result: density
Inputs
Outputs
Configurations
Scripting
result: spectrum data
Inputs
Outputs
Configurations
Scripting
averaging: elemental to elemental nodal (fields container)
Inputs
Outputs
Configurations
Scripting
result: total pressure
Inputs
Outputs
Configurations
Scripting
result: mean velocity
Inputs
Outputs
Configurations
Scripting
result: Lighthill tensor divergence
Inputs
Outputs
Configurations
Scripting
result: mass flow rate
Inputs
Outputs
Configurations
Scripting
result: mach number
Inputs
Outputs
Configurations
Scripting
result: rms temperature
Inputs
Outputs
Configurations
Scripting
scoping: scoping get attribute
Inputs
Outputs
Configurations
Scripting
result: read cms_rbd file
Inputs
Outputs
Configurations
Scripting
result: mean temperature
Inputs
Outputs
Configurations
Scripting
result: surface heat rate
Inputs
Outputs
Configurations
Scripting
result: thermal conductivity
Inputs
Outputs
Configurations
Scripting
result: specific heat
Inputs
Outputs
Configurations
Scripting
result: turbulent dissipation rate (epsilon)
Inputs
Outputs
Configurations
Scripting
metadata: time freq provider
Inputs
Outputs
Configurations
Scripting
metadata: mesh info provider
Inputs
Outputs
Configurations
Scripting
result: von mises stresses as mechanical
Inputs
Outputs
Configurations
Scripting
metadata: streams provider
Inputs
Outputs
Configurations
Scripting
result: poynting vector surface
Inputs
Outputs
Configurations
Scripting
metadata: datasources provider
Inputs
Outputs
Configurations
Scripting
scoping: rescope
Inputs
Outputs
Configurations
Scripting
filter: low pass (timescoping)
Inputs
Outputs
Configurations
Scripting
utility: data sources get attribute
Inputs
Outputs
Configurations
Scripting
mesh: meshes provider
Inputs
Outputs
Configurations
Scripting
metadata: mesh selection manager provider
Inputs
Outputs
Configurations
Scripting
utility: for each
Inputs
Outputs
Configurations
Scripting
metadata: boundary condition provider
Inputs
Outputs
Configurations
Scripting
utility: merge property fields
Inputs
Outputs
Configurations
Scripting
metadata: cyclic analysis?
Inputs
Outputs
Configurations
Scripting
metadata: material support provider
Inputs
Outputs
Configurations
Scripting
scoping: on named selection
Inputs
Outputs
Configurations
Scripting
scoping: reduce sampling scoping
Inputs
Outputs
Configurations
Scripting
math: accumulation per scoping
Inputs
Outputs
Configurations
Scripting
metadata: real constants provider
Inputs
Outputs
Configurations
Scripting
metadata: coordinate system data provider
Inputs
Outputs
Configurations
Scripting
result: coordinate system
Inputs
Outputs
Configurations
Scripting
logic: splitter::streams
Inputs
Outputs
Configurations
Scripting
serialization: hdf5dpf custom read
Inputs
Outputs
Configurations
Scripting
result: nodal_to_global
Inputs
Outputs
Configurations
Scripting
scoping: rescope custom type field
Inputs
Outputs
Configurations
Scripting
result: global_to_nodal
Inputs
Outputs
Configurations
Scripting
min_max: min max by entity over time
Inputs
Outputs
Configurations
Scripting
min_max: max over time
Inputs
Outputs
Configurations
Scripting
scoping: connectivity ids
Inputs
Outputs
Configurations
Scripting
utility: remote workflow instantiate
Inputs
Outputs
Configurations
Scripting
utility: remote operator instantiate
Inputs
Outputs
Configurations
Scripting
math: compute residual and error
Configurating operators
3 for normalized by the max over all time steps of the first entry or residuals depending on the reference field option" types="int32" optional="true"ellipsis="false"inplace="false">Outputs
Configurations
Scripting
result: add rigid body motion (fields container)
Inputs
Outputs
Configurations
Scripting
utility: merge time freq supports
Inputs
Outputs
Configurations
Scripting
min_max: incremental over fields container
Inputs
Outputs
Configurations
Scripting
scoping: split on property type
Inputs
Outputs
Configurations
Scripting
utility: overlap fields
Inputs
Outputs
Configurations
Scripting
averaging: elemental nodal to nodal elemental (field)
Inputs
Outputs
Configurations
Scripting
scoping: adapt with scopings container
Inputs
Outputs
Configurations
Scripting
utility: change shell layers
Inputs
Outputs
Configurations
Scripting
utility: merge meshes
Inputs
Outputs
Configurations
Scripting
utility: merge fields
Inputs
Outputs
Configurations
Scripting
utility: merge weighted fields
Inputs
Outputs
Configurations
Scripting
utility: merge fc to fc field matrices
Inputs
Outputs
Configurations
Scripting
filter: high pass (field)
Inputs
Outputs
Configurations
Scripting
utility: weighted merge fields by label
Inputs
Outputs
Configurations
Scripting
min_max: max by component
Inputs
Outputs
Configurations
Scripting
utility: merge fields by label
Inputs
Outputs
Configurations
Scripting
averaging: elemental to elemental nodal (field)
Inputs
Outputs
Configurations
Scripting
min_max: min max by entity
Inputs
Outputs
Configurations
Scripting
utility: merge collections
Inputs
Outputs
Configurations
Scripting
serialization: workflow to pydpf
Inputs
Outputs
Configurations
Scripting
logic: merge solid and shell fields
Inputs
Outputs
Configurations
Scripting
min_max: min over time
Inputs
Outputs
Configurations
Scripting
geo: element nodal contribution
Inputs
Outputs
Configurations
Scripting
min_max: over field
Inputs
Outputs
Configurations
Scripting
result: transient rayleigh integration
Inputs
Outputs
Configurations
Scripting
min_max: over fields container
Inputs
Outputs
Configurations
Scripting
min_max: over label
Inputs
Outputs
Configurations
Scripting
min_max: min by component
Inputs
Outputs
Configurations
Scripting
math: average over label
Inputs
Outputs
Configurations
Scripting
math: accumulate level over label
Inputs
Outputs
Configurations
Scripting
serialization: serializer to string
Inputs
Outputs
Configurations
Scripting
serialization: deserializer
Inputs
Outputs
Configurations
Scripting
result: cyclic expanded velocity
Inputs
Outputs
Configurations
Scripting
mesh: skin
Inputs
Outputs
Configurations
Scripting
utility: split in for each range
Inputs
Outputs
Configurations
Scripting
utility: make for each range
Inputs
Outputs
Configurations
Scripting
utility: incremental field
Inputs
Outputs
Configurations
Scripting
utility: incremental fields container
Inputs
Outputs
Configurations
Scripting
geo: rotate (fields container)
Inputs
Outputs
Configurations
Scripting
utility: incremental property field
Inputs
Outputs
Configurations
Scripting
utility: incremental mesh
Inputs
Outputs
Configurations
Scripting
mesh: points from coordinates
Inputs
Outputs
Configurations
Scripting
utility: incremental concantenate as fields container.
Inputs
Outputs
Configurations
Scripting
utility: make producer consumer for each iterator
Inputs
Outputs
Configurations
Scripting
utility: producer consumer for each
Inputs
Outputs
Configurations
Scripting
averaging: extend to mid nodes (field)
Inputs
Outputs
Configurations
Scripting
invariant: eigen vectors (on fields container)
Inputs
Outputs
Configurations
Scripting
mesh: mesh get attribute
Inputs
Outputs
Configurations
Scripting
metadata: time freq support get attribute
Inputs
Outputs
Configurations
Scripting
utility: set attribute
Inputs
Outputs
Configurations
Scripting
utility: field get attribute
Inputs
Outputs
Configurations
Scripting
min_max: time of min
Inputs
Outputs
Configurations
Scripting
min_max: max over phase
Inputs
Outputs
Configurations
Scripting
min_max: phase of max
Inputs
Outputs
Configurations
Scripting
utility: voigt to standard strains
Inputs
Outputs
Configurations
Scripting
utility: voigt to standard strains (fields container)
Inputs
Outputs
Configurations
Scripting
min_max: incremental over field
Inputs
Outputs
Configurations
Scripting
logic: same string fields?
Inputs
Outputs
Configurations
Scripting
logic: same meshes?
Inputs
Outputs
Configurations
Scripting
logic: same fields?
Inputs
Outputs
Configurations
Scripting
logic: fields included?
Inputs
Outputs
Configurations
Scripting
logic: same fields container?
Inputs
Outputs
Configurations
Scripting
filter: high pass (scoping)
Inputs
Outputs
Configurations
Scripting
filter: high pass (timescoping)
Inputs
Outputs
Configurations
Scripting
filter: high pass (fields container)
Inputs
Outputs
Configurations
Scripting
filter: low pass (field)
Inputs
Outputs
Configurations
Scripting
filter: low pass (fields container)
Inputs
Outputs
Configurations
Scripting
filter: band pass (scoping)
Inputs
Outputs
Configurations
Scripting
filter: band pass (timefreq)
Inputs
Outputs
Configurations
Scripting
filter: signed high pass (scoping)
Inputs
Outputs
Configurations
Scripting
filter: signed high pass (timescoping)
Inputs
Outputs
Configurations
Scripting
filter: signed high pass (timefreq)
Inputs
Outputs
Configurations
Scripting
filter: signed high pass (fields container)
Inputs
Outputs
Configurations
Scripting
serialization: csv to field
Inputs
Outputs
Configurations
Scripting
result: members in compression not certified
Inputs
Outputs
Configurations
Scripting
result: members in bending not certified
Inputs
Outputs
Configurations
Scripting
result: members in linear compression bending not certified
Inputs
Outputs
Configurations
Scripting
invariant: convertnum nod to bcs
Inputs
Outputs
Configurations
Scripting
geo: rotate
Inputs
Outputs
Configurations
Scripting
logic: enrich materials
Inputs
Outputs
Configurations
Scripting
serialization: data tree to json
Inputs
Outputs
Configurations
Scripting
serialization: data tree to txt
Inputs
Outputs
Configurations
Scripting
serialization: json to data tree
Inputs
Outputs
Configurations
Scripting
averaging: nodal difference (fields container)
Inputs
Outputs
Configurations
Scripting
logic: descending sort
Inputs
Outputs
Configurations
Scripting
logic: ascending sort (fields container)
Inputs
Outputs
Configurations
Scripting
logic: descending sort (fields container)
Inputs
Outputs
Configurations
Scripting
serialization: import symbolic workflow
Inputs
Outputs
Configurations
Scripting
filter: filtering max over time workflow
Inputs
Outputs
Configurations
Scripting
metadata: integrate over time freq
Inputs
Outputs
Configurations
Scripting
averaging: nodal difference (field)
Inputs
Outputs
Configurations
Scripting
result: compute stress YZ
Inputs
Outputs
Configurations
Scripting
logic: splitter::data_sources
Inputs
Outputs
Configurations
Scripting
averaging: to elemental nodal (fields container)
Inputs
Outputs
Configurations
Scripting
server: grpc start server
Inputs
Outputs
Configurations
Scripting
result: compute stress XY
Inputs
Outputs
Configurations
Scripting
utility: operator id
Inputs
Outputs
Configurations
Scripting
averaging: elemental nodal to nodal (field)
Inputs
Outputs
Configurations
Scripting
averaging: elemental nodal to nodal (fields container)
Inputs
Outputs
Configurations
Scripting
averaging: elemental to nodal (field)
Inputs
Outputs
Configurations
Scripting
logic: merge solid and shell fields
Inputs
Outputs
Configurations
Scripting
min_max: min over time
Inputs
Outputs
Configurations
Scripting
geo: element nodal contribution
Inputs
Outputs
Configurations
Scripting
min_max: over field
Inputs
Outputs
Configurations
Scripting
result: transient rayleigh integration
Inputs
Outputs
Configurations
Scripting
min_max: over fields container
Inputs
Outputs
Configurations
Scripting
min_max: over label
Inputs
Outputs
Configurations
Scripting
min_max: min by component
Inputs
Outputs
Configurations
Scripting
math: average over label
Inputs
Outputs
Configurations
Scripting
math: accumulate level over label
Inputs
Outputs
Configurations
Scripting
serialization: serializer to string
Inputs
Outputs
Configurations
Scripting
serialization: deserializer
Inputs
Outputs
Configurations
Scripting
result: cyclic expanded velocity
Inputs
Outputs
Configurations
Scripting
mesh: skin
Inputs
Outputs
Configurations
Scripting
utility: split in for each range
Inputs
Outputs
Configurations
Scripting
utility: make for each range
Inputs
Outputs
Configurations
Scripting
utility: incremental field
Inputs
Outputs
Configurations
Scripting
utility: incremental fields container
Inputs
Outputs
Configurations
Scripting
geo: rotate (fields container)
Inputs
Outputs
Configurations
Scripting
utility: incremental property field
Inputs
Outputs
Configurations
Scripting
utility: incremental mesh
Inputs
Outputs
Configurations
Scripting
mesh: points from coordinates
Inputs
Outputs
Configurations
Scripting
utility: incremental concantenate as fields container.
Inputs
Outputs
Configurations
Scripting
utility: make producer consumer for each iterator
Inputs
Outputs
Configurations
Scripting
utility: producer consumer for each
Inputs
Outputs
Configurations
Scripting
averaging: extend to mid nodes (field)
Inputs
Outputs
Configurations
Scripting
invariant: eigen vectors (on fields container)
Inputs
Outputs
Configurations
Scripting
mesh: mesh get attribute
Inputs
Outputs
Configurations
Scripting
metadata: time freq support get attribute
Inputs
Outputs
Configurations
Scripting
utility: set attribute
Inputs
Outputs
Configurations
Scripting
utility: field get attribute
Inputs
Outputs
Configurations
Scripting
min_max: time of min
Inputs
Outputs
Configurations
Scripting
min_max: max over phase
Inputs
Outputs
Configurations
Scripting
min_max: phase of max
Inputs
Outputs
Configurations
Scripting
utility: voigt to standard strains
Inputs
Outputs
Configurations
Scripting
utility: voigt to standard strains (fields container)
Inputs
Outputs
Configurations
Scripting
min_max: incremental over field
Inputs
Outputs
Configurations
Scripting
logic: same string fields?
Inputs
Outputs
Configurations
Scripting
logic: same meshes?
Inputs
Outputs
Configurations
Scripting
logic: same fields?
Inputs
Outputs
Configurations
Scripting
logic: same scopings?
Inputs
Outputs
Configurations
Scripting
logic: same generic data containers?
Inputs
Outputs
Configurations
Scripting
logic: same fields container?
Inputs
Outputs
Configurations
Scripting
logic: same scopings container?
Inputs
Outputs
Configurations
Scripting
logic: fields included?
Inputs
Outputs
Configurations
Scripting
filter: high pass (scoping)
Inputs
Outputs
Configurations
Scripting
filter: high pass (timescoping)
Inputs
Outputs
Configurations
Scripting
filter: high pass (fields container)
Inputs
Outputs
Configurations
Scripting
filter: low pass (field)
Inputs
Outputs
Configurations
Scripting
filter: low pass (fields container)
Inputs
Outputs
Configurations
Scripting
filter: band pass (scoping)
Inputs
Outputs
Configurations
Scripting
filter: band pass (timefreq)
Inputs
Outputs
Configurations
Scripting
filter: signed high pass (scoping)
Inputs
Outputs
Configurations
Scripting
filter: signed high pass (timescoping)
Inputs
Outputs
Configurations
Scripting
filter: signed high pass (timefreq)
Inputs
Outputs
Configurations
Scripting
filter: signed high pass (fields container)
Inputs
Outputs
Configurations
Scripting
serialization: csv to field
Inputs
Outputs
Configurations
Scripting
result: members in compression not certified
Inputs
Outputs
Configurations
Scripting
result: members in bending not certified
Inputs
Outputs
Configurations
Scripting
result: members in linear compression bending not certified
Inputs
Outputs
Configurations
Scripting
invariant: convertnum nod to bcs
Inputs
Outputs
Configurations
Scripting
geo: rotate
Inputs
Outputs
Configurations
Scripting
logic: enrich materials
Inputs
Outputs
Configurations
Scripting
serialization: data tree to json
Inputs
Outputs
Configurations
Scripting
serialization: data tree to txt
Inputs
Outputs
Configurations
Scripting
serialization: json to data tree
Inputs
Outputs
Configurations
Scripting
averaging: nodal difference (fields container)
Inputs
Outputs
Configurations
Scripting
logic: descending sort
Inputs
Outputs
Configurations
Scripting
logic: ascending sort (fields container)
Inputs
Outputs
Configurations
Scripting
logic: descending sort (fields container)
Inputs
Outputs
Configurations
Scripting
serialization: import symbolic workflow
Inputs
Outputs
Configurations
Scripting
filter: filtering max over time workflow
Inputs
Outputs
Configurations
Scripting
metadata: integrate over time freq
Inputs
Outputs
Configurations
Scripting
averaging: nodal difference (field)
Inputs
Outputs
Configurations
Scripting
result: compute stress YZ
Inputs
Outputs
Configurations
Scripting
logic: splitter::data_sources
Inputs
Outputs
Configurations
Scripting
averaging: to elemental nodal (fields container)
Inputs
Outputs
Configurations
Scripting
server: grpc start server
Inputs
Outputs
Configurations
Scripting
result: compute stress XY
Inputs
Outputs
Configurations
Scripting
utility: operator id
Inputs
Outputs
Configurations
Scripting
averaging: elemental nodal to nodal (field)
Inputs
Outputs
Configurations
Scripting
averaging: elemental nodal to nodal (fields container)
Inputs
Outputs
Configurations
Scripting
averaging: elemental to nodal (field)
Configurating operators
- If the determinant of the I matrix is zero, switch to an inverse distance weighted average.
- If not, compute the Frink weights and apply the Holmes' weight clip.
- If the clipping produces a large overshoot, inverse volume weighted average is used..
-3. For a face finite volume mesh inverse distance weighted average is used.">Inputs
Outputs
Configurations
Scripting
averaging: to nodal (field)
Inputs
Outputs
Configurations
Scripting
averaging: to nodal (fields container)
Inputs
Outputs
Configurations
Scripting
averaging: elemental mean (field)
Inputs
Outputs
Configurations
Scripting
averaging: nodal to elemental (field)
Inputs
Outputs
Configurations
Scripting
averaging: nodal to elemental (fields container)
Inputs
Outputs
Configurations
Scripting
averaging: nodal to elemental nodal (field)
Inputs
Outputs
Configurations
Scripting
averaging: nodal to elemental nodal (fields container)
Inputs
Outputs
Configurations
Scripting
invariant: eigen values (field)
Inputs
Outputs
Configurations
Scripting
invariant: principal invariants (field)
Inputs
Outputs
Configurations
Scripting
invariant: von mises eqv (fields container)
Inputs
Outputs
Configurations
Scripting
invariant: segalman von mises eqv (fields container)
Inputs
Outputs
Configurations
Scripting
scoping: compute element centroids
Inputs
Outputs
Configurations
Scripting
metadata: cyclic mesh expansion
Inputs
Outputs
Configurations
Scripting
result: cyclic analytic stress eqv max
Inputs
Outputs
Configurations
Scripting
result: remove rigid body motion (fields container)
Inputs
Outputs
Configurations
Scripting
result: cyclic expansion
Inputs
Outputs
Configurations
Scripting
averaging: nodal fraction (fields container)
Inputs
Outputs
Configurations
Scripting
result: recombine cyclic harmonic indices
Inputs
Outputs
Configurations
Scripting
mapping: on coordinates
Inputs
Outputs
Configurations
Scripting
mapping: scoping on coordinates
Inputs
Outputs
Configurations
Scripting
filter: abc weightings
Inputs
Outputs
Configurations
Scripting
mapping: solid to skin
Inputs
Outputs
Configurations
Scripting
mapping: solid to skin (fields container)
Inputs
Outputs
Configurations
Scripting
averaging: elemental difference (field)
Inputs
Outputs
Configurations
Scripting
averaging: elemental fraction (fields container)
Inputs
Outputs
Configurations
Scripting
averaging: extend to mid nodes (fields container)
Inputs
Outputs
Configurations
Scripting
geo: rotate cylindrical coordinates
Inputs
Outputs
Configurations
Scripting
geo: rotate in cylindrical coordinates (fields container)
Inputs
Outputs
Configurations
Scripting
geo: spherical to cartesian coordinates (fields container)
Inputs
Outputs
Configurations
Scripting
geo: spherical to cartesian coordinates
Inputs
Outputs
Configurations
Scripting
mesh: change cs (meshes)
Inputs
Outputs
Configurations
Scripting
geo: normals provider nl (nodes, faces, or elements)
Inputs
Outputs
Configurations
Scripting
geo: elements volumes over time
Inputs
Outputs
Configurations
Scripting
math: window bartlett
Inputs
Outputs
Configurations
Scripting
mesh: from scoping
Inputs
Outputs
Configurations
Scripting
mesh: split field wrt mesh regions
Inputs
Outputs
Configurations
Scripting
result: torque
Inputs
Outputs
Configurations
Scripting
result: euler load buckling
Inputs
Outputs
Configurations
Scripting
geo: faces area
Inputs
Outputs
Configurations
Scripting
result: compute stress 3
Inputs
Outputs
Configurations
Scripting
geo: gauss to node (field)
Inputs
Outputs
Configurations
Scripting
averaging: gauss to node (fields container)
Inputs
Outputs
Configurations
Scripting
math: correlation
Inputs
Outputs
Configurations
Scripting
math: mac
Inputs
Outputs
Configurations
Scripting
result: workflow energy per component
Inputs
Outputs
Configurations
Scripting
result: add rigid body motion (field)
Inputs
Outputs
Configurations
Scripting
result: split on facet indices
Inputs
Outputs
Configurations
Scripting
result: enf solution to global cs
Inputs
Outputs
Configurations
Scripting
result: cms matrices provider
Inputs
Outputs
Configurations
Scripting
result: rom data provider
Inputs
Outputs
Configurations
Scripting
result: prns to field
Inputs
Outputs
Configurations
Scripting
result: remove rigid body motion (field)
Inputs
Outputs
Configurations
Scripting
result: cyclic expanded displacement
Inputs
Outputs
Configurations
Scripting
result: cyclic expanded acceleration
Inputs
Outputs
Configurations
Scripting
result: cyclic expanded stress
Inputs
Outputs
Configurations
Scripting
result: cyclic expanded el strain
Inputs
Outputs
Configurations
Scripting
result: cms subfile info provider
Inputs
Outputs
Configurations
Scripting
result: cyclic volume
Inputs
Outputs
Configurations
Scripting
result: cyclic nmisc
Inputs
Outputs
Configurations
Scripting
invariant: convertnum operator
Inputs
Outputs
Configurations
Scripting
result: compute total strain XZ
Inputs
Outputs
Configurations
Scripting
averaging: to nodal (field)
Inputs
Outputs
Configurations
Scripting
averaging: to nodal (fields container)
Inputs
Outputs
Configurations
Scripting
averaging: elemental mean (field)
Inputs
Outputs
Configurations
Scripting
averaging: nodal to elemental (field)
Inputs
Outputs
Configurations
Scripting
averaging: nodal to elemental (fields container)
Inputs
Outputs
Configurations
Scripting
averaging: nodal to elemental nodal (field)
Inputs
Outputs
Configurations
Scripting
averaging: nodal to elemental nodal (fields container)
Inputs
Outputs
Configurations
Scripting
invariant: eigen values (field)
Inputs
Outputs
Configurations
Scripting
invariant: principal invariants (field)
Inputs
Outputs
Configurations
Scripting
invariant: von mises eqv (fields container)
Inputs
Outputs
Configurations
Scripting
invariant: segalman von mises eqv (fields container)
Inputs
Outputs
Configurations
Scripting
scoping: compute element centroids
Inputs
Outputs
Configurations
Scripting
metadata: cyclic mesh expansion
Inputs
Outputs
Configurations
Scripting
result: cyclic analytic stress eqv max
Inputs
Outputs
Configurations
Scripting
result: remove rigid body motion (fields container)
Inputs
Outputs
Configurations
Scripting
result: cyclic expansion
Inputs
Outputs
Configurations
Scripting
averaging: nodal fraction (fields container)
Inputs
Outputs
Configurations
Scripting
result: recombine cyclic harmonic indices
Inputs
Outputs
Configurations
Scripting
mapping: on coordinates
Inputs
Outputs
Configurations
Scripting
mapping: scoping on coordinates
Inputs
Outputs
Configurations
Scripting
filter: abc weightings
Inputs
Outputs
Configurations
Scripting
mapping: solid to skin
Inputs
Outputs
Configurations
Scripting
mapping: solid to skin (fields container)
Inputs
Outputs
Configurations
Scripting
averaging: elemental difference (field)
Inputs
Outputs
Configurations
Scripting
averaging: elemental fraction (fields container)
Inputs
Outputs
Configurations
Scripting
averaging: extend to mid nodes (fields container)
Inputs
Outputs
Configurations
Scripting
geo: rotate cylindrical coordinates
Inputs
Outputs
Configurations
Scripting
geo: rotate in cylindrical coordinates (fields container)
Inputs
Outputs
Configurations
Scripting
geo: spherical to cartesian coordinates (fields container)
Inputs
Outputs
Configurations
Scripting
geo: spherical to cartesian coordinates
Inputs
Outputs
Configurations
Scripting
mesh: change cs (meshes)
Inputs
Outputs
Configurations
Scripting
geo: normals provider nl (nodes, faces, or elements)
Inputs
Outputs
Configurations
Scripting
geo: elements volumes over time
Inputs
Outputs
Configurations
Scripting
math: window bartlett
Inputs
Outputs
Configurations
Scripting
mesh: from scoping
Inputs
Outputs
Configurations
Scripting
mesh: split field wrt mesh regions
Inputs
Outputs
Configurations
Scripting
result: torque
Inputs
Outputs
Configurations
Scripting
result: euler load buckling
Inputs
Outputs
Configurations
Scripting
geo: faces area
Inputs
Outputs
Configurations
Scripting
result: compute stress 3
Inputs
Outputs
Configurations
Scripting
geo: gauss to node (field)
Inputs
Outputs
Configurations
Scripting
averaging: gauss to node (fields container)
Inputs
Outputs
Configurations
Scripting
math: correlation
Inputs
Outputs
Configurations
Scripting
math: mac
Inputs
Outputs
Configurations
Scripting
result: workflow energy per component
Inputs
Outputs
Configurations
Scripting
result: add rigid body motion (field)
Inputs
Outputs
Configurations
Scripting
result: split on facet indices
Inputs
Outputs
Configurations
Scripting
result: cyclic expanded temperature
Inputs
Outputs
Configurations
Scripting
result: enf solution to global cs
Inputs
Outputs
Configurations
Scripting
result: cms matrices provider
Inputs
Outputs
Configurations
Scripting
result: rom data provider
Inputs
Outputs
Configurations
Scripting
result: prns to field
Inputs
Outputs
Configurations
Scripting
result: remove rigid body motion (field)
Inputs
Outputs
Configurations
Scripting
result: cyclic expanded displacement
Inputs
Outputs
Configurations
Scripting
result: cyclic expanded acceleration
Inputs
Outputs
Configurations
Scripting
result: cyclic expanded stress
Inputs
Outputs
Configurations
Scripting
result: cyclic expanded el strain
Inputs
Outputs
Configurations
Scripting
result: cms subfile info provider
Inputs
Outputs
Configurations
Scripting
result: cyclic volume
Inputs
Outputs
Configurations
Scripting
result: cyclic nmisc
Inputs
Outputs
Configurations
Scripting
result: cyclic expanded element heat flux
Inputs
Outputs
Configurations
Scripting
result: stress solution to global cs
Inputs
Outputs
Configurations
Scripting
invariant: convertnum operator
Inputs
Outputs
Configurations
Scripting
result: compute total strain XZ
Configurating operators
Only linear analysis are supported without On Demand Expansion.
All coordinates are global coordinates.
Euler Angles need to be included in the database.
- Get the XZ shear component (02 component).">Inputs
Outputs
Configurations
Scripting
result: cms dst table provider
Inputs
Outputs
Configurations
Scripting
result: write motion dfmf file
Inputs
Outputs
Configurations
Scripting
invariant: eigen vectors (on field)
Inputs
Outputs
Configurations
Scripting
result: mapdl material properties
Inputs
Outputs
Configurations
Scripting
result: mapdl_section
Inputs
Outputs
Configurations
Scripting
result: compute invariant terms motion
Inputs
Outputs
Configurations
Scripting
result: split to acmo facet indices
Inputs
Outputs
Configurations
Scripting
result: cyclic expanded element heat flux
Inputs
Outputs
Configurations
Scripting
result: stress solution to global cs
Inputs
Outputs
Configurations
Scripting
result: elastic strain solution to global cs
Inputs
Outputs
Configurations
Scripting
result: plastic strain to global cs
Inputs
Outputs
Configurations
Scripting
math: qr solve
Inputs
Outputs
Configurations
Scripting
result: von mises strains as mechanical workflow
Inputs
Outputs
Configurations
Scripting
mesh: mesh clipper
Inputs
Outputs
Configurations
Scripting
serialization: migrate to vtk
Inputs
Outputs
Configurations
Scripting
result: cyclic expanded temperature
Inputs
Outputs
Configurations
Scripting
mesh: external layer
Inputs
Outputs
Configurations
Scripting
mesh: mesh cutter
Inputs
Outputs
Configurations
Scripting
mesh: mesh plan clipper
Inputs
Outputs
Configurations
Scripting
mesh: mesh_to_graphics
Inputs
Outputs
Configurations
Scripting
mesh: mesh_to_graphics_edges
Inputs
Outputs
Configurations
Scripting
geo: scoping normals
Inputs
Outputs
Configurations
Scripting
mesh: combine levelset
Inputs
Outputs
Configurations
Scripting
mesh: exclude levelset
Inputs
Outputs
Configurations
Scripting
mesh: make plane levelset
Inputs
Outputs
Configurations
Scripting
mesh: make sphere levelset
Inputs
Outputs
Configurations
Scripting
mesh: wireframe
Inputs
Outputs
Configurations
Scripting
mesh: mesh to tetra
Inputs
Outputs
Configurations
Scripting
mapping: fft
Inputs
Outputs
Configurations
Scripting
math: fft gradient evaluation
Inputs
Outputs
Configurations
Scripting
math: fft multi harmonic solution minmax
Inputs
Outputs
Configurations
Scripting
math: svd
Inputs
Outputs
Configurations
Scripting
math: time integration
Inputs
Outputs
Configurations
Scripting
math: time derivation
Inputs
Outputs
Configurations
Scripting
mapping: prep sampling fft
Inputs
Outputs
Configurations
Scripting
math: fft filtering and cubic fitting
Inputs
Outputs
Configurations
Scripting
math: window triangular
Inputs
Outputs
Configurations
Scripting
math: window hanning
Inputs
Outputs
Configurations
Scripting
math: window hamming
Inputs
Outputs
Configurations
Scripting
math: window welch
Inputs
Outputs
Configurations
Scripting
math: window blackman
Inputs
Outputs
Configurations
Scripting
math: window triangular (fields container)
Inputs
Outputs
Configurations
Scripting
math: window hanning (fields container)
Inputs
Outputs
Configurations
Scripting
math: window hamming (fields container)
Inputs
Outputs
Configurations
Scripting
math: window welch (fields container)
Inputs
Outputs
Configurations
Scripting
math: window blackman (fields container)
Inputs
Outputs
Configurations
Scripting
math: modal superposition
Inputs
Outputs
Configurations
Scripting
math: expansion psd
Inputs
Outputs
Configurations
Scripting
serialization: hdf5dpf generate result file
Inputs
Outputs
Configurations
Scripting
result: migrate to h5dpf
Inputs
Outputs
Configurations
Scripting
result: von mises stresses as mechanical workflow
Inputs
Outputs
Configurations
Scripting
utility: hdf5dpf workflow provider
Inputs
Outputs
Configurations
Scripting
other: hdf5dpf mesh property provider
Inputs
Outputs
Configurations
Scripting
serialization: migrate to vtu
Inputs
Outputs
Configurations
Scripting
serialization: vtu export
Inputs
Outputs
Configurations
Scripting
result: compute total strain Y
Inputs
Outputs
Configurations
Scripting
result: cms dst table provider
Inputs
Outputs
Configurations
Scripting
result: write motion dfmf file
Inputs
Outputs
Configurations
Scripting
invariant: eigen vectors (on field)
Inputs
Outputs
Configurations
Scripting
result: mapdl material properties
Inputs
Outputs
Configurations
Scripting
result: mapdl_section
Inputs
Outputs
Configurations
Scripting
result: compute invariant terms motion
Inputs
Outputs
Configurations
Scripting
result: split to acmo facet indices
Inputs
Outputs
Configurations
Scripting
result: elastic strain solution to global cs
Inputs
Outputs
Configurations
Scripting
result: plastic strain to global cs
Inputs
Outputs
Configurations
Scripting
math: qr solve
Inputs
Outputs
Configurations
Scripting
result: von mises strains as mechanical workflow
Inputs
Outputs
Configurations
Scripting
mesh: mesh clipper
Inputs
Outputs
Configurations
Scripting
serialization: migrate to vtk
Inputs
Outputs
Configurations
Scripting
mesh: external layer
Inputs
Outputs
Configurations
Scripting
mesh: mesh cutter
Inputs
Outputs
Configurations
Scripting
mesh: mesh plan clipper
Inputs
Outputs
Configurations
Scripting
mesh: mesh_to_graphics
Inputs
Outputs
Configurations
Scripting
mesh: mesh_to_graphics_edges
Inputs
Outputs
Configurations
Scripting
geo: scoping normals
Inputs
Outputs
Configurations
Scripting
mesh: combine levelset
Inputs
Outputs
Configurations
Scripting
mesh: exclude levelset
Inputs
Outputs
Configurations
Scripting
mesh: make plane levelset
Inputs
Outputs
Configurations
Scripting
mesh: make sphere levelset
Inputs
Outputs
Configurations
Scripting
mesh: wireframe
Inputs
Outputs
Configurations
Scripting
mesh: mesh to tetra
Inputs
Outputs
Configurations
Scripting
mapping: fft
Inputs
Outputs
Configurations
Scripting
math: fft gradient evaluation
Inputs
Outputs
Configurations
Scripting
math: fft multi harmonic solution minmax
Inputs
Outputs
Configurations
Scripting
math: svd
Inputs
Outputs
Configurations
Scripting
math: time integration
Inputs
Outputs
Configurations
Scripting
math: time derivation
Inputs
Outputs
Configurations
Scripting
mapping: prep sampling fft
Inputs
Outputs
Configurations
Scripting
math: fft filtering and cubic fitting
Inputs
Outputs
Configurations
Scripting
math: window triangular
Inputs
Outputs
Configurations
Scripting
math: window hanning
Inputs
Outputs
Configurations
Scripting
math: window hamming
Inputs
Outputs
Configurations
Scripting
math: window welch
Inputs
Outputs
Configurations
Scripting
math: window blackman
Inputs
Outputs
Configurations
Scripting
math: window triangular (fields container)
Inputs
Outputs
Configurations
Scripting
math: window hanning (fields container)
Inputs
Outputs
Configurations
Scripting
math: window hamming (fields container)
Inputs
Outputs
Configurations
Scripting
math: window welch (fields container)
Inputs
Outputs
Configurations
Scripting
math: window blackman (fields container)
Inputs
Outputs
Configurations
Scripting
math: modal superposition
Inputs
Outputs
Configurations
Scripting
math: expansion psd
Inputs
Outputs
Configurations
Scripting
serialization: hdf5dpf generate result file
Inputs
Outputs
Configurations
Scripting
result: migrate to h5dpf
Inputs
Outputs
Configurations
Scripting
result: von mises stresses as mechanical workflow
Inputs
Outputs
Configurations
Scripting
utility: hdf5dpf workflow provider
Inputs
Outputs
Configurations
Scripting
other: hdf5dpf mesh property provider
Inputs
Outputs
Configurations
Scripting
serialization: migrate to vtu
Inputs
Outputs
Configurations
Scripting
serialization: vtu export
Inputs
Outputs
Configurations
Scripting
result: compute total strain Y
>> from ansys.dpf import core as dpf
+
+ >>> # Instantiate operator
+ >>> op = dpf.operators.logic.identical_anys()
+
+ >>> # Make input connections
+ >>> my_anyA = dpf.Any()
+ >>> op.inputs.anyA.connect(my_anyA)
+ >>> my_anyB = dpf.Any()
+ >>> op.inputs.anyB.connect(my_anyB)
+ >>> my_double_value = float()
+ >>> op.inputs.double_value.connect(my_double_value)
+ >>> my_double_tolerance = float()
+ >>> op.inputs.double_tolerance.connect(my_double_tolerance)
+ >>> my_compare_auxiliary = bool()
+ >>> op.inputs.compare_auxiliary.connect(my_compare_auxiliary)
+
+ >>> # Instantiate operator and connect inputs in one line
+ >>> op = dpf.operators.logic.identical_anys(
+ ... anyA=my_anyA,
+ ... anyB=my_anyB,
+ ... double_value=my_double_value,
+ ... double_tolerance=my_double_tolerance,
+ ... compare_auxiliary=my_compare_auxiliary,
+ ... )
+
+ >>> # Get output data
+ >>> result_included = op.outputs.included()
+ >>> result_message = op.outputs.message()
+ """
+
+ def __init__(
+ self,
+ anyA=None,
+ anyB=None,
+ double_value=None,
+ double_tolerance=None,
+ compare_auxiliary=None,
+ config=None,
+ server=None,
+ ):
+ super().__init__(name="compare::any", config=config, server=server)
+ self._inputs = InputsIdenticalAnys(self)
+ self._outputs = OutputsIdenticalAnys(self)
+ if anyA is not None:
+ self.inputs.anyA.connect(anyA)
+ if anyB is not None:
+ self.inputs.anyB.connect(anyB)
+ if double_value is not None:
+ self.inputs.double_value.connect(double_value)
+ if double_tolerance is not None:
+ self.inputs.double_tolerance.connect(double_tolerance)
+ if compare_auxiliary is not None:
+ self.inputs.compare_auxiliary.connect(compare_auxiliary)
+
+ @staticmethod
+ def _spec():
+ description = """Takes two Any objects and compares them.Supported types: Field,
+ FieldsContainer, Mesh, MeshesContainer, PropertyField,
+ PropertyFieldsContainer, Scoping, ScopingsContainer,
+ StringField, standard types (double, int, string, vector
+ of int, doubles, string). Note: all inputs related to
+ fields, mesh, and so on are passed to each property check."""
+ spec = Specification(
+ description=description,
+ map_input_pin_spec={
+ 0: PinSpecification(
+ name="anyA",
+ type_names=["any"],
+ optional=False,
+ document="""""",
+ ),
+ 1: PinSpecification(
+ name="anyB",
+ type_names=["any"],
+ optional=False,
+ document="""""",
+ ),
+ 2: PinSpecification(
+ name="double_value",
+ type_names=["double"],
+ optional=False,
+ document="""Double positive small value. smallest value
+ considered during the comparison
+ step. all the absolute values in the
+ field less than this value are
+ considered null, (default value:
+ 1.0e-14).""",
+ ),
+ 3: PinSpecification(
+ name="double_tolerance",
+ type_names=["double"],
+ optional=True,
+ document="""Double relative tolerance. maximum tolerance
+ gap between two compared values.
+ values within relative tolerance are
+ considered identical. formula is
+ (v1-v2)/v2 < relativetol. default is
+ 0.001.""",
+ ),
+ 4: PinSpecification(
+ name="compare_auxiliary",
+ type_names=["bool"],
+ optional=False,
+ document="""For meshes and meshescontainer: compare
+ auxiliary data (i.e property fields,
+ scopings...). default value is
+ 'false'.""",
+ ),
+ },
+ map_output_pin_spec={
+ 0: PinSpecification(
+ name="included",
+ type_names=["bool"],
+ optional=False,
+ document="""Bool (true if belongs...)""",
+ ),
+ 1: PinSpecification(
+ name="message",
+ type_names=["string"],
+ optional=False,
+ document="""""",
+ ),
+ },
+ )
+ return spec
+
+ @staticmethod
+ def default_config(server=None):
+ """Returns the default config of the operator.
+
+ This config can then be changed to the user needs and be used to
+ instantiate the operator. The Configuration allows to customize
+ how the operation will be processed by the operator.
+
+ Parameters
+ ----------
+ server : server.DPFServer, optional
+ Server with channel connected to the remote or local instance. When
+ ``None``, attempts to use the global server.
+ """
+ return Operator.default_config(name="compare::any", server=server)
+
+ @property
+ def inputs(self):
+ """Enables to connect inputs to the operator
+
+ Returns
+ --------
+ inputs : InputsIdenticalAnys
+ """
+ return super().inputs
+
+ @property
+ def outputs(self):
+ """Enables to get outputs of the operator by evaluating it
+
+ Returns
+ --------
+ outputs : OutputsIdenticalAnys
+ """
+ return super().outputs
+
+
+class InputsIdenticalAnys(_Inputs):
+ """Intermediate class used to connect user inputs to
+ identical_anys operator.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_anys()
+ >>> my_anyA = dpf.Any()
+ >>> op.inputs.anyA.connect(my_anyA)
+ >>> my_anyB = dpf.Any()
+ >>> op.inputs.anyB.connect(my_anyB)
+ >>> my_double_value = float()
+ >>> op.inputs.double_value.connect(my_double_value)
+ >>> my_double_tolerance = float()
+ >>> op.inputs.double_tolerance.connect(my_double_tolerance)
+ >>> my_compare_auxiliary = bool()
+ >>> op.inputs.compare_auxiliary.connect(my_compare_auxiliary)
+ """
+
+ def __init__(self, op: Operator):
+ super().__init__(identical_anys._spec().inputs, op)
+ self._anyA = Input(identical_anys._spec().input_pin(0), 0, op, -1)
+ self._inputs.append(self._anyA)
+ self._anyB = Input(identical_anys._spec().input_pin(1), 1, op, -1)
+ self._inputs.append(self._anyB)
+ self._double_value = Input(identical_anys._spec().input_pin(2), 2, op, -1)
+ self._inputs.append(self._double_value)
+ self._double_tolerance = Input(identical_anys._spec().input_pin(3), 3, op, -1)
+ self._inputs.append(self._double_tolerance)
+ self._compare_auxiliary = Input(identical_anys._spec().input_pin(4), 4, op, -1)
+ self._inputs.append(self._compare_auxiliary)
+
+ @property
+ def anyA(self):
+ """Allows to connect anyA input to the operator.
+
+ Parameters
+ ----------
+ my_anyA : Any
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_anys()
+ >>> op.inputs.anyA.connect(my_anyA)
+ >>> # or
+ >>> op.inputs.anyA(my_anyA)
+ """
+ return self._anyA
+
+ @property
+ def anyB(self):
+ """Allows to connect anyB input to the operator.
+
+ Parameters
+ ----------
+ my_anyB : Any
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_anys()
+ >>> op.inputs.anyB.connect(my_anyB)
+ >>> # or
+ >>> op.inputs.anyB(my_anyB)
+ """
+ return self._anyB
+
+ @property
+ def double_value(self):
+ """Allows to connect double_value input to the operator.
+
+ Double positive small value. smallest value
+ considered during the comparison
+ step. all the absolute values in the
+ field less than this value are
+ considered null, (default value:
+ 1.0e-14).
+
+ Parameters
+ ----------
+ my_double_value : float
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_anys()
+ >>> op.inputs.double_value.connect(my_double_value)
+ >>> # or
+ >>> op.inputs.double_value(my_double_value)
+ """
+ return self._double_value
+
+ @property
+ def double_tolerance(self):
+ """Allows to connect double_tolerance input to the operator.
+
+ Double relative tolerance. maximum tolerance
+ gap between two compared values.
+ values within relative tolerance are
+ considered identical. formula is
+ (v1-v2)/v2 < relativetol. default is
+ 0.001.
+
+ Parameters
+ ----------
+ my_double_tolerance : float
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_anys()
+ >>> op.inputs.double_tolerance.connect(my_double_tolerance)
+ >>> # or
+ >>> op.inputs.double_tolerance(my_double_tolerance)
+ """
+ return self._double_tolerance
+
+ @property
+ def compare_auxiliary(self):
+ """Allows to connect compare_auxiliary input to the operator.
+
+ For meshes and meshescontainer: compare
+ auxiliary data (i.e property fields,
+ scopings...). default value is
+ 'false'.
+
+ Parameters
+ ----------
+ my_compare_auxiliary : bool
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_anys()
+ >>> op.inputs.compare_auxiliary.connect(my_compare_auxiliary)
+ >>> # or
+ >>> op.inputs.compare_auxiliary(my_compare_auxiliary)
+ """
+ return self._compare_auxiliary
+
+
+class OutputsIdenticalAnys(_Outputs):
+ """Intermediate class used to get outputs from
+ identical_anys operator.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_anys()
+ >>> # Connect inputs : op.inputs. ...
+ >>> result_included = op.outputs.included()
+ >>> result_message = op.outputs.message()
+ """
+
+ def __init__(self, op: Operator):
+ super().__init__(identical_anys._spec().outputs, op)
+ self._included = Output(identical_anys._spec().output_pin(0), 0, op)
+ self._outputs.append(self._included)
+ self._message = Output(identical_anys._spec().output_pin(1), 1, op)
+ self._outputs.append(self._message)
+
+ @property
+ def included(self):
+ """Allows to get included output of the operator
+
+ Returns
+ ----------
+ my_included : bool
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_anys()
+ >>> # Connect inputs : op.inputs. ...
+ >>> result_included = op.outputs.included()
+ """ # noqa: E501
+ return self._included
+
+ @property
+ def message(self):
+ """Allows to get message output of the operator
+
+ Returns
+ ----------
+ my_message : str
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_anys()
+ >>> # Connect inputs : op.inputs. ...
+ >>> result_message = op.outputs.message()
+ """ # noqa: E501
+ return self._message
diff --git a/src/ansys/dpf/core/operators/logic/identical_fc.py b/src/ansys/dpf/core/operators/logic/identical_fc.py
index eff09e2135..5542af0bff 100644
--- a/src/ansys/dpf/core/operators/logic/identical_fc.py
+++ b/src/ansys/dpf/core/operators/logic/identical_fc.py
@@ -12,7 +12,7 @@
class identical_fc(Operator):
- """Checks if two fields containers are identical.
+ """Checks if two fields_container are identical.
Parameters
----------
@@ -91,7 +91,7 @@ def __init__(
@staticmethod
def _spec():
- description = """Checks if two fields containers are identical."""
+ description = """Checks if two fields_container are identical."""
spec = Specification(
description=description,
map_input_pin_spec={
diff --git a/src/ansys/dpf/core/operators/logic/identical_fields.py b/src/ansys/dpf/core/operators/logic/identical_fields.py
index 79d40ddee9..18e2184939 100644
--- a/src/ansys/dpf/core/operators/logic/identical_fields.py
+++ b/src/ansys/dpf/core/operators/logic/identical_fields.py
@@ -20,17 +20,18 @@ class identical_fields(Operator):
fieldB : Field
double_value : float, optional
Double positive small value. smallest value
- which will be considered during the
- comparison step. all the abs(values)
- in the field less than this value are
- considered as null, (default
- value:1.0e-14).
+ considered during the comparison
+ step. all the absolute values in the
+ field less than this value are
+ considered null, (default value:
+ 1.0e-14).
double_tolerance : float, optional
Double relative tolerance. maximum tolerance
gap between two compared values.
values within relative tolerance are
- considered identical(v1 - v2) / v2 <
- relativetol(default is 0.001).
+ considered identical. formula is (v1
+ - v2) / v2 < relativetol. default is
+ 0.001.
Returns
-------
@@ -112,11 +113,11 @@ def _spec():
type_names=["double"],
optional=True,
document="""Double positive small value. smallest value
- which will be considered during the
- comparison step. all the abs(values)
- in the field less than this value are
- considered as null, (default
- value:1.0e-14).""",
+ considered during the comparison
+ step. all the absolute values in the
+ field less than this value are
+ considered null, (default value:
+ 1.0e-14).""",
),
3: PinSpecification(
name="double_tolerance",
@@ -125,8 +126,9 @@ def _spec():
document="""Double relative tolerance. maximum tolerance
gap between two compared values.
values within relative tolerance are
- considered identical(v1 - v2) / v2 <
- relativetol(default is 0.001).""",
+ considered identical. formula is (v1
+ - v2) / v2 < relativetol. default is
+ 0.001.""",
),
},
map_output_pin_spec={
@@ -253,11 +255,11 @@ def double_value(self):
"""Allows to connect double_value input to the operator.
Double positive small value. smallest value
- which will be considered during the
- comparison step. all the abs(values)
- in the field less than this value are
- considered as null, (default
- value:1.0e-14).
+ considered during the comparison
+ step. all the absolute values in the
+ field less than this value are
+ considered null, (default value:
+ 1.0e-14).
Parameters
----------
@@ -280,8 +282,9 @@ def double_tolerance(self):
Double relative tolerance. maximum tolerance
gap between two compared values.
values within relative tolerance are
- considered identical(v1 - v2) / v2 <
- relativetol(default is 0.001).
+ considered identical. formula is (v1
+ - v2) / v2 < relativetol. default is
+ 0.001.
Parameters
----------
diff --git a/src/ansys/dpf/core/operators/logic/identical_generic_data_containers.py b/src/ansys/dpf/core/operators/logic/identical_generic_data_containers.py
new file mode 100644
index 0000000000..529768b595
--- /dev/null
+++ b/src/ansys/dpf/core/operators/logic/identical_generic_data_containers.py
@@ -0,0 +1,432 @@
+"""
+identical_generic_data_containers
+
+Autogenerated DPF operator classes.
+"""
+
+from warnings import warn
+from ansys.dpf.core.dpf_operator import Operator
+from ansys.dpf.core.inputs import Input, _Inputs
+from ansys.dpf.core.outputs import Output, _Outputs
+from ansys.dpf.core.operators.specification import PinSpecification, Specification
+
+
+class identical_generic_data_containers(Operator):
+ """Takes two generic data containers and compares them. Supported types:
+ Field, FieldsContainer, Mesh, MeshesContainer, PropertyField,
+ PropertyFieldsContainer, Scoping, ScopingsContainer,
+ StringFieldstandard types (double, int, string, vector of int,
+ doubles, string)Note: all inputs related to fields, mesh, and so
+ on are passed to each property check.
+
+ Parameters
+ ----------
+ generic_data_containerA : GenericDataContainer
+ generic_data_containerB : GenericDataContainer
+ double_value : float
+ Double positive small value. smallest value
+ considered during the comparison
+ step. all the absolute values in the
+ field less than this value are
+ considered null, (default value:
+ 1.0e-14).
+ double_tolerance : float, optional
+ Double relative tolerance. maximum tolerance
+ gap between two compared values.
+ values within relative tolerance are
+ considered identical. formula is
+ (v1-v2)/v2 < relativetol. default is
+ 0.001.
+ compare_auxiliary : bool
+ For meshes and meshescontainer: compare
+ auxiliary data (i.e property fields,
+ scopings...). default value is
+ 'false'.
+
+ Returns
+ -------
+ included : bool
+ Bool (true if belongs...)
+ message : str
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+
+ >>> # Instantiate operator
+ >>> op = dpf.operators.logic.identical_generic_data_containers()
+
+ >>> # Make input connections
+ >>> my_generic_data_containerA = dpf.GenericDataContainer()
+ >>> op.inputs.generic_data_containerA.connect(my_generic_data_containerA)
+ >>> my_generic_data_containerB = dpf.GenericDataContainer()
+ >>> op.inputs.generic_data_containerB.connect(my_generic_data_containerB)
+ >>> my_double_value = float()
+ >>> op.inputs.double_value.connect(my_double_value)
+ >>> my_double_tolerance = float()
+ >>> op.inputs.double_tolerance.connect(my_double_tolerance)
+ >>> my_compare_auxiliary = bool()
+ >>> op.inputs.compare_auxiliary.connect(my_compare_auxiliary)
+
+ >>> # Instantiate operator and connect inputs in one line
+ >>> op = dpf.operators.logic.identical_generic_data_containers(
+ ... generic_data_containerA=my_generic_data_containerA,
+ ... generic_data_containerB=my_generic_data_containerB,
+ ... double_value=my_double_value,
+ ... double_tolerance=my_double_tolerance,
+ ... compare_auxiliary=my_compare_auxiliary,
+ ... )
+
+ >>> # Get output data
+ >>> result_included = op.outputs.included()
+ >>> result_message = op.outputs.message()
+ """
+
+ def __init__(
+ self,
+ generic_data_containerA=None,
+ generic_data_containerB=None,
+ double_value=None,
+ double_tolerance=None,
+ compare_auxiliary=None,
+ config=None,
+ server=None,
+ ):
+ super().__init__(
+ name="compare::generic_data_container", config=config, server=server
+ )
+ self._inputs = InputsIdenticalGenericDataContainers(self)
+ self._outputs = OutputsIdenticalGenericDataContainers(self)
+ if generic_data_containerA is not None:
+ self.inputs.generic_data_containerA.connect(generic_data_containerA)
+ if generic_data_containerB is not None:
+ self.inputs.generic_data_containerB.connect(generic_data_containerB)
+ if double_value is not None:
+ self.inputs.double_value.connect(double_value)
+ if double_tolerance is not None:
+ self.inputs.double_tolerance.connect(double_tolerance)
+ if compare_auxiliary is not None:
+ self.inputs.compare_auxiliary.connect(compare_auxiliary)
+
+ @staticmethod
+ def _spec():
+ description = """Takes two generic data containers and compares them. Supported types:
+ Field, FieldsContainer, Mesh, MeshesContainer,
+ PropertyField, PropertyFieldsContainer, Scoping,
+ ScopingsContainer, StringFieldstandard types (double, int,
+ string, vector of int, doubles, string)Note: all inputs
+ related to fields, mesh, and so on are passed to each
+ property check."""
+ spec = Specification(
+ description=description,
+ map_input_pin_spec={
+ 0: PinSpecification(
+ name="generic_data_containerA",
+ type_names=["generic_data_container"],
+ optional=False,
+ document="""""",
+ ),
+ 1: PinSpecification(
+ name="generic_data_containerB",
+ type_names=["generic_data_container"],
+ optional=False,
+ document="""""",
+ ),
+ 2: PinSpecification(
+ name="double_value",
+ type_names=["double"],
+ optional=False,
+ document="""Double positive small value. smallest value
+ considered during the comparison
+ step. all the absolute values in the
+ field less than this value are
+ considered null, (default value:
+ 1.0e-14).""",
+ ),
+ 3: PinSpecification(
+ name="double_tolerance",
+ type_names=["double"],
+ optional=True,
+ document="""Double relative tolerance. maximum tolerance
+ gap between two compared values.
+ values within relative tolerance are
+ considered identical. formula is
+ (v1-v2)/v2 < relativetol. default is
+ 0.001.""",
+ ),
+ 4: PinSpecification(
+ name="compare_auxiliary",
+ type_names=["bool"],
+ optional=False,
+ document="""For meshes and meshescontainer: compare
+ auxiliary data (i.e property fields,
+ scopings...). default value is
+ 'false'.""",
+ ),
+ },
+ map_output_pin_spec={
+ 0: PinSpecification(
+ name="included",
+ type_names=["bool"],
+ optional=False,
+ document="""Bool (true if belongs...)""",
+ ),
+ 1: PinSpecification(
+ name="message",
+ type_names=["string"],
+ optional=False,
+ document="""""",
+ ),
+ },
+ )
+ return spec
+
+ @staticmethod
+ def default_config(server=None):
+ """Returns the default config of the operator.
+
+ This config can then be changed to the user needs and be used to
+ instantiate the operator. The Configuration allows to customize
+ how the operation will be processed by the operator.
+
+ Parameters
+ ----------
+ server : server.DPFServer, optional
+ Server with channel connected to the remote or local instance. When
+ ``None``, attempts to use the global server.
+ """
+ return Operator.default_config(
+ name="compare::generic_data_container", server=server
+ )
+
+ @property
+ def inputs(self):
+ """Enables to connect inputs to the operator
+
+ Returns
+ --------
+ inputs : InputsIdenticalGenericDataContainers
+ """
+ return super().inputs
+
+ @property
+ def outputs(self):
+ """Enables to get outputs of the operator by evaluating it
+
+ Returns
+ --------
+ outputs : OutputsIdenticalGenericDataContainers
+ """
+ return super().outputs
+
+
+class InputsIdenticalGenericDataContainers(_Inputs):
+ """Intermediate class used to connect user inputs to
+ identical_generic_data_containers operator.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_generic_data_containers()
+ >>> my_generic_data_containerA = dpf.GenericDataContainer()
+ >>> op.inputs.generic_data_containerA.connect(my_generic_data_containerA)
+ >>> my_generic_data_containerB = dpf.GenericDataContainer()
+ >>> op.inputs.generic_data_containerB.connect(my_generic_data_containerB)
+ >>> my_double_value = float()
+ >>> op.inputs.double_value.connect(my_double_value)
+ >>> my_double_tolerance = float()
+ >>> op.inputs.double_tolerance.connect(my_double_tolerance)
+ >>> my_compare_auxiliary = bool()
+ >>> op.inputs.compare_auxiliary.connect(my_compare_auxiliary)
+ """
+
+ def __init__(self, op: Operator):
+ super().__init__(identical_generic_data_containers._spec().inputs, op)
+ self._generic_data_containerA = Input(
+ identical_generic_data_containers._spec().input_pin(0), 0, op, -1
+ )
+ self._inputs.append(self._generic_data_containerA)
+ self._generic_data_containerB = Input(
+ identical_generic_data_containers._spec().input_pin(1), 1, op, -1
+ )
+ self._inputs.append(self._generic_data_containerB)
+ self._double_value = Input(
+ identical_generic_data_containers._spec().input_pin(2), 2, op, -1
+ )
+ self._inputs.append(self._double_value)
+ self._double_tolerance = Input(
+ identical_generic_data_containers._spec().input_pin(3), 3, op, -1
+ )
+ self._inputs.append(self._double_tolerance)
+ self._compare_auxiliary = Input(
+ identical_generic_data_containers._spec().input_pin(4), 4, op, -1
+ )
+ self._inputs.append(self._compare_auxiliary)
+
+ @property
+ def generic_data_containerA(self):
+ """Allows to connect generic_data_containerA input to the operator.
+
+ Parameters
+ ----------
+ my_generic_data_containerA : GenericDataContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_generic_data_containers()
+ >>> op.inputs.generic_data_containerA.connect(my_generic_data_containerA)
+ >>> # or
+ >>> op.inputs.generic_data_containerA(my_generic_data_containerA)
+ """
+ return self._generic_data_containerA
+
+ @property
+ def generic_data_containerB(self):
+ """Allows to connect generic_data_containerB input to the operator.
+
+ Parameters
+ ----------
+ my_generic_data_containerB : GenericDataContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_generic_data_containers()
+ >>> op.inputs.generic_data_containerB.connect(my_generic_data_containerB)
+ >>> # or
+ >>> op.inputs.generic_data_containerB(my_generic_data_containerB)
+ """
+ return self._generic_data_containerB
+
+ @property
+ def double_value(self):
+ """Allows to connect double_value input to the operator.
+
+ Double positive small value. smallest value
+ considered during the comparison
+ step. all the absolute values in the
+ field less than this value are
+ considered null, (default value:
+ 1.0e-14).
+
+ Parameters
+ ----------
+ my_double_value : float
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_generic_data_containers()
+ >>> op.inputs.double_value.connect(my_double_value)
+ >>> # or
+ >>> op.inputs.double_value(my_double_value)
+ """
+ return self._double_value
+
+ @property
+ def double_tolerance(self):
+ """Allows to connect double_tolerance input to the operator.
+
+ Double relative tolerance. maximum tolerance
+ gap between two compared values.
+ values within relative tolerance are
+ considered identical. formula is
+ (v1-v2)/v2 < relativetol. default is
+ 0.001.
+
+ Parameters
+ ----------
+ my_double_tolerance : float
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_generic_data_containers()
+ >>> op.inputs.double_tolerance.connect(my_double_tolerance)
+ >>> # or
+ >>> op.inputs.double_tolerance(my_double_tolerance)
+ """
+ return self._double_tolerance
+
+ @property
+ def compare_auxiliary(self):
+ """Allows to connect compare_auxiliary input to the operator.
+
+ For meshes and meshescontainer: compare
+ auxiliary data (i.e property fields,
+ scopings...). default value is
+ 'false'.
+
+ Parameters
+ ----------
+ my_compare_auxiliary : bool
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_generic_data_containers()
+ >>> op.inputs.compare_auxiliary.connect(my_compare_auxiliary)
+ >>> # or
+ >>> op.inputs.compare_auxiliary(my_compare_auxiliary)
+ """
+ return self._compare_auxiliary
+
+
+class OutputsIdenticalGenericDataContainers(_Outputs):
+ """Intermediate class used to get outputs from
+ identical_generic_data_containers operator.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_generic_data_containers()
+ >>> # Connect inputs : op.inputs. ...
+ >>> result_included = op.outputs.included()
+ >>> result_message = op.outputs.message()
+ """
+
+ def __init__(self, op: Operator):
+ super().__init__(identical_generic_data_containers._spec().outputs, op)
+ self._included = Output(
+ identical_generic_data_containers._spec().output_pin(0), 0, op
+ )
+ self._outputs.append(self._included)
+ self._message = Output(
+ identical_generic_data_containers._spec().output_pin(1), 1, op
+ )
+ self._outputs.append(self._message)
+
+ @property
+ def included(self):
+ """Allows to get included output of the operator
+
+ Returns
+ ----------
+ my_included : bool
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_generic_data_containers()
+ >>> # Connect inputs : op.inputs. ...
+ >>> result_included = op.outputs.included()
+ """ # noqa: E501
+ return self._included
+
+ @property
+ def message(self):
+ """Allows to get message output of the operator
+
+ Returns
+ ----------
+ my_message : str
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_generic_data_containers()
+ >>> # Connect inputs : op.inputs. ...
+ >>> result_message = op.outputs.message()
+ """ # noqa: E501
+ return self._message
diff --git a/src/ansys/dpf/core/operators/logic/identical_mc.py b/src/ansys/dpf/core/operators/logic/identical_mc.py
new file mode 100644
index 0000000000..3fa38b68a7
--- /dev/null
+++ b/src/ansys/dpf/core/operators/logic/identical_mc.py
@@ -0,0 +1,397 @@
+"""
+identical_mc
+
+Autogenerated DPF operator classes.
+"""
+
+from warnings import warn
+from ansys.dpf.core.dpf_operator import Operator
+from ansys.dpf.core.inputs import Input, _Inputs
+from ansys.dpf.core.outputs import Output, _Outputs
+from ansys.dpf.core.operators.specification import PinSpecification, Specification
+
+
+class identical_mc(Operator):
+ """Checks if two meshes_container are identical.
+
+ Parameters
+ ----------
+ meshes_containerA : MeshesContainer
+ meshes_containerB : MeshesContainer
+ small_value : float, optional
+ Double positive small value. smallest value
+ which will be considered during the
+ comparison step. all the abs(values)
+ in the field less than this value are
+ considered as null, (default
+ value:1.0e-14).
+ tolerance : float, optional
+ Double relative tolerance. maximum tolerance
+ gap between two compared values.
+ values within relative tolerance are
+ considered identical (v1-v2)/v2 <
+ relativetol (default is 0.001).
+ compare_auxiliary : bool
+ Compare auxiliary data (i.e property fields,
+ scopings...). default value is
+ 'false'.
+
+ Returns
+ -------
+ boolean : bool
+ Bool (true if identical...)
+ message : str
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+
+ >>> # Instantiate operator
+ >>> op = dpf.operators.logic.identical_mc()
+
+ >>> # Make input connections
+ >>> my_meshes_containerA = dpf.MeshesContainer()
+ >>> op.inputs.meshes_containerA.connect(my_meshes_containerA)
+ >>> my_meshes_containerB = dpf.MeshesContainer()
+ >>> op.inputs.meshes_containerB.connect(my_meshes_containerB)
+ >>> my_small_value = float()
+ >>> op.inputs.small_value.connect(my_small_value)
+ >>> my_tolerance = float()
+ >>> op.inputs.tolerance.connect(my_tolerance)
+ >>> my_compare_auxiliary = bool()
+ >>> op.inputs.compare_auxiliary.connect(my_compare_auxiliary)
+
+ >>> # Instantiate operator and connect inputs in one line
+ >>> op = dpf.operators.logic.identical_mc(
+ ... meshes_containerA=my_meshes_containerA,
+ ... meshes_containerB=my_meshes_containerB,
+ ... small_value=my_small_value,
+ ... tolerance=my_tolerance,
+ ... compare_auxiliary=my_compare_auxiliary,
+ ... )
+
+ >>> # Get output data
+ >>> result_boolean = op.outputs.boolean()
+ >>> result_message = op.outputs.message()
+ """
+
+ def __init__(
+ self,
+ meshes_containerA=None,
+ meshes_containerB=None,
+ small_value=None,
+ tolerance=None,
+ compare_auxiliary=None,
+ config=None,
+ server=None,
+ ):
+ super().__init__(name="compare::meshes_container", config=config, server=server)
+ self._inputs = InputsIdenticalMc(self)
+ self._outputs = OutputsIdenticalMc(self)
+ if meshes_containerA is not None:
+ self.inputs.meshes_containerA.connect(meshes_containerA)
+ if meshes_containerB is not None:
+ self.inputs.meshes_containerB.connect(meshes_containerB)
+ if small_value is not None:
+ self.inputs.small_value.connect(small_value)
+ if tolerance is not None:
+ self.inputs.tolerance.connect(tolerance)
+ if compare_auxiliary is not None:
+ self.inputs.compare_auxiliary.connect(compare_auxiliary)
+
+ @staticmethod
+ def _spec():
+ description = """Checks if two meshes_container are identical."""
+ spec = Specification(
+ description=description,
+ map_input_pin_spec={
+ 0: PinSpecification(
+ name="meshes_containerA",
+ type_names=["meshes_container"],
+ optional=False,
+ document="""""",
+ ),
+ 1: PinSpecification(
+ name="meshes_containerB",
+ type_names=["meshes_container"],
+ optional=False,
+ document="""""",
+ ),
+ 2: PinSpecification(
+ name="small_value",
+ type_names=["double"],
+ optional=True,
+ document="""Double positive small value. smallest value
+ which will be considered during the
+ comparison step. all the abs(values)
+ in the field less than this value are
+ considered as null, (default
+ value:1.0e-14).""",
+ ),
+ 3: PinSpecification(
+ name="tolerance",
+ type_names=["double"],
+ optional=True,
+ document="""Double relative tolerance. maximum tolerance
+ gap between two compared values.
+ values within relative tolerance are
+ considered identical (v1-v2)/v2 <
+ relativetol (default is 0.001).""",
+ ),
+ 4: PinSpecification(
+ name="compare_auxiliary",
+ type_names=["bool"],
+ optional=False,
+ document="""Compare auxiliary data (i.e property fields,
+ scopings...). default value is
+ 'false'.""",
+ ),
+ },
+ map_output_pin_spec={
+ 0: PinSpecification(
+ name="boolean",
+ type_names=["bool"],
+ optional=False,
+ document="""Bool (true if identical...)""",
+ ),
+ 1: PinSpecification(
+ name="message",
+ type_names=["string"],
+ optional=False,
+ document="""""",
+ ),
+ },
+ )
+ return spec
+
+ @staticmethod
+ def default_config(server=None):
+ """Returns the default config of the operator.
+
+ This config can then be changed to the user needs and be used to
+ instantiate the operator. The Configuration allows to customize
+ how the operation will be processed by the operator.
+
+ Parameters
+ ----------
+ server : server.DPFServer, optional
+ Server with channel connected to the remote or local instance. When
+ ``None``, attempts to use the global server.
+ """
+ return Operator.default_config(name="compare::meshes_container", server=server)
+
+ @property
+ def inputs(self):
+ """Enables to connect inputs to the operator
+
+ Returns
+ --------
+ inputs : InputsIdenticalMc
+ """
+ return super().inputs
+
+ @property
+ def outputs(self):
+ """Enables to get outputs of the operator by evaluating it
+
+ Returns
+ --------
+ outputs : OutputsIdenticalMc
+ """
+ return super().outputs
+
+
+class InputsIdenticalMc(_Inputs):
+ """Intermediate class used to connect user inputs to
+ identical_mc operator.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_mc()
+ >>> my_meshes_containerA = dpf.MeshesContainer()
+ >>> op.inputs.meshes_containerA.connect(my_meshes_containerA)
+ >>> my_meshes_containerB = dpf.MeshesContainer()
+ >>> op.inputs.meshes_containerB.connect(my_meshes_containerB)
+ >>> my_small_value = float()
+ >>> op.inputs.small_value.connect(my_small_value)
+ >>> my_tolerance = float()
+ >>> op.inputs.tolerance.connect(my_tolerance)
+ >>> my_compare_auxiliary = bool()
+ >>> op.inputs.compare_auxiliary.connect(my_compare_auxiliary)
+ """
+
+ def __init__(self, op: Operator):
+ super().__init__(identical_mc._spec().inputs, op)
+ self._meshes_containerA = Input(identical_mc._spec().input_pin(0), 0, op, -1)
+ self._inputs.append(self._meshes_containerA)
+ self._meshes_containerB = Input(identical_mc._spec().input_pin(1), 1, op, -1)
+ self._inputs.append(self._meshes_containerB)
+ self._small_value = Input(identical_mc._spec().input_pin(2), 2, op, -1)
+ self._inputs.append(self._small_value)
+ self._tolerance = Input(identical_mc._spec().input_pin(3), 3, op, -1)
+ self._inputs.append(self._tolerance)
+ self._compare_auxiliary = Input(identical_mc._spec().input_pin(4), 4, op, -1)
+ self._inputs.append(self._compare_auxiliary)
+
+ @property
+ def meshes_containerA(self):
+ """Allows to connect meshes_containerA input to the operator.
+
+ Parameters
+ ----------
+ my_meshes_containerA : MeshesContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_mc()
+ >>> op.inputs.meshes_containerA.connect(my_meshes_containerA)
+ >>> # or
+ >>> op.inputs.meshes_containerA(my_meshes_containerA)
+ """
+ return self._meshes_containerA
+
+ @property
+ def meshes_containerB(self):
+ """Allows to connect meshes_containerB input to the operator.
+
+ Parameters
+ ----------
+ my_meshes_containerB : MeshesContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_mc()
+ >>> op.inputs.meshes_containerB.connect(my_meshes_containerB)
+ >>> # or
+ >>> op.inputs.meshes_containerB(my_meshes_containerB)
+ """
+ return self._meshes_containerB
+
+ @property
+ def small_value(self):
+ """Allows to connect small_value input to the operator.
+
+ Double positive small value. smallest value
+ which will be considered during the
+ comparison step. all the abs(values)
+ in the field less than this value are
+ considered as null, (default
+ value:1.0e-14).
+
+ Parameters
+ ----------
+ my_small_value : float
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_mc()
+ >>> op.inputs.small_value.connect(my_small_value)
+ >>> # or
+ >>> op.inputs.small_value(my_small_value)
+ """
+ return self._small_value
+
+ @property
+ def tolerance(self):
+ """Allows to connect tolerance input to the operator.
+
+ Double relative tolerance. maximum tolerance
+ gap between two compared values.
+ values within relative tolerance are
+ considered identical (v1-v2)/v2 <
+ relativetol (default is 0.001).
+
+ Parameters
+ ----------
+ my_tolerance : float
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_mc()
+ >>> op.inputs.tolerance.connect(my_tolerance)
+ >>> # or
+ >>> op.inputs.tolerance(my_tolerance)
+ """
+ return self._tolerance
+
+ @property
+ def compare_auxiliary(self):
+ """Allows to connect compare_auxiliary input to the operator.
+
+ Compare auxiliary data (i.e property fields,
+ scopings...). default value is
+ 'false'.
+
+ Parameters
+ ----------
+ my_compare_auxiliary : bool
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_mc()
+ >>> op.inputs.compare_auxiliary.connect(my_compare_auxiliary)
+ >>> # or
+ >>> op.inputs.compare_auxiliary(my_compare_auxiliary)
+ """
+ return self._compare_auxiliary
+
+
+class OutputsIdenticalMc(_Outputs):
+ """Intermediate class used to get outputs from
+ identical_mc operator.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_mc()
+ >>> # Connect inputs : op.inputs. ...
+ >>> result_boolean = op.outputs.boolean()
+ >>> result_message = op.outputs.message()
+ """
+
+ def __init__(self, op: Operator):
+ super().__init__(identical_mc._spec().outputs, op)
+ self._boolean = Output(identical_mc._spec().output_pin(0), 0, op)
+ self._outputs.append(self._boolean)
+ self._message = Output(identical_mc._spec().output_pin(1), 1, op)
+ self._outputs.append(self._message)
+
+ @property
+ def boolean(self):
+ """Allows to get boolean output of the operator
+
+ Returns
+ ----------
+ my_boolean : bool
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_mc()
+ >>> # Connect inputs : op.inputs. ...
+ >>> result_boolean = op.outputs.boolean()
+ """ # noqa: E501
+ return self._boolean
+
+ @property
+ def message(self):
+ """Allows to get message output of the operator
+
+ Returns
+ ----------
+ my_message : str
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_mc()
+ >>> # Connect inputs : op.inputs. ...
+ >>> result_message = op.outputs.message()
+ """ # noqa: E501
+ return self._message
diff --git a/src/ansys/dpf/core/operators/logic/identical_meshes.py b/src/ansys/dpf/core/operators/logic/identical_meshes.py
index 0142f7fe4b..246808c593 100644
--- a/src/ansys/dpf/core/operators/logic/identical_meshes.py
+++ b/src/ansys/dpf/core/operators/logic/identical_meshes.py
@@ -20,12 +20,13 @@ class identical_meshes(Operator):
----------
meshA : MeshedRegion
meshB : MeshedRegion
- small_value : float
+ small_value : float, optional
Define what is a small value for numeric
- comparison.
- tolerance : float
+ comparison (default value:1.0e-14).
+ tolerance : float, optional
Define the relative tolerance ceil for
- numeric comparison.
+ numeric comparison (default is
+ 0.001).
compare_auxiliary : bool
Compare auxiliary data (i.e property fields,
scopings...). default value is
@@ -115,16 +116,17 @@ def _spec():
2: PinSpecification(
name="small_value",
type_names=["double"],
- optional=False,
+ optional=True,
document="""Define what is a small value for numeric
- comparison.""",
+ comparison (default value:1.0e-14).""",
),
3: PinSpecification(
name="tolerance",
type_names=["double"],
- optional=False,
+ optional=True,
document="""Define the relative tolerance ceil for
- numeric comparison.""",
+ numeric comparison (default is
+ 0.001).""",
),
4: PinSpecification(
name="compare_auxiliary",
@@ -259,7 +261,7 @@ def small_value(self):
"""Allows to connect small_value input to the operator.
Define what is a small value for numeric
- comparison.
+ comparison (default value:1.0e-14).
Parameters
----------
@@ -280,7 +282,8 @@ def tolerance(self):
"""Allows to connect tolerance input to the operator.
Define the relative tolerance ceil for
- numeric comparison.
+ numeric comparison (default is
+ 0.001).
Parameters
----------
diff --git a/src/ansys/dpf/core/operators/logic/identical_pfc.py b/src/ansys/dpf/core/operators/logic/identical_pfc.py
new file mode 100644
index 0000000000..771aa0da88
--- /dev/null
+++ b/src/ansys/dpf/core/operators/logic/identical_pfc.py
@@ -0,0 +1,258 @@
+"""
+identical_pfc
+
+Autogenerated DPF operator classes.
+"""
+
+from warnings import warn
+from ansys.dpf.core.dpf_operator import Operator
+from ansys.dpf.core.inputs import Input, _Inputs
+from ansys.dpf.core.outputs import Output, _Outputs
+from ansys.dpf.core.operators.specification import PinSpecification, Specification
+
+
+class identical_pfc(Operator):
+ """Checks if two property_fields_container are identical.
+
+ Parameters
+ ----------
+ property_fields_containerA : PropertyFieldsContainer
+ property_fields_containerB : PropertyFieldsContainer
+
+ Returns
+ -------
+ boolean : bool
+ Bool (true if identical...)
+ message : str
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+
+ >>> # Instantiate operator
+ >>> op = dpf.operators.logic.identical_pfc()
+
+ >>> # Make input connections
+ >>> my_property_fields_containerA = dpf.PropertyFieldsContainer()
+ >>> op.inputs.property_fields_containerA.connect(my_property_fields_containerA)
+ >>> my_property_fields_containerB = dpf.PropertyFieldsContainer()
+ >>> op.inputs.property_fields_containerB.connect(my_property_fields_containerB)
+
+ >>> # Instantiate operator and connect inputs in one line
+ >>> op = dpf.operators.logic.identical_pfc(
+ ... property_fields_containerA=my_property_fields_containerA,
+ ... property_fields_containerB=my_property_fields_containerB,
+ ... )
+
+ >>> # Get output data
+ >>> result_boolean = op.outputs.boolean()
+ >>> result_message = op.outputs.message()
+ """
+
+ def __init__(
+ self,
+ property_fields_containerA=None,
+ property_fields_containerB=None,
+ config=None,
+ server=None,
+ ):
+ super().__init__(
+ name="compare::property_fields_container", config=config, server=server
+ )
+ self._inputs = InputsIdenticalPfc(self)
+ self._outputs = OutputsIdenticalPfc(self)
+ if property_fields_containerA is not None:
+ self.inputs.property_fields_containerA.connect(property_fields_containerA)
+ if property_fields_containerB is not None:
+ self.inputs.property_fields_containerB.connect(property_fields_containerB)
+
+ @staticmethod
+ def _spec():
+ description = """Checks if two property_fields_container are identical."""
+ spec = Specification(
+ description=description,
+ map_input_pin_spec={
+ 0: PinSpecification(
+ name="property_fields_containerA",
+ type_names=["property_fields_container"],
+ optional=False,
+ document="""""",
+ ),
+ 1: PinSpecification(
+ name="property_fields_containerB",
+ type_names=["property_fields_container"],
+ optional=False,
+ document="""""",
+ ),
+ },
+ map_output_pin_spec={
+ 0: PinSpecification(
+ name="boolean",
+ type_names=["bool"],
+ optional=False,
+ document="""Bool (true if identical...)""",
+ ),
+ 1: PinSpecification(
+ name="message",
+ type_names=["string"],
+ optional=False,
+ document="""""",
+ ),
+ },
+ )
+ return spec
+
+ @staticmethod
+ def default_config(server=None):
+ """Returns the default config of the operator.
+
+ This config can then be changed to the user needs and be used to
+ instantiate the operator. The Configuration allows to customize
+ how the operation will be processed by the operator.
+
+ Parameters
+ ----------
+ server : server.DPFServer, optional
+ Server with channel connected to the remote or local instance. When
+ ``None``, attempts to use the global server.
+ """
+ return Operator.default_config(
+ name="compare::property_fields_container", server=server
+ )
+
+ @property
+ def inputs(self):
+ """Enables to connect inputs to the operator
+
+ Returns
+ --------
+ inputs : InputsIdenticalPfc
+ """
+ return super().inputs
+
+ @property
+ def outputs(self):
+ """Enables to get outputs of the operator by evaluating it
+
+ Returns
+ --------
+ outputs : OutputsIdenticalPfc
+ """
+ return super().outputs
+
+
+class InputsIdenticalPfc(_Inputs):
+ """Intermediate class used to connect user inputs to
+ identical_pfc operator.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_pfc()
+ >>> my_property_fields_containerA = dpf.PropertyFieldsContainer()
+ >>> op.inputs.property_fields_containerA.connect(my_property_fields_containerA)
+ >>> my_property_fields_containerB = dpf.PropertyFieldsContainer()
+ >>> op.inputs.property_fields_containerB.connect(my_property_fields_containerB)
+ """
+
+ def __init__(self, op: Operator):
+ super().__init__(identical_pfc._spec().inputs, op)
+ self._property_fields_containerA = Input(
+ identical_pfc._spec().input_pin(0), 0, op, -1
+ )
+ self._inputs.append(self._property_fields_containerA)
+ self._property_fields_containerB = Input(
+ identical_pfc._spec().input_pin(1), 1, op, -1
+ )
+ self._inputs.append(self._property_fields_containerB)
+
+ @property
+ def property_fields_containerA(self):
+ """Allows to connect property_fields_containerA input to the operator.
+
+ Parameters
+ ----------
+ my_property_fields_containerA : PropertyFieldsContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_pfc()
+ >>> op.inputs.property_fields_containerA.connect(my_property_fields_containerA)
+ >>> # or
+ >>> op.inputs.property_fields_containerA(my_property_fields_containerA)
+ """
+ return self._property_fields_containerA
+
+ @property
+ def property_fields_containerB(self):
+ """Allows to connect property_fields_containerB input to the operator.
+
+ Parameters
+ ----------
+ my_property_fields_containerB : PropertyFieldsContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_pfc()
+ >>> op.inputs.property_fields_containerB.connect(my_property_fields_containerB)
+ >>> # or
+ >>> op.inputs.property_fields_containerB(my_property_fields_containerB)
+ """
+ return self._property_fields_containerB
+
+
+class OutputsIdenticalPfc(_Outputs):
+ """Intermediate class used to get outputs from
+ identical_pfc operator.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_pfc()
+ >>> # Connect inputs : op.inputs. ...
+ >>> result_boolean = op.outputs.boolean()
+ >>> result_message = op.outputs.message()
+ """
+
+ def __init__(self, op: Operator):
+ super().__init__(identical_pfc._spec().outputs, op)
+ self._boolean = Output(identical_pfc._spec().output_pin(0), 0, op)
+ self._outputs.append(self._boolean)
+ self._message = Output(identical_pfc._spec().output_pin(1), 1, op)
+ self._outputs.append(self._message)
+
+ @property
+ def boolean(self):
+ """Allows to get boolean output of the operator
+
+ Returns
+ ----------
+ my_boolean : bool
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_pfc()
+ >>> # Connect inputs : op.inputs. ...
+ >>> result_boolean = op.outputs.boolean()
+ """ # noqa: E501
+ return self._boolean
+
+ @property
+ def message(self):
+ """Allows to get message output of the operator
+
+ Returns
+ ----------
+ my_message : str
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_pfc()
+ >>> # Connect inputs : op.inputs. ...
+ >>> result_message = op.outputs.message()
+ """ # noqa: E501
+ return self._message
diff --git a/src/ansys/dpf/core/operators/logic/identical_sc.py b/src/ansys/dpf/core/operators/logic/identical_sc.py
new file mode 100644
index 0000000000..fcdbd599a3
--- /dev/null
+++ b/src/ansys/dpf/core/operators/logic/identical_sc.py
@@ -0,0 +1,254 @@
+"""
+identical_sc
+
+Autogenerated DPF operator classes.
+"""
+
+from warnings import warn
+from ansys.dpf.core.dpf_operator import Operator
+from ansys.dpf.core.inputs import Input, _Inputs
+from ansys.dpf.core.outputs import Output, _Outputs
+from ansys.dpf.core.operators.specification import PinSpecification, Specification
+
+
+class identical_sc(Operator):
+ """Checks if two scopings_container are identical.
+
+ Parameters
+ ----------
+ scopings_containerA : ScopingsContainer
+ scopings_containerB : ScopingsContainer
+
+ Returns
+ -------
+ boolean : bool
+ Bool (true if identical...)
+ message : str
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+
+ >>> # Instantiate operator
+ >>> op = dpf.operators.logic.identical_sc()
+
+ >>> # Make input connections
+ >>> my_scopings_containerA = dpf.ScopingsContainer()
+ >>> op.inputs.scopings_containerA.connect(my_scopings_containerA)
+ >>> my_scopings_containerB = dpf.ScopingsContainer()
+ >>> op.inputs.scopings_containerB.connect(my_scopings_containerB)
+
+ >>> # Instantiate operator and connect inputs in one line
+ >>> op = dpf.operators.logic.identical_sc(
+ ... scopings_containerA=my_scopings_containerA,
+ ... scopings_containerB=my_scopings_containerB,
+ ... )
+
+ >>> # Get output data
+ >>> result_boolean = op.outputs.boolean()
+ >>> result_message = op.outputs.message()
+ """
+
+ def __init__(
+ self,
+ scopings_containerA=None,
+ scopings_containerB=None,
+ config=None,
+ server=None,
+ ):
+ super().__init__(
+ name="compare::scopings_container", config=config, server=server
+ )
+ self._inputs = InputsIdenticalSc(self)
+ self._outputs = OutputsIdenticalSc(self)
+ if scopings_containerA is not None:
+ self.inputs.scopings_containerA.connect(scopings_containerA)
+ if scopings_containerB is not None:
+ self.inputs.scopings_containerB.connect(scopings_containerB)
+
+ @staticmethod
+ def _spec():
+ description = """Checks if two scopings_container are identical."""
+ spec = Specification(
+ description=description,
+ map_input_pin_spec={
+ 0: PinSpecification(
+ name="scopings_containerA",
+ type_names=["scopings_container"],
+ optional=False,
+ document="""""",
+ ),
+ 1: PinSpecification(
+ name="scopings_containerB",
+ type_names=["scopings_container"],
+ optional=False,
+ document="""""",
+ ),
+ },
+ map_output_pin_spec={
+ 0: PinSpecification(
+ name="boolean",
+ type_names=["bool"],
+ optional=False,
+ document="""Bool (true if identical...)""",
+ ),
+ 1: PinSpecification(
+ name="message",
+ type_names=["string"],
+ optional=False,
+ document="""""",
+ ),
+ },
+ )
+ return spec
+
+ @staticmethod
+ def default_config(server=None):
+ """Returns the default config of the operator.
+
+ This config can then be changed to the user needs and be used to
+ instantiate the operator. The Configuration allows to customize
+ how the operation will be processed by the operator.
+
+ Parameters
+ ----------
+ server : server.DPFServer, optional
+ Server with channel connected to the remote or local instance. When
+ ``None``, attempts to use the global server.
+ """
+ return Operator.default_config(
+ name="compare::scopings_container", server=server
+ )
+
+ @property
+ def inputs(self):
+ """Enables to connect inputs to the operator
+
+ Returns
+ --------
+ inputs : InputsIdenticalSc
+ """
+ return super().inputs
+
+ @property
+ def outputs(self):
+ """Enables to get outputs of the operator by evaluating it
+
+ Returns
+ --------
+ outputs : OutputsIdenticalSc
+ """
+ return super().outputs
+
+
+class InputsIdenticalSc(_Inputs):
+ """Intermediate class used to connect user inputs to
+ identical_sc operator.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_sc()
+ >>> my_scopings_containerA = dpf.ScopingsContainer()
+ >>> op.inputs.scopings_containerA.connect(my_scopings_containerA)
+ >>> my_scopings_containerB = dpf.ScopingsContainer()
+ >>> op.inputs.scopings_containerB.connect(my_scopings_containerB)
+ """
+
+ def __init__(self, op: Operator):
+ super().__init__(identical_sc._spec().inputs, op)
+ self._scopings_containerA = Input(identical_sc._spec().input_pin(0), 0, op, -1)
+ self._inputs.append(self._scopings_containerA)
+ self._scopings_containerB = Input(identical_sc._spec().input_pin(1), 1, op, -1)
+ self._inputs.append(self._scopings_containerB)
+
+ @property
+ def scopings_containerA(self):
+ """Allows to connect scopings_containerA input to the operator.
+
+ Parameters
+ ----------
+ my_scopings_containerA : ScopingsContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_sc()
+ >>> op.inputs.scopings_containerA.connect(my_scopings_containerA)
+ >>> # or
+ >>> op.inputs.scopings_containerA(my_scopings_containerA)
+ """
+ return self._scopings_containerA
+
+ @property
+ def scopings_containerB(self):
+ """Allows to connect scopings_containerB input to the operator.
+
+ Parameters
+ ----------
+ my_scopings_containerB : ScopingsContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_sc()
+ >>> op.inputs.scopings_containerB.connect(my_scopings_containerB)
+ >>> # or
+ >>> op.inputs.scopings_containerB(my_scopings_containerB)
+ """
+ return self._scopings_containerB
+
+
+class OutputsIdenticalSc(_Outputs):
+ """Intermediate class used to get outputs from
+ identical_sc operator.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_sc()
+ >>> # Connect inputs : op.inputs. ...
+ >>> result_boolean = op.outputs.boolean()
+ >>> result_message = op.outputs.message()
+ """
+
+ def __init__(self, op: Operator):
+ super().__init__(identical_sc._spec().outputs, op)
+ self._boolean = Output(identical_sc._spec().output_pin(0), 0, op)
+ self._outputs.append(self._boolean)
+ self._message = Output(identical_sc._spec().output_pin(1), 1, op)
+ self._outputs.append(self._message)
+
+ @property
+ def boolean(self):
+ """Allows to get boolean output of the operator
+
+ Returns
+ ----------
+ my_boolean : bool
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_sc()
+ >>> # Connect inputs : op.inputs. ...
+ >>> result_boolean = op.outputs.boolean()
+ """ # noqa: E501
+ return self._boolean
+
+ @property
+ def message(self):
+ """Allows to get message output of the operator
+
+ Returns
+ ----------
+ my_message : str
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_sc()
+ >>> # Connect inputs : op.inputs. ...
+ >>> result_message = op.outputs.message()
+ """ # noqa: E501
+ return self._message
diff --git a/src/ansys/dpf/core/operators/logic/identical_scopings.py b/src/ansys/dpf/core/operators/logic/identical_scopings.py
new file mode 100644
index 0000000000..368e27b765
--- /dev/null
+++ b/src/ansys/dpf/core/operators/logic/identical_scopings.py
@@ -0,0 +1,244 @@
+"""
+identical_scopings
+
+Autogenerated DPF operator classes.
+"""
+
+from warnings import warn
+from ansys.dpf.core.dpf_operator import Operator
+from ansys.dpf.core.inputs import Input, _Inputs
+from ansys.dpf.core.outputs import Output, _Outputs
+from ansys.dpf.core.operators.specification import PinSpecification, Specification
+
+
+class identical_scopings(Operator):
+ """Check if two scopings are identical.
+
+ Parameters
+ ----------
+ scopingA : Scoping
+ scopingB : Scoping
+
+ Returns
+ -------
+ boolean : bool
+ Bool (true if identical...)
+ message : str
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+
+ >>> # Instantiate operator
+ >>> op = dpf.operators.logic.identical_scopings()
+
+ >>> # Make input connections
+ >>> my_scopingA = dpf.Scoping()
+ >>> op.inputs.scopingA.connect(my_scopingA)
+ >>> my_scopingB = dpf.Scoping()
+ >>> op.inputs.scopingB.connect(my_scopingB)
+
+ >>> # Instantiate operator and connect inputs in one line
+ >>> op = dpf.operators.logic.identical_scopings(
+ ... scopingA=my_scopingA,
+ ... scopingB=my_scopingB,
+ ... )
+
+ >>> # Get output data
+ >>> result_boolean = op.outputs.boolean()
+ >>> result_message = op.outputs.message()
+ """
+
+ def __init__(self, scopingA=None, scopingB=None, config=None, server=None):
+ super().__init__(name="compare::scoping", config=config, server=server)
+ self._inputs = InputsIdenticalScopings(self)
+ self._outputs = OutputsIdenticalScopings(self)
+ if scopingA is not None:
+ self.inputs.scopingA.connect(scopingA)
+ if scopingB is not None:
+ self.inputs.scopingB.connect(scopingB)
+
+ @staticmethod
+ def _spec():
+ description = """Check if two scopings are identical."""
+ spec = Specification(
+ description=description,
+ map_input_pin_spec={
+ 0: PinSpecification(
+ name="scopingA",
+ type_names=["scoping"],
+ optional=False,
+ document="""""",
+ ),
+ 1: PinSpecification(
+ name="scopingB",
+ type_names=["scoping"],
+ optional=False,
+ document="""""",
+ ),
+ },
+ map_output_pin_spec={
+ 0: PinSpecification(
+ name="boolean",
+ type_names=["bool"],
+ optional=False,
+ document="""Bool (true if identical...)""",
+ ),
+ 1: PinSpecification(
+ name="message",
+ type_names=["string"],
+ optional=False,
+ document="""""",
+ ),
+ },
+ )
+ return spec
+
+ @staticmethod
+ def default_config(server=None):
+ """Returns the default config of the operator.
+
+ This config can then be changed to the user needs and be used to
+ instantiate the operator. The Configuration allows to customize
+ how the operation will be processed by the operator.
+
+ Parameters
+ ----------
+ server : server.DPFServer, optional
+ Server with channel connected to the remote or local instance. When
+ ``None``, attempts to use the global server.
+ """
+ return Operator.default_config(name="compare::scoping", server=server)
+
+ @property
+ def inputs(self):
+ """Enables to connect inputs to the operator
+
+ Returns
+ --------
+ inputs : InputsIdenticalScopings
+ """
+ return super().inputs
+
+ @property
+ def outputs(self):
+ """Enables to get outputs of the operator by evaluating it
+
+ Returns
+ --------
+ outputs : OutputsIdenticalScopings
+ """
+ return super().outputs
+
+
+class InputsIdenticalScopings(_Inputs):
+ """Intermediate class used to connect user inputs to
+ identical_scopings operator.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_scopings()
+ >>> my_scopingA = dpf.Scoping()
+ >>> op.inputs.scopingA.connect(my_scopingA)
+ >>> my_scopingB = dpf.Scoping()
+ >>> op.inputs.scopingB.connect(my_scopingB)
+ """
+
+ def __init__(self, op: Operator):
+ super().__init__(identical_scopings._spec().inputs, op)
+ self._scopingA = Input(identical_scopings._spec().input_pin(0), 0, op, -1)
+ self._inputs.append(self._scopingA)
+ self._scopingB = Input(identical_scopings._spec().input_pin(1), 1, op, -1)
+ self._inputs.append(self._scopingB)
+
+ @property
+ def scopingA(self):
+ """Allows to connect scopingA input to the operator.
+
+ Parameters
+ ----------
+ my_scopingA : Scoping
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_scopings()
+ >>> op.inputs.scopingA.connect(my_scopingA)
+ >>> # or
+ >>> op.inputs.scopingA(my_scopingA)
+ """
+ return self._scopingA
+
+ @property
+ def scopingB(self):
+ """Allows to connect scopingB input to the operator.
+
+ Parameters
+ ----------
+ my_scopingB : Scoping
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_scopings()
+ >>> op.inputs.scopingB.connect(my_scopingB)
+ >>> # or
+ >>> op.inputs.scopingB(my_scopingB)
+ """
+ return self._scopingB
+
+
+class OutputsIdenticalScopings(_Outputs):
+ """Intermediate class used to get outputs from
+ identical_scopings operator.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_scopings()
+ >>> # Connect inputs : op.inputs. ...
+ >>> result_boolean = op.outputs.boolean()
+ >>> result_message = op.outputs.message()
+ """
+
+ def __init__(self, op: Operator):
+ super().__init__(identical_scopings._spec().outputs, op)
+ self._boolean = Output(identical_scopings._spec().output_pin(0), 0, op)
+ self._outputs.append(self._boolean)
+ self._message = Output(identical_scopings._spec().output_pin(1), 1, op)
+ self._outputs.append(self._message)
+
+ @property
+ def boolean(self):
+ """Allows to get boolean output of the operator
+
+ Returns
+ ----------
+ my_boolean : bool
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_scopings()
+ >>> # Connect inputs : op.inputs. ...
+ >>> result_boolean = op.outputs.boolean()
+ """ # noqa: E501
+ return self._boolean
+
+ @property
+ def message(self):
+ """Allows to get message output of the operator
+
+ Returns
+ ----------
+ my_message : str
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.logic.identical_scopings()
+ >>> # Connect inputs : op.inputs. ...
+ >>> result_message = op.outputs.message()
+ """ # noqa: E501
+ return self._message
diff --git a/src/ansys/dpf/core/operators/logic/included_fields.py b/src/ansys/dpf/core/operators/logic/included_fields.py
index b236c56075..1e1fec522f 100644
--- a/src/ansys/dpf/core/operators/logic/included_fields.py
+++ b/src/ansys/dpf/core/operators/logic/included_fields.py
@@ -20,17 +20,18 @@ class included_fields(Operator):
fieldB : Field
double_value : float
Double positive small value. smallest value
- which will be considered during the
- comparison step. all the abs(values)
- in the field less than this value are
- considered as null, (default
- value:1.0e-14).
+ considered during the comparison
+ step. all the absolute values in the
+ field less than this value are
+ considered null, (default value:
+ 1.0e-14).
double_tolerance : float, optional
Double relative tolerance. maximum tolerance
gap between two compared values.
values within relative tolerance are
- considered identical (v1-v2)/v2 <
- relativetol (default is 0.001).
+ considered identical. formula is
+ (v1-v2)/v2 < relativetol. default is
+ 0.001.
Returns
-------
@@ -112,11 +113,11 @@ def _spec():
type_names=["double"],
optional=False,
document="""Double positive small value. smallest value
- which will be considered during the
- comparison step. all the abs(values)
- in the field less than this value are
- considered as null, (default
- value:1.0e-14).""",
+ considered during the comparison
+ step. all the absolute values in the
+ field less than this value are
+ considered null, (default value:
+ 1.0e-14).""",
),
3: PinSpecification(
name="double_tolerance",
@@ -125,8 +126,9 @@ def _spec():
document="""Double relative tolerance. maximum tolerance
gap between two compared values.
values within relative tolerance are
- considered identical (v1-v2)/v2 <
- relativetol (default is 0.001).""",
+ considered identical. formula is
+ (v1-v2)/v2 < relativetol. default is
+ 0.001.""",
),
},
map_output_pin_spec={
@@ -253,11 +255,11 @@ def double_value(self):
"""Allows to connect double_value input to the operator.
Double positive small value. smallest value
- which will be considered during the
- comparison step. all the abs(values)
- in the field less than this value are
- considered as null, (default
- value:1.0e-14).
+ considered during the comparison
+ step. all the absolute values in the
+ field less than this value are
+ considered null, (default value:
+ 1.0e-14).
Parameters
----------
@@ -280,8 +282,9 @@ def double_tolerance(self):
Double relative tolerance. maximum tolerance
gap between two compared values.
values within relative tolerance are
- considered identical (v1-v2)/v2 <
- relativetol (default is 0.001).
+ considered identical. formula is
+ (v1-v2)/v2 < relativetol. default is
+ 0.001.
Parameters
----------
diff --git a/src/ansys/dpf/core/operators/result/__init__.py b/src/ansys/dpf/core/operators/result/__init__.py
index 7ea819543e..afdfd316d8 100644
--- a/src/ansys/dpf/core/operators/result/__init__.py
+++ b/src/ansys/dpf/core/operators/result/__init__.py
@@ -268,6 +268,7 @@
from .smisc import smisc
from .specific_heat import specific_heat
from .spectrum_data import spectrum_data
+from .state_variable import state_variable
from .static_pressure import static_pressure
from .stiffness_matrix_energy import stiffness_matrix_energy
from .strain_eqv_as_mechanical import strain_eqv_as_mechanical
diff --git a/src/ansys/dpf/core/operators/result/acceleration.py b/src/ansys/dpf/core/operators/result/acceleration.py
index fa4f0347eb..dcc58d02e9 100644
--- a/src/ansys/dpf/core/operators/result/acceleration.py
+++ b/src/ansys/dpf/core/operators/result/acceleration.py
@@ -58,14 +58,25 @@ class acceleration(Operator):
If true the field is rotated to global
coordinate system (default true)
mesh : MeshedRegion or MeshesContainer, optional
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
read_cyclic : int, optional
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)
+ expanded_meshed_region : MeshedRegion or MeshesContainer, optional
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+ sectors_to_expand : Scoping or ScopingsContainer, optional
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+ phi : float, optional
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
Returns
-------
@@ -95,6 +106,12 @@ class acceleration(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.acceleration(
@@ -106,6 +123,9 @@ class acceleration(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... read_cyclic=my_read_cyclic,
+ ... expanded_meshed_region=my_expanded_meshed_region,
+ ... sectors_to_expand=my_sectors_to_expand,
+ ... phi=my_phi,
... )
>>> # Get output data
@@ -122,6 +142,9 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
read_cyclic=None,
+ expanded_meshed_region=None,
+ sectors_to_expand=None,
+ phi=None,
config=None,
server=None,
):
@@ -144,6 +167,12 @@ def __init__(
self.inputs.mesh.connect(mesh)
if read_cyclic is not None:
self.inputs.read_cyclic.connect(read_cyclic)
+ if expanded_meshed_region is not None:
+ self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
+ if sectors_to_expand is not None:
+ self.inputs.sectors_to_expand.connect(sectors_to_expand)
+ if phi is not None:
+ self.inputs.phi.connect(phi)
@staticmethod
def _spec():
@@ -227,8 +256,8 @@ def _spec():
name="mesh",
type_names=["abstract_meshed_region", "meshes_container"],
optional=True,
- document="""Prevents from reading the mesh in the result
- files""",
+ document="""Mesh. if cylic expansion is to be done, mesh
+ of the base sector""",
),
14: PinSpecification(
name="read_cyclic",
@@ -240,6 +269,29 @@ def _spec():
done and stages are merged (default
is 1)""",
),
+ 15: PinSpecification(
+ name="expanded_meshed_region",
+ type_names=["abstract_meshed_region", "meshes_container"],
+ optional=True,
+ document="""Mesh expanded, use if cyclic expansion is to
+ be done.""",
+ ),
+ 18: PinSpecification(
+ name="sectors_to_expand",
+ type_names=["vector", "scoping", "scopings_container"],
+ optional=True,
+ document="""Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.""",
+ ),
+ 19: PinSpecification(
+ name="phi",
+ type_names=["double"],
+ optional=True,
+ document="""Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -313,6 +365,12 @@ class InputsAcceleration(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
"""
def __init__(self, op: Operator):
@@ -335,6 +393,14 @@ def __init__(self, op: Operator):
self._inputs.append(self._mesh)
self._read_cyclic = Input(acceleration._spec().input_pin(14), 14, op, -1)
self._inputs.append(self._read_cyclic)
+ self._expanded_meshed_region = Input(
+ acceleration._spec().input_pin(15), 15, op, -1
+ )
+ self._inputs.append(self._expanded_meshed_region)
+ self._sectors_to_expand = Input(acceleration._spec().input_pin(18), 18, op, -1)
+ self._inputs.append(self._sectors_to_expand)
+ self._phi = Input(acceleration._spec().input_pin(19), 19, op, -1)
+ self._inputs.append(self._phi)
@property
def time_scoping(self):
@@ -488,8 +554,8 @@ def bool_rotate_to_global(self):
def mesh(self):
"""Allows to connect mesh input to the operator.
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
Parameters
----------
@@ -529,6 +595,71 @@ def read_cyclic(self):
"""
return self._read_cyclic
+ @property
+ def expanded_meshed_region(self):
+ """Allows to connect expanded_meshed_region input to the operator.
+
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+
+ Parameters
+ ----------
+ my_expanded_meshed_region : MeshedRegion or MeshesContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.acceleration()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> # or
+ >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region)
+ """
+ return self._expanded_meshed_region
+
+ @property
+ def sectors_to_expand(self):
+ """Allows to connect sectors_to_expand input to the operator.
+
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+
+ Parameters
+ ----------
+ my_sectors_to_expand : Scoping or ScopingsContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.acceleration()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> # or
+ >>> op.inputs.sectors_to_expand(my_sectors_to_expand)
+ """
+ return self._sectors_to_expand
+
+ @property
+ def phi(self):
+ """Allows to connect phi input to the operator.
+
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
+
+ Parameters
+ ----------
+ my_phi : float
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.acceleration()
+ >>> op.inputs.phi.connect(my_phi)
+ >>> # or
+ >>> op.inputs.phi(my_phi)
+ """
+ return self._phi
+
class OutputsAcceleration(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/accu_eqv_creep_strain.py b/src/ansys/dpf/core/operators/result/accu_eqv_creep_strain.py
index 833b20e431..efc42c3ce3 100644
--- a/src/ansys/dpf/core/operators/result/accu_eqv_creep_strain.py
+++ b/src/ansys/dpf/core/operators/result/accu_eqv_creep_strain.py
@@ -65,12 +65,6 @@ class accu_eqv_creep_strain(Operator):
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
- read_cyclic : int, optional
- 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 : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -120,8 +114,6 @@ class accu_eqv_creep_strain(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -139,7 +131,6 @@ class accu_eqv_creep_strain(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -159,7 +150,6 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
requested_location=None,
- read_cyclic=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -185,8 +175,6 @@ def __init__(
self.inputs.mesh.connect(mesh)
if requested_location is not None:
self.inputs.requested_location.connect(requested_location)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -287,16 +275,6 @@ def _spec():
optional=True,
document="""Requested location nodal, elemental or
elementalnodal""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
),
22: PinSpecification(
name="read_beams",
@@ -403,8 +381,6 @@ class InputsAccuEqvCreepStrain(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -445,10 +421,6 @@ def __init__(self, op: Operator):
accu_eqv_creep_strain._spec().input_pin(9), 9, op, -1
)
self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- accu_eqv_creep_strain._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
self._read_beams = Input(
accu_eqv_creep_strain._spec().input_pin(22), 22, op, -1
)
@@ -652,30 +624,6 @@ def requested_location(self):
"""
return self._requested_location
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.accu_eqv_creep_strain()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/accu_eqv_plastic_strain.py b/src/ansys/dpf/core/operators/result/accu_eqv_plastic_strain.py
index 0366a08b72..d3ef9061ad 100644
--- a/src/ansys/dpf/core/operators/result/accu_eqv_plastic_strain.py
+++ b/src/ansys/dpf/core/operators/result/accu_eqv_plastic_strain.py
@@ -65,12 +65,6 @@ class accu_eqv_plastic_strain(Operator):
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
- read_cyclic : int, optional
- 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 : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -120,8 +114,6 @@ class accu_eqv_plastic_strain(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -139,7 +131,6 @@ class accu_eqv_plastic_strain(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -159,7 +150,6 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
requested_location=None,
- read_cyclic=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -185,8 +175,6 @@ def __init__(
self.inputs.mesh.connect(mesh)
if requested_location is not None:
self.inputs.requested_location.connect(requested_location)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -287,16 +275,6 @@ def _spec():
optional=True,
document="""Requested location nodal, elemental or
elementalnodal""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
),
22: PinSpecification(
name="read_beams",
@@ -403,8 +381,6 @@ class InputsAccuEqvPlasticStrain(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -445,10 +421,6 @@ def __init__(self, op: Operator):
accu_eqv_plastic_strain._spec().input_pin(9), 9, op, -1
)
self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- accu_eqv_plastic_strain._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
self._read_beams = Input(
accu_eqv_plastic_strain._spec().input_pin(22), 22, op, -1
)
@@ -652,30 +624,6 @@ def requested_location(self):
"""
return self._requested_location
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.accu_eqv_plastic_strain()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/artificial_hourglass_energy.py b/src/ansys/dpf/core/operators/result/artificial_hourglass_energy.py
index e326388f11..90ffa9aac8 100644
--- a/src/ansys/dpf/core/operators/result/artificial_hourglass_energy.py
+++ b/src/ansys/dpf/core/operators/result/artificial_hourglass_energy.py
@@ -60,12 +60,6 @@ class artificial_hourglass_energy(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class artificial_hourglass_energy(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.artificial_hourglass_energy(
@@ -105,7 +97,6 @@ class artificial_hourglass_energy(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsArtificialHourglassEnergy(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -343,10 +319,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(artificial_hourglass_energy._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(
- artificial_hourglass_energy._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -517,30 +489,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.artificial_hourglass_energy()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsArtificialHourglassEnergy(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/co_energy.py b/src/ansys/dpf/core/operators/result/co_energy.py
index 5991787162..7835dd91bf 100644
--- a/src/ansys/dpf/core/operators/result/co_energy.py
+++ b/src/ansys/dpf/core/operators/result/co_energy.py
@@ -60,12 +60,6 @@ class co_energy(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class co_energy(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.co_energy(
@@ -105,7 +97,6 @@ class co_energy(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsCoEnergy(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -331,8 +307,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(co_energy._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(co_energy._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -503,30 +477,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.co_energy()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsCoEnergy(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/contact_fluid_penetration_pressure.py b/src/ansys/dpf/core/operators/result/contact_fluid_penetration_pressure.py
index 065e38ec95..e722647845 100644
--- a/src/ansys/dpf/core/operators/result/contact_fluid_penetration_pressure.py
+++ b/src/ansys/dpf/core/operators/result/contact_fluid_penetration_pressure.py
@@ -60,8 +60,8 @@ class contact_fluid_penetration_pressure(Operator):
If true the field is rotated to global
coordinate system (default true)
mesh : MeshedRegion or MeshesContainer, optional
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
@@ -71,6 +71,17 @@ class contact_fluid_penetration_pressure(Operator):
is done, if 3 cyclic expansion is
done and stages are merged (default
is 1)
+ expanded_meshed_region : MeshedRegion or MeshesContainer, optional
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+ sectors_to_expand : Scoping or ScopingsContainer, optional
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+ phi : float, optional
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
read_beams : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -122,6 +133,12 @@ class contact_fluid_penetration_pressure(Operator):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -140,6 +157,9 @@ class contact_fluid_penetration_pressure(Operator):
... mesh=my_mesh,
... requested_location=my_requested_location,
... read_cyclic=my_read_cyclic,
+ ... expanded_meshed_region=my_expanded_meshed_region,
+ ... sectors_to_expand=my_sectors_to_expand,
+ ... phi=my_phi,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -160,6 +180,9 @@ def __init__(
mesh=None,
requested_location=None,
read_cyclic=None,
+ expanded_meshed_region=None,
+ sectors_to_expand=None,
+ phi=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -187,6 +210,12 @@ def __init__(
self.inputs.requested_location.connect(requested_location)
if read_cyclic is not None:
self.inputs.read_cyclic.connect(read_cyclic)
+ if expanded_meshed_region is not None:
+ self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
+ if sectors_to_expand is not None:
+ self.inputs.sectors_to_expand.connect(sectors_to_expand)
+ if phi is not None:
+ self.inputs.phi.connect(phi)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -278,8 +307,8 @@ def _spec():
name="mesh",
type_names=["abstract_meshed_region", "meshes_container"],
optional=True,
- document="""Prevents from reading the mesh in the result
- files""",
+ document="""Mesh. if cylic expansion is to be done, mesh
+ of the base sector""",
),
9: PinSpecification(
name="requested_location",
@@ -297,6 +326,29 @@ def _spec():
is done, if 3 cyclic expansion is
done and stages are merged (default
is 1)""",
+ ),
+ 15: PinSpecification(
+ name="expanded_meshed_region",
+ type_names=["abstract_meshed_region", "meshes_container"],
+ optional=True,
+ document="""Mesh expanded, use if cyclic expansion is to
+ be done.""",
+ ),
+ 18: PinSpecification(
+ name="sectors_to_expand",
+ type_names=["vector", "scoping", "scopings_container"],
+ optional=True,
+ document="""Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.""",
+ ),
+ 19: PinSpecification(
+ name="phi",
+ type_names=["double"],
+ optional=True,
+ document="""Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.""",
),
22: PinSpecification(
name="read_beams",
@@ -405,6 +457,12 @@ class InputsContactFluidPenetrationPressure(_Inputs):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -451,6 +509,18 @@ def __init__(self, op: Operator):
contact_fluid_penetration_pressure._spec().input_pin(14), 14, op, -1
)
self._inputs.append(self._read_cyclic)
+ self._expanded_meshed_region = Input(
+ contact_fluid_penetration_pressure._spec().input_pin(15), 15, op, -1
+ )
+ self._inputs.append(self._expanded_meshed_region)
+ self._sectors_to_expand = Input(
+ contact_fluid_penetration_pressure._spec().input_pin(18), 18, op, -1
+ )
+ self._inputs.append(self._sectors_to_expand)
+ self._phi = Input(
+ contact_fluid_penetration_pressure._spec().input_pin(19), 19, op, -1
+ )
+ self._inputs.append(self._phi)
self._read_beams = Input(
contact_fluid_penetration_pressure._spec().input_pin(22), 22, op, -1
)
@@ -616,8 +686,8 @@ def bool_rotate_to_global(self):
def mesh(self):
"""Allows to connect mesh input to the operator.
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
Parameters
----------
@@ -678,6 +748,71 @@ def read_cyclic(self):
"""
return self._read_cyclic
+ @property
+ def expanded_meshed_region(self):
+ """Allows to connect expanded_meshed_region input to the operator.
+
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+
+ Parameters
+ ----------
+ my_expanded_meshed_region : MeshedRegion or MeshesContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_fluid_penetration_pressure()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> # or
+ >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region)
+ """
+ return self._expanded_meshed_region
+
+ @property
+ def sectors_to_expand(self):
+ """Allows to connect sectors_to_expand input to the operator.
+
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+
+ Parameters
+ ----------
+ my_sectors_to_expand : Scoping or ScopingsContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_fluid_penetration_pressure()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> # or
+ >>> op.inputs.sectors_to_expand(my_sectors_to_expand)
+ """
+ return self._sectors_to_expand
+
+ @property
+ def phi(self):
+ """Allows to connect phi input to the operator.
+
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
+
+ Parameters
+ ----------
+ my_phi : float
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_fluid_penetration_pressure()
+ >>> op.inputs.phi.connect(my_phi)
+ >>> # or
+ >>> op.inputs.phi(my_phi)
+ """
+ return self._phi
+
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/contact_friction_stress.py b/src/ansys/dpf/core/operators/result/contact_friction_stress.py
index 5bef350f6d..869ea7da16 100644
--- a/src/ansys/dpf/core/operators/result/contact_friction_stress.py
+++ b/src/ansys/dpf/core/operators/result/contact_friction_stress.py
@@ -60,8 +60,8 @@ class contact_friction_stress(Operator):
If true the field is rotated to global
coordinate system (default true)
mesh : MeshedRegion or MeshesContainer, optional
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
@@ -71,6 +71,17 @@ class contact_friction_stress(Operator):
is done, if 3 cyclic expansion is
done and stages are merged (default
is 1)
+ expanded_meshed_region : MeshedRegion or MeshesContainer, optional
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+ sectors_to_expand : Scoping or ScopingsContainer, optional
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+ phi : float, optional
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
read_beams : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -122,6 +133,12 @@ class contact_friction_stress(Operator):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -140,6 +157,9 @@ class contact_friction_stress(Operator):
... mesh=my_mesh,
... requested_location=my_requested_location,
... read_cyclic=my_read_cyclic,
+ ... expanded_meshed_region=my_expanded_meshed_region,
+ ... sectors_to_expand=my_sectors_to_expand,
+ ... phi=my_phi,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -160,6 +180,9 @@ def __init__(
mesh=None,
requested_location=None,
read_cyclic=None,
+ expanded_meshed_region=None,
+ sectors_to_expand=None,
+ phi=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -187,6 +210,12 @@ def __init__(
self.inputs.requested_location.connect(requested_location)
if read_cyclic is not None:
self.inputs.read_cyclic.connect(read_cyclic)
+ if expanded_meshed_region is not None:
+ self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
+ if sectors_to_expand is not None:
+ self.inputs.sectors_to_expand.connect(sectors_to_expand)
+ if phi is not None:
+ self.inputs.phi.connect(phi)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -278,8 +307,8 @@ def _spec():
name="mesh",
type_names=["abstract_meshed_region", "meshes_container"],
optional=True,
- document="""Prevents from reading the mesh in the result
- files""",
+ document="""Mesh. if cylic expansion is to be done, mesh
+ of the base sector""",
),
9: PinSpecification(
name="requested_location",
@@ -297,6 +326,29 @@ def _spec():
is done, if 3 cyclic expansion is
done and stages are merged (default
is 1)""",
+ ),
+ 15: PinSpecification(
+ name="expanded_meshed_region",
+ type_names=["abstract_meshed_region", "meshes_container"],
+ optional=True,
+ document="""Mesh expanded, use if cyclic expansion is to
+ be done.""",
+ ),
+ 18: PinSpecification(
+ name="sectors_to_expand",
+ type_names=["vector", "scoping", "scopings_container"],
+ optional=True,
+ document="""Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.""",
+ ),
+ 19: PinSpecification(
+ name="phi",
+ type_names=["double"],
+ optional=True,
+ document="""Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.""",
),
22: PinSpecification(
name="read_beams",
@@ -405,6 +457,12 @@ class InputsContactFrictionStress(_Inputs):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -449,6 +507,16 @@ def __init__(self, op: Operator):
contact_friction_stress._spec().input_pin(14), 14, op, -1
)
self._inputs.append(self._read_cyclic)
+ self._expanded_meshed_region = Input(
+ contact_friction_stress._spec().input_pin(15), 15, op, -1
+ )
+ self._inputs.append(self._expanded_meshed_region)
+ self._sectors_to_expand = Input(
+ contact_friction_stress._spec().input_pin(18), 18, op, -1
+ )
+ self._inputs.append(self._sectors_to_expand)
+ self._phi = Input(contact_friction_stress._spec().input_pin(19), 19, op, -1)
+ self._inputs.append(self._phi)
self._read_beams = Input(
contact_friction_stress._spec().input_pin(22), 22, op, -1
)
@@ -614,8 +682,8 @@ def bool_rotate_to_global(self):
def mesh(self):
"""Allows to connect mesh input to the operator.
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
Parameters
----------
@@ -676,6 +744,71 @@ def read_cyclic(self):
"""
return self._read_cyclic
+ @property
+ def expanded_meshed_region(self):
+ """Allows to connect expanded_meshed_region input to the operator.
+
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+
+ Parameters
+ ----------
+ my_expanded_meshed_region : MeshedRegion or MeshesContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_friction_stress()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> # or
+ >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region)
+ """
+ return self._expanded_meshed_region
+
+ @property
+ def sectors_to_expand(self):
+ """Allows to connect sectors_to_expand input to the operator.
+
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+
+ Parameters
+ ----------
+ my_sectors_to_expand : Scoping or ScopingsContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_friction_stress()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> # or
+ >>> op.inputs.sectors_to_expand(my_sectors_to_expand)
+ """
+ return self._sectors_to_expand
+
+ @property
+ def phi(self):
+ """Allows to connect phi input to the operator.
+
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
+
+ Parameters
+ ----------
+ my_phi : float
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_friction_stress()
+ >>> op.inputs.phi.connect(my_phi)
+ >>> # or
+ >>> op.inputs.phi(my_phi)
+ """
+ return self._phi
+
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/contact_gap_distance.py b/src/ansys/dpf/core/operators/result/contact_gap_distance.py
index 9d7af4fe44..99dfd522bc 100644
--- a/src/ansys/dpf/core/operators/result/contact_gap_distance.py
+++ b/src/ansys/dpf/core/operators/result/contact_gap_distance.py
@@ -60,8 +60,8 @@ class contact_gap_distance(Operator):
If true the field is rotated to global
coordinate system (default true)
mesh : MeshedRegion or MeshesContainer, optional
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
@@ -71,6 +71,17 @@ class contact_gap_distance(Operator):
is done, if 3 cyclic expansion is
done and stages are merged (default
is 1)
+ expanded_meshed_region : MeshedRegion or MeshesContainer, optional
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+ sectors_to_expand : Scoping or ScopingsContainer, optional
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+ phi : float, optional
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
read_beams : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -122,6 +133,12 @@ class contact_gap_distance(Operator):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -140,6 +157,9 @@ class contact_gap_distance(Operator):
... mesh=my_mesh,
... requested_location=my_requested_location,
... read_cyclic=my_read_cyclic,
+ ... expanded_meshed_region=my_expanded_meshed_region,
+ ... sectors_to_expand=my_sectors_to_expand,
+ ... phi=my_phi,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -160,6 +180,9 @@ def __init__(
mesh=None,
requested_location=None,
read_cyclic=None,
+ expanded_meshed_region=None,
+ sectors_to_expand=None,
+ phi=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -187,6 +210,12 @@ def __init__(
self.inputs.requested_location.connect(requested_location)
if read_cyclic is not None:
self.inputs.read_cyclic.connect(read_cyclic)
+ if expanded_meshed_region is not None:
+ self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
+ if sectors_to_expand is not None:
+ self.inputs.sectors_to_expand.connect(sectors_to_expand)
+ if phi is not None:
+ self.inputs.phi.connect(phi)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -278,8 +307,8 @@ def _spec():
name="mesh",
type_names=["abstract_meshed_region", "meshes_container"],
optional=True,
- document="""Prevents from reading the mesh in the result
- files""",
+ document="""Mesh. if cylic expansion is to be done, mesh
+ of the base sector""",
),
9: PinSpecification(
name="requested_location",
@@ -297,6 +326,29 @@ def _spec():
is done, if 3 cyclic expansion is
done and stages are merged (default
is 1)""",
+ ),
+ 15: PinSpecification(
+ name="expanded_meshed_region",
+ type_names=["abstract_meshed_region", "meshes_container"],
+ optional=True,
+ document="""Mesh expanded, use if cyclic expansion is to
+ be done.""",
+ ),
+ 18: PinSpecification(
+ name="sectors_to_expand",
+ type_names=["vector", "scoping", "scopings_container"],
+ optional=True,
+ document="""Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.""",
+ ),
+ 19: PinSpecification(
+ name="phi",
+ type_names=["double"],
+ optional=True,
+ document="""Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.""",
),
22: PinSpecification(
name="read_beams",
@@ -405,6 +457,12 @@ class InputsContactGapDistance(_Inputs):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -443,6 +501,16 @@ def __init__(self, op: Operator):
contact_gap_distance._spec().input_pin(14), 14, op, -1
)
self._inputs.append(self._read_cyclic)
+ self._expanded_meshed_region = Input(
+ contact_gap_distance._spec().input_pin(15), 15, op, -1
+ )
+ self._inputs.append(self._expanded_meshed_region)
+ self._sectors_to_expand = Input(
+ contact_gap_distance._spec().input_pin(18), 18, op, -1
+ )
+ self._inputs.append(self._sectors_to_expand)
+ self._phi = Input(contact_gap_distance._spec().input_pin(19), 19, op, -1)
+ self._inputs.append(self._phi)
self._read_beams = Input(contact_gap_distance._spec().input_pin(22), 22, op, -1)
self._inputs.append(self._read_beams)
self._split_shells = Input(
@@ -606,8 +674,8 @@ def bool_rotate_to_global(self):
def mesh(self):
"""Allows to connect mesh input to the operator.
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
Parameters
----------
@@ -668,6 +736,71 @@ def read_cyclic(self):
"""
return self._read_cyclic
+ @property
+ def expanded_meshed_region(self):
+ """Allows to connect expanded_meshed_region input to the operator.
+
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+
+ Parameters
+ ----------
+ my_expanded_meshed_region : MeshedRegion or MeshesContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_gap_distance()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> # or
+ >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region)
+ """
+ return self._expanded_meshed_region
+
+ @property
+ def sectors_to_expand(self):
+ """Allows to connect sectors_to_expand input to the operator.
+
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+
+ Parameters
+ ----------
+ my_sectors_to_expand : Scoping or ScopingsContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_gap_distance()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> # or
+ >>> op.inputs.sectors_to_expand(my_sectors_to_expand)
+ """
+ return self._sectors_to_expand
+
+ @property
+ def phi(self):
+ """Allows to connect phi input to the operator.
+
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
+
+ Parameters
+ ----------
+ my_phi : float
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_gap_distance()
+ >>> op.inputs.phi.connect(my_phi)
+ >>> # or
+ >>> op.inputs.phi(my_phi)
+ """
+ return self._phi
+
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/contact_penetration.py b/src/ansys/dpf/core/operators/result/contact_penetration.py
index a0a947a2bb..1edeed3f7c 100644
--- a/src/ansys/dpf/core/operators/result/contact_penetration.py
+++ b/src/ansys/dpf/core/operators/result/contact_penetration.py
@@ -60,8 +60,8 @@ class contact_penetration(Operator):
If true the field is rotated to global
coordinate system (default true)
mesh : MeshedRegion or MeshesContainer, optional
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
@@ -71,6 +71,17 @@ class contact_penetration(Operator):
is done, if 3 cyclic expansion is
done and stages are merged (default
is 1)
+ expanded_meshed_region : MeshedRegion or MeshesContainer, optional
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+ sectors_to_expand : Scoping or ScopingsContainer, optional
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+ phi : float, optional
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
read_beams : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -122,6 +133,12 @@ class contact_penetration(Operator):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -140,6 +157,9 @@ class contact_penetration(Operator):
... mesh=my_mesh,
... requested_location=my_requested_location,
... read_cyclic=my_read_cyclic,
+ ... expanded_meshed_region=my_expanded_meshed_region,
+ ... sectors_to_expand=my_sectors_to_expand,
+ ... phi=my_phi,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -160,6 +180,9 @@ def __init__(
mesh=None,
requested_location=None,
read_cyclic=None,
+ expanded_meshed_region=None,
+ sectors_to_expand=None,
+ phi=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -187,6 +210,12 @@ def __init__(
self.inputs.requested_location.connect(requested_location)
if read_cyclic is not None:
self.inputs.read_cyclic.connect(read_cyclic)
+ if expanded_meshed_region is not None:
+ self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
+ if sectors_to_expand is not None:
+ self.inputs.sectors_to_expand.connect(sectors_to_expand)
+ if phi is not None:
+ self.inputs.phi.connect(phi)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -278,8 +307,8 @@ def _spec():
name="mesh",
type_names=["abstract_meshed_region", "meshes_container"],
optional=True,
- document="""Prevents from reading the mesh in the result
- files""",
+ document="""Mesh. if cylic expansion is to be done, mesh
+ of the base sector""",
),
9: PinSpecification(
name="requested_location",
@@ -297,6 +326,29 @@ def _spec():
is done, if 3 cyclic expansion is
done and stages are merged (default
is 1)""",
+ ),
+ 15: PinSpecification(
+ name="expanded_meshed_region",
+ type_names=["abstract_meshed_region", "meshes_container"],
+ optional=True,
+ document="""Mesh expanded, use if cyclic expansion is to
+ be done.""",
+ ),
+ 18: PinSpecification(
+ name="sectors_to_expand",
+ type_names=["vector", "scoping", "scopings_container"],
+ optional=True,
+ document="""Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.""",
+ ),
+ 19: PinSpecification(
+ name="phi",
+ type_names=["double"],
+ optional=True,
+ document="""Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.""",
),
22: PinSpecification(
name="read_beams",
@@ -405,6 +457,12 @@ class InputsContactPenetration(_Inputs):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -441,6 +499,16 @@ def __init__(self, op: Operator):
self._inputs.append(self._requested_location)
self._read_cyclic = Input(contact_penetration._spec().input_pin(14), 14, op, -1)
self._inputs.append(self._read_cyclic)
+ self._expanded_meshed_region = Input(
+ contact_penetration._spec().input_pin(15), 15, op, -1
+ )
+ self._inputs.append(self._expanded_meshed_region)
+ self._sectors_to_expand = Input(
+ contact_penetration._spec().input_pin(18), 18, op, -1
+ )
+ self._inputs.append(self._sectors_to_expand)
+ self._phi = Input(contact_penetration._spec().input_pin(19), 19, op, -1)
+ self._inputs.append(self._phi)
self._read_beams = Input(contact_penetration._spec().input_pin(22), 22, op, -1)
self._inputs.append(self._read_beams)
self._split_shells = Input(
@@ -602,8 +670,8 @@ def bool_rotate_to_global(self):
def mesh(self):
"""Allows to connect mesh input to the operator.
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
Parameters
----------
@@ -664,6 +732,71 @@ def read_cyclic(self):
"""
return self._read_cyclic
+ @property
+ def expanded_meshed_region(self):
+ """Allows to connect expanded_meshed_region input to the operator.
+
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+
+ Parameters
+ ----------
+ my_expanded_meshed_region : MeshedRegion or MeshesContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_penetration()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> # or
+ >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region)
+ """
+ return self._expanded_meshed_region
+
+ @property
+ def sectors_to_expand(self):
+ """Allows to connect sectors_to_expand input to the operator.
+
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+
+ Parameters
+ ----------
+ my_sectors_to_expand : Scoping or ScopingsContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_penetration()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> # or
+ >>> op.inputs.sectors_to_expand(my_sectors_to_expand)
+ """
+ return self._sectors_to_expand
+
+ @property
+ def phi(self):
+ """Allows to connect phi input to the operator.
+
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
+
+ Parameters
+ ----------
+ my_phi : float
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_penetration()
+ >>> op.inputs.phi.connect(my_phi)
+ >>> # or
+ >>> op.inputs.phi(my_phi)
+ """
+ return self._phi
+
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/contact_pressure.py b/src/ansys/dpf/core/operators/result/contact_pressure.py
index 33b6c5161c..9f2db8be17 100644
--- a/src/ansys/dpf/core/operators/result/contact_pressure.py
+++ b/src/ansys/dpf/core/operators/result/contact_pressure.py
@@ -60,8 +60,8 @@ class contact_pressure(Operator):
If true the field is rotated to global
coordinate system (default true)
mesh : MeshedRegion or MeshesContainer, optional
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
@@ -71,6 +71,17 @@ class contact_pressure(Operator):
is done, if 3 cyclic expansion is
done and stages are merged (default
is 1)
+ expanded_meshed_region : MeshedRegion or MeshesContainer, optional
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+ sectors_to_expand : Scoping or ScopingsContainer, optional
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+ phi : float, optional
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
read_beams : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -122,6 +133,12 @@ class contact_pressure(Operator):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -140,6 +157,9 @@ class contact_pressure(Operator):
... mesh=my_mesh,
... requested_location=my_requested_location,
... read_cyclic=my_read_cyclic,
+ ... expanded_meshed_region=my_expanded_meshed_region,
+ ... sectors_to_expand=my_sectors_to_expand,
+ ... phi=my_phi,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -160,6 +180,9 @@ def __init__(
mesh=None,
requested_location=None,
read_cyclic=None,
+ expanded_meshed_region=None,
+ sectors_to_expand=None,
+ phi=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -187,6 +210,12 @@ def __init__(
self.inputs.requested_location.connect(requested_location)
if read_cyclic is not None:
self.inputs.read_cyclic.connect(read_cyclic)
+ if expanded_meshed_region is not None:
+ self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
+ if sectors_to_expand is not None:
+ self.inputs.sectors_to_expand.connect(sectors_to_expand)
+ if phi is not None:
+ self.inputs.phi.connect(phi)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -278,8 +307,8 @@ def _spec():
name="mesh",
type_names=["abstract_meshed_region", "meshes_container"],
optional=True,
- document="""Prevents from reading the mesh in the result
- files""",
+ document="""Mesh. if cylic expansion is to be done, mesh
+ of the base sector""",
),
9: PinSpecification(
name="requested_location",
@@ -297,6 +326,29 @@ def _spec():
is done, if 3 cyclic expansion is
done and stages are merged (default
is 1)""",
+ ),
+ 15: PinSpecification(
+ name="expanded_meshed_region",
+ type_names=["abstract_meshed_region", "meshes_container"],
+ optional=True,
+ document="""Mesh expanded, use if cyclic expansion is to
+ be done.""",
+ ),
+ 18: PinSpecification(
+ name="sectors_to_expand",
+ type_names=["vector", "scoping", "scopings_container"],
+ optional=True,
+ document="""Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.""",
+ ),
+ 19: PinSpecification(
+ name="phi",
+ type_names=["double"],
+ optional=True,
+ document="""Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.""",
),
22: PinSpecification(
name="read_beams",
@@ -405,6 +457,12 @@ class InputsContactPressure(_Inputs):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -439,6 +497,16 @@ def __init__(self, op: Operator):
self._inputs.append(self._requested_location)
self._read_cyclic = Input(contact_pressure._spec().input_pin(14), 14, op, -1)
self._inputs.append(self._read_cyclic)
+ self._expanded_meshed_region = Input(
+ contact_pressure._spec().input_pin(15), 15, op, -1
+ )
+ self._inputs.append(self._expanded_meshed_region)
+ self._sectors_to_expand = Input(
+ contact_pressure._spec().input_pin(18), 18, op, -1
+ )
+ self._inputs.append(self._sectors_to_expand)
+ self._phi = Input(contact_pressure._spec().input_pin(19), 19, op, -1)
+ self._inputs.append(self._phi)
self._read_beams = Input(contact_pressure._spec().input_pin(22), 22, op, -1)
self._inputs.append(self._read_beams)
self._split_shells = Input(contact_pressure._spec().input_pin(26), 26, op, -1)
@@ -598,8 +666,8 @@ def bool_rotate_to_global(self):
def mesh(self):
"""Allows to connect mesh input to the operator.
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
Parameters
----------
@@ -660,6 +728,71 @@ def read_cyclic(self):
"""
return self._read_cyclic
+ @property
+ def expanded_meshed_region(self):
+ """Allows to connect expanded_meshed_region input to the operator.
+
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+
+ Parameters
+ ----------
+ my_expanded_meshed_region : MeshedRegion or MeshesContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_pressure()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> # or
+ >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region)
+ """
+ return self._expanded_meshed_region
+
+ @property
+ def sectors_to_expand(self):
+ """Allows to connect sectors_to_expand input to the operator.
+
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+
+ Parameters
+ ----------
+ my_sectors_to_expand : Scoping or ScopingsContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_pressure()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> # or
+ >>> op.inputs.sectors_to_expand(my_sectors_to_expand)
+ """
+ return self._sectors_to_expand
+
+ @property
+ def phi(self):
+ """Allows to connect phi input to the operator.
+
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
+
+ Parameters
+ ----------
+ my_phi : float
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_pressure()
+ >>> op.inputs.phi.connect(my_phi)
+ >>> # or
+ >>> op.inputs.phi(my_phi)
+ """
+ return self._phi
+
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/contact_sliding_distance.py b/src/ansys/dpf/core/operators/result/contact_sliding_distance.py
index e9019d1bd0..6f0f93fac9 100644
--- a/src/ansys/dpf/core/operators/result/contact_sliding_distance.py
+++ b/src/ansys/dpf/core/operators/result/contact_sliding_distance.py
@@ -60,8 +60,8 @@ class contact_sliding_distance(Operator):
If true the field is rotated to global
coordinate system (default true)
mesh : MeshedRegion or MeshesContainer, optional
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
@@ -71,6 +71,17 @@ class contact_sliding_distance(Operator):
is done, if 3 cyclic expansion is
done and stages are merged (default
is 1)
+ expanded_meshed_region : MeshedRegion or MeshesContainer, optional
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+ sectors_to_expand : Scoping or ScopingsContainer, optional
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+ phi : float, optional
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
read_beams : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -122,6 +133,12 @@ class contact_sliding_distance(Operator):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -140,6 +157,9 @@ class contact_sliding_distance(Operator):
... mesh=my_mesh,
... requested_location=my_requested_location,
... read_cyclic=my_read_cyclic,
+ ... expanded_meshed_region=my_expanded_meshed_region,
+ ... sectors_to_expand=my_sectors_to_expand,
+ ... phi=my_phi,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -160,6 +180,9 @@ def __init__(
mesh=None,
requested_location=None,
read_cyclic=None,
+ expanded_meshed_region=None,
+ sectors_to_expand=None,
+ phi=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -187,6 +210,12 @@ def __init__(
self.inputs.requested_location.connect(requested_location)
if read_cyclic is not None:
self.inputs.read_cyclic.connect(read_cyclic)
+ if expanded_meshed_region is not None:
+ self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
+ if sectors_to_expand is not None:
+ self.inputs.sectors_to_expand.connect(sectors_to_expand)
+ if phi is not None:
+ self.inputs.phi.connect(phi)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -278,8 +307,8 @@ def _spec():
name="mesh",
type_names=["abstract_meshed_region", "meshes_container"],
optional=True,
- document="""Prevents from reading the mesh in the result
- files""",
+ document="""Mesh. if cylic expansion is to be done, mesh
+ of the base sector""",
),
9: PinSpecification(
name="requested_location",
@@ -297,6 +326,29 @@ def _spec():
is done, if 3 cyclic expansion is
done and stages are merged (default
is 1)""",
+ ),
+ 15: PinSpecification(
+ name="expanded_meshed_region",
+ type_names=["abstract_meshed_region", "meshes_container"],
+ optional=True,
+ document="""Mesh expanded, use if cyclic expansion is to
+ be done.""",
+ ),
+ 18: PinSpecification(
+ name="sectors_to_expand",
+ type_names=["vector", "scoping", "scopings_container"],
+ optional=True,
+ document="""Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.""",
+ ),
+ 19: PinSpecification(
+ name="phi",
+ type_names=["double"],
+ optional=True,
+ document="""Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.""",
),
22: PinSpecification(
name="read_beams",
@@ -405,6 +457,12 @@ class InputsContactSlidingDistance(_Inputs):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -449,6 +507,16 @@ def __init__(self, op: Operator):
contact_sliding_distance._spec().input_pin(14), 14, op, -1
)
self._inputs.append(self._read_cyclic)
+ self._expanded_meshed_region = Input(
+ contact_sliding_distance._spec().input_pin(15), 15, op, -1
+ )
+ self._inputs.append(self._expanded_meshed_region)
+ self._sectors_to_expand = Input(
+ contact_sliding_distance._spec().input_pin(18), 18, op, -1
+ )
+ self._inputs.append(self._sectors_to_expand)
+ self._phi = Input(contact_sliding_distance._spec().input_pin(19), 19, op, -1)
+ self._inputs.append(self._phi)
self._read_beams = Input(
contact_sliding_distance._spec().input_pin(22), 22, op, -1
)
@@ -614,8 +682,8 @@ def bool_rotate_to_global(self):
def mesh(self):
"""Allows to connect mesh input to the operator.
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
Parameters
----------
@@ -676,6 +744,71 @@ def read_cyclic(self):
"""
return self._read_cyclic
+ @property
+ def expanded_meshed_region(self):
+ """Allows to connect expanded_meshed_region input to the operator.
+
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+
+ Parameters
+ ----------
+ my_expanded_meshed_region : MeshedRegion or MeshesContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_sliding_distance()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> # or
+ >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region)
+ """
+ return self._expanded_meshed_region
+
+ @property
+ def sectors_to_expand(self):
+ """Allows to connect sectors_to_expand input to the operator.
+
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+
+ Parameters
+ ----------
+ my_sectors_to_expand : Scoping or ScopingsContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_sliding_distance()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> # or
+ >>> op.inputs.sectors_to_expand(my_sectors_to_expand)
+ """
+ return self._sectors_to_expand
+
+ @property
+ def phi(self):
+ """Allows to connect phi input to the operator.
+
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
+
+ Parameters
+ ----------
+ my_phi : float
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_sliding_distance()
+ >>> op.inputs.phi.connect(my_phi)
+ >>> # or
+ >>> op.inputs.phi(my_phi)
+ """
+ return self._phi
+
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/contact_status.py b/src/ansys/dpf/core/operators/result/contact_status.py
index 27c86a41b0..60c40ad8dd 100644
--- a/src/ansys/dpf/core/operators/result/contact_status.py
+++ b/src/ansys/dpf/core/operators/result/contact_status.py
@@ -60,8 +60,8 @@ class contact_status(Operator):
If true the field is rotated to global
coordinate system (default true)
mesh : MeshedRegion or MeshesContainer, optional
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
@@ -71,6 +71,17 @@ class contact_status(Operator):
is done, if 3 cyclic expansion is
done and stages are merged (default
is 1)
+ expanded_meshed_region : MeshedRegion or MeshesContainer, optional
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+ sectors_to_expand : Scoping or ScopingsContainer, optional
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+ phi : float, optional
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
read_beams : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -122,6 +133,12 @@ class contact_status(Operator):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -140,6 +157,9 @@ class contact_status(Operator):
... mesh=my_mesh,
... requested_location=my_requested_location,
... read_cyclic=my_read_cyclic,
+ ... expanded_meshed_region=my_expanded_meshed_region,
+ ... sectors_to_expand=my_sectors_to_expand,
+ ... phi=my_phi,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -160,6 +180,9 @@ def __init__(
mesh=None,
requested_location=None,
read_cyclic=None,
+ expanded_meshed_region=None,
+ sectors_to_expand=None,
+ phi=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -187,6 +210,12 @@ def __init__(
self.inputs.requested_location.connect(requested_location)
if read_cyclic is not None:
self.inputs.read_cyclic.connect(read_cyclic)
+ if expanded_meshed_region is not None:
+ self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
+ if sectors_to_expand is not None:
+ self.inputs.sectors_to_expand.connect(sectors_to_expand)
+ if phi is not None:
+ self.inputs.phi.connect(phi)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -278,8 +307,8 @@ def _spec():
name="mesh",
type_names=["abstract_meshed_region", "meshes_container"],
optional=True,
- document="""Prevents from reading the mesh in the result
- files""",
+ document="""Mesh. if cylic expansion is to be done, mesh
+ of the base sector""",
),
9: PinSpecification(
name="requested_location",
@@ -297,6 +326,29 @@ def _spec():
is done, if 3 cyclic expansion is
done and stages are merged (default
is 1)""",
+ ),
+ 15: PinSpecification(
+ name="expanded_meshed_region",
+ type_names=["abstract_meshed_region", "meshes_container"],
+ optional=True,
+ document="""Mesh expanded, use if cyclic expansion is to
+ be done.""",
+ ),
+ 18: PinSpecification(
+ name="sectors_to_expand",
+ type_names=["vector", "scoping", "scopings_container"],
+ optional=True,
+ document="""Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.""",
+ ),
+ 19: PinSpecification(
+ name="phi",
+ type_names=["double"],
+ optional=True,
+ document="""Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.""",
),
22: PinSpecification(
name="read_beams",
@@ -405,6 +457,12 @@ class InputsContactStatus(_Inputs):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -435,6 +493,16 @@ def __init__(self, op: Operator):
self._inputs.append(self._requested_location)
self._read_cyclic = Input(contact_status._spec().input_pin(14), 14, op, -1)
self._inputs.append(self._read_cyclic)
+ self._expanded_meshed_region = Input(
+ contact_status._spec().input_pin(15), 15, op, -1
+ )
+ self._inputs.append(self._expanded_meshed_region)
+ self._sectors_to_expand = Input(
+ contact_status._spec().input_pin(18), 18, op, -1
+ )
+ self._inputs.append(self._sectors_to_expand)
+ self._phi = Input(contact_status._spec().input_pin(19), 19, op, -1)
+ self._inputs.append(self._phi)
self._read_beams = Input(contact_status._spec().input_pin(22), 22, op, -1)
self._inputs.append(self._read_beams)
self._split_shells = Input(contact_status._spec().input_pin(26), 26, op, -1)
@@ -594,8 +662,8 @@ def bool_rotate_to_global(self):
def mesh(self):
"""Allows to connect mesh input to the operator.
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
Parameters
----------
@@ -656,6 +724,71 @@ def read_cyclic(self):
"""
return self._read_cyclic
+ @property
+ def expanded_meshed_region(self):
+ """Allows to connect expanded_meshed_region input to the operator.
+
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+
+ Parameters
+ ----------
+ my_expanded_meshed_region : MeshedRegion or MeshesContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_status()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> # or
+ >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region)
+ """
+ return self._expanded_meshed_region
+
+ @property
+ def sectors_to_expand(self):
+ """Allows to connect sectors_to_expand input to the operator.
+
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+
+ Parameters
+ ----------
+ my_sectors_to_expand : Scoping or ScopingsContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_status()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> # or
+ >>> op.inputs.sectors_to_expand(my_sectors_to_expand)
+ """
+ return self._sectors_to_expand
+
+ @property
+ def phi(self):
+ """Allows to connect phi input to the operator.
+
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
+
+ Parameters
+ ----------
+ my_phi : float
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_status()
+ >>> op.inputs.phi.connect(my_phi)
+ >>> # or
+ >>> op.inputs.phi(my_phi)
+ """
+ return self._phi
+
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/contact_surface_heat_flux.py b/src/ansys/dpf/core/operators/result/contact_surface_heat_flux.py
index 2b1dffdd21..8f57effa53 100644
--- a/src/ansys/dpf/core/operators/result/contact_surface_heat_flux.py
+++ b/src/ansys/dpf/core/operators/result/contact_surface_heat_flux.py
@@ -60,8 +60,8 @@ class contact_surface_heat_flux(Operator):
If true the field is rotated to global
coordinate system (default true)
mesh : MeshedRegion or MeshesContainer, optional
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
@@ -71,6 +71,17 @@ class contact_surface_heat_flux(Operator):
is done, if 3 cyclic expansion is
done and stages are merged (default
is 1)
+ expanded_meshed_region : MeshedRegion or MeshesContainer, optional
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+ sectors_to_expand : Scoping or ScopingsContainer, optional
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+ phi : float, optional
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
read_beams : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -122,6 +133,12 @@ class contact_surface_heat_flux(Operator):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -140,6 +157,9 @@ class contact_surface_heat_flux(Operator):
... mesh=my_mesh,
... requested_location=my_requested_location,
... read_cyclic=my_read_cyclic,
+ ... expanded_meshed_region=my_expanded_meshed_region,
+ ... sectors_to_expand=my_sectors_to_expand,
+ ... phi=my_phi,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -160,6 +180,9 @@ def __init__(
mesh=None,
requested_location=None,
read_cyclic=None,
+ expanded_meshed_region=None,
+ sectors_to_expand=None,
+ phi=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -187,6 +210,12 @@ def __init__(
self.inputs.requested_location.connect(requested_location)
if read_cyclic is not None:
self.inputs.read_cyclic.connect(read_cyclic)
+ if expanded_meshed_region is not None:
+ self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
+ if sectors_to_expand is not None:
+ self.inputs.sectors_to_expand.connect(sectors_to_expand)
+ if phi is not None:
+ self.inputs.phi.connect(phi)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -278,8 +307,8 @@ def _spec():
name="mesh",
type_names=["abstract_meshed_region", "meshes_container"],
optional=True,
- document="""Prevents from reading the mesh in the result
- files""",
+ document="""Mesh. if cylic expansion is to be done, mesh
+ of the base sector""",
),
9: PinSpecification(
name="requested_location",
@@ -297,6 +326,29 @@ def _spec():
is done, if 3 cyclic expansion is
done and stages are merged (default
is 1)""",
+ ),
+ 15: PinSpecification(
+ name="expanded_meshed_region",
+ type_names=["abstract_meshed_region", "meshes_container"],
+ optional=True,
+ document="""Mesh expanded, use if cyclic expansion is to
+ be done.""",
+ ),
+ 18: PinSpecification(
+ name="sectors_to_expand",
+ type_names=["vector", "scoping", "scopings_container"],
+ optional=True,
+ document="""Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.""",
+ ),
+ 19: PinSpecification(
+ name="phi",
+ type_names=["double"],
+ optional=True,
+ document="""Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.""",
),
22: PinSpecification(
name="read_beams",
@@ -405,6 +457,12 @@ class InputsContactSurfaceHeatFlux(_Inputs):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -449,6 +507,16 @@ def __init__(self, op: Operator):
contact_surface_heat_flux._spec().input_pin(14), 14, op, -1
)
self._inputs.append(self._read_cyclic)
+ self._expanded_meshed_region = Input(
+ contact_surface_heat_flux._spec().input_pin(15), 15, op, -1
+ )
+ self._inputs.append(self._expanded_meshed_region)
+ self._sectors_to_expand = Input(
+ contact_surface_heat_flux._spec().input_pin(18), 18, op, -1
+ )
+ self._inputs.append(self._sectors_to_expand)
+ self._phi = Input(contact_surface_heat_flux._spec().input_pin(19), 19, op, -1)
+ self._inputs.append(self._phi)
self._read_beams = Input(
contact_surface_heat_flux._spec().input_pin(22), 22, op, -1
)
@@ -614,8 +682,8 @@ def bool_rotate_to_global(self):
def mesh(self):
"""Allows to connect mesh input to the operator.
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
Parameters
----------
@@ -676,6 +744,71 @@ def read_cyclic(self):
"""
return self._read_cyclic
+ @property
+ def expanded_meshed_region(self):
+ """Allows to connect expanded_meshed_region input to the operator.
+
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+
+ Parameters
+ ----------
+ my_expanded_meshed_region : MeshedRegion or MeshesContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_surface_heat_flux()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> # or
+ >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region)
+ """
+ return self._expanded_meshed_region
+
+ @property
+ def sectors_to_expand(self):
+ """Allows to connect sectors_to_expand input to the operator.
+
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+
+ Parameters
+ ----------
+ my_sectors_to_expand : Scoping or ScopingsContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_surface_heat_flux()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> # or
+ >>> op.inputs.sectors_to_expand(my_sectors_to_expand)
+ """
+ return self._sectors_to_expand
+
+ @property
+ def phi(self):
+ """Allows to connect phi input to the operator.
+
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
+
+ Parameters
+ ----------
+ my_phi : float
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_surface_heat_flux()
+ >>> op.inputs.phi.connect(my_phi)
+ >>> # or
+ >>> op.inputs.phi(my_phi)
+ """
+ return self._phi
+
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/contact_total_stress.py b/src/ansys/dpf/core/operators/result/contact_total_stress.py
index 2c7221eba3..314141a746 100644
--- a/src/ansys/dpf/core/operators/result/contact_total_stress.py
+++ b/src/ansys/dpf/core/operators/result/contact_total_stress.py
@@ -60,8 +60,8 @@ class contact_total_stress(Operator):
If true the field is rotated to global
coordinate system (default true)
mesh : MeshedRegion or MeshesContainer, optional
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
@@ -71,6 +71,17 @@ class contact_total_stress(Operator):
is done, if 3 cyclic expansion is
done and stages are merged (default
is 1)
+ expanded_meshed_region : MeshedRegion or MeshesContainer, optional
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+ sectors_to_expand : Scoping or ScopingsContainer, optional
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+ phi : float, optional
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
read_beams : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -122,6 +133,12 @@ class contact_total_stress(Operator):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -140,6 +157,9 @@ class contact_total_stress(Operator):
... mesh=my_mesh,
... requested_location=my_requested_location,
... read_cyclic=my_read_cyclic,
+ ... expanded_meshed_region=my_expanded_meshed_region,
+ ... sectors_to_expand=my_sectors_to_expand,
+ ... phi=my_phi,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -160,6 +180,9 @@ def __init__(
mesh=None,
requested_location=None,
read_cyclic=None,
+ expanded_meshed_region=None,
+ sectors_to_expand=None,
+ phi=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -187,6 +210,12 @@ def __init__(
self.inputs.requested_location.connect(requested_location)
if read_cyclic is not None:
self.inputs.read_cyclic.connect(read_cyclic)
+ if expanded_meshed_region is not None:
+ self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
+ if sectors_to_expand is not None:
+ self.inputs.sectors_to_expand.connect(sectors_to_expand)
+ if phi is not None:
+ self.inputs.phi.connect(phi)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -278,8 +307,8 @@ def _spec():
name="mesh",
type_names=["abstract_meshed_region", "meshes_container"],
optional=True,
- document="""Prevents from reading the mesh in the result
- files""",
+ document="""Mesh. if cylic expansion is to be done, mesh
+ of the base sector""",
),
9: PinSpecification(
name="requested_location",
@@ -297,6 +326,29 @@ def _spec():
is done, if 3 cyclic expansion is
done and stages are merged (default
is 1)""",
+ ),
+ 15: PinSpecification(
+ name="expanded_meshed_region",
+ type_names=["abstract_meshed_region", "meshes_container"],
+ optional=True,
+ document="""Mesh expanded, use if cyclic expansion is to
+ be done.""",
+ ),
+ 18: PinSpecification(
+ name="sectors_to_expand",
+ type_names=["vector", "scoping", "scopings_container"],
+ optional=True,
+ document="""Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.""",
+ ),
+ 19: PinSpecification(
+ name="phi",
+ type_names=["double"],
+ optional=True,
+ document="""Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.""",
),
22: PinSpecification(
name="read_beams",
@@ -405,6 +457,12 @@ class InputsContactTotalStress(_Inputs):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -443,6 +501,16 @@ def __init__(self, op: Operator):
contact_total_stress._spec().input_pin(14), 14, op, -1
)
self._inputs.append(self._read_cyclic)
+ self._expanded_meshed_region = Input(
+ contact_total_stress._spec().input_pin(15), 15, op, -1
+ )
+ self._inputs.append(self._expanded_meshed_region)
+ self._sectors_to_expand = Input(
+ contact_total_stress._spec().input_pin(18), 18, op, -1
+ )
+ self._inputs.append(self._sectors_to_expand)
+ self._phi = Input(contact_total_stress._spec().input_pin(19), 19, op, -1)
+ self._inputs.append(self._phi)
self._read_beams = Input(contact_total_stress._spec().input_pin(22), 22, op, -1)
self._inputs.append(self._read_beams)
self._split_shells = Input(
@@ -606,8 +674,8 @@ def bool_rotate_to_global(self):
def mesh(self):
"""Allows to connect mesh input to the operator.
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
Parameters
----------
@@ -668,6 +736,71 @@ def read_cyclic(self):
"""
return self._read_cyclic
+ @property
+ def expanded_meshed_region(self):
+ """Allows to connect expanded_meshed_region input to the operator.
+
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+
+ Parameters
+ ----------
+ my_expanded_meshed_region : MeshedRegion or MeshesContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_total_stress()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> # or
+ >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region)
+ """
+ return self._expanded_meshed_region
+
+ @property
+ def sectors_to_expand(self):
+ """Allows to connect sectors_to_expand input to the operator.
+
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+
+ Parameters
+ ----------
+ my_sectors_to_expand : Scoping or ScopingsContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_total_stress()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> # or
+ >>> op.inputs.sectors_to_expand(my_sectors_to_expand)
+ """
+ return self._sectors_to_expand
+
+ @property
+ def phi(self):
+ """Allows to connect phi input to the operator.
+
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
+
+ Parameters
+ ----------
+ my_phi : float
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_total_stress()
+ >>> op.inputs.phi.connect(my_phi)
+ >>> # or
+ >>> op.inputs.phi(my_phi)
+ """
+ return self._phi
+
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/coordinates.py b/src/ansys/dpf/core/operators/result/coordinates.py
index 49eebabe7a..1b3fcb9adb 100644
--- a/src/ansys/dpf/core/operators/result/coordinates.py
+++ b/src/ansys/dpf/core/operators/result/coordinates.py
@@ -60,12 +60,6 @@ class coordinates(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class coordinates(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.coordinates(
@@ -105,7 +97,6 @@ class coordinates(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsCoordinates(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -331,8 +307,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(coordinates._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(coordinates._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -503,30 +477,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.coordinates()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsCoordinates(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/creep_strain_energy_density.py b/src/ansys/dpf/core/operators/result/creep_strain_energy_density.py
index 28ac276ea3..c4f98d6a03 100644
--- a/src/ansys/dpf/core/operators/result/creep_strain_energy_density.py
+++ b/src/ansys/dpf/core/operators/result/creep_strain_energy_density.py
@@ -65,12 +65,6 @@ class creep_strain_energy_density(Operator):
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
- read_cyclic : int, optional
- 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 : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -120,8 +114,6 @@ class creep_strain_energy_density(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -139,7 +131,6 @@ class creep_strain_energy_density(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -159,7 +150,6 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
requested_location=None,
- read_cyclic=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -185,8 +175,6 @@ def __init__(
self.inputs.mesh.connect(mesh)
if requested_location is not None:
self.inputs.requested_location.connect(requested_location)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -287,16 +275,6 @@ def _spec():
optional=True,
document="""Requested location nodal, elemental or
elementalnodal""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
),
22: PinSpecification(
name="read_beams",
@@ -403,8 +381,6 @@ class InputsCreepStrainEnergyDensity(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -445,10 +421,6 @@ def __init__(self, op: Operator):
creep_strain_energy_density._spec().input_pin(9), 9, op, -1
)
self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- creep_strain_energy_density._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
self._read_beams = Input(
creep_strain_energy_density._spec().input_pin(22), 22, op, -1
)
@@ -652,30 +624,6 @@ def requested_location(self):
"""
return self._requested_location
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.creep_strain_energy_density()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/current_density.py b/src/ansys/dpf/core/operators/result/current_density.py
index e05e5ab5cf..5c530bbb01 100644
--- a/src/ansys/dpf/core/operators/result/current_density.py
+++ b/src/ansys/dpf/core/operators/result/current_density.py
@@ -60,12 +60,6 @@ class current_density(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class current_density(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.current_density(
@@ -105,7 +97,6 @@ class current_density(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsCurrentDensity(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -333,8 +309,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(current_density._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(current_density._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -505,30 +479,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.current_density()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsCurrentDensity(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/custom.py b/src/ansys/dpf/core/operators/result/custom.py
index 1e47fa8331..8648059fa7 100644
--- a/src/ansys/dpf/core/operators/result/custom.py
+++ b/src/ansys/dpf/core/operators/result/custom.py
@@ -60,12 +60,6 @@ class custom(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
result_name :
Name of the result that must be extracted
from the file
@@ -96,8 +90,6 @@ class custom(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_result_name = dpf.()
>>> op.inputs.result_name.connect(my_result_name)
@@ -110,7 +102,6 @@ class custom(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... result_name=my_result_name,
... )
@@ -127,7 +118,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
result_name=None,
config=None,
server=None,
@@ -149,8 +139,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
if result_name is not None:
self.inputs.result_name.connect(result_name)
@@ -238,16 +226,6 @@ def _spec():
optional=True,
document="""Prevents from reading the mesh in the result
files""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
),
60: PinSpecification(
name="result_name",
@@ -327,8 +305,6 @@ class InputsCustom(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_result_name = dpf.()
>>> op.inputs.result_name.connect(my_result_name)
"""
@@ -349,8 +325,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(custom._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(custom._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
self._result_name = Input(custom._spec().input_pin(60), 60, op, -1)
self._inputs.append(self._result_name)
@@ -523,30 +497,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.custom()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
@property
def result_name(self):
"""Allows to connect result_name input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_acceleration.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_acceleration.py
index 832da0800d..ce21537ff2 100644
--- a/src/ansys/dpf/core/operators/result/cyclic_expanded_acceleration.py
+++ b/src/ansys/dpf/core/operators/result/cyclic_expanded_acceleration.py
@@ -12,7 +12,9 @@
class cyclic_expanded_acceleration(Operator):
- """Read acceleration from an rst file and expand it with cyclic symmetry.
+ """This operator is deprecated: use the operator acceleration with the
+ read_cyclic pin instead. Read acceleration from an rst file and
+ expand it with cyclic symmetry.
Parameters
----------
@@ -171,9 +173,9 @@ def __init__(
@staticmethod
def _spec():
- description = (
- """Read acceleration from an rst file and expand it with cyclic symmetry."""
- )
+ description = """This operator is deprecated: use the operator acceleration with the
+ read_cyclic pin instead. Read acceleration from an rst
+ file and expand it with cyclic symmetry."""
spec = Specification(
description=description,
map_input_pin_spec={
diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_displacement.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_displacement.py
index 5ee07ccd50..bad20a0582 100644
--- a/src/ansys/dpf/core/operators/result/cyclic_expanded_displacement.py
+++ b/src/ansys/dpf/core/operators/result/cyclic_expanded_displacement.py
@@ -12,8 +12,9 @@
class cyclic_expanded_displacement(Operator):
- """Read displacements from an rst file and expand it with cyclic
- symmetry.
+ """This operator is deprecated: use the operator displacements with the
+ read_cyclic pin instead. Read displacements from an rst file and
+ expand it with cyclic symmetry.
Parameters
----------
@@ -172,8 +173,9 @@ def __init__(
@staticmethod
def _spec():
- description = """Read displacements from an rst file and expand it with cyclic
- symmetry."""
+ description = """This operator is deprecated: use the operator displacements with the
+ read_cyclic pin instead. Read displacements from an rst
+ file and expand it with cyclic symmetry."""
spec = Specification(
description=description,
map_input_pin_spec={
diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_el_strain.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_el_strain.py
index 6605bcf82d..0de5ac903c 100644
--- a/src/ansys/dpf/core/operators/result/cyclic_expanded_el_strain.py
+++ b/src/ansys/dpf/core/operators/result/cyclic_expanded_el_strain.py
@@ -12,8 +12,9 @@
class cyclic_expanded_el_strain(Operator):
- """Read mapdl::rst::EPEL from an rst file and expand it with cyclic
- symmetry.
+ """This operator is deprecated: use the operator mapdl::rst::EPEL with
+ the read_cyclic pin instead. Read mapdl::rst::EPEL from an rst
+ file and expand it with cyclic symmetry.
Parameters
----------
@@ -172,8 +173,9 @@ def __init__(
@staticmethod
def _spec():
- description = """Read mapdl::rst::EPEL from an rst file and expand it with cyclic
- symmetry."""
+ description = """This operator is deprecated: use the operator mapdl::rst::EPEL with
+ the read_cyclic pin instead. Read mapdl::rst::EPEL from an
+ rst file and expand it with cyclic symmetry."""
spec = Specification(
description=description,
map_input_pin_spec={
diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_enf.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_enf.py
index 6fcf1575cf..64b0991647 100644
--- a/src/ansys/dpf/core/operators/result/cyclic_expanded_enf.py
+++ b/src/ansys/dpf/core/operators/result/cyclic_expanded_enf.py
@@ -12,7 +12,9 @@
class cyclic_expanded_enf(Operator):
- """Read ENF from an rst file and expand it with cyclic symmetry.
+ """This operator is deprecated: use the operator ENF with the read_cyclic
+ pin instead. Read ENF from an rst file and expand it with cyclic
+ symmetry.
Parameters
----------
@@ -171,9 +173,9 @@ def __init__(
@staticmethod
def _spec():
- description = (
- """Read ENF from an rst file and expand it with cyclic symmetry."""
- )
+ description = """This operator is deprecated: use the operator ENF with the read_cyclic
+ pin instead. Read ENF from an rst file and expand it with
+ cyclic symmetry."""
spec = Specification(
description=description,
map_input_pin_spec={
diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_heat_flux.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_heat_flux.py
index f6ecda5a51..b90ce6a489 100644
--- a/src/ansys/dpf/core/operators/result/cyclic_expanded_heat_flux.py
+++ b/src/ansys/dpf/core/operators/result/cyclic_expanded_heat_flux.py
@@ -12,8 +12,9 @@
class cyclic_expanded_heat_flux(Operator):
- """Read mapdl::rst::TF from an rst file and expand it with cyclic
- symmetry.
+ """This operator is deprecated: use the operator mapdl::rst::TF with the
+ read_cyclic pin instead. Read mapdl::rst::TF from an rst file and
+ expand it with cyclic symmetry.
Parameters
----------
@@ -172,8 +173,9 @@ def __init__(
@staticmethod
def _spec():
- description = """Read mapdl::rst::TF from an rst file and expand it with cyclic
- symmetry."""
+ description = """This operator is deprecated: use the operator mapdl::rst::TF with the
+ read_cyclic pin instead. Read mapdl::rst::TF from an rst
+ file and expand it with cyclic symmetry."""
spec = Specification(
description=description,
map_input_pin_spec={
diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_stress.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_stress.py
index 4047c5de50..6e7e4f0dde 100644
--- a/src/ansys/dpf/core/operators/result/cyclic_expanded_stress.py
+++ b/src/ansys/dpf/core/operators/result/cyclic_expanded_stress.py
@@ -12,8 +12,9 @@
class cyclic_expanded_stress(Operator):
- """Read mapdl::rst::S from an rst file and expand it with cyclic
- symmetry.
+ """This operator is deprecated: use the operator mapdl::rst::S with the
+ read_cyclic pin instead. Read mapdl::rst::S from an rst file and
+ expand it with cyclic symmetry.
Parameters
----------
@@ -172,8 +173,9 @@ def __init__(
@staticmethod
def _spec():
- description = """Read mapdl::rst::S from an rst file and expand it with cyclic
- symmetry."""
+ description = """This operator is deprecated: use the operator mapdl::rst::S with the
+ read_cyclic pin instead. Read mapdl::rst::S from an rst
+ file and expand it with cyclic symmetry."""
spec = Specification(
description=description,
map_input_pin_spec={
diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_temperature.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_temperature.py
index efe19cbf06..6d4540964b 100644
--- a/src/ansys/dpf/core/operators/result/cyclic_expanded_temperature.py
+++ b/src/ansys/dpf/core/operators/result/cyclic_expanded_temperature.py
@@ -12,7 +12,9 @@
class cyclic_expanded_temperature(Operator):
- """Read temperature from an rst file and expand it with cyclic symmetry.
+ """This operator is deprecated: use the operator temperature with the
+ read_cyclic pin instead. Read temperature from an rst file and
+ expand it with cyclic symmetry.
Parameters
----------
@@ -171,9 +173,9 @@ def __init__(
@staticmethod
def _spec():
- description = (
- """Read temperature from an rst file and expand it with cyclic symmetry."""
- )
+ description = """This operator is deprecated: use the operator temperature with the
+ read_cyclic pin instead. Read temperature from an rst file
+ and expand it with cyclic symmetry."""
spec = Specification(
description=description,
map_input_pin_spec={
diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_velocity.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_velocity.py
index f633bfee00..1974da96a8 100644
--- a/src/ansys/dpf/core/operators/result/cyclic_expanded_velocity.py
+++ b/src/ansys/dpf/core/operators/result/cyclic_expanded_velocity.py
@@ -12,7 +12,9 @@
class cyclic_expanded_velocity(Operator):
- """Read velocity from an rst file and expand it with cyclic symmetry.
+ """This operator is deprecated: use the operator velocity with the
+ read_cyclic pin instead. Read velocity from an rst file and expand
+ it with cyclic symmetry.
Parameters
----------
@@ -171,9 +173,9 @@ def __init__(
@staticmethod
def _spec():
- description = (
- """Read velocity from an rst file and expand it with cyclic symmetry."""
- )
+ description = """This operator is deprecated: use the operator velocity with the
+ read_cyclic pin instead. Read velocity from an rst file
+ and expand it with cyclic symmetry."""
spec = Specification(
description=description,
map_input_pin_spec={
diff --git a/src/ansys/dpf/core/operators/result/cyclic_kinetic_energy.py b/src/ansys/dpf/core/operators/result/cyclic_kinetic_energy.py
index d35b767341..f969e09718 100644
--- a/src/ansys/dpf/core/operators/result/cyclic_kinetic_energy.py
+++ b/src/ansys/dpf/core/operators/result/cyclic_kinetic_energy.py
@@ -12,7 +12,9 @@
class cyclic_kinetic_energy(Operator):
- """Computes mapdl::rst::ENG_KE from an rst file.
+ """This operator is deprecated: use the operator mapdl::rst::ENG_KE with
+ the read_cyclic pin instead. Compute mapdl::rst::ENG_KE from an
+ rst file and expand it with cyclic symmetry.
Parameters
----------
@@ -146,7 +148,9 @@ def __init__(
@staticmethod
def _spec():
- description = """Computes mapdl::rst::ENG_KE from an rst file."""
+ description = """This operator is deprecated: use the operator mapdl::rst::ENG_KE with
+ the read_cyclic pin instead. Compute mapdl::rst::ENG_KE
+ from an rst file and expand it with cyclic symmetry."""
spec = Specification(
description=description,
map_input_pin_spec={
diff --git a/src/ansys/dpf/core/operators/result/cyclic_nmisc.py b/src/ansys/dpf/core/operators/result/cyclic_nmisc.py
index 82ca251b0b..4ce658597c 100644
--- a/src/ansys/dpf/core/operators/result/cyclic_nmisc.py
+++ b/src/ansys/dpf/core/operators/result/cyclic_nmisc.py
@@ -12,7 +12,9 @@
class cyclic_nmisc(Operator):
- """Computes mapdl::rst::NMISC from an rst file.
+ """This operator is deprecated: use the operator mapdl::rst::NMISC with
+ the read_cyclic pin instead. Compute mapdl::rst::NMISC from an rst
+ file and expand it with cyclic symmetry.
Parameters
----------
@@ -146,7 +148,9 @@ def __init__(
@staticmethod
def _spec():
- description = """Computes mapdl::rst::NMISC from an rst file."""
+ description = """This operator is deprecated: use the operator mapdl::rst::NMISC with
+ the read_cyclic pin instead. Compute mapdl::rst::NMISC
+ from an rst file and expand it with cyclic symmetry."""
spec = Specification(
description=description,
map_input_pin_spec={
diff --git a/src/ansys/dpf/core/operators/result/cyclic_strain_energy.py b/src/ansys/dpf/core/operators/result/cyclic_strain_energy.py
index b6ff092fcc..80e58c119a 100644
--- a/src/ansys/dpf/core/operators/result/cyclic_strain_energy.py
+++ b/src/ansys/dpf/core/operators/result/cyclic_strain_energy.py
@@ -12,7 +12,9 @@
class cyclic_strain_energy(Operator):
- """Computes mapdl::rst::ENG_SE from an rst file.
+ """This operator is deprecated: use the operator mapdl::rst::ENG_SE with
+ the read_cyclic pin instead. Compute mapdl::rst::ENG_SE from an
+ rst file and expand it with cyclic symmetry.
Parameters
----------
@@ -146,7 +148,9 @@ def __init__(
@staticmethod
def _spec():
- description = """Computes mapdl::rst::ENG_SE from an rst file."""
+ description = """This operator is deprecated: use the operator mapdl::rst::ENG_SE with
+ the read_cyclic pin instead. Compute mapdl::rst::ENG_SE
+ from an rst file and expand it with cyclic symmetry."""
spec = Specification(
description=description,
map_input_pin_spec={
diff --git a/src/ansys/dpf/core/operators/result/cyclic_volume.py b/src/ansys/dpf/core/operators/result/cyclic_volume.py
index 5a5f6dd7f4..694861a56f 100644
--- a/src/ansys/dpf/core/operators/result/cyclic_volume.py
+++ b/src/ansys/dpf/core/operators/result/cyclic_volume.py
@@ -12,7 +12,9 @@
class cyclic_volume(Operator):
- """Read mapdl::rst::ENG_VOL from an rst file.
+ """This operator is deprecated: use the operator mapdl::rst::ENG_VOL with
+ the read_cyclic pin instead. Read mapdl::rst::ENG_VOL from an rst
+ file and expand it with cyclic symmetry.
Parameters
----------
@@ -148,7 +150,9 @@ def __init__(
@staticmethod
def _spec():
- description = """Read mapdl::rst::ENG_VOL from an rst file."""
+ description = """This operator is deprecated: use the operator mapdl::rst::ENG_VOL with
+ the read_cyclic pin instead. Read mapdl::rst::ENG_VOL from
+ an rst file and expand it with cyclic symmetry."""
spec = Specification(
description=description,
map_input_pin_spec={
diff --git a/src/ansys/dpf/core/operators/result/displacement.py b/src/ansys/dpf/core/operators/result/displacement.py
index ef517940e9..93dff34699 100644
--- a/src/ansys/dpf/core/operators/result/displacement.py
+++ b/src/ansys/dpf/core/operators/result/displacement.py
@@ -58,14 +58,25 @@ class displacement(Operator):
If true the field is rotated to global
coordinate system (default true)
mesh : MeshedRegion or MeshesContainer, optional
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
read_cyclic : int, optional
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)
+ expanded_meshed_region : MeshedRegion or MeshesContainer, optional
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+ sectors_to_expand : Scoping or ScopingsContainer, optional
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+ phi : float, optional
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
Returns
-------
@@ -95,6 +106,12 @@ class displacement(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.displacement(
@@ -106,6 +123,9 @@ class displacement(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... read_cyclic=my_read_cyclic,
+ ... expanded_meshed_region=my_expanded_meshed_region,
+ ... sectors_to_expand=my_sectors_to_expand,
+ ... phi=my_phi,
... )
>>> # Get output data
@@ -122,6 +142,9 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
read_cyclic=None,
+ expanded_meshed_region=None,
+ sectors_to_expand=None,
+ phi=None,
config=None,
server=None,
):
@@ -144,6 +167,12 @@ def __init__(
self.inputs.mesh.connect(mesh)
if read_cyclic is not None:
self.inputs.read_cyclic.connect(read_cyclic)
+ if expanded_meshed_region is not None:
+ self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
+ if sectors_to_expand is not None:
+ self.inputs.sectors_to_expand.connect(sectors_to_expand)
+ if phi is not None:
+ self.inputs.phi.connect(phi)
@staticmethod
def _spec():
@@ -227,8 +256,8 @@ def _spec():
name="mesh",
type_names=["abstract_meshed_region", "meshes_container"],
optional=True,
- document="""Prevents from reading the mesh in the result
- files""",
+ document="""Mesh. if cylic expansion is to be done, mesh
+ of the base sector""",
),
14: PinSpecification(
name="read_cyclic",
@@ -240,6 +269,29 @@ def _spec():
done and stages are merged (default
is 1)""",
),
+ 15: PinSpecification(
+ name="expanded_meshed_region",
+ type_names=["abstract_meshed_region", "meshes_container"],
+ optional=True,
+ document="""Mesh expanded, use if cyclic expansion is to
+ be done.""",
+ ),
+ 18: PinSpecification(
+ name="sectors_to_expand",
+ type_names=["vector", "scoping", "scopings_container"],
+ optional=True,
+ document="""Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.""",
+ ),
+ 19: PinSpecification(
+ name="phi",
+ type_names=["double"],
+ optional=True,
+ document="""Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -313,6 +365,12 @@ class InputsDisplacement(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
"""
def __init__(self, op: Operator):
@@ -335,6 +393,14 @@ def __init__(self, op: Operator):
self._inputs.append(self._mesh)
self._read_cyclic = Input(displacement._spec().input_pin(14), 14, op, -1)
self._inputs.append(self._read_cyclic)
+ self._expanded_meshed_region = Input(
+ displacement._spec().input_pin(15), 15, op, -1
+ )
+ self._inputs.append(self._expanded_meshed_region)
+ self._sectors_to_expand = Input(displacement._spec().input_pin(18), 18, op, -1)
+ self._inputs.append(self._sectors_to_expand)
+ self._phi = Input(displacement._spec().input_pin(19), 19, op, -1)
+ self._inputs.append(self._phi)
@property
def time_scoping(self):
@@ -488,8 +554,8 @@ def bool_rotate_to_global(self):
def mesh(self):
"""Allows to connect mesh input to the operator.
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
Parameters
----------
@@ -529,6 +595,71 @@ def read_cyclic(self):
"""
return self._read_cyclic
+ @property
+ def expanded_meshed_region(self):
+ """Allows to connect expanded_meshed_region input to the operator.
+
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+
+ Parameters
+ ----------
+ my_expanded_meshed_region : MeshedRegion or MeshesContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.displacement()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> # or
+ >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region)
+ """
+ return self._expanded_meshed_region
+
+ @property
+ def sectors_to_expand(self):
+ """Allows to connect sectors_to_expand input to the operator.
+
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+
+ Parameters
+ ----------
+ my_sectors_to_expand : Scoping or ScopingsContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.displacement()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> # or
+ >>> op.inputs.sectors_to_expand(my_sectors_to_expand)
+ """
+ return self._sectors_to_expand
+
+ @property
+ def phi(self):
+ """Allows to connect phi input to the operator.
+
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
+
+ Parameters
+ ----------
+ my_phi : float
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.displacement()
+ >>> op.inputs.phi.connect(my_phi)
+ >>> # or
+ >>> op.inputs.phi(my_phi)
+ """
+ return self._phi
+
class OutputsDisplacement(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/elastic_strain.py b/src/ansys/dpf/core/operators/result/elastic_strain.py
index 6372d4c020..3c1e68e86f 100644
--- a/src/ansys/dpf/core/operators/result/elastic_strain.py
+++ b/src/ansys/dpf/core/operators/result/elastic_strain.py
@@ -60,8 +60,8 @@ class elastic_strain(Operator):
If true the field is rotated to global
coordinate system (default true)
mesh : MeshedRegion or MeshesContainer, optional
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
@@ -71,6 +71,17 @@ class elastic_strain(Operator):
is done, if 3 cyclic expansion is
done and stages are merged (default
is 1)
+ expanded_meshed_region : MeshedRegion or MeshesContainer, optional
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+ sectors_to_expand : Scoping or ScopingsContainer, optional
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+ phi : float, optional
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
read_beams : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -122,6 +133,12 @@ class elastic_strain(Operator):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -140,6 +157,9 @@ class elastic_strain(Operator):
... mesh=my_mesh,
... requested_location=my_requested_location,
... read_cyclic=my_read_cyclic,
+ ... expanded_meshed_region=my_expanded_meshed_region,
+ ... sectors_to_expand=my_sectors_to_expand,
+ ... phi=my_phi,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -160,6 +180,9 @@ def __init__(
mesh=None,
requested_location=None,
read_cyclic=None,
+ expanded_meshed_region=None,
+ sectors_to_expand=None,
+ phi=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -187,6 +210,12 @@ def __init__(
self.inputs.requested_location.connect(requested_location)
if read_cyclic is not None:
self.inputs.read_cyclic.connect(read_cyclic)
+ if expanded_meshed_region is not None:
+ self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
+ if sectors_to_expand is not None:
+ self.inputs.sectors_to_expand.connect(sectors_to_expand)
+ if phi is not None:
+ self.inputs.phi.connect(phi)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -278,8 +307,8 @@ def _spec():
name="mesh",
type_names=["abstract_meshed_region", "meshes_container"],
optional=True,
- document="""Prevents from reading the mesh in the result
- files""",
+ document="""Mesh. if cylic expansion is to be done, mesh
+ of the base sector""",
),
9: PinSpecification(
name="requested_location",
@@ -297,6 +326,29 @@ def _spec():
is done, if 3 cyclic expansion is
done and stages are merged (default
is 1)""",
+ ),
+ 15: PinSpecification(
+ name="expanded_meshed_region",
+ type_names=["abstract_meshed_region", "meshes_container"],
+ optional=True,
+ document="""Mesh expanded, use if cyclic expansion is to
+ be done.""",
+ ),
+ 18: PinSpecification(
+ name="sectors_to_expand",
+ type_names=["vector", "scoping", "scopings_container"],
+ optional=True,
+ document="""Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.""",
+ ),
+ 19: PinSpecification(
+ name="phi",
+ type_names=["double"],
+ optional=True,
+ document="""Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.""",
),
22: PinSpecification(
name="read_beams",
@@ -405,6 +457,12 @@ class InputsElasticStrain(_Inputs):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -435,6 +493,16 @@ def __init__(self, op: Operator):
self._inputs.append(self._requested_location)
self._read_cyclic = Input(elastic_strain._spec().input_pin(14), 14, op, -1)
self._inputs.append(self._read_cyclic)
+ self._expanded_meshed_region = Input(
+ elastic_strain._spec().input_pin(15), 15, op, -1
+ )
+ self._inputs.append(self._expanded_meshed_region)
+ self._sectors_to_expand = Input(
+ elastic_strain._spec().input_pin(18), 18, op, -1
+ )
+ self._inputs.append(self._sectors_to_expand)
+ self._phi = Input(elastic_strain._spec().input_pin(19), 19, op, -1)
+ self._inputs.append(self._phi)
self._read_beams = Input(elastic_strain._spec().input_pin(22), 22, op, -1)
self._inputs.append(self._read_beams)
self._split_shells = Input(elastic_strain._spec().input_pin(26), 26, op, -1)
@@ -594,8 +662,8 @@ def bool_rotate_to_global(self):
def mesh(self):
"""Allows to connect mesh input to the operator.
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
Parameters
----------
@@ -656,6 +724,71 @@ def read_cyclic(self):
"""
return self._read_cyclic
+ @property
+ def expanded_meshed_region(self):
+ """Allows to connect expanded_meshed_region input to the operator.
+
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+
+ Parameters
+ ----------
+ my_expanded_meshed_region : MeshedRegion or MeshesContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.elastic_strain()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> # or
+ >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region)
+ """
+ return self._expanded_meshed_region
+
+ @property
+ def sectors_to_expand(self):
+ """Allows to connect sectors_to_expand input to the operator.
+
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+
+ Parameters
+ ----------
+ my_sectors_to_expand : Scoping or ScopingsContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.elastic_strain()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> # or
+ >>> op.inputs.sectors_to_expand(my_sectors_to_expand)
+ """
+ return self._sectors_to_expand
+
+ @property
+ def phi(self):
+ """Allows to connect phi input to the operator.
+
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
+
+ Parameters
+ ----------
+ my_phi : float
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.elastic_strain()
+ >>> op.inputs.phi.connect(my_phi)
+ >>> # or
+ >>> op.inputs.phi(my_phi)
+ """
+ return self._phi
+
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/elastic_strain_energy_density.py b/src/ansys/dpf/core/operators/result/elastic_strain_energy_density.py
index be8b9f226b..5b6e22bc7c 100644
--- a/src/ansys/dpf/core/operators/result/elastic_strain_energy_density.py
+++ b/src/ansys/dpf/core/operators/result/elastic_strain_energy_density.py
@@ -65,12 +65,6 @@ class elastic_strain_energy_density(Operator):
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
- read_cyclic : int, optional
- 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 : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -120,8 +114,6 @@ class elastic_strain_energy_density(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -139,7 +131,6 @@ class elastic_strain_energy_density(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -159,7 +150,6 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
requested_location=None,
- read_cyclic=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -185,8 +175,6 @@ def __init__(
self.inputs.mesh.connect(mesh)
if requested_location is not None:
self.inputs.requested_location.connect(requested_location)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -287,16 +275,6 @@ def _spec():
optional=True,
document="""Requested location nodal, elemental or
elementalnodal""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
),
22: PinSpecification(
name="read_beams",
@@ -403,8 +381,6 @@ class InputsElasticStrainEnergyDensity(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -447,10 +423,6 @@ def __init__(self, op: Operator):
elastic_strain_energy_density._spec().input_pin(9), 9, op, -1
)
self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- elastic_strain_energy_density._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
self._read_beams = Input(
elastic_strain_energy_density._spec().input_pin(22), 22, op, -1
)
@@ -654,30 +626,6 @@ def requested_location(self):
"""
return self._requested_location
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.elastic_strain_energy_density()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/elastic_strain_eqv.py b/src/ansys/dpf/core/operators/result/elastic_strain_eqv.py
index 365e390378..698e124fbf 100644
--- a/src/ansys/dpf/core/operators/result/elastic_strain_eqv.py
+++ b/src/ansys/dpf/core/operators/result/elastic_strain_eqv.py
@@ -65,12 +65,6 @@ class elastic_strain_eqv(Operator):
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
- read_cyclic : int, optional
- 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 : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -120,8 +114,6 @@ class elastic_strain_eqv(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -139,7 +131,6 @@ class elastic_strain_eqv(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -159,7 +150,6 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
requested_location=None,
- read_cyclic=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -185,8 +175,6 @@ def __init__(
self.inputs.mesh.connect(mesh)
if requested_location is not None:
self.inputs.requested_location.connect(requested_location)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -287,16 +275,6 @@ def _spec():
optional=True,
document="""Requested location nodal, elemental or
elementalnodal""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
),
22: PinSpecification(
name="read_beams",
@@ -403,8 +381,6 @@ class InputsElasticStrainEqv(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -439,8 +415,6 @@ def __init__(self, op: Operator):
elastic_strain_eqv._spec().input_pin(9), 9, op, -1
)
self._inputs.append(self._requested_location)
- self._read_cyclic = Input(elastic_strain_eqv._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
self._read_beams = Input(elastic_strain_eqv._spec().input_pin(22), 22, op, -1)
self._inputs.append(self._read_beams)
self._split_shells = Input(elastic_strain_eqv._spec().input_pin(26), 26, op, -1)
@@ -638,30 +612,6 @@ def requested_location(self):
"""
return self._requested_location
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.elastic_strain_eqv()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/electric_field.py b/src/ansys/dpf/core/operators/result/electric_field.py
index 567cadb9af..b48f312968 100644
--- a/src/ansys/dpf/core/operators/result/electric_field.py
+++ b/src/ansys/dpf/core/operators/result/electric_field.py
@@ -65,12 +65,6 @@ class electric_field(Operator):
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
- read_cyclic : int, optional
- 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 : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -120,8 +114,6 @@ class electric_field(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -139,7 +131,6 @@ class electric_field(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -159,7 +150,6 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
requested_location=None,
- read_cyclic=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -185,8 +175,6 @@ def __init__(
self.inputs.mesh.connect(mesh)
if requested_location is not None:
self.inputs.requested_location.connect(requested_location)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -287,16 +275,6 @@ def _spec():
optional=True,
document="""Requested location nodal, elemental or
elementalnodal""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
),
22: PinSpecification(
name="read_beams",
@@ -403,8 +381,6 @@ class InputsElectricField(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -433,8 +409,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._mesh)
self._requested_location = Input(electric_field._spec().input_pin(9), 9, op, -1)
self._inputs.append(self._requested_location)
- self._read_cyclic = Input(electric_field._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
self._read_beams = Input(electric_field._spec().input_pin(22), 22, op, -1)
self._inputs.append(self._read_beams)
self._split_shells = Input(electric_field._spec().input_pin(26), 26, op, -1)
@@ -632,30 +606,6 @@ def requested_location(self):
"""
return self._requested_location
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.electric_field()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/electric_flux_density.py b/src/ansys/dpf/core/operators/result/electric_flux_density.py
index 36dd8c06da..09cb74cfa8 100644
--- a/src/ansys/dpf/core/operators/result/electric_flux_density.py
+++ b/src/ansys/dpf/core/operators/result/electric_flux_density.py
@@ -65,12 +65,6 @@ class electric_flux_density(Operator):
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
- read_cyclic : int, optional
- 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 : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -120,8 +114,6 @@ class electric_flux_density(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -139,7 +131,6 @@ class electric_flux_density(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -159,7 +150,6 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
requested_location=None,
- read_cyclic=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -185,8 +175,6 @@ def __init__(
self.inputs.mesh.connect(mesh)
if requested_location is not None:
self.inputs.requested_location.connect(requested_location)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -287,16 +275,6 @@ def _spec():
optional=True,
document="""Requested location nodal, elemental or
elementalnodal""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
),
22: PinSpecification(
name="read_beams",
@@ -403,8 +381,6 @@ class InputsElectricFluxDensity(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -445,10 +421,6 @@ def __init__(self, op: Operator):
electric_flux_density._spec().input_pin(9), 9, op, -1
)
self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- electric_flux_density._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
self._read_beams = Input(
electric_flux_density._spec().input_pin(22), 22, op, -1
)
@@ -652,30 +624,6 @@ def requested_location(self):
"""
return self._requested_location
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.electric_flux_density()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/electric_potential.py b/src/ansys/dpf/core/operators/result/electric_potential.py
index f600fc2f12..73a8a28792 100644
--- a/src/ansys/dpf/core/operators/result/electric_potential.py
+++ b/src/ansys/dpf/core/operators/result/electric_potential.py
@@ -60,12 +60,6 @@ class electric_potential(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class electric_potential(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.electric_potential(
@@ -105,7 +97,6 @@ class electric_potential(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsElectricPotential(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -337,8 +313,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(electric_potential._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(electric_potential._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -509,30 +483,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.electric_potential()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsElectricPotential(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/element_centroids.py b/src/ansys/dpf/core/operators/result/element_centroids.py
index bf3a02c718..7ab1504792 100644
--- a/src/ansys/dpf/core/operators/result/element_centroids.py
+++ b/src/ansys/dpf/core/operators/result/element_centroids.py
@@ -60,12 +60,6 @@ class element_centroids(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class element_centroids(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.element_centroids(
@@ -105,7 +97,6 @@ class element_centroids(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsElementCentroids(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -337,8 +313,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(element_centroids._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(element_centroids._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -509,30 +483,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.element_centroids()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsElementCentroids(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/element_nodal_forces.py b/src/ansys/dpf/core/operators/result/element_nodal_forces.py
index 2a5772361f..cb3e43b5a4 100644
--- a/src/ansys/dpf/core/operators/result/element_nodal_forces.py
+++ b/src/ansys/dpf/core/operators/result/element_nodal_forces.py
@@ -60,8 +60,8 @@ class element_nodal_forces(Operator):
If true the field is rotated to global
coordinate system (default true)
mesh : MeshedRegion or MeshesContainer, optional
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
@@ -71,6 +71,17 @@ class element_nodal_forces(Operator):
is done, if 3 cyclic expansion is
done and stages are merged (default
is 1)
+ expanded_meshed_region : MeshedRegion or MeshesContainer, optional
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+ sectors_to_expand : Scoping or ScopingsContainer, optional
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+ phi : float, optional
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
read_beams : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -132,6 +143,12 @@ class element_nodal_forces(Operator):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -152,6 +169,9 @@ class element_nodal_forces(Operator):
... mesh=my_mesh,
... requested_location=my_requested_location,
... read_cyclic=my_read_cyclic,
+ ... expanded_meshed_region=my_expanded_meshed_region,
+ ... sectors_to_expand=my_sectors_to_expand,
+ ... phi=my_phi,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -173,6 +193,9 @@ def __init__(
mesh=None,
requested_location=None,
read_cyclic=None,
+ expanded_meshed_region=None,
+ sectors_to_expand=None,
+ phi=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -201,6 +224,12 @@ def __init__(
self.inputs.requested_location.connect(requested_location)
if read_cyclic is not None:
self.inputs.read_cyclic.connect(read_cyclic)
+ if expanded_meshed_region is not None:
+ self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
+ if sectors_to_expand is not None:
+ self.inputs.sectors_to_expand.connect(sectors_to_expand)
+ if phi is not None:
+ self.inputs.phi.connect(phi)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -294,8 +323,8 @@ def _spec():
name="mesh",
type_names=["abstract_meshed_region", "meshes_container"],
optional=True,
- document="""Prevents from reading the mesh in the result
- files""",
+ document="""Mesh. if cylic expansion is to be done, mesh
+ of the base sector""",
),
9: PinSpecification(
name="requested_location",
@@ -313,6 +342,29 @@ def _spec():
is done, if 3 cyclic expansion is
done and stages are merged (default
is 1)""",
+ ),
+ 15: PinSpecification(
+ name="expanded_meshed_region",
+ type_names=["abstract_meshed_region", "meshes_container"],
+ optional=True,
+ document="""Mesh expanded, use if cyclic expansion is to
+ be done.""",
+ ),
+ 18: PinSpecification(
+ name="sectors_to_expand",
+ type_names=["vector", "scoping", "scopings_container"],
+ optional=True,
+ document="""Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.""",
+ ),
+ 19: PinSpecification(
+ name="phi",
+ type_names=["double"],
+ optional=True,
+ document="""Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.""",
),
22: PinSpecification(
name="read_beams",
@@ -435,6 +487,12 @@ class InputsElementNodalForces(_Inputs):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -475,6 +533,16 @@ def __init__(self, op: Operator):
element_nodal_forces._spec().input_pin(14), 14, op, -1
)
self._inputs.append(self._read_cyclic)
+ self._expanded_meshed_region = Input(
+ element_nodal_forces._spec().input_pin(15), 15, op, -1
+ )
+ self._inputs.append(self._expanded_meshed_region)
+ self._sectors_to_expand = Input(
+ element_nodal_forces._spec().input_pin(18), 18, op, -1
+ )
+ self._inputs.append(self._sectors_to_expand)
+ self._phi = Input(element_nodal_forces._spec().input_pin(19), 19, op, -1)
+ self._inputs.append(self._phi)
self._read_beams = Input(element_nodal_forces._spec().input_pin(22), 22, op, -1)
self._inputs.append(self._read_beams)
self._split_shells = Input(
@@ -642,8 +710,8 @@ def bool_rotate_to_global(self):
def mesh(self):
"""Allows to connect mesh input to the operator.
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
Parameters
----------
@@ -704,6 +772,71 @@ def read_cyclic(self):
"""
return self._read_cyclic
+ @property
+ def expanded_meshed_region(self):
+ """Allows to connect expanded_meshed_region input to the operator.
+
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+
+ Parameters
+ ----------
+ my_expanded_meshed_region : MeshedRegion or MeshesContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.element_nodal_forces()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> # or
+ >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region)
+ """
+ return self._expanded_meshed_region
+
+ @property
+ def sectors_to_expand(self):
+ """Allows to connect sectors_to_expand input to the operator.
+
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+
+ Parameters
+ ----------
+ my_sectors_to_expand : Scoping or ScopingsContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.element_nodal_forces()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> # or
+ >>> op.inputs.sectors_to_expand(my_sectors_to_expand)
+ """
+ return self._sectors_to_expand
+
+ @property
+ def phi(self):
+ """Allows to connect phi input to the operator.
+
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
+
+ Parameters
+ ----------
+ my_phi : float
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.element_nodal_forces()
+ >>> op.inputs.phi.connect(my_phi)
+ >>> # or
+ >>> op.inputs.phi(my_phi)
+ """
+ return self._phi
+
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/element_orientations.py b/src/ansys/dpf/core/operators/result/element_orientations.py
index 758121801c..70bb8c5d85 100644
--- a/src/ansys/dpf/core/operators/result/element_orientations.py
+++ b/src/ansys/dpf/core/operators/result/element_orientations.py
@@ -65,12 +65,6 @@ class element_orientations(Operator):
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
- read_cyclic : int, optional
- 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 : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -120,8 +114,6 @@ class element_orientations(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -139,7 +131,6 @@ class element_orientations(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -159,7 +150,6 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
requested_location=None,
- read_cyclic=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -185,8 +175,6 @@ def __init__(
self.inputs.mesh.connect(mesh)
if requested_location is not None:
self.inputs.requested_location.connect(requested_location)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -287,16 +275,6 @@ def _spec():
optional=True,
document="""Requested location nodal, elemental or
elementalnodal""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
),
22: PinSpecification(
name="read_beams",
@@ -403,8 +381,6 @@ class InputsElementOrientations(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -439,10 +415,6 @@ def __init__(self, op: Operator):
element_orientations._spec().input_pin(9), 9, op, -1
)
self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- element_orientations._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
self._read_beams = Input(element_orientations._spec().input_pin(22), 22, op, -1)
self._inputs.append(self._read_beams)
self._split_shells = Input(
@@ -644,30 +616,6 @@ def requested_location(self):
"""
return self._requested_location
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.element_orientations()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/elemental_heat_generation.py b/src/ansys/dpf/core/operators/result/elemental_heat_generation.py
index 21868bcf0f..78e55e065e 100644
--- a/src/ansys/dpf/core/operators/result/elemental_heat_generation.py
+++ b/src/ansys/dpf/core/operators/result/elemental_heat_generation.py
@@ -60,12 +60,6 @@ class elemental_heat_generation(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class elemental_heat_generation(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.elemental_heat_generation(
@@ -105,7 +97,6 @@ class elemental_heat_generation(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsElementalHeatGeneration(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -343,10 +319,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(elemental_heat_generation._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(
- elemental_heat_generation._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -517,30 +489,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.elemental_heat_generation()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsElementalHeatGeneration(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/elemental_mass.py b/src/ansys/dpf/core/operators/result/elemental_mass.py
index 6ff608bc8f..4400e850a6 100644
--- a/src/ansys/dpf/core/operators/result/elemental_mass.py
+++ b/src/ansys/dpf/core/operators/result/elemental_mass.py
@@ -60,12 +60,6 @@ class elemental_mass(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class elemental_mass(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.elemental_mass(
@@ -105,7 +97,6 @@ class elemental_mass(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsElementalMass(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -333,8 +309,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(elemental_mass._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(elemental_mass._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -505,30 +479,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.elemental_mass()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsElementalMass(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/elemental_volume.py b/src/ansys/dpf/core/operators/result/elemental_volume.py
index ec4bd635fb..8f1dfe912b 100644
--- a/src/ansys/dpf/core/operators/result/elemental_volume.py
+++ b/src/ansys/dpf/core/operators/result/elemental_volume.py
@@ -58,14 +58,25 @@ class elemental_volume(Operator):
If true the field is rotated to global
coordinate system (default true)
mesh : MeshedRegion or MeshesContainer, optional
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
read_cyclic : int, optional
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)
+ expanded_meshed_region : MeshedRegion or MeshesContainer, optional
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+ sectors_to_expand : Scoping or ScopingsContainer, optional
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+ phi : float, optional
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
Returns
-------
@@ -95,6 +106,12 @@ class elemental_volume(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.elemental_volume(
@@ -106,6 +123,9 @@ class elemental_volume(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... read_cyclic=my_read_cyclic,
+ ... expanded_meshed_region=my_expanded_meshed_region,
+ ... sectors_to_expand=my_sectors_to_expand,
+ ... phi=my_phi,
... )
>>> # Get output data
@@ -122,6 +142,9 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
read_cyclic=None,
+ expanded_meshed_region=None,
+ sectors_to_expand=None,
+ phi=None,
config=None,
server=None,
):
@@ -144,6 +167,12 @@ def __init__(
self.inputs.mesh.connect(mesh)
if read_cyclic is not None:
self.inputs.read_cyclic.connect(read_cyclic)
+ if expanded_meshed_region is not None:
+ self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
+ if sectors_to_expand is not None:
+ self.inputs.sectors_to_expand.connect(sectors_to_expand)
+ if phi is not None:
+ self.inputs.phi.connect(phi)
@staticmethod
def _spec():
@@ -227,8 +256,8 @@ def _spec():
name="mesh",
type_names=["abstract_meshed_region", "meshes_container"],
optional=True,
- document="""Prevents from reading the mesh in the result
- files""",
+ document="""Mesh. if cylic expansion is to be done, mesh
+ of the base sector""",
),
14: PinSpecification(
name="read_cyclic",
@@ -240,6 +269,29 @@ def _spec():
done and stages are merged (default
is 1)""",
),
+ 15: PinSpecification(
+ name="expanded_meshed_region",
+ type_names=["abstract_meshed_region", "meshes_container"],
+ optional=True,
+ document="""Mesh expanded, use if cyclic expansion is to
+ be done.""",
+ ),
+ 18: PinSpecification(
+ name="sectors_to_expand",
+ type_names=["vector", "scoping", "scopings_container"],
+ optional=True,
+ document="""Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.""",
+ ),
+ 19: PinSpecification(
+ name="phi",
+ type_names=["double"],
+ optional=True,
+ document="""Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -313,6 +365,12 @@ class InputsElementalVolume(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
"""
def __init__(self, op: Operator):
@@ -337,6 +395,16 @@ def __init__(self, op: Operator):
self._inputs.append(self._mesh)
self._read_cyclic = Input(elemental_volume._spec().input_pin(14), 14, op, -1)
self._inputs.append(self._read_cyclic)
+ self._expanded_meshed_region = Input(
+ elemental_volume._spec().input_pin(15), 15, op, -1
+ )
+ self._inputs.append(self._expanded_meshed_region)
+ self._sectors_to_expand = Input(
+ elemental_volume._spec().input_pin(18), 18, op, -1
+ )
+ self._inputs.append(self._sectors_to_expand)
+ self._phi = Input(elemental_volume._spec().input_pin(19), 19, op, -1)
+ self._inputs.append(self._phi)
@property
def time_scoping(self):
@@ -490,8 +558,8 @@ def bool_rotate_to_global(self):
def mesh(self):
"""Allows to connect mesh input to the operator.
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
Parameters
----------
@@ -531,6 +599,71 @@ def read_cyclic(self):
"""
return self._read_cyclic
+ @property
+ def expanded_meshed_region(self):
+ """Allows to connect expanded_meshed_region input to the operator.
+
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+
+ Parameters
+ ----------
+ my_expanded_meshed_region : MeshedRegion or MeshesContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.elemental_volume()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> # or
+ >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region)
+ """
+ return self._expanded_meshed_region
+
+ @property
+ def sectors_to_expand(self):
+ """Allows to connect sectors_to_expand input to the operator.
+
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+
+ Parameters
+ ----------
+ my_sectors_to_expand : Scoping or ScopingsContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.elemental_volume()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> # or
+ >>> op.inputs.sectors_to_expand(my_sectors_to_expand)
+ """
+ return self._sectors_to_expand
+
+ @property
+ def phi(self):
+ """Allows to connect phi input to the operator.
+
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
+
+ Parameters
+ ----------
+ my_phi : float
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.elemental_volume()
+ >>> op.inputs.phi.connect(my_phi)
+ >>> # or
+ >>> op.inputs.phi(my_phi)
+ """
+ return self._phi
+
class OutputsElementalVolume(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/equivalent_mass.py b/src/ansys/dpf/core/operators/result/equivalent_mass.py
index 3268997ef7..596f0e1415 100644
--- a/src/ansys/dpf/core/operators/result/equivalent_mass.py
+++ b/src/ansys/dpf/core/operators/result/equivalent_mass.py
@@ -59,12 +59,6 @@ class equivalent_mass(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -92,8 +86,6 @@ class equivalent_mass(Operator):
>>> op.inputs.all_dofs.connect(my_all_dofs)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.equivalent_mass(
@@ -104,7 +96,6 @@ class equivalent_mass(Operator):
... data_sources=my_data_sources,
... all_dofs=my_all_dofs,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -120,7 +111,6 @@ def __init__(
data_sources=None,
all_dofs=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -141,8 +131,6 @@ def __init__(
self.inputs.all_dofs.connect(all_dofs)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -228,16 +216,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -309,8 +287,6 @@ class InputsEquivalentMass(_Inputs):
>>> op.inputs.all_dofs.connect(my_all_dofs)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -329,8 +305,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._all_dofs)
self._mesh = Input(equivalent_mass._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(equivalent_mass._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -500,30 +474,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.equivalent_mass()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsEquivalentMass(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/eqv_stress_parameter.py b/src/ansys/dpf/core/operators/result/eqv_stress_parameter.py
index c050e2355a..9eb6c55c73 100644
--- a/src/ansys/dpf/core/operators/result/eqv_stress_parameter.py
+++ b/src/ansys/dpf/core/operators/result/eqv_stress_parameter.py
@@ -65,12 +65,6 @@ class eqv_stress_parameter(Operator):
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
- read_cyclic : int, optional
- 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 : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -120,8 +114,6 @@ class eqv_stress_parameter(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -139,7 +131,6 @@ class eqv_stress_parameter(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -159,7 +150,6 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
requested_location=None,
- read_cyclic=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -185,8 +175,6 @@ def __init__(
self.inputs.mesh.connect(mesh)
if requested_location is not None:
self.inputs.requested_location.connect(requested_location)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -287,16 +275,6 @@ def _spec():
optional=True,
document="""Requested location nodal, elemental or
elementalnodal""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
),
22: PinSpecification(
name="read_beams",
@@ -403,8 +381,6 @@ class InputsEqvStressParameter(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -439,10 +415,6 @@ def __init__(self, op: Operator):
eqv_stress_parameter._spec().input_pin(9), 9, op, -1
)
self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- eqv_stress_parameter._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
self._read_beams = Input(eqv_stress_parameter._spec().input_pin(22), 22, op, -1)
self._inputs.append(self._read_beams)
self._split_shells = Input(
@@ -644,30 +616,6 @@ def requested_location(self):
"""
return self._requested_location
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.eqv_stress_parameter()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/gasket_deformation.py b/src/ansys/dpf/core/operators/result/gasket_deformation.py
index 05dd1a5da9..70749af4c5 100644
--- a/src/ansys/dpf/core/operators/result/gasket_deformation.py
+++ b/src/ansys/dpf/core/operators/result/gasket_deformation.py
@@ -65,12 +65,6 @@ class gasket_deformation(Operator):
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
- read_cyclic : int, optional
- 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 : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -120,8 +114,6 @@ class gasket_deformation(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -139,7 +131,6 @@ class gasket_deformation(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -159,7 +150,6 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
requested_location=None,
- read_cyclic=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -185,8 +175,6 @@ def __init__(
self.inputs.mesh.connect(mesh)
if requested_location is not None:
self.inputs.requested_location.connect(requested_location)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -287,16 +275,6 @@ def _spec():
optional=True,
document="""Requested location nodal, elemental or
elementalnodal""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
),
22: PinSpecification(
name="read_beams",
@@ -403,8 +381,6 @@ class InputsGasketDeformation(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -439,8 +415,6 @@ def __init__(self, op: Operator):
gasket_deformation._spec().input_pin(9), 9, op, -1
)
self._inputs.append(self._requested_location)
- self._read_cyclic = Input(gasket_deformation._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
self._read_beams = Input(gasket_deformation._spec().input_pin(22), 22, op, -1)
self._inputs.append(self._read_beams)
self._split_shells = Input(gasket_deformation._spec().input_pin(26), 26, op, -1)
@@ -638,30 +612,6 @@ def requested_location(self):
"""
return self._requested_location
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.gasket_deformation()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/gasket_inelastic_closure.py b/src/ansys/dpf/core/operators/result/gasket_inelastic_closure.py
index 673879628f..655e59c365 100644
--- a/src/ansys/dpf/core/operators/result/gasket_inelastic_closure.py
+++ b/src/ansys/dpf/core/operators/result/gasket_inelastic_closure.py
@@ -65,12 +65,6 @@ class gasket_inelastic_closure(Operator):
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
- read_cyclic : int, optional
- 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 : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -120,8 +114,6 @@ class gasket_inelastic_closure(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -139,7 +131,6 @@ class gasket_inelastic_closure(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -159,7 +150,6 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
requested_location=None,
- read_cyclic=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -185,8 +175,6 @@ def __init__(
self.inputs.mesh.connect(mesh)
if requested_location is not None:
self.inputs.requested_location.connect(requested_location)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -287,16 +275,6 @@ def _spec():
optional=True,
document="""Requested location nodal, elemental or
elementalnodal""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
),
22: PinSpecification(
name="read_beams",
@@ -403,8 +381,6 @@ class InputsGasketInelasticClosure(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -445,10 +421,6 @@ def __init__(self, op: Operator):
gasket_inelastic_closure._spec().input_pin(9), 9, op, -1
)
self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- gasket_inelastic_closure._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
self._read_beams = Input(
gasket_inelastic_closure._spec().input_pin(22), 22, op, -1
)
@@ -652,30 +624,6 @@ def requested_location(self):
"""
return self._requested_location
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.gasket_inelastic_closure()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/gasket_stress.py b/src/ansys/dpf/core/operators/result/gasket_stress.py
index b7932498e3..9ed8435d47 100644
--- a/src/ansys/dpf/core/operators/result/gasket_stress.py
+++ b/src/ansys/dpf/core/operators/result/gasket_stress.py
@@ -65,12 +65,6 @@ class gasket_stress(Operator):
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
- read_cyclic : int, optional
- 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 : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -120,8 +114,6 @@ class gasket_stress(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -139,7 +131,6 @@ class gasket_stress(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -159,7 +150,6 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
requested_location=None,
- read_cyclic=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -185,8 +175,6 @@ def __init__(
self.inputs.mesh.connect(mesh)
if requested_location is not None:
self.inputs.requested_location.connect(requested_location)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -287,16 +275,6 @@ def _spec():
optional=True,
document="""Requested location nodal, elemental or
elementalnodal""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
),
22: PinSpecification(
name="read_beams",
@@ -403,8 +381,6 @@ class InputsGasketStress(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -433,8 +409,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._mesh)
self._requested_location = Input(gasket_stress._spec().input_pin(9), 9, op, -1)
self._inputs.append(self._requested_location)
- self._read_cyclic = Input(gasket_stress._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
self._read_beams = Input(gasket_stress._spec().input_pin(22), 22, op, -1)
self._inputs.append(self._read_beams)
self._split_shells = Input(gasket_stress._spec().input_pin(26), 26, op, -1)
@@ -632,30 +606,6 @@ def requested_location(self):
"""
return self._requested_location
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.gasket_stress()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/gasket_thermal_closure.py b/src/ansys/dpf/core/operators/result/gasket_thermal_closure.py
index 3b7ad16437..28a0da1853 100644
--- a/src/ansys/dpf/core/operators/result/gasket_thermal_closure.py
+++ b/src/ansys/dpf/core/operators/result/gasket_thermal_closure.py
@@ -65,12 +65,6 @@ class gasket_thermal_closure(Operator):
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
- read_cyclic : int, optional
- 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 : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -120,8 +114,6 @@ class gasket_thermal_closure(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -139,7 +131,6 @@ class gasket_thermal_closure(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -159,7 +150,6 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
requested_location=None,
- read_cyclic=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -185,8 +175,6 @@ def __init__(
self.inputs.mesh.connect(mesh)
if requested_location is not None:
self.inputs.requested_location.connect(requested_location)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -287,16 +275,6 @@ def _spec():
optional=True,
document="""Requested location nodal, elemental or
elementalnodal""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
),
22: PinSpecification(
name="read_beams",
@@ -403,8 +381,6 @@ class InputsGasketThermalClosure(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -445,10 +421,6 @@ def __init__(self, op: Operator):
gasket_thermal_closure._spec().input_pin(9), 9, op, -1
)
self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- gasket_thermal_closure._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
self._read_beams = Input(
gasket_thermal_closure._spec().input_pin(22), 22, op, -1
)
@@ -652,30 +624,6 @@ def requested_location(self):
"""
return self._requested_location
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.gasket_thermal_closure()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/heat_flux.py b/src/ansys/dpf/core/operators/result/heat_flux.py
index fb1cc090ce..cd5a7bc7da 100644
--- a/src/ansys/dpf/core/operators/result/heat_flux.py
+++ b/src/ansys/dpf/core/operators/result/heat_flux.py
@@ -60,8 +60,8 @@ class heat_flux(Operator):
If true the field is rotated to global
coordinate system (default true)
mesh : MeshedRegion or MeshesContainer, optional
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
@@ -71,6 +71,17 @@ class heat_flux(Operator):
is done, if 3 cyclic expansion is
done and stages are merged (default
is 1)
+ expanded_meshed_region : MeshedRegion or MeshesContainer, optional
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+ sectors_to_expand : Scoping or ScopingsContainer, optional
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+ phi : float, optional
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
read_beams : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -122,6 +133,12 @@ class heat_flux(Operator):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -140,6 +157,9 @@ class heat_flux(Operator):
... mesh=my_mesh,
... requested_location=my_requested_location,
... read_cyclic=my_read_cyclic,
+ ... expanded_meshed_region=my_expanded_meshed_region,
+ ... sectors_to_expand=my_sectors_to_expand,
+ ... phi=my_phi,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -160,6 +180,9 @@ def __init__(
mesh=None,
requested_location=None,
read_cyclic=None,
+ expanded_meshed_region=None,
+ sectors_to_expand=None,
+ phi=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -187,6 +210,12 @@ def __init__(
self.inputs.requested_location.connect(requested_location)
if read_cyclic is not None:
self.inputs.read_cyclic.connect(read_cyclic)
+ if expanded_meshed_region is not None:
+ self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
+ if sectors_to_expand is not None:
+ self.inputs.sectors_to_expand.connect(sectors_to_expand)
+ if phi is not None:
+ self.inputs.phi.connect(phi)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -278,8 +307,8 @@ def _spec():
name="mesh",
type_names=["abstract_meshed_region", "meshes_container"],
optional=True,
- document="""Prevents from reading the mesh in the result
- files""",
+ document="""Mesh. if cylic expansion is to be done, mesh
+ of the base sector""",
),
9: PinSpecification(
name="requested_location",
@@ -297,6 +326,29 @@ def _spec():
is done, if 3 cyclic expansion is
done and stages are merged (default
is 1)""",
+ ),
+ 15: PinSpecification(
+ name="expanded_meshed_region",
+ type_names=["abstract_meshed_region", "meshes_container"],
+ optional=True,
+ document="""Mesh expanded, use if cyclic expansion is to
+ be done.""",
+ ),
+ 18: PinSpecification(
+ name="sectors_to_expand",
+ type_names=["vector", "scoping", "scopings_container"],
+ optional=True,
+ document="""Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.""",
+ ),
+ 19: PinSpecification(
+ name="phi",
+ type_names=["double"],
+ optional=True,
+ document="""Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.""",
),
22: PinSpecification(
name="read_beams",
@@ -405,6 +457,12 @@ class InputsHeatFlux(_Inputs):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -433,6 +491,14 @@ def __init__(self, op: Operator):
self._inputs.append(self._requested_location)
self._read_cyclic = Input(heat_flux._spec().input_pin(14), 14, op, -1)
self._inputs.append(self._read_cyclic)
+ self._expanded_meshed_region = Input(
+ heat_flux._spec().input_pin(15), 15, op, -1
+ )
+ self._inputs.append(self._expanded_meshed_region)
+ self._sectors_to_expand = Input(heat_flux._spec().input_pin(18), 18, op, -1)
+ self._inputs.append(self._sectors_to_expand)
+ self._phi = Input(heat_flux._spec().input_pin(19), 19, op, -1)
+ self._inputs.append(self._phi)
self._read_beams = Input(heat_flux._spec().input_pin(22), 22, op, -1)
self._inputs.append(self._read_beams)
self._split_shells = Input(heat_flux._spec().input_pin(26), 26, op, -1)
@@ -592,8 +658,8 @@ def bool_rotate_to_global(self):
def mesh(self):
"""Allows to connect mesh input to the operator.
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
Parameters
----------
@@ -654,6 +720,71 @@ def read_cyclic(self):
"""
return self._read_cyclic
+ @property
+ def expanded_meshed_region(self):
+ """Allows to connect expanded_meshed_region input to the operator.
+
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+
+ Parameters
+ ----------
+ my_expanded_meshed_region : MeshedRegion or MeshesContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.heat_flux()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> # or
+ >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region)
+ """
+ return self._expanded_meshed_region
+
+ @property
+ def sectors_to_expand(self):
+ """Allows to connect sectors_to_expand input to the operator.
+
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+
+ Parameters
+ ----------
+ my_sectors_to_expand : Scoping or ScopingsContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.heat_flux()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> # or
+ >>> op.inputs.sectors_to_expand(my_sectors_to_expand)
+ """
+ return self._sectors_to_expand
+
+ @property
+ def phi(self):
+ """Allows to connect phi input to the operator.
+
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
+
+ Parameters
+ ----------
+ my_phi : float
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.heat_flux()
+ >>> op.inputs.phi.connect(my_phi)
+ >>> # or
+ >>> op.inputs.phi(my_phi)
+ """
+ return self._phi
+
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/hydrostatic_pressure.py b/src/ansys/dpf/core/operators/result/hydrostatic_pressure.py
index 0cafa72cb0..8ff0484a8a 100644
--- a/src/ansys/dpf/core/operators/result/hydrostatic_pressure.py
+++ b/src/ansys/dpf/core/operators/result/hydrostatic_pressure.py
@@ -65,12 +65,6 @@ class hydrostatic_pressure(Operator):
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
- read_cyclic : int, optional
- 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 : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -120,8 +114,6 @@ class hydrostatic_pressure(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -139,7 +131,6 @@ class hydrostatic_pressure(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -159,7 +150,6 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
requested_location=None,
- read_cyclic=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -185,8 +175,6 @@ def __init__(
self.inputs.mesh.connect(mesh)
if requested_location is not None:
self.inputs.requested_location.connect(requested_location)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -287,16 +275,6 @@ def _spec():
optional=True,
document="""Requested location nodal, elemental or
elementalnodal""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
),
22: PinSpecification(
name="read_beams",
@@ -403,8 +381,6 @@ class InputsHydrostaticPressure(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -439,10 +415,6 @@ def __init__(self, op: Operator):
hydrostatic_pressure._spec().input_pin(9), 9, op, -1
)
self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- hydrostatic_pressure._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
self._read_beams = Input(hydrostatic_pressure._spec().input_pin(22), 22, op, -1)
self._inputs.append(self._read_beams)
self._split_shells = Input(
@@ -644,30 +616,6 @@ def requested_location(self):
"""
return self._requested_location
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.hydrostatic_pressure()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/incremental_energy.py b/src/ansys/dpf/core/operators/result/incremental_energy.py
index 3158c70df1..12a38c03e2 100644
--- a/src/ansys/dpf/core/operators/result/incremental_energy.py
+++ b/src/ansys/dpf/core/operators/result/incremental_energy.py
@@ -60,12 +60,6 @@ class incremental_energy(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class incremental_energy(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.incremental_energy(
@@ -105,7 +97,6 @@ class incremental_energy(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsIncrementalEnergy(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -337,8 +313,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(incremental_energy._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(incremental_energy._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -509,30 +483,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.incremental_energy()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsIncrementalEnergy(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/initial_coordinates.py b/src/ansys/dpf/core/operators/result/initial_coordinates.py
index b724654b77..17c834ea4b 100644
--- a/src/ansys/dpf/core/operators/result/initial_coordinates.py
+++ b/src/ansys/dpf/core/operators/result/initial_coordinates.py
@@ -60,12 +60,6 @@ class initial_coordinates(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class initial_coordinates(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.initial_coordinates(
@@ -105,7 +97,6 @@ class initial_coordinates(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsInitialCoordinates(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -337,8 +313,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(initial_coordinates._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(initial_coordinates._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -509,30 +483,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.initial_coordinates()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsInitialCoordinates(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/joint_force_reaction.py b/src/ansys/dpf/core/operators/result/joint_force_reaction.py
index 878b35d0bb..a3043a20a4 100644
--- a/src/ansys/dpf/core/operators/result/joint_force_reaction.py
+++ b/src/ansys/dpf/core/operators/result/joint_force_reaction.py
@@ -60,12 +60,6 @@ class joint_force_reaction(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class joint_force_reaction(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.joint_force_reaction(
@@ -105,7 +97,6 @@ class joint_force_reaction(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsJointForceReaction(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -337,10 +313,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(joint_force_reaction._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(
- joint_force_reaction._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -511,30 +483,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.joint_force_reaction()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsJointForceReaction(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/joint_moment_reaction.py b/src/ansys/dpf/core/operators/result/joint_moment_reaction.py
index c0b54be8e9..0c833189ae 100644
--- a/src/ansys/dpf/core/operators/result/joint_moment_reaction.py
+++ b/src/ansys/dpf/core/operators/result/joint_moment_reaction.py
@@ -60,12 +60,6 @@ class joint_moment_reaction(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class joint_moment_reaction(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.joint_moment_reaction(
@@ -105,7 +97,6 @@ class joint_moment_reaction(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsJointMomentReaction(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -343,10 +319,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(joint_moment_reaction._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(
- joint_moment_reaction._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -517,30 +489,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.joint_moment_reaction()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsJointMomentReaction(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/joint_relative_acceleration.py b/src/ansys/dpf/core/operators/result/joint_relative_acceleration.py
index 6c6780d057..1129078fd5 100644
--- a/src/ansys/dpf/core/operators/result/joint_relative_acceleration.py
+++ b/src/ansys/dpf/core/operators/result/joint_relative_acceleration.py
@@ -60,12 +60,6 @@ class joint_relative_acceleration(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class joint_relative_acceleration(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.joint_relative_acceleration(
@@ -105,7 +97,6 @@ class joint_relative_acceleration(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsJointRelativeAcceleration(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -343,10 +319,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(joint_relative_acceleration._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(
- joint_relative_acceleration._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -517,30 +489,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.joint_relative_acceleration()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsJointRelativeAcceleration(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/joint_relative_angular_acceleration.py b/src/ansys/dpf/core/operators/result/joint_relative_angular_acceleration.py
index 9564acdbea..27621d98a8 100644
--- a/src/ansys/dpf/core/operators/result/joint_relative_angular_acceleration.py
+++ b/src/ansys/dpf/core/operators/result/joint_relative_angular_acceleration.py
@@ -60,12 +60,6 @@ class joint_relative_angular_acceleration(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class joint_relative_angular_acceleration(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.joint_relative_angular_acceleration(
@@ -105,7 +97,6 @@ class joint_relative_angular_acceleration(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsJointRelativeAngularAcceleration(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -345,10 +321,6 @@ def __init__(self, op: Operator):
joint_relative_angular_acceleration._spec().input_pin(7), 7, op, -1
)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(
- joint_relative_angular_acceleration._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -519,30 +491,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.joint_relative_angular_acceleration()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsJointRelativeAngularAcceleration(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/joint_relative_angular_velocity.py b/src/ansys/dpf/core/operators/result/joint_relative_angular_velocity.py
index 491166c68f..5fa7bc8142 100644
--- a/src/ansys/dpf/core/operators/result/joint_relative_angular_velocity.py
+++ b/src/ansys/dpf/core/operators/result/joint_relative_angular_velocity.py
@@ -60,12 +60,6 @@ class joint_relative_angular_velocity(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class joint_relative_angular_velocity(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.joint_relative_angular_velocity(
@@ -105,7 +97,6 @@ class joint_relative_angular_velocity(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsJointRelativeAngularVelocity(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -345,10 +321,6 @@ def __init__(self, op: Operator):
joint_relative_angular_velocity._spec().input_pin(7), 7, op, -1
)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(
- joint_relative_angular_velocity._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -519,30 +491,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.joint_relative_angular_velocity()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsJointRelativeAngularVelocity(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/joint_relative_displacement.py b/src/ansys/dpf/core/operators/result/joint_relative_displacement.py
index f33e740725..b757e149e3 100644
--- a/src/ansys/dpf/core/operators/result/joint_relative_displacement.py
+++ b/src/ansys/dpf/core/operators/result/joint_relative_displacement.py
@@ -60,12 +60,6 @@ class joint_relative_displacement(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class joint_relative_displacement(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.joint_relative_displacement(
@@ -105,7 +97,6 @@ class joint_relative_displacement(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsJointRelativeDisplacement(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -343,10 +319,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(joint_relative_displacement._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(
- joint_relative_displacement._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -517,30 +489,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.joint_relative_displacement()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsJointRelativeDisplacement(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/joint_relative_rotation.py b/src/ansys/dpf/core/operators/result/joint_relative_rotation.py
index 578f719811..bc63e7543f 100644
--- a/src/ansys/dpf/core/operators/result/joint_relative_rotation.py
+++ b/src/ansys/dpf/core/operators/result/joint_relative_rotation.py
@@ -60,12 +60,6 @@ class joint_relative_rotation(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class joint_relative_rotation(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.joint_relative_rotation(
@@ -105,7 +97,6 @@ class joint_relative_rotation(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsJointRelativeRotation(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -343,10 +319,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(joint_relative_rotation._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(
- joint_relative_rotation._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -517,30 +489,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.joint_relative_rotation()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsJointRelativeRotation(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/joint_relative_velocity.py b/src/ansys/dpf/core/operators/result/joint_relative_velocity.py
index 1024f16dd2..a63ba48b3d 100644
--- a/src/ansys/dpf/core/operators/result/joint_relative_velocity.py
+++ b/src/ansys/dpf/core/operators/result/joint_relative_velocity.py
@@ -60,12 +60,6 @@ class joint_relative_velocity(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class joint_relative_velocity(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.joint_relative_velocity(
@@ -105,7 +97,6 @@ class joint_relative_velocity(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsJointRelativeVelocity(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -343,10 +319,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(joint_relative_velocity._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(
- joint_relative_velocity._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -517,30 +489,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.joint_relative_velocity()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsJointRelativeVelocity(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/kinetic_energy.py b/src/ansys/dpf/core/operators/result/kinetic_energy.py
index 58f6ea07f8..c654958792 100644
--- a/src/ansys/dpf/core/operators/result/kinetic_energy.py
+++ b/src/ansys/dpf/core/operators/result/kinetic_energy.py
@@ -58,14 +58,25 @@ class kinetic_energy(Operator):
If true the field is rotated to global
coordinate system (default true)
mesh : MeshedRegion or MeshesContainer, optional
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
read_cyclic : int, optional
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)
+ expanded_meshed_region : MeshedRegion or MeshesContainer, optional
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+ sectors_to_expand : Scoping or ScopingsContainer, optional
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+ phi : float, optional
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
Returns
-------
@@ -95,6 +106,12 @@ class kinetic_energy(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.kinetic_energy(
@@ -106,6 +123,9 @@ class kinetic_energy(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... read_cyclic=my_read_cyclic,
+ ... expanded_meshed_region=my_expanded_meshed_region,
+ ... sectors_to_expand=my_sectors_to_expand,
+ ... phi=my_phi,
... )
>>> # Get output data
@@ -122,6 +142,9 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
read_cyclic=None,
+ expanded_meshed_region=None,
+ sectors_to_expand=None,
+ phi=None,
config=None,
server=None,
):
@@ -144,6 +167,12 @@ def __init__(
self.inputs.mesh.connect(mesh)
if read_cyclic is not None:
self.inputs.read_cyclic.connect(read_cyclic)
+ if expanded_meshed_region is not None:
+ self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
+ if sectors_to_expand is not None:
+ self.inputs.sectors_to_expand.connect(sectors_to_expand)
+ if phi is not None:
+ self.inputs.phi.connect(phi)
@staticmethod
def _spec():
@@ -227,8 +256,8 @@ def _spec():
name="mesh",
type_names=["abstract_meshed_region", "meshes_container"],
optional=True,
- document="""Prevents from reading the mesh in the result
- files""",
+ document="""Mesh. if cylic expansion is to be done, mesh
+ of the base sector""",
),
14: PinSpecification(
name="read_cyclic",
@@ -240,6 +269,29 @@ def _spec():
done and stages are merged (default
is 1)""",
),
+ 15: PinSpecification(
+ name="expanded_meshed_region",
+ type_names=["abstract_meshed_region", "meshes_container"],
+ optional=True,
+ document="""Mesh expanded, use if cyclic expansion is to
+ be done.""",
+ ),
+ 18: PinSpecification(
+ name="sectors_to_expand",
+ type_names=["vector", "scoping", "scopings_container"],
+ optional=True,
+ document="""Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.""",
+ ),
+ 19: PinSpecification(
+ name="phi",
+ type_names=["double"],
+ optional=True,
+ document="""Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -313,6 +365,12 @@ class InputsKineticEnergy(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
"""
def __init__(self, op: Operator):
@@ -335,6 +393,16 @@ def __init__(self, op: Operator):
self._inputs.append(self._mesh)
self._read_cyclic = Input(kinetic_energy._spec().input_pin(14), 14, op, -1)
self._inputs.append(self._read_cyclic)
+ self._expanded_meshed_region = Input(
+ kinetic_energy._spec().input_pin(15), 15, op, -1
+ )
+ self._inputs.append(self._expanded_meshed_region)
+ self._sectors_to_expand = Input(
+ kinetic_energy._spec().input_pin(18), 18, op, -1
+ )
+ self._inputs.append(self._sectors_to_expand)
+ self._phi = Input(kinetic_energy._spec().input_pin(19), 19, op, -1)
+ self._inputs.append(self._phi)
@property
def time_scoping(self):
@@ -488,8 +556,8 @@ def bool_rotate_to_global(self):
def mesh(self):
"""Allows to connect mesh input to the operator.
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
Parameters
----------
@@ -529,6 +597,71 @@ def read_cyclic(self):
"""
return self._read_cyclic
+ @property
+ def expanded_meshed_region(self):
+ """Allows to connect expanded_meshed_region input to the operator.
+
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+
+ Parameters
+ ----------
+ my_expanded_meshed_region : MeshedRegion or MeshesContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.kinetic_energy()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> # or
+ >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region)
+ """
+ return self._expanded_meshed_region
+
+ @property
+ def sectors_to_expand(self):
+ """Allows to connect sectors_to_expand input to the operator.
+
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+
+ Parameters
+ ----------
+ my_sectors_to_expand : Scoping or ScopingsContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.kinetic_energy()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> # or
+ >>> op.inputs.sectors_to_expand(my_sectors_to_expand)
+ """
+ return self._sectors_to_expand
+
+ @property
+ def phi(self):
+ """Allows to connect phi input to the operator.
+
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
+
+ Parameters
+ ----------
+ my_phi : float
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.kinetic_energy()
+ >>> op.inputs.phi.connect(my_phi)
+ >>> # or
+ >>> op.inputs.phi(my_phi)
+ """
+ return self._phi
+
class OutputsKineticEnergy(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/magnetic_field.py b/src/ansys/dpf/core/operators/result/magnetic_field.py
index 9bdf441bbd..c3c7cf36cf 100644
--- a/src/ansys/dpf/core/operators/result/magnetic_field.py
+++ b/src/ansys/dpf/core/operators/result/magnetic_field.py
@@ -65,12 +65,6 @@ class magnetic_field(Operator):
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
- read_cyclic : int, optional
- 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 : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -120,8 +114,6 @@ class magnetic_field(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -139,7 +131,6 @@ class magnetic_field(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -159,7 +150,6 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
requested_location=None,
- read_cyclic=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -185,8 +175,6 @@ def __init__(
self.inputs.mesh.connect(mesh)
if requested_location is not None:
self.inputs.requested_location.connect(requested_location)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -287,16 +275,6 @@ def _spec():
optional=True,
document="""Requested location nodal, elemental or
elementalnodal""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
),
22: PinSpecification(
name="read_beams",
@@ -403,8 +381,6 @@ class InputsMagneticField(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -433,8 +409,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._mesh)
self._requested_location = Input(magnetic_field._spec().input_pin(9), 9, op, -1)
self._inputs.append(self._requested_location)
- self._read_cyclic = Input(magnetic_field._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
self._read_beams = Input(magnetic_field._spec().input_pin(22), 22, op, -1)
self._inputs.append(self._read_beams)
self._split_shells = Input(magnetic_field._spec().input_pin(26), 26, op, -1)
@@ -632,30 +606,6 @@ def requested_location(self):
"""
return self._requested_location
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.magnetic_field()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/magnetic_flux_density.py b/src/ansys/dpf/core/operators/result/magnetic_flux_density.py
index 11dfed4f02..7857f134e9 100644
--- a/src/ansys/dpf/core/operators/result/magnetic_flux_density.py
+++ b/src/ansys/dpf/core/operators/result/magnetic_flux_density.py
@@ -65,12 +65,6 @@ class magnetic_flux_density(Operator):
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
- read_cyclic : int, optional
- 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 : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -120,8 +114,6 @@ class magnetic_flux_density(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -139,7 +131,6 @@ class magnetic_flux_density(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -159,7 +150,6 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
requested_location=None,
- read_cyclic=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -185,8 +175,6 @@ def __init__(
self.inputs.mesh.connect(mesh)
if requested_location is not None:
self.inputs.requested_location.connect(requested_location)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -287,16 +275,6 @@ def _spec():
optional=True,
document="""Requested location nodal, elemental or
elementalnodal""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
),
22: PinSpecification(
name="read_beams",
@@ -403,8 +381,6 @@ class InputsMagneticFluxDensity(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -445,10 +421,6 @@ def __init__(self, op: Operator):
magnetic_flux_density._spec().input_pin(9), 9, op, -1
)
self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- magnetic_flux_density._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
self._read_beams = Input(
magnetic_flux_density._spec().input_pin(22), 22, op, -1
)
@@ -652,30 +624,6 @@ def requested_location(self):
"""
return self._requested_location
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.magnetic_flux_density()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/magnetic_scalar_potential.py b/src/ansys/dpf/core/operators/result/magnetic_scalar_potential.py
index 7cfe3fb8a3..680a528e5d 100644
--- a/src/ansys/dpf/core/operators/result/magnetic_scalar_potential.py
+++ b/src/ansys/dpf/core/operators/result/magnetic_scalar_potential.py
@@ -60,12 +60,6 @@ class magnetic_scalar_potential(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class magnetic_scalar_potential(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.magnetic_scalar_potential(
@@ -105,7 +97,6 @@ class magnetic_scalar_potential(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsMagneticScalarPotential(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -343,10 +319,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(magnetic_scalar_potential._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(
- magnetic_scalar_potential._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -517,30 +489,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.magnetic_scalar_potential()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsMagneticScalarPotential(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/magnetic_vector_potential.py b/src/ansys/dpf/core/operators/result/magnetic_vector_potential.py
index 62aadc142d..a5b46b27e8 100644
--- a/src/ansys/dpf/core/operators/result/magnetic_vector_potential.py
+++ b/src/ansys/dpf/core/operators/result/magnetic_vector_potential.py
@@ -60,12 +60,6 @@ class magnetic_vector_potential(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class magnetic_vector_potential(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.magnetic_vector_potential(
@@ -105,7 +97,6 @@ class magnetic_vector_potential(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsMagneticVectorPotential(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -343,10 +319,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(magnetic_vector_potential._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(
- magnetic_vector_potential._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -517,30 +489,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.magnetic_vector_potential()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsMagneticVectorPotential(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/modal_basis.py b/src/ansys/dpf/core/operators/result/modal_basis.py
index 7e5892b33b..f2590951e9 100644
--- a/src/ansys/dpf/core/operators/result/modal_basis.py
+++ b/src/ansys/dpf/core/operators/result/modal_basis.py
@@ -60,12 +60,6 @@ class modal_basis(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class modal_basis(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.modal_basis(
@@ -105,7 +97,6 @@ class modal_basis(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsModalBasis(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -331,8 +307,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(modal_basis._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(modal_basis._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -503,30 +477,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.modal_basis()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsModalBasis(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/nmisc.py b/src/ansys/dpf/core/operators/result/nmisc.py
index 6c8910c2da..afed5c8926 100644
--- a/src/ansys/dpf/core/operators/result/nmisc.py
+++ b/src/ansys/dpf/core/operators/result/nmisc.py
@@ -60,8 +60,8 @@ class nmisc(Operator):
If true the field is rotated to global
coordinate system (default true)
mesh : MeshedRegion or MeshesContainer, optional
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
item_index : int, optional
Index of requested item.
num_components : int, optional
@@ -72,6 +72,17 @@ class nmisc(Operator):
is done, if 3 cyclic expansion is
done and stages are merged (default
is 1)
+ expanded_meshed_region : MeshedRegion or MeshesContainer, optional
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+ sectors_to_expand : Scoping or ScopingsContainer, optional
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+ phi : float, optional
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
Returns
-------
@@ -105,6 +116,12 @@ class nmisc(Operator):
>>> op.inputs.num_components.connect(my_num_components)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.nmisc(
@@ -118,6 +135,9 @@ class nmisc(Operator):
... item_index=my_item_index,
... num_components=my_num_components,
... read_cyclic=my_read_cyclic,
+ ... expanded_meshed_region=my_expanded_meshed_region,
+ ... sectors_to_expand=my_sectors_to_expand,
+ ... phi=my_phi,
... )
>>> # Get output data
@@ -136,6 +156,9 @@ def __init__(
item_index=None,
num_components=None,
read_cyclic=None,
+ expanded_meshed_region=None,
+ sectors_to_expand=None,
+ phi=None,
config=None,
server=None,
):
@@ -162,6 +185,12 @@ def __init__(
self.inputs.num_components.connect(num_components)
if read_cyclic is not None:
self.inputs.read_cyclic.connect(read_cyclic)
+ if expanded_meshed_region is not None:
+ self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
+ if sectors_to_expand is not None:
+ self.inputs.sectors_to_expand.connect(sectors_to_expand)
+ if phi is not None:
+ self.inputs.phi.connect(phi)
@staticmethod
def _spec():
@@ -247,8 +276,8 @@ def _spec():
name="mesh",
type_names=["abstract_meshed_region", "meshes_container"],
optional=True,
- document="""Prevents from reading the mesh in the result
- files""",
+ document="""Mesh. if cylic expansion is to be done, mesh
+ of the base sector""",
),
10: PinSpecification(
name="item_index",
@@ -272,6 +301,29 @@ def _spec():
done and stages are merged (default
is 1)""",
),
+ 15: PinSpecification(
+ name="expanded_meshed_region",
+ type_names=["abstract_meshed_region", "meshes_container"],
+ optional=True,
+ document="""Mesh expanded, use if cyclic expansion is to
+ be done.""",
+ ),
+ 18: PinSpecification(
+ name="sectors_to_expand",
+ type_names=["vector", "scoping", "scopings_container"],
+ optional=True,
+ document="""Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.""",
+ ),
+ 19: PinSpecification(
+ name="phi",
+ type_names=["double"],
+ optional=True,
+ document="""Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -349,6 +401,12 @@ class InputsNmisc(_Inputs):
>>> op.inputs.num_components.connect(my_num_components)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
"""
def __init__(self, op: Operator):
@@ -373,6 +431,12 @@ def __init__(self, op: Operator):
self._inputs.append(self._num_components)
self._read_cyclic = Input(nmisc._spec().input_pin(14), 14, op, -1)
self._inputs.append(self._read_cyclic)
+ self._expanded_meshed_region = Input(nmisc._spec().input_pin(15), 15, op, -1)
+ self._inputs.append(self._expanded_meshed_region)
+ self._sectors_to_expand = Input(nmisc._spec().input_pin(18), 18, op, -1)
+ self._inputs.append(self._sectors_to_expand)
+ self._phi = Input(nmisc._spec().input_pin(19), 19, op, -1)
+ self._inputs.append(self._phi)
@property
def time_scoping(self):
@@ -526,8 +590,8 @@ def bool_rotate_to_global(self):
def mesh(self):
"""Allows to connect mesh input to the operator.
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
Parameters
----------
@@ -607,6 +671,71 @@ def read_cyclic(self):
"""
return self._read_cyclic
+ @property
+ def expanded_meshed_region(self):
+ """Allows to connect expanded_meshed_region input to the operator.
+
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+
+ Parameters
+ ----------
+ my_expanded_meshed_region : MeshedRegion or MeshesContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.nmisc()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> # or
+ >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region)
+ """
+ return self._expanded_meshed_region
+
+ @property
+ def sectors_to_expand(self):
+ """Allows to connect sectors_to_expand input to the operator.
+
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+
+ Parameters
+ ----------
+ my_sectors_to_expand : Scoping or ScopingsContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.nmisc()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> # or
+ >>> op.inputs.sectors_to_expand(my_sectors_to_expand)
+ """
+ return self._sectors_to_expand
+
+ @property
+ def phi(self):
+ """Allows to connect phi input to the operator.
+
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
+
+ Parameters
+ ----------
+ my_phi : float
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.nmisc()
+ >>> op.inputs.phi.connect(my_phi)
+ >>> # or
+ >>> op.inputs.phi(my_phi)
+ """
+ return self._phi
+
class OutputsNmisc(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/nodal_force.py b/src/ansys/dpf/core/operators/result/nodal_force.py
index e2b08cd443..584f2935cd 100644
--- a/src/ansys/dpf/core/operators/result/nodal_force.py
+++ b/src/ansys/dpf/core/operators/result/nodal_force.py
@@ -60,12 +60,6 @@ class nodal_force(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class nodal_force(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.nodal_force(
@@ -105,7 +97,6 @@ class nodal_force(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsNodalForce(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -331,8 +307,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(nodal_force._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(nodal_force._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -503,30 +477,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.nodal_force()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsNodalForce(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/nodal_moment.py b/src/ansys/dpf/core/operators/result/nodal_moment.py
index e487fe3455..99c3f72f59 100644
--- a/src/ansys/dpf/core/operators/result/nodal_moment.py
+++ b/src/ansys/dpf/core/operators/result/nodal_moment.py
@@ -60,12 +60,6 @@ class nodal_moment(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class nodal_moment(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.nodal_moment(
@@ -105,7 +97,6 @@ class nodal_moment(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsNodalMoment(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -333,8 +309,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(nodal_moment._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(nodal_moment._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -505,30 +479,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.nodal_moment()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsNodalMoment(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/normal_contact_force.py b/src/ansys/dpf/core/operators/result/normal_contact_force.py
index b30eb42ca3..e68e11242f 100644
--- a/src/ansys/dpf/core/operators/result/normal_contact_force.py
+++ b/src/ansys/dpf/core/operators/result/normal_contact_force.py
@@ -60,12 +60,6 @@ class normal_contact_force(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class normal_contact_force(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.normal_contact_force(
@@ -105,7 +97,6 @@ class normal_contact_force(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsNormalContactForce(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -337,10 +313,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(normal_contact_force._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(
- normal_contact_force._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -511,30 +483,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.normal_contact_force()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsNormalContactForce(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/normal_contact_moment.py b/src/ansys/dpf/core/operators/result/normal_contact_moment.py
index 614fc6cc52..3670ce9f02 100644
--- a/src/ansys/dpf/core/operators/result/normal_contact_moment.py
+++ b/src/ansys/dpf/core/operators/result/normal_contact_moment.py
@@ -60,12 +60,6 @@ class normal_contact_moment(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class normal_contact_moment(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.normal_contact_moment(
@@ -105,7 +97,6 @@ class normal_contact_moment(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsNormalContactMoment(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -343,10 +319,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(normal_contact_moment._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(
- normal_contact_moment._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -517,30 +489,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.normal_contact_moment()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsNormalContactMoment(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/num_surface_status_changes.py b/src/ansys/dpf/core/operators/result/num_surface_status_changes.py
index 6d428e587f..86709ad80f 100644
--- a/src/ansys/dpf/core/operators/result/num_surface_status_changes.py
+++ b/src/ansys/dpf/core/operators/result/num_surface_status_changes.py
@@ -60,8 +60,8 @@ class num_surface_status_changes(Operator):
If true the field is rotated to global
coordinate system (default true)
mesh : MeshedRegion or MeshesContainer, optional
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
@@ -71,6 +71,17 @@ class num_surface_status_changes(Operator):
is done, if 3 cyclic expansion is
done and stages are merged (default
is 1)
+ expanded_meshed_region : MeshedRegion or MeshesContainer, optional
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+ sectors_to_expand : Scoping or ScopingsContainer, optional
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+ phi : float, optional
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
read_beams : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -122,6 +133,12 @@ class num_surface_status_changes(Operator):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -140,6 +157,9 @@ class num_surface_status_changes(Operator):
... mesh=my_mesh,
... requested_location=my_requested_location,
... read_cyclic=my_read_cyclic,
+ ... expanded_meshed_region=my_expanded_meshed_region,
+ ... sectors_to_expand=my_sectors_to_expand,
+ ... phi=my_phi,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -160,6 +180,9 @@ def __init__(
mesh=None,
requested_location=None,
read_cyclic=None,
+ expanded_meshed_region=None,
+ sectors_to_expand=None,
+ phi=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -187,6 +210,12 @@ def __init__(
self.inputs.requested_location.connect(requested_location)
if read_cyclic is not None:
self.inputs.read_cyclic.connect(read_cyclic)
+ if expanded_meshed_region is not None:
+ self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
+ if sectors_to_expand is not None:
+ self.inputs.sectors_to_expand.connect(sectors_to_expand)
+ if phi is not None:
+ self.inputs.phi.connect(phi)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -279,8 +308,8 @@ def _spec():
name="mesh",
type_names=["abstract_meshed_region", "meshes_container"],
optional=True,
- document="""Prevents from reading the mesh in the result
- files""",
+ document="""Mesh. if cylic expansion is to be done, mesh
+ of the base sector""",
),
9: PinSpecification(
name="requested_location",
@@ -298,6 +327,29 @@ def _spec():
is done, if 3 cyclic expansion is
done and stages are merged (default
is 1)""",
+ ),
+ 15: PinSpecification(
+ name="expanded_meshed_region",
+ type_names=["abstract_meshed_region", "meshes_container"],
+ optional=True,
+ document="""Mesh expanded, use if cyclic expansion is to
+ be done.""",
+ ),
+ 18: PinSpecification(
+ name="sectors_to_expand",
+ type_names=["vector", "scoping", "scopings_container"],
+ optional=True,
+ document="""Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.""",
+ ),
+ 19: PinSpecification(
+ name="phi",
+ type_names=["double"],
+ optional=True,
+ document="""Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.""",
),
22: PinSpecification(
name="read_beams",
@@ -406,6 +458,12 @@ class InputsNumSurfaceStatusChanges(_Inputs):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -450,6 +508,16 @@ def __init__(self, op: Operator):
num_surface_status_changes._spec().input_pin(14), 14, op, -1
)
self._inputs.append(self._read_cyclic)
+ self._expanded_meshed_region = Input(
+ num_surface_status_changes._spec().input_pin(15), 15, op, -1
+ )
+ self._inputs.append(self._expanded_meshed_region)
+ self._sectors_to_expand = Input(
+ num_surface_status_changes._spec().input_pin(18), 18, op, -1
+ )
+ self._inputs.append(self._sectors_to_expand)
+ self._phi = Input(num_surface_status_changes._spec().input_pin(19), 19, op, -1)
+ self._inputs.append(self._phi)
self._read_beams = Input(
num_surface_status_changes._spec().input_pin(22), 22, op, -1
)
@@ -615,8 +683,8 @@ def bool_rotate_to_global(self):
def mesh(self):
"""Allows to connect mesh input to the operator.
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
Parameters
----------
@@ -677,6 +745,71 @@ def read_cyclic(self):
"""
return self._read_cyclic
+ @property
+ def expanded_meshed_region(self):
+ """Allows to connect expanded_meshed_region input to the operator.
+
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+
+ Parameters
+ ----------
+ my_expanded_meshed_region : MeshedRegion or MeshesContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.num_surface_status_changes()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> # or
+ >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region)
+ """
+ return self._expanded_meshed_region
+
+ @property
+ def sectors_to_expand(self):
+ """Allows to connect sectors_to_expand input to the operator.
+
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+
+ Parameters
+ ----------
+ my_sectors_to_expand : Scoping or ScopingsContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.num_surface_status_changes()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> # or
+ >>> op.inputs.sectors_to_expand(my_sectors_to_expand)
+ """
+ return self._sectors_to_expand
+
+ @property
+ def phi(self):
+ """Allows to connect phi input to the operator.
+
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
+
+ Parameters
+ ----------
+ my_phi : float
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.num_surface_status_changes()
+ >>> op.inputs.phi.connect(my_phi)
+ >>> # or
+ >>> op.inputs.phi(my_phi)
+ """
+ return self._phi
+
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/plastic_state_variable.py b/src/ansys/dpf/core/operators/result/plastic_state_variable.py
index 9284bd30db..aec0c2acf9 100644
--- a/src/ansys/dpf/core/operators/result/plastic_state_variable.py
+++ b/src/ansys/dpf/core/operators/result/plastic_state_variable.py
@@ -65,12 +65,6 @@ class plastic_state_variable(Operator):
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
- read_cyclic : int, optional
- 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 : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -120,8 +114,6 @@ class plastic_state_variable(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -139,7 +131,6 @@ class plastic_state_variable(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -159,7 +150,6 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
requested_location=None,
- read_cyclic=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -185,8 +175,6 @@ def __init__(
self.inputs.mesh.connect(mesh)
if requested_location is not None:
self.inputs.requested_location.connect(requested_location)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -287,16 +275,6 @@ def _spec():
optional=True,
document="""Requested location nodal, elemental or
elementalnodal""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
),
22: PinSpecification(
name="read_beams",
@@ -403,8 +381,6 @@ class InputsPlasticStateVariable(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -445,10 +421,6 @@ def __init__(self, op: Operator):
plastic_state_variable._spec().input_pin(9), 9, op, -1
)
self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- plastic_state_variable._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
self._read_beams = Input(
plastic_state_variable._spec().input_pin(22), 22, op, -1
)
@@ -652,30 +624,6 @@ def requested_location(self):
"""
return self._requested_location
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.plastic_state_variable()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/plastic_strain.py b/src/ansys/dpf/core/operators/result/plastic_strain.py
index 4fb9d65836..0ce21b439b 100644
--- a/src/ansys/dpf/core/operators/result/plastic_strain.py
+++ b/src/ansys/dpf/core/operators/result/plastic_strain.py
@@ -65,12 +65,6 @@ class plastic_strain(Operator):
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
- read_cyclic : int, optional
- 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 : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -120,8 +114,6 @@ class plastic_strain(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -139,7 +131,6 @@ class plastic_strain(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -159,7 +150,6 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
requested_location=None,
- read_cyclic=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -185,8 +175,6 @@ def __init__(
self.inputs.mesh.connect(mesh)
if requested_location is not None:
self.inputs.requested_location.connect(requested_location)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -287,16 +275,6 @@ def _spec():
optional=True,
document="""Requested location nodal, elemental or
elementalnodal""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
),
22: PinSpecification(
name="read_beams",
@@ -403,8 +381,6 @@ class InputsPlasticStrain(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -433,8 +409,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._mesh)
self._requested_location = Input(plastic_strain._spec().input_pin(9), 9, op, -1)
self._inputs.append(self._requested_location)
- self._read_cyclic = Input(plastic_strain._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
self._read_beams = Input(plastic_strain._spec().input_pin(22), 22, op, -1)
self._inputs.append(self._read_beams)
self._split_shells = Input(plastic_strain._spec().input_pin(26), 26, op, -1)
@@ -632,30 +606,6 @@ def requested_location(self):
"""
return self._requested_location
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.plastic_strain()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/plastic_strain_energy_density.py b/src/ansys/dpf/core/operators/result/plastic_strain_energy_density.py
index 3128cd3289..b06a589517 100644
--- a/src/ansys/dpf/core/operators/result/plastic_strain_energy_density.py
+++ b/src/ansys/dpf/core/operators/result/plastic_strain_energy_density.py
@@ -65,12 +65,6 @@ class plastic_strain_energy_density(Operator):
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
- read_cyclic : int, optional
- 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 : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -120,8 +114,6 @@ class plastic_strain_energy_density(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -139,7 +131,6 @@ class plastic_strain_energy_density(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -159,7 +150,6 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
requested_location=None,
- read_cyclic=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -185,8 +175,6 @@ def __init__(
self.inputs.mesh.connect(mesh)
if requested_location is not None:
self.inputs.requested_location.connect(requested_location)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -287,16 +275,6 @@ def _spec():
optional=True,
document="""Requested location nodal, elemental or
elementalnodal""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
),
22: PinSpecification(
name="read_beams",
@@ -403,8 +381,6 @@ class InputsPlasticStrainEnergyDensity(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -447,10 +423,6 @@ def __init__(self, op: Operator):
plastic_strain_energy_density._spec().input_pin(9), 9, op, -1
)
self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- plastic_strain_energy_density._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
self._read_beams = Input(
plastic_strain_energy_density._spec().input_pin(22), 22, op, -1
)
@@ -654,30 +626,6 @@ def requested_location(self):
"""
return self._requested_location
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.plastic_strain_energy_density()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/plastic_strain_eqv.py b/src/ansys/dpf/core/operators/result/plastic_strain_eqv.py
index b62faf5502..73ef98f44d 100644
--- a/src/ansys/dpf/core/operators/result/plastic_strain_eqv.py
+++ b/src/ansys/dpf/core/operators/result/plastic_strain_eqv.py
@@ -65,12 +65,6 @@ class plastic_strain_eqv(Operator):
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
- read_cyclic : int, optional
- 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 : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -120,8 +114,6 @@ class plastic_strain_eqv(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -139,7 +131,6 @@ class plastic_strain_eqv(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -159,7 +150,6 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
requested_location=None,
- read_cyclic=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -185,8 +175,6 @@ def __init__(
self.inputs.mesh.connect(mesh)
if requested_location is not None:
self.inputs.requested_location.connect(requested_location)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -287,16 +275,6 @@ def _spec():
optional=True,
document="""Requested location nodal, elemental or
elementalnodal""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
),
22: PinSpecification(
name="read_beams",
@@ -403,8 +381,6 @@ class InputsPlasticStrainEqv(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -439,8 +415,6 @@ def __init__(self, op: Operator):
plastic_strain_eqv._spec().input_pin(9), 9, op, -1
)
self._inputs.append(self._requested_location)
- self._read_cyclic = Input(plastic_strain_eqv._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
self._read_beams = Input(plastic_strain_eqv._spec().input_pin(22), 22, op, -1)
self._inputs.append(self._read_beams)
self._split_shells = Input(plastic_strain_eqv._spec().input_pin(26), 26, op, -1)
@@ -638,30 +612,6 @@ def requested_location(self):
"""
return self._requested_location
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.plastic_strain_eqv()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/pressure.py b/src/ansys/dpf/core/operators/result/pressure.py
index 0f7d14a689..d37d22d507 100644
--- a/src/ansys/dpf/core/operators/result/pressure.py
+++ b/src/ansys/dpf/core/operators/result/pressure.py
@@ -60,12 +60,6 @@ class pressure(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class pressure(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.pressure(
@@ -105,7 +97,6 @@ class pressure(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsPressure(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -331,8 +307,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(pressure._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(pressure._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -503,30 +477,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.pressure()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsPressure(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/raw_displacement.py b/src/ansys/dpf/core/operators/result/raw_displacement.py
index df73c62ef2..8d38e9e455 100644
--- a/src/ansys/dpf/core/operators/result/raw_displacement.py
+++ b/src/ansys/dpf/core/operators/result/raw_displacement.py
@@ -60,12 +60,6 @@ class raw_displacement(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class raw_displacement(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.raw_displacement(
@@ -105,7 +97,6 @@ class raw_displacement(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsRawDisplacement(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -335,8 +311,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(raw_displacement._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(raw_displacement._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -507,30 +481,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.raw_displacement()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsRawDisplacement(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/raw_reaction_force.py b/src/ansys/dpf/core/operators/result/raw_reaction_force.py
index 6d290d9cf0..0bbdc34cb6 100644
--- a/src/ansys/dpf/core/operators/result/raw_reaction_force.py
+++ b/src/ansys/dpf/core/operators/result/raw_reaction_force.py
@@ -60,12 +60,6 @@ class raw_reaction_force(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class raw_reaction_force(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.raw_reaction_force(
@@ -105,7 +97,6 @@ class raw_reaction_force(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsRawReactionForce(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -337,8 +313,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(raw_reaction_force._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(raw_reaction_force._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -509,30 +483,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.raw_reaction_force()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsRawReactionForce(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/reaction_force.py b/src/ansys/dpf/core/operators/result/reaction_force.py
index 891726deca..217c6a0992 100644
--- a/src/ansys/dpf/core/operators/result/reaction_force.py
+++ b/src/ansys/dpf/core/operators/result/reaction_force.py
@@ -60,12 +60,6 @@ class reaction_force(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class reaction_force(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.reaction_force(
@@ -105,7 +97,6 @@ class reaction_force(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsReactionForce(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -333,8 +309,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(reaction_force._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(reaction_force._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -505,30 +479,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.reaction_force()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsReactionForce(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/smisc.py b/src/ansys/dpf/core/operators/result/smisc.py
index c25280af35..42a0e3f1ba 100644
--- a/src/ansys/dpf/core/operators/result/smisc.py
+++ b/src/ansys/dpf/core/operators/result/smisc.py
@@ -62,8 +62,8 @@ class smisc(Operator):
If true the field is rotated to global
coordinate system (default true)
mesh : MeshedRegion or MeshesContainer, optional
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
item_index : int, optional
Index of requested item.
num_components : int, optional
@@ -74,6 +74,17 @@ class smisc(Operator):
is done, if 3 cyclic expansion is
done and stages are merged (default
is 1)
+ expanded_meshed_region : MeshedRegion or MeshesContainer, optional
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+ sectors_to_expand : Scoping or ScopingsContainer, optional
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+ phi : float, optional
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
Returns
-------
@@ -107,6 +118,12 @@ class smisc(Operator):
>>> op.inputs.num_components.connect(my_num_components)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.smisc(
@@ -120,6 +137,9 @@ class smisc(Operator):
... item_index=my_item_index,
... num_components=my_num_components,
... read_cyclic=my_read_cyclic,
+ ... expanded_meshed_region=my_expanded_meshed_region,
+ ... sectors_to_expand=my_sectors_to_expand,
+ ... phi=my_phi,
... )
>>> # Get output data
@@ -138,6 +158,9 @@ def __init__(
item_index=None,
num_components=None,
read_cyclic=None,
+ expanded_meshed_region=None,
+ sectors_to_expand=None,
+ phi=None,
config=None,
server=None,
):
@@ -164,6 +187,12 @@ def __init__(
self.inputs.num_components.connect(num_components)
if read_cyclic is not None:
self.inputs.read_cyclic.connect(read_cyclic)
+ if expanded_meshed_region is not None:
+ self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
+ if sectors_to_expand is not None:
+ self.inputs.sectors_to_expand.connect(sectors_to_expand)
+ if phi is not None:
+ self.inputs.phi.connect(phi)
@staticmethod
def _spec():
@@ -252,8 +281,8 @@ def _spec():
name="mesh",
type_names=["abstract_meshed_region", "meshes_container"],
optional=True,
- document="""Prevents from reading the mesh in the result
- files""",
+ document="""Mesh. if cylic expansion is to be done, mesh
+ of the base sector""",
),
10: PinSpecification(
name="item_index",
@@ -277,6 +306,29 @@ def _spec():
done and stages are merged (default
is 1)""",
),
+ 15: PinSpecification(
+ name="expanded_meshed_region",
+ type_names=["abstract_meshed_region", "meshes_container"],
+ optional=True,
+ document="""Mesh expanded, use if cyclic expansion is to
+ be done.""",
+ ),
+ 18: PinSpecification(
+ name="sectors_to_expand",
+ type_names=["vector", "scoping", "scopings_container"],
+ optional=True,
+ document="""Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.""",
+ ),
+ 19: PinSpecification(
+ name="phi",
+ type_names=["double"],
+ optional=True,
+ document="""Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -354,6 +406,12 @@ class InputsSmisc(_Inputs):
>>> op.inputs.num_components.connect(my_num_components)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
"""
def __init__(self, op: Operator):
@@ -378,6 +436,12 @@ def __init__(self, op: Operator):
self._inputs.append(self._num_components)
self._read_cyclic = Input(smisc._spec().input_pin(14), 14, op, -1)
self._inputs.append(self._read_cyclic)
+ self._expanded_meshed_region = Input(smisc._spec().input_pin(15), 15, op, -1)
+ self._inputs.append(self._expanded_meshed_region)
+ self._sectors_to_expand = Input(smisc._spec().input_pin(18), 18, op, -1)
+ self._inputs.append(self._sectors_to_expand)
+ self._phi = Input(smisc._spec().input_pin(19), 19, op, -1)
+ self._inputs.append(self._phi)
@property
def time_scoping(self):
@@ -531,8 +595,8 @@ def bool_rotate_to_global(self):
def mesh(self):
"""Allows to connect mesh input to the operator.
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
Parameters
----------
@@ -612,6 +676,71 @@ def read_cyclic(self):
"""
return self._read_cyclic
+ @property
+ def expanded_meshed_region(self):
+ """Allows to connect expanded_meshed_region input to the operator.
+
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+
+ Parameters
+ ----------
+ my_expanded_meshed_region : MeshedRegion or MeshesContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.smisc()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> # or
+ >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region)
+ """
+ return self._expanded_meshed_region
+
+ @property
+ def sectors_to_expand(self):
+ """Allows to connect sectors_to_expand input to the operator.
+
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+
+ Parameters
+ ----------
+ my_sectors_to_expand : Scoping or ScopingsContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.smisc()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> # or
+ >>> op.inputs.sectors_to_expand(my_sectors_to_expand)
+ """
+ return self._sectors_to_expand
+
+ @property
+ def phi(self):
+ """Allows to connect phi input to the operator.
+
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
+
+ Parameters
+ ----------
+ my_phi : float
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.smisc()
+ >>> op.inputs.phi.connect(my_phi)
+ >>> # or
+ >>> op.inputs.phi(my_phi)
+ """
+ return self._phi
+
class OutputsSmisc(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/state_variable.py b/src/ansys/dpf/core/operators/result/state_variable.py
new file mode 100644
index 0000000000..eaa18b0c1d
--- /dev/null
+++ b/src/ansys/dpf/core/operators/result/state_variable.py
@@ -0,0 +1,754 @@
+"""
+state_variable
+
+Autogenerated DPF operator classes.
+"""
+
+from warnings import warn
+from ansys.dpf.core.dpf_operator import Operator
+from ansys.dpf.core.inputs import Input, _Inputs
+from ansys.dpf.core.outputs import Output, _Outputs
+from ansys.dpf.core.operators.specification import PinSpecification, Specification
+
+
+class state_variable(Operator):
+ """Read/compute elemental state variable by calling the readers defined
+ by the datasources. Regarding the requested location and the input
+ mesh scoping, the result location can be
+ Nodal/ElementalNodal/Elemental.
+
+ Parameters
+ ----------
+ time_scoping : Scoping or int or float or Field, optional
+ 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.
+ mesh_scoping : ScopingsContainer or Scoping, optional
+ 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 : FieldsContainer, optional
+ Fields container already allocated modified
+ inplace
+ streams_container : StreamsContainer, optional
+ Result file container allowed to be kept open
+ to cache data
+ data_sources : DataSources
+ Result file path container, used if no
+ streams are set
+ bool_rotate_to_global : bool, optional
+ If true the field is rotated to global
+ coordinate system (default true)
+ mesh : MeshedRegion or MeshesContainer, optional
+ Prevents from reading the mesh in the result
+ files
+ requested_location : str, optional
+ Requested location nodal, elemental or
+ elementalnodal
+ item_index : int, optional
+ Index of requested item.
+ read_beams : bool, optional
+ Elemental nodal beam results are read if this
+ pin is set to true (default is false)
+ split_shells : bool, optional
+ This pin forces elemental nodal shell and
+ solid results to be split if this pin
+ is set to true. if set to false
+ (default), a specific shell layer is
+ still needed to merge the fields.
+ merge is possible only if a shell
+ layer is provided.
+ shell_layer : int, optional
+ If the requested_location pin is not
+ connected, and if split_shells pin is
+ set to true, we choose one of the
+ shell layer for shell element. if
+ split_shells pin is set to false
+ (default value) and a specific shell
+ layer is provided, results will be
+ merged on this specific shell layer.
+
+ Returns
+ -------
+ fields_container : FieldsContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+
+ >>> # Instantiate operator
+ >>> op = dpf.operators.result.state_variable()
+
+ >>> # Make input connections
+ >>> my_time_scoping = dpf.Scoping()
+ >>> op.inputs.time_scoping.connect(my_time_scoping)
+ >>> my_mesh_scoping = dpf.ScopingsContainer()
+ >>> op.inputs.mesh_scoping.connect(my_mesh_scoping)
+ >>> my_fields_container = dpf.FieldsContainer()
+ >>> op.inputs.fields_container.connect(my_fields_container)
+ >>> my_streams_container = dpf.StreamsContainer()
+ >>> op.inputs.streams_container.connect(my_streams_container)
+ >>> my_data_sources = dpf.DataSources()
+ >>> op.inputs.data_sources.connect(my_data_sources)
+ >>> my_bool_rotate_to_global = bool()
+ >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
+ >>> my_mesh = dpf.MeshedRegion()
+ >>> op.inputs.mesh.connect(my_mesh)
+ >>> my_requested_location = str()
+ >>> op.inputs.requested_location.connect(my_requested_location)
+ >>> my_item_index = int()
+ >>> op.inputs.item_index.connect(my_item_index)
+ >>> my_read_beams = bool()
+ >>> op.inputs.read_beams.connect(my_read_beams)
+ >>> my_split_shells = bool()
+ >>> op.inputs.split_shells.connect(my_split_shells)
+ >>> my_shell_layer = int()
+ >>> op.inputs.shell_layer.connect(my_shell_layer)
+
+ >>> # Instantiate operator and connect inputs in one line
+ >>> op = dpf.operators.result.state_variable(
+ ... time_scoping=my_time_scoping,
+ ... mesh_scoping=my_mesh_scoping,
+ ... fields_container=my_fields_container,
+ ... streams_container=my_streams_container,
+ ... data_sources=my_data_sources,
+ ... bool_rotate_to_global=my_bool_rotate_to_global,
+ ... mesh=my_mesh,
+ ... requested_location=my_requested_location,
+ ... item_index=my_item_index,
+ ... read_beams=my_read_beams,
+ ... split_shells=my_split_shells,
+ ... shell_layer=my_shell_layer,
+ ... )
+
+ >>> # Get output data
+ >>> result_fields_container = op.outputs.fields_container()
+ """
+
+ def __init__(
+ self,
+ time_scoping=None,
+ mesh_scoping=None,
+ fields_container=None,
+ streams_container=None,
+ data_sources=None,
+ bool_rotate_to_global=None,
+ mesh=None,
+ requested_location=None,
+ item_index=None,
+ read_beams=None,
+ split_shells=None,
+ shell_layer=None,
+ config=None,
+ server=None,
+ ):
+ super().__init__(name="ESV", config=config, server=server)
+ self._inputs = InputsStateVariable(self)
+ self._outputs = OutputsStateVariable(self)
+ if time_scoping is not None:
+ self.inputs.time_scoping.connect(time_scoping)
+ if mesh_scoping is not None:
+ self.inputs.mesh_scoping.connect(mesh_scoping)
+ if fields_container is not None:
+ self.inputs.fields_container.connect(fields_container)
+ if streams_container is not None:
+ self.inputs.streams_container.connect(streams_container)
+ if data_sources is not None:
+ self.inputs.data_sources.connect(data_sources)
+ if bool_rotate_to_global is not None:
+ self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
+ if mesh is not None:
+ self.inputs.mesh.connect(mesh)
+ if requested_location is not None:
+ self.inputs.requested_location.connect(requested_location)
+ if item_index is not None:
+ self.inputs.item_index.connect(item_index)
+ if read_beams is not None:
+ self.inputs.read_beams.connect(read_beams)
+ if split_shells is not None:
+ self.inputs.split_shells.connect(split_shells)
+ if shell_layer is not None:
+ self.inputs.shell_layer.connect(shell_layer)
+
+ @staticmethod
+ def _spec():
+ description = """Read/compute elemental state variable by calling the readers defined
+ by the datasources. Regarding the requested location and
+ the input mesh scoping, the result location can be
+ Nodal/ElementalNodal/Elemental."""
+ spec = Specification(
+ description=description,
+ map_input_pin_spec={
+ 0: PinSpecification(
+ name="time_scoping",
+ type_names=[
+ "scoping",
+ "int32",
+ "vector",
+ "double",
+ "field",
+ "vector",
+ ],
+ optional=True,
+ document="""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.""",
+ ),
+ 1: PinSpecification(
+ name="mesh_scoping",
+ type_names=["scopings_container", "scoping"],
+ optional=True,
+ document="""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""",
+ ),
+ 2: PinSpecification(
+ name="fields_container",
+ type_names=["fields_container"],
+ optional=True,
+ document="""Fields container already allocated modified
+ inplace""",
+ ),
+ 3: PinSpecification(
+ name="streams_container",
+ type_names=["streams_container"],
+ optional=True,
+ document="""Result file container allowed to be kept open
+ to cache data""",
+ ),
+ 4: PinSpecification(
+ name="data_sources",
+ type_names=["data_sources"],
+ optional=False,
+ document="""Result file path container, used if no
+ streams are set""",
+ ),
+ 5: PinSpecification(
+ name="bool_rotate_to_global",
+ type_names=["bool"],
+ optional=True,
+ document="""If true the field is rotated to global
+ coordinate system (default true)""",
+ ),
+ 7: PinSpecification(
+ name="mesh",
+ type_names=["abstract_meshed_region", "meshes_container"],
+ optional=True,
+ document="""Prevents from reading the mesh in the result
+ files""",
+ ),
+ 9: PinSpecification(
+ name="requested_location",
+ type_names=["string"],
+ optional=True,
+ document="""Requested location nodal, elemental or
+ elementalnodal""",
+ ),
+ 10: PinSpecification(
+ name="item_index",
+ type_names=["int32"],
+ optional=True,
+ document="""Index of requested item.""",
+ ),
+ 22: PinSpecification(
+ name="read_beams",
+ type_names=["bool"],
+ optional=True,
+ document="""Elemental nodal beam results are read if this
+ pin is set to true (default is false)""",
+ ),
+ 26: PinSpecification(
+ name="split_shells",
+ type_names=["bool"],
+ optional=True,
+ document="""This pin forces elemental nodal shell and
+ solid results to be split if this pin
+ is set to true. if set to false
+ (default), a specific shell layer is
+ still needed to merge the fields.
+ merge is possible only if a shell
+ layer is provided.""",
+ ),
+ 27: PinSpecification(
+ name="shell_layer",
+ type_names=["int32"],
+ optional=True,
+ document="""If the requested_location pin is not
+ connected, and if split_shells pin is
+ set to true, we choose one of the
+ shell layer for shell element. if
+ split_shells pin is set to false
+ (default value) and a specific shell
+ layer is provided, results will be
+ merged on this specific shell layer.""",
+ ),
+ },
+ map_output_pin_spec={
+ 0: PinSpecification(
+ name="fields_container",
+ type_names=["fields_container"],
+ optional=False,
+ document="""""",
+ ),
+ },
+ )
+ return spec
+
+ @staticmethod
+ def default_config(server=None):
+ """Returns the default config of the operator.
+
+ This config can then be changed to the user needs and be used to
+ instantiate the operator. The Configuration allows to customize
+ how the operation will be processed by the operator.
+
+ Parameters
+ ----------
+ server : server.DPFServer, optional
+ Server with channel connected to the remote or local instance. When
+ ``None``, attempts to use the global server.
+ """
+ return Operator.default_config(name="ESV", server=server)
+
+ @property
+ def inputs(self):
+ """Enables to connect inputs to the operator
+
+ Returns
+ --------
+ inputs : InputsStateVariable
+ """
+ return super().inputs
+
+ @property
+ def outputs(self):
+ """Enables to get outputs of the operator by evaluating it
+
+ Returns
+ --------
+ outputs : OutputsStateVariable
+ """
+ return super().outputs
+
+
+class InputsStateVariable(_Inputs):
+ """Intermediate class used to connect user inputs to
+ state_variable operator.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.state_variable()
+ >>> my_time_scoping = dpf.Scoping()
+ >>> op.inputs.time_scoping.connect(my_time_scoping)
+ >>> my_mesh_scoping = dpf.ScopingsContainer()
+ >>> op.inputs.mesh_scoping.connect(my_mesh_scoping)
+ >>> my_fields_container = dpf.FieldsContainer()
+ >>> op.inputs.fields_container.connect(my_fields_container)
+ >>> my_streams_container = dpf.StreamsContainer()
+ >>> op.inputs.streams_container.connect(my_streams_container)
+ >>> my_data_sources = dpf.DataSources()
+ >>> op.inputs.data_sources.connect(my_data_sources)
+ >>> my_bool_rotate_to_global = bool()
+ >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
+ >>> my_mesh = dpf.MeshedRegion()
+ >>> op.inputs.mesh.connect(my_mesh)
+ >>> my_requested_location = str()
+ >>> op.inputs.requested_location.connect(my_requested_location)
+ >>> my_item_index = int()
+ >>> op.inputs.item_index.connect(my_item_index)
+ >>> my_read_beams = bool()
+ >>> op.inputs.read_beams.connect(my_read_beams)
+ >>> my_split_shells = bool()
+ >>> op.inputs.split_shells.connect(my_split_shells)
+ >>> my_shell_layer = int()
+ >>> op.inputs.shell_layer.connect(my_shell_layer)
+ """
+
+ def __init__(self, op: Operator):
+ super().__init__(state_variable._spec().inputs, op)
+ self._time_scoping = Input(state_variable._spec().input_pin(0), 0, op, -1)
+ self._inputs.append(self._time_scoping)
+ self._mesh_scoping = Input(state_variable._spec().input_pin(1), 1, op, -1)
+ self._inputs.append(self._mesh_scoping)
+ self._fields_container = Input(state_variable._spec().input_pin(2), 2, op, -1)
+ self._inputs.append(self._fields_container)
+ self._streams_container = Input(state_variable._spec().input_pin(3), 3, op, -1)
+ self._inputs.append(self._streams_container)
+ self._data_sources = Input(state_variable._spec().input_pin(4), 4, op, -1)
+ self._inputs.append(self._data_sources)
+ self._bool_rotate_to_global = Input(
+ state_variable._spec().input_pin(5), 5, op, -1
+ )
+ self._inputs.append(self._bool_rotate_to_global)
+ self._mesh = Input(state_variable._spec().input_pin(7), 7, op, -1)
+ self._inputs.append(self._mesh)
+ self._requested_location = Input(state_variable._spec().input_pin(9), 9, op, -1)
+ self._inputs.append(self._requested_location)
+ self._item_index = Input(state_variable._spec().input_pin(10), 10, op, -1)
+ self._inputs.append(self._item_index)
+ self._read_beams = Input(state_variable._spec().input_pin(22), 22, op, -1)
+ self._inputs.append(self._read_beams)
+ self._split_shells = Input(state_variable._spec().input_pin(26), 26, op, -1)
+ self._inputs.append(self._split_shells)
+ self._shell_layer = Input(state_variable._spec().input_pin(27), 27, op, -1)
+ self._inputs.append(self._shell_layer)
+
+ @property
+ def time_scoping(self):
+ """Allows to connect time_scoping input to the operator.
+
+ 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.
+
+ Parameters
+ ----------
+ my_time_scoping : Scoping or int or float or Field
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.state_variable()
+ >>> op.inputs.time_scoping.connect(my_time_scoping)
+ >>> # or
+ >>> op.inputs.time_scoping(my_time_scoping)
+ """
+ return self._time_scoping
+
+ @property
+ def mesh_scoping(self):
+ """Allows to connect mesh_scoping input to the operator.
+
+ 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
+
+ Parameters
+ ----------
+ my_mesh_scoping : ScopingsContainer or Scoping
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.state_variable()
+ >>> op.inputs.mesh_scoping.connect(my_mesh_scoping)
+ >>> # or
+ >>> op.inputs.mesh_scoping(my_mesh_scoping)
+ """
+ return self._mesh_scoping
+
+ @property
+ def fields_container(self):
+ """Allows to connect fields_container input to the operator.
+
+ Fields container already allocated modified
+ inplace
+
+ Parameters
+ ----------
+ my_fields_container : FieldsContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.state_variable()
+ >>> op.inputs.fields_container.connect(my_fields_container)
+ >>> # or
+ >>> op.inputs.fields_container(my_fields_container)
+ """
+ return self._fields_container
+
+ @property
+ def streams_container(self):
+ """Allows to connect streams_container input to the operator.
+
+ Result file container allowed to be kept open
+ to cache data
+
+ Parameters
+ ----------
+ my_streams_container : StreamsContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.state_variable()
+ >>> op.inputs.streams_container.connect(my_streams_container)
+ >>> # or
+ >>> op.inputs.streams_container(my_streams_container)
+ """
+ return self._streams_container
+
+ @property
+ def data_sources(self):
+ """Allows to connect data_sources input to the operator.
+
+ Result file path container, used if no
+ streams are set
+
+ Parameters
+ ----------
+ my_data_sources : DataSources
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.state_variable()
+ >>> op.inputs.data_sources.connect(my_data_sources)
+ >>> # or
+ >>> op.inputs.data_sources(my_data_sources)
+ """
+ return self._data_sources
+
+ @property
+ def bool_rotate_to_global(self):
+ """Allows to connect bool_rotate_to_global input to the operator.
+
+ If true the field is rotated to global
+ coordinate system (default true)
+
+ Parameters
+ ----------
+ my_bool_rotate_to_global : bool
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.state_variable()
+ >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
+ >>> # or
+ >>> op.inputs.bool_rotate_to_global(my_bool_rotate_to_global)
+ """
+ return self._bool_rotate_to_global
+
+ @property
+ def mesh(self):
+ """Allows to connect mesh input to the operator.
+
+ Prevents from reading the mesh in the result
+ files
+
+ Parameters
+ ----------
+ my_mesh : MeshedRegion or MeshesContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.state_variable()
+ >>> op.inputs.mesh.connect(my_mesh)
+ >>> # or
+ >>> op.inputs.mesh(my_mesh)
+ """
+ return self._mesh
+
+ @property
+ def requested_location(self):
+ """Allows to connect requested_location input to the operator.
+
+ Requested location nodal, elemental or
+ elementalnodal
+
+ Parameters
+ ----------
+ my_requested_location : str
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.state_variable()
+ >>> op.inputs.requested_location.connect(my_requested_location)
+ >>> # or
+ >>> op.inputs.requested_location(my_requested_location)
+ """
+ return self._requested_location
+
+ @property
+ def item_index(self):
+ """Allows to connect item_index input to the operator.
+
+ Index of requested item.
+
+ Parameters
+ ----------
+ my_item_index : int
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.state_variable()
+ >>> op.inputs.item_index.connect(my_item_index)
+ >>> # or
+ >>> op.inputs.item_index(my_item_index)
+ """
+ return self._item_index
+
+ @property
+ def read_beams(self):
+ """Allows to connect read_beams input to the operator.
+
+ Elemental nodal beam results are read if this
+ pin is set to true (default is false)
+
+ Parameters
+ ----------
+ my_read_beams : bool
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.state_variable()
+ >>> op.inputs.read_beams.connect(my_read_beams)
+ >>> # or
+ >>> op.inputs.read_beams(my_read_beams)
+ """
+ return self._read_beams
+
+ @property
+ def split_shells(self):
+ """Allows to connect split_shells input to the operator.
+
+ This pin forces elemental nodal shell and
+ solid results to be split if this pin
+ is set to true. if set to false
+ (default), a specific shell layer is
+ still needed to merge the fields.
+ merge is possible only if a shell
+ layer is provided.
+
+ Parameters
+ ----------
+ my_split_shells : bool
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.state_variable()
+ >>> op.inputs.split_shells.connect(my_split_shells)
+ >>> # or
+ >>> op.inputs.split_shells(my_split_shells)
+ """
+ return self._split_shells
+
+ @property
+ def shell_layer(self):
+ """Allows to connect shell_layer input to the operator.
+
+ If the requested_location pin is not
+ connected, and if split_shells pin is
+ set to true, we choose one of the
+ shell layer for shell element. if
+ split_shells pin is set to false
+ (default value) and a specific shell
+ layer is provided, results will be
+ merged on this specific shell layer.
+
+ Parameters
+ ----------
+ my_shell_layer : int
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.state_variable()
+ >>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> # or
+ >>> op.inputs.shell_layer(my_shell_layer)
+ """
+ return self._shell_layer
+
+
+class OutputsStateVariable(_Outputs):
+ """Intermediate class used to get outputs from
+ state_variable operator.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.state_variable()
+ >>> # Connect inputs : op.inputs. ...
+ >>> result_fields_container = op.outputs.fields_container()
+ """
+
+ def __init__(self, op: Operator):
+ super().__init__(state_variable._spec().outputs, op)
+ self._fields_container = Output(state_variable._spec().output_pin(0), 0, op)
+ self._outputs.append(self._fields_container)
+
+ @property
+ def fields_container(self):
+ """Allows to get fields_container output of the operator
+
+ Returns
+ ----------
+ my_fields_container : FieldsContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.state_variable()
+ >>> # Connect inputs : op.inputs. ...
+ >>> result_fields_container = op.outputs.fields_container()
+ """ # noqa: E501
+ return self._fields_container
diff --git a/src/ansys/dpf/core/operators/result/stiffness_matrix_energy.py b/src/ansys/dpf/core/operators/result/stiffness_matrix_energy.py
index b4fbcab3e6..23bce35e6f 100644
--- a/src/ansys/dpf/core/operators/result/stiffness_matrix_energy.py
+++ b/src/ansys/dpf/core/operators/result/stiffness_matrix_energy.py
@@ -58,14 +58,25 @@ class stiffness_matrix_energy(Operator):
If true the field is rotated to global
coordinate system (default true)
mesh : MeshedRegion or MeshesContainer, optional
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
read_cyclic : int, optional
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)
+ expanded_meshed_region : MeshedRegion or MeshesContainer, optional
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+ sectors_to_expand : Scoping or ScopingsContainer, optional
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+ phi : float, optional
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
Returns
-------
@@ -95,6 +106,12 @@ class stiffness_matrix_energy(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.stiffness_matrix_energy(
@@ -106,6 +123,9 @@ class stiffness_matrix_energy(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... read_cyclic=my_read_cyclic,
+ ... expanded_meshed_region=my_expanded_meshed_region,
+ ... sectors_to_expand=my_sectors_to_expand,
+ ... phi=my_phi,
... )
>>> # Get output data
@@ -122,6 +142,9 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
read_cyclic=None,
+ expanded_meshed_region=None,
+ sectors_to_expand=None,
+ phi=None,
config=None,
server=None,
):
@@ -144,6 +167,12 @@ def __init__(
self.inputs.mesh.connect(mesh)
if read_cyclic is not None:
self.inputs.read_cyclic.connect(read_cyclic)
+ if expanded_meshed_region is not None:
+ self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
+ if sectors_to_expand is not None:
+ self.inputs.sectors_to_expand.connect(sectors_to_expand)
+ if phi is not None:
+ self.inputs.phi.connect(phi)
@staticmethod
def _spec():
@@ -227,8 +256,8 @@ def _spec():
name="mesh",
type_names=["abstract_meshed_region", "meshes_container"],
optional=True,
- document="""Prevents from reading the mesh in the result
- files""",
+ document="""Mesh. if cylic expansion is to be done, mesh
+ of the base sector""",
),
14: PinSpecification(
name="read_cyclic",
@@ -240,6 +269,29 @@ def _spec():
done and stages are merged (default
is 1)""",
),
+ 15: PinSpecification(
+ name="expanded_meshed_region",
+ type_names=["abstract_meshed_region", "meshes_container"],
+ optional=True,
+ document="""Mesh expanded, use if cyclic expansion is to
+ be done.""",
+ ),
+ 18: PinSpecification(
+ name="sectors_to_expand",
+ type_names=["vector", "scoping", "scopings_container"],
+ optional=True,
+ document="""Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.""",
+ ),
+ 19: PinSpecification(
+ name="phi",
+ type_names=["double"],
+ optional=True,
+ document="""Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -313,6 +365,12 @@ class InputsStiffnessMatrixEnergy(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
"""
def __init__(self, op: Operator):
@@ -347,6 +405,16 @@ def __init__(self, op: Operator):
stiffness_matrix_energy._spec().input_pin(14), 14, op, -1
)
self._inputs.append(self._read_cyclic)
+ self._expanded_meshed_region = Input(
+ stiffness_matrix_energy._spec().input_pin(15), 15, op, -1
+ )
+ self._inputs.append(self._expanded_meshed_region)
+ self._sectors_to_expand = Input(
+ stiffness_matrix_energy._spec().input_pin(18), 18, op, -1
+ )
+ self._inputs.append(self._sectors_to_expand)
+ self._phi = Input(stiffness_matrix_energy._spec().input_pin(19), 19, op, -1)
+ self._inputs.append(self._phi)
@property
def time_scoping(self):
@@ -500,8 +568,8 @@ def bool_rotate_to_global(self):
def mesh(self):
"""Allows to connect mesh input to the operator.
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
Parameters
----------
@@ -541,6 +609,71 @@ def read_cyclic(self):
"""
return self._read_cyclic
+ @property
+ def expanded_meshed_region(self):
+ """Allows to connect expanded_meshed_region input to the operator.
+
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+
+ Parameters
+ ----------
+ my_expanded_meshed_region : MeshedRegion or MeshesContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.stiffness_matrix_energy()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> # or
+ >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region)
+ """
+ return self._expanded_meshed_region
+
+ @property
+ def sectors_to_expand(self):
+ """Allows to connect sectors_to_expand input to the operator.
+
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+
+ Parameters
+ ----------
+ my_sectors_to_expand : Scoping or ScopingsContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.stiffness_matrix_energy()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> # or
+ >>> op.inputs.sectors_to_expand(my_sectors_to_expand)
+ """
+ return self._sectors_to_expand
+
+ @property
+ def phi(self):
+ """Allows to connect phi input to the operator.
+
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
+
+ Parameters
+ ----------
+ my_phi : float
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.stiffness_matrix_energy()
+ >>> op.inputs.phi.connect(my_phi)
+ >>> # or
+ >>> op.inputs.phi(my_phi)
+ """
+ return self._phi
+
class OutputsStiffnessMatrixEnergy(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/stress.py b/src/ansys/dpf/core/operators/result/stress.py
index 0136ad1142..2546c5fa11 100644
--- a/src/ansys/dpf/core/operators/result/stress.py
+++ b/src/ansys/dpf/core/operators/result/stress.py
@@ -60,8 +60,8 @@ class stress(Operator):
If true the field is rotated to global
coordinate system (default true)
mesh : MeshedRegion or MeshesContainer, optional
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
@@ -71,6 +71,17 @@ class stress(Operator):
is done, if 3 cyclic expansion is
done and stages are merged (default
is 1)
+ expanded_meshed_region : MeshedRegion or MeshesContainer, optional
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+ sectors_to_expand : Scoping or ScopingsContainer, optional
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+ phi : float, optional
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
read_beams : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -122,6 +133,12 @@ class stress(Operator):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -140,6 +157,9 @@ class stress(Operator):
... mesh=my_mesh,
... requested_location=my_requested_location,
... read_cyclic=my_read_cyclic,
+ ... expanded_meshed_region=my_expanded_meshed_region,
+ ... sectors_to_expand=my_sectors_to_expand,
+ ... phi=my_phi,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -160,6 +180,9 @@ def __init__(
mesh=None,
requested_location=None,
read_cyclic=None,
+ expanded_meshed_region=None,
+ sectors_to_expand=None,
+ phi=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -187,6 +210,12 @@ def __init__(
self.inputs.requested_location.connect(requested_location)
if read_cyclic is not None:
self.inputs.read_cyclic.connect(read_cyclic)
+ if expanded_meshed_region is not None:
+ self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
+ if sectors_to_expand is not None:
+ self.inputs.sectors_to_expand.connect(sectors_to_expand)
+ if phi is not None:
+ self.inputs.phi.connect(phi)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -278,8 +307,8 @@ def _spec():
name="mesh",
type_names=["abstract_meshed_region", "meshes_container"],
optional=True,
- document="""Prevents from reading the mesh in the result
- files""",
+ document="""Mesh. if cylic expansion is to be done, mesh
+ of the base sector""",
),
9: PinSpecification(
name="requested_location",
@@ -297,6 +326,29 @@ def _spec():
is done, if 3 cyclic expansion is
done and stages are merged (default
is 1)""",
+ ),
+ 15: PinSpecification(
+ name="expanded_meshed_region",
+ type_names=["abstract_meshed_region", "meshes_container"],
+ optional=True,
+ document="""Mesh expanded, use if cyclic expansion is to
+ be done.""",
+ ),
+ 18: PinSpecification(
+ name="sectors_to_expand",
+ type_names=["vector", "scoping", "scopings_container"],
+ optional=True,
+ document="""Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.""",
+ ),
+ 19: PinSpecification(
+ name="phi",
+ type_names=["double"],
+ optional=True,
+ document="""Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.""",
),
22: PinSpecification(
name="read_beams",
@@ -405,6 +457,12 @@ class InputsStress(_Inputs):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -433,6 +491,12 @@ def __init__(self, op: Operator):
self._inputs.append(self._requested_location)
self._read_cyclic = Input(stress._spec().input_pin(14), 14, op, -1)
self._inputs.append(self._read_cyclic)
+ self._expanded_meshed_region = Input(stress._spec().input_pin(15), 15, op, -1)
+ self._inputs.append(self._expanded_meshed_region)
+ self._sectors_to_expand = Input(stress._spec().input_pin(18), 18, op, -1)
+ self._inputs.append(self._sectors_to_expand)
+ self._phi = Input(stress._spec().input_pin(19), 19, op, -1)
+ self._inputs.append(self._phi)
self._read_beams = Input(stress._spec().input_pin(22), 22, op, -1)
self._inputs.append(self._read_beams)
self._split_shells = Input(stress._spec().input_pin(26), 26, op, -1)
@@ -592,8 +656,8 @@ def bool_rotate_to_global(self):
def mesh(self):
"""Allows to connect mesh input to the operator.
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
Parameters
----------
@@ -654,6 +718,71 @@ def read_cyclic(self):
"""
return self._read_cyclic
+ @property
+ def expanded_meshed_region(self):
+ """Allows to connect expanded_meshed_region input to the operator.
+
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+
+ Parameters
+ ----------
+ my_expanded_meshed_region : MeshedRegion or MeshesContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.stress()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> # or
+ >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region)
+ """
+ return self._expanded_meshed_region
+
+ @property
+ def sectors_to_expand(self):
+ """Allows to connect sectors_to_expand input to the operator.
+
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+
+ Parameters
+ ----------
+ my_sectors_to_expand : Scoping or ScopingsContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.stress()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> # or
+ >>> op.inputs.sectors_to_expand(my_sectors_to_expand)
+ """
+ return self._sectors_to_expand
+
+ @property
+ def phi(self):
+ """Allows to connect phi input to the operator.
+
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
+
+ Parameters
+ ----------
+ my_phi : float
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.stress()
+ >>> op.inputs.phi.connect(my_phi)
+ >>> # or
+ >>> op.inputs.phi(my_phi)
+ """
+ return self._phi
+
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/stress_ratio.py b/src/ansys/dpf/core/operators/result/stress_ratio.py
index 1a0d012e75..ed821924bd 100644
--- a/src/ansys/dpf/core/operators/result/stress_ratio.py
+++ b/src/ansys/dpf/core/operators/result/stress_ratio.py
@@ -65,12 +65,6 @@ class stress_ratio(Operator):
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
- read_cyclic : int, optional
- 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 : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -120,8 +114,6 @@ class stress_ratio(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -139,7 +131,6 @@ class stress_ratio(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -159,7 +150,6 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
requested_location=None,
- read_cyclic=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -185,8 +175,6 @@ def __init__(
self.inputs.mesh.connect(mesh)
if requested_location is not None:
self.inputs.requested_location.connect(requested_location)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -287,16 +275,6 @@ def _spec():
optional=True,
document="""Requested location nodal, elemental or
elementalnodal""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
),
22: PinSpecification(
name="read_beams",
@@ -403,8 +381,6 @@ class InputsStressRatio(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -433,8 +409,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._mesh)
self._requested_location = Input(stress_ratio._spec().input_pin(9), 9, op, -1)
self._inputs.append(self._requested_location)
- self._read_cyclic = Input(stress_ratio._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
self._read_beams = Input(stress_ratio._spec().input_pin(22), 22, op, -1)
self._inputs.append(self._read_beams)
self._split_shells = Input(stress_ratio._spec().input_pin(26), 26, op, -1)
@@ -632,30 +606,6 @@ def requested_location(self):
"""
return self._requested_location
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.stress_ratio()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/structural_temperature.py b/src/ansys/dpf/core/operators/result/structural_temperature.py
index 3b79b60f38..f19385c01f 100644
--- a/src/ansys/dpf/core/operators/result/structural_temperature.py
+++ b/src/ansys/dpf/core/operators/result/structural_temperature.py
@@ -65,12 +65,6 @@ class structural_temperature(Operator):
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
- read_cyclic : int, optional
- 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 : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -120,8 +114,6 @@ class structural_temperature(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -139,7 +131,6 @@ class structural_temperature(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -159,7 +150,6 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
requested_location=None,
- read_cyclic=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -185,8 +175,6 @@ def __init__(
self.inputs.mesh.connect(mesh)
if requested_location is not None:
self.inputs.requested_location.connect(requested_location)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -287,16 +275,6 @@ def _spec():
optional=True,
document="""Requested location nodal, elemental or
elementalnodal""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
),
22: PinSpecification(
name="read_beams",
@@ -403,8 +381,6 @@ class InputsStructuralTemperature(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -445,10 +421,6 @@ def __init__(self, op: Operator):
structural_temperature._spec().input_pin(9), 9, op, -1
)
self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- structural_temperature._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
self._read_beams = Input(
structural_temperature._spec().input_pin(22), 22, op, -1
)
@@ -652,30 +624,6 @@ def requested_location(self):
"""
return self._requested_location
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.structural_temperature()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/swelling_strains.py b/src/ansys/dpf/core/operators/result/swelling_strains.py
index 207783173c..4e4a781534 100644
--- a/src/ansys/dpf/core/operators/result/swelling_strains.py
+++ b/src/ansys/dpf/core/operators/result/swelling_strains.py
@@ -65,12 +65,6 @@ class swelling_strains(Operator):
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
- read_cyclic : int, optional
- 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 : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -120,8 +114,6 @@ class swelling_strains(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -139,7 +131,6 @@ class swelling_strains(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -159,7 +150,6 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
requested_location=None,
- read_cyclic=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -185,8 +175,6 @@ def __init__(
self.inputs.mesh.connect(mesh)
if requested_location is not None:
self.inputs.requested_location.connect(requested_location)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -287,16 +275,6 @@ def _spec():
optional=True,
document="""Requested location nodal, elemental or
elementalnodal""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
),
22: PinSpecification(
name="read_beams",
@@ -403,8 +381,6 @@ class InputsSwellingStrains(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -437,8 +413,6 @@ def __init__(self, op: Operator):
swelling_strains._spec().input_pin(9), 9, op, -1
)
self._inputs.append(self._requested_location)
- self._read_cyclic = Input(swelling_strains._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
self._read_beams = Input(swelling_strains._spec().input_pin(22), 22, op, -1)
self._inputs.append(self._read_beams)
self._split_shells = Input(swelling_strains._spec().input_pin(26), 26, op, -1)
@@ -636,30 +610,6 @@ def requested_location(self):
"""
return self._requested_location
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.swelling_strains()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/tangential_contact_force.py b/src/ansys/dpf/core/operators/result/tangential_contact_force.py
index 815dfef73f..d602302cb7 100644
--- a/src/ansys/dpf/core/operators/result/tangential_contact_force.py
+++ b/src/ansys/dpf/core/operators/result/tangential_contact_force.py
@@ -60,12 +60,6 @@ class tangential_contact_force(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class tangential_contact_force(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.tangential_contact_force(
@@ -105,7 +97,6 @@ class tangential_contact_force(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsTangentialContactForce(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -343,10 +319,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(tangential_contact_force._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(
- tangential_contact_force._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -517,30 +489,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.tangential_contact_force()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsTangentialContactForce(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/tangential_contact_moment.py b/src/ansys/dpf/core/operators/result/tangential_contact_moment.py
index 0ca5a5c1da..3ab7e4cea9 100644
--- a/src/ansys/dpf/core/operators/result/tangential_contact_moment.py
+++ b/src/ansys/dpf/core/operators/result/tangential_contact_moment.py
@@ -60,12 +60,6 @@ class tangential_contact_moment(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class tangential_contact_moment(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.tangential_contact_moment(
@@ -105,7 +97,6 @@ class tangential_contact_moment(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsTangentialContactMoment(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -343,10 +319,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(tangential_contact_moment._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(
- tangential_contact_moment._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -517,30 +489,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.tangential_contact_moment()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsTangentialContactMoment(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/temperature.py b/src/ansys/dpf/core/operators/result/temperature.py
index 4c161ca1b2..75c94aa6d0 100644
--- a/src/ansys/dpf/core/operators/result/temperature.py
+++ b/src/ansys/dpf/core/operators/result/temperature.py
@@ -58,14 +58,25 @@ class temperature(Operator):
If true the field is rotated to global
coordinate system (default true)
mesh : MeshedRegion or MeshesContainer, optional
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
read_cyclic : int, optional
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)
+ expanded_meshed_region : MeshedRegion or MeshesContainer, optional
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+ sectors_to_expand : Scoping or ScopingsContainer, optional
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+ phi : float, optional
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
region_scoping : Scoping or int, optional
Region id (integer) or vector of region ids
(vector) or region scoping (scoping)
@@ -109,6 +120,12 @@ class temperature(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> my_region_scoping = dpf.Scoping()
>>> op.inputs.region_scoping.connect(my_region_scoping)
>>> my_qualifiers1 = dict()
@@ -126,6 +143,9 @@ class temperature(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... read_cyclic=my_read_cyclic,
+ ... expanded_meshed_region=my_expanded_meshed_region,
+ ... sectors_to_expand=my_sectors_to_expand,
+ ... phi=my_phi,
... region_scoping=my_region_scoping,
... qualifiers1=my_qualifiers1,
... qualifiers2=my_qualifiers2,
@@ -145,6 +165,9 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
read_cyclic=None,
+ expanded_meshed_region=None,
+ sectors_to_expand=None,
+ phi=None,
region_scoping=None,
qualifiers1=None,
qualifiers2=None,
@@ -170,6 +193,12 @@ def __init__(
self.inputs.mesh.connect(mesh)
if read_cyclic is not None:
self.inputs.read_cyclic.connect(read_cyclic)
+ if expanded_meshed_region is not None:
+ self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
+ if sectors_to_expand is not None:
+ self.inputs.sectors_to_expand.connect(sectors_to_expand)
+ if phi is not None:
+ self.inputs.phi.connect(phi)
if region_scoping is not None:
self.inputs.region_scoping.connect(region_scoping)
if qualifiers1 is not None:
@@ -259,8 +288,8 @@ def _spec():
name="mesh",
type_names=["abstract_meshed_region", "meshes_container"],
optional=True,
- document="""Prevents from reading the mesh in the result
- files""",
+ document="""Mesh. if cylic expansion is to be done, mesh
+ of the base sector""",
),
14: PinSpecification(
name="read_cyclic",
@@ -271,6 +300,29 @@ def _spec():
is done, if 3 cyclic expansion is
done and stages are merged (default
is 1)""",
+ ),
+ 15: PinSpecification(
+ name="expanded_meshed_region",
+ type_names=["abstract_meshed_region", "meshes_container"],
+ optional=True,
+ document="""Mesh expanded, use if cyclic expansion is to
+ be done.""",
+ ),
+ 18: PinSpecification(
+ name="sectors_to_expand",
+ type_names=["vector", "scoping", "scopings_container"],
+ optional=True,
+ document="""Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.""",
+ ),
+ 19: PinSpecification(
+ name="phi",
+ type_names=["double"],
+ optional=True,
+ document="""Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.""",
),
25: PinSpecification(
name="region_scoping",
@@ -371,6 +423,12 @@ class InputsTemperature(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> my_region_scoping = dpf.Scoping()
>>> op.inputs.region_scoping.connect(my_region_scoping)
>>> my_qualifiers1 = dict()
@@ -397,6 +455,14 @@ def __init__(self, op: Operator):
self._inputs.append(self._mesh)
self._read_cyclic = Input(temperature._spec().input_pin(14), 14, op, -1)
self._inputs.append(self._read_cyclic)
+ self._expanded_meshed_region = Input(
+ temperature._spec().input_pin(15), 15, op, -1
+ )
+ self._inputs.append(self._expanded_meshed_region)
+ self._sectors_to_expand = Input(temperature._spec().input_pin(18), 18, op, -1)
+ self._inputs.append(self._sectors_to_expand)
+ self._phi = Input(temperature._spec().input_pin(19), 19, op, -1)
+ self._inputs.append(self._phi)
self._region_scoping = Input(temperature._spec().input_pin(25), 25, op, -1)
self._inputs.append(self._region_scoping)
self._qualifiers1 = Input(temperature._spec().input_pin(1000), 1000, op, 0)
@@ -556,8 +622,8 @@ def bool_rotate_to_global(self):
def mesh(self):
"""Allows to connect mesh input to the operator.
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
Parameters
----------
@@ -597,6 +663,71 @@ def read_cyclic(self):
"""
return self._read_cyclic
+ @property
+ def expanded_meshed_region(self):
+ """Allows to connect expanded_meshed_region input to the operator.
+
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+
+ Parameters
+ ----------
+ my_expanded_meshed_region : MeshedRegion or MeshesContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.temperature()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> # or
+ >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region)
+ """
+ return self._expanded_meshed_region
+
+ @property
+ def sectors_to_expand(self):
+ """Allows to connect sectors_to_expand input to the operator.
+
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+
+ Parameters
+ ----------
+ my_sectors_to_expand : Scoping or ScopingsContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.temperature()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> # or
+ >>> op.inputs.sectors_to_expand(my_sectors_to_expand)
+ """
+ return self._sectors_to_expand
+
+ @property
+ def phi(self):
+ """Allows to connect phi input to the operator.
+
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
+
+ Parameters
+ ----------
+ my_phi : float
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.temperature()
+ >>> op.inputs.phi.connect(my_phi)
+ >>> # or
+ >>> op.inputs.phi(my_phi)
+ """
+ return self._phi
+
@property
def region_scoping(self):
"""Allows to connect region_scoping input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/temperature_grad.py b/src/ansys/dpf/core/operators/result/temperature_grad.py
index af673f59c6..ba05f95902 100644
--- a/src/ansys/dpf/core/operators/result/temperature_grad.py
+++ b/src/ansys/dpf/core/operators/result/temperature_grad.py
@@ -65,12 +65,6 @@ class temperature_grad(Operator):
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
- read_cyclic : int, optional
- 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 : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -120,8 +114,6 @@ class temperature_grad(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -139,7 +131,6 @@ class temperature_grad(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -159,7 +150,6 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
requested_location=None,
- read_cyclic=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -185,8 +175,6 @@ def __init__(
self.inputs.mesh.connect(mesh)
if requested_location is not None:
self.inputs.requested_location.connect(requested_location)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -287,16 +275,6 @@ def _spec():
optional=True,
document="""Requested location nodal, elemental or
elementalnodal""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
),
22: PinSpecification(
name="read_beams",
@@ -403,8 +381,6 @@ class InputsTemperatureGrad(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -437,8 +413,6 @@ def __init__(self, op: Operator):
temperature_grad._spec().input_pin(9), 9, op, -1
)
self._inputs.append(self._requested_location)
- self._read_cyclic = Input(temperature_grad._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
self._read_beams = Input(temperature_grad._spec().input_pin(22), 22, op, -1)
self._inputs.append(self._read_beams)
self._split_shells = Input(temperature_grad._spec().input_pin(26), 26, op, -1)
@@ -636,30 +610,6 @@ def requested_location(self):
"""
return self._requested_location
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.temperature_grad()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/thermal_dissipation_energy.py b/src/ansys/dpf/core/operators/result/thermal_dissipation_energy.py
index fab41f83d5..5de6669f3f 100644
--- a/src/ansys/dpf/core/operators/result/thermal_dissipation_energy.py
+++ b/src/ansys/dpf/core/operators/result/thermal_dissipation_energy.py
@@ -60,12 +60,6 @@ class thermal_dissipation_energy(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class thermal_dissipation_energy(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.thermal_dissipation_energy(
@@ -105,7 +97,6 @@ class thermal_dissipation_energy(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsThermalDissipationEnergy(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -343,10 +319,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(thermal_dissipation_energy._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(
- thermal_dissipation_energy._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -517,30 +489,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.thermal_dissipation_energy()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsThermalDissipationEnergy(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/thermal_strain.py b/src/ansys/dpf/core/operators/result/thermal_strain.py
index 6c9d3a13a6..231a80bd70 100644
--- a/src/ansys/dpf/core/operators/result/thermal_strain.py
+++ b/src/ansys/dpf/core/operators/result/thermal_strain.py
@@ -65,12 +65,6 @@ class thermal_strain(Operator):
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
- read_cyclic : int, optional
- 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 : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -120,8 +114,6 @@ class thermal_strain(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -139,7 +131,6 @@ class thermal_strain(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -159,7 +150,6 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
requested_location=None,
- read_cyclic=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -185,8 +175,6 @@ def __init__(
self.inputs.mesh.connect(mesh)
if requested_location is not None:
self.inputs.requested_location.connect(requested_location)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -287,16 +275,6 @@ def _spec():
optional=True,
document="""Requested location nodal, elemental or
elementalnodal""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
),
22: PinSpecification(
name="read_beams",
@@ -403,8 +381,6 @@ class InputsThermalStrain(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -433,8 +409,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._mesh)
self._requested_location = Input(thermal_strain._spec().input_pin(9), 9, op, -1)
self._inputs.append(self._requested_location)
- self._read_cyclic = Input(thermal_strain._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
self._read_beams = Input(thermal_strain._spec().input_pin(22), 22, op, -1)
self._inputs.append(self._read_beams)
self._split_shells = Input(thermal_strain._spec().input_pin(26), 26, op, -1)
@@ -632,30 +606,6 @@ def requested_location(self):
"""
return self._requested_location
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.thermal_strain()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/thermal_strains_eqv.py b/src/ansys/dpf/core/operators/result/thermal_strains_eqv.py
index 252b802937..5cb2fdb623 100644
--- a/src/ansys/dpf/core/operators/result/thermal_strains_eqv.py
+++ b/src/ansys/dpf/core/operators/result/thermal_strains_eqv.py
@@ -65,12 +65,6 @@ class thermal_strains_eqv(Operator):
requested_location : str, optional
Requested location nodal, elemental or
elementalnodal
- read_cyclic : int, optional
- 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 : bool, optional
Elemental nodal beam results are read if this
pin is set to true (default is false)
@@ -120,8 +114,6 @@ class thermal_strains_eqv(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -139,7 +131,6 @@ class thermal_strains_eqv(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
@@ -159,7 +150,6 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
requested_location=None,
- read_cyclic=None,
read_beams=None,
split_shells=None,
shell_layer=None,
@@ -185,8 +175,6 @@ def __init__(
self.inputs.mesh.connect(mesh)
if requested_location is not None:
self.inputs.requested_location.connect(requested_location)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
@@ -287,16 +275,6 @@ def _spec():
optional=True,
document="""Requested location nodal, elemental or
elementalnodal""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
),
22: PinSpecification(
name="read_beams",
@@ -403,8 +381,6 @@ class InputsThermalStrainsEqv(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
@@ -439,8 +415,6 @@ def __init__(self, op: Operator):
thermal_strains_eqv._spec().input_pin(9), 9, op, -1
)
self._inputs.append(self._requested_location)
- self._read_cyclic = Input(thermal_strains_eqv._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
self._read_beams = Input(thermal_strains_eqv._spec().input_pin(22), 22, op, -1)
self._inputs.append(self._read_beams)
self._split_shells = Input(
@@ -640,30 +614,6 @@ def requested_location(self):
"""
return self._requested_location
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.thermal_strains_eqv()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
@property
def read_beams(self):
"""Allows to connect read_beams input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/thickness.py b/src/ansys/dpf/core/operators/result/thickness.py
index d5958f1199..68e47168e7 100644
--- a/src/ansys/dpf/core/operators/result/thickness.py
+++ b/src/ansys/dpf/core/operators/result/thickness.py
@@ -60,12 +60,6 @@ class thickness(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class thickness(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.thickness(
@@ -105,7 +97,6 @@ class thickness(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsThickness(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -331,8 +307,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(thickness._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(thickness._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -503,30 +477,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.thickness()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsThickness(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/total_contact_force.py b/src/ansys/dpf/core/operators/result/total_contact_force.py
index 9f8878453c..4fbe767bde 100644
--- a/src/ansys/dpf/core/operators/result/total_contact_force.py
+++ b/src/ansys/dpf/core/operators/result/total_contact_force.py
@@ -60,12 +60,6 @@ class total_contact_force(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class total_contact_force(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.total_contact_force(
@@ -105,7 +97,6 @@ class total_contact_force(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsTotalContactForce(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -337,8 +313,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(total_contact_force._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(total_contact_force._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -509,30 +483,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.total_contact_force()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsTotalContactForce(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/total_contact_moment.py b/src/ansys/dpf/core/operators/result/total_contact_moment.py
index b5d771adb6..43b3bd9ff4 100644
--- a/src/ansys/dpf/core/operators/result/total_contact_moment.py
+++ b/src/ansys/dpf/core/operators/result/total_contact_moment.py
@@ -60,12 +60,6 @@ class total_contact_moment(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class total_contact_moment(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.total_contact_moment(
@@ -105,7 +97,6 @@ class total_contact_moment(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsTotalContactMoment(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -337,10 +313,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(total_contact_moment._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(
- total_contact_moment._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -511,30 +483,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.total_contact_moment()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsTotalContactMoment(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/total_strain.py b/src/ansys/dpf/core/operators/result/total_strain.py
index 6ad219ba2f..cbc5b9f4e9 100644
--- a/src/ansys/dpf/core/operators/result/total_strain.py
+++ b/src/ansys/dpf/core/operators/result/total_strain.py
@@ -60,12 +60,6 @@ class total_strain(Operator):
mesh : MeshedRegion or MeshesContainer, optional
Prevents from reading the mesh in the result
files
- read_cyclic : int, optional
- 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)
Returns
-------
@@ -93,8 +87,6 @@ class total_strain(Operator):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.total_strain(
@@ -105,7 +97,6 @@ class total_strain(Operator):
... data_sources=my_data_sources,
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
- ... read_cyclic=my_read_cyclic,
... )
>>> # Get output data
@@ -121,7 +112,6 @@ def __init__(
data_sources=None,
bool_rotate_to_global=None,
mesh=None,
- read_cyclic=None,
config=None,
server=None,
):
@@ -142,8 +132,6 @@ def __init__(
self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if mesh is not None:
self.inputs.mesh.connect(mesh)
- if read_cyclic is not None:
- self.inputs.read_cyclic.connect(read_cyclic)
@staticmethod
def _spec():
@@ -230,16 +218,6 @@ def _spec():
document="""Prevents from reading the mesh in the result
files""",
),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document="""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)""",
- ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -311,8 +289,6 @@ class InputsTotalStrain(_Inputs):
>>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
- >>> my_read_cyclic = int()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
"""
def __init__(self, op: Operator):
@@ -333,8 +309,6 @@ def __init__(self, op: Operator):
self._inputs.append(self._bool_rotate_to_global)
self._mesh = Input(total_strain._spec().input_pin(7), 7, op, -1)
self._inputs.append(self._mesh)
- self._read_cyclic = Input(total_strain._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
@property
def time_scoping(self):
@@ -505,30 +479,6 @@ def mesh(self):
"""
return self._mesh
- @property
- def read_cyclic(self):
- """Allows to connect read_cyclic input to the operator.
-
- 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)
-
- Parameters
- ----------
- my_read_cyclic : int
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.total_strain()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
class OutputsTotalStrain(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/velocity.py b/src/ansys/dpf/core/operators/result/velocity.py
index d14544cf43..33e700eb18 100644
--- a/src/ansys/dpf/core/operators/result/velocity.py
+++ b/src/ansys/dpf/core/operators/result/velocity.py
@@ -58,14 +58,25 @@ class velocity(Operator):
If true the field is rotated to global
coordinate system (default true)
mesh : MeshedRegion or MeshesContainer, optional
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
read_cyclic : int, optional
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)
+ expanded_meshed_region : MeshedRegion or MeshesContainer, optional
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+ sectors_to_expand : Scoping or ScopingsContainer, optional
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+ phi : float, optional
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
region_scoping : Scoping or int, optional
Region id (integer) or vector of region ids
(vector) or region scoping (scoping)
@@ -109,6 +120,12 @@ class velocity(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> my_region_scoping = dpf.Scoping()
>>> op.inputs.region_scoping.connect(my_region_scoping)
>>> my_qualifiers1 = dict()
@@ -126,6 +143,9 @@ class velocity(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... read_cyclic=my_read_cyclic,
+ ... expanded_meshed_region=my_expanded_meshed_region,
+ ... sectors_to_expand=my_sectors_to_expand,
+ ... phi=my_phi,
... region_scoping=my_region_scoping,
... qualifiers1=my_qualifiers1,
... qualifiers2=my_qualifiers2,
@@ -145,6 +165,9 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
read_cyclic=None,
+ expanded_meshed_region=None,
+ sectors_to_expand=None,
+ phi=None,
region_scoping=None,
qualifiers1=None,
qualifiers2=None,
@@ -170,6 +193,12 @@ def __init__(
self.inputs.mesh.connect(mesh)
if read_cyclic is not None:
self.inputs.read_cyclic.connect(read_cyclic)
+ if expanded_meshed_region is not None:
+ self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
+ if sectors_to_expand is not None:
+ self.inputs.sectors_to_expand.connect(sectors_to_expand)
+ if phi is not None:
+ self.inputs.phi.connect(phi)
if region_scoping is not None:
self.inputs.region_scoping.connect(region_scoping)
if qualifiers1 is not None:
@@ -259,8 +288,8 @@ def _spec():
name="mesh",
type_names=["abstract_meshed_region", "meshes_container"],
optional=True,
- document="""Prevents from reading the mesh in the result
- files""",
+ document="""Mesh. if cylic expansion is to be done, mesh
+ of the base sector""",
),
14: PinSpecification(
name="read_cyclic",
@@ -271,6 +300,29 @@ def _spec():
is done, if 3 cyclic expansion is
done and stages are merged (default
is 1)""",
+ ),
+ 15: PinSpecification(
+ name="expanded_meshed_region",
+ type_names=["abstract_meshed_region", "meshes_container"],
+ optional=True,
+ document="""Mesh expanded, use if cyclic expansion is to
+ be done.""",
+ ),
+ 18: PinSpecification(
+ name="sectors_to_expand",
+ type_names=["vector", "scoping", "scopings_container"],
+ optional=True,
+ document="""Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.""",
+ ),
+ 19: PinSpecification(
+ name="phi",
+ type_names=["double"],
+ optional=True,
+ document="""Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.""",
),
25: PinSpecification(
name="region_scoping",
@@ -371,6 +423,12 @@ class InputsVelocity(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
+ >>> my_expanded_meshed_region = dpf.MeshedRegion()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> my_sectors_to_expand = dpf.Scoping()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> my_phi = float()
+ >>> op.inputs.phi.connect(my_phi)
>>> my_region_scoping = dpf.Scoping()
>>> op.inputs.region_scoping.connect(my_region_scoping)
>>> my_qualifiers1 = dict()
@@ -397,6 +455,12 @@ def __init__(self, op: Operator):
self._inputs.append(self._mesh)
self._read_cyclic = Input(velocity._spec().input_pin(14), 14, op, -1)
self._inputs.append(self._read_cyclic)
+ self._expanded_meshed_region = Input(velocity._spec().input_pin(15), 15, op, -1)
+ self._inputs.append(self._expanded_meshed_region)
+ self._sectors_to_expand = Input(velocity._spec().input_pin(18), 18, op, -1)
+ self._inputs.append(self._sectors_to_expand)
+ self._phi = Input(velocity._spec().input_pin(19), 19, op, -1)
+ self._inputs.append(self._phi)
self._region_scoping = Input(velocity._spec().input_pin(25), 25, op, -1)
self._inputs.append(self._region_scoping)
self._qualifiers1 = Input(velocity._spec().input_pin(1000), 1000, op, 0)
@@ -556,8 +620,8 @@ def bool_rotate_to_global(self):
def mesh(self):
"""Allows to connect mesh input to the operator.
- Prevents from reading the mesh in the result
- files
+ Mesh. if cylic expansion is to be done, mesh
+ of the base sector
Parameters
----------
@@ -597,6 +661,71 @@ def read_cyclic(self):
"""
return self._read_cyclic
+ @property
+ def expanded_meshed_region(self):
+ """Allows to connect expanded_meshed_region input to the operator.
+
+ Mesh expanded, use if cyclic expansion is to
+ be done.
+
+ Parameters
+ ----------
+ my_expanded_meshed_region : MeshedRegion or MeshesContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.velocity()
+ >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
+ >>> # or
+ >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region)
+ """
+ return self._expanded_meshed_region
+
+ @property
+ def sectors_to_expand(self):
+ """Allows to connect sectors_to_expand input to the operator.
+
+ Sectors to expand (start at 0), for
+ multistage: use scopings container
+ with 'stage' label, use if cyclic
+ expansion is to be done.
+
+ Parameters
+ ----------
+ my_sectors_to_expand : Scoping or ScopingsContainer
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.velocity()
+ >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand)
+ >>> # or
+ >>> op.inputs.sectors_to_expand(my_sectors_to_expand)
+ """
+ return self._sectors_to_expand
+
+ @property
+ def phi(self):
+ """Allows to connect phi input to the operator.
+
+ Angle phi in degrees (default value 0.0), use
+ if cyclic expansion is to be done.
+
+ Parameters
+ ----------
+ my_phi : float
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.velocity()
+ >>> op.inputs.phi.connect(my_phi)
+ >>> # or
+ >>> op.inputs.phi(my_phi)
+ """
+ return self._phi
+
@property
def region_scoping(self):
"""Allows to connect region_scoping input to the operator.
diff --git a/src/ansys/dpf/core/operators/serialization/hdf5dpf_generate_result_file.py b/src/ansys/dpf/core/operators/serialization/hdf5dpf_generate_result_file.py
index bce482bdf8..6e8847d175 100644
--- a/src/ansys/dpf/core/operators/serialization/hdf5dpf_generate_result_file.py
+++ b/src/ansys/dpf/core/operators/serialization/hdf5dpf_generate_result_file.py
@@ -16,6 +16,10 @@ class hdf5dpf_generate_result_file(Operator):
Parameters
----------
+ append_mode : bool, optional
+ Experimental: allow appending chunked data to
+ the file. this disables fields
+ container content deduplication.
dataset_size_compression_threshold : int, optional
Integer value that defines the minimum
dataset size (in bytes) to use h5
@@ -87,6 +91,8 @@ class hdf5dpf_generate_result_file(Operator):
>>> op = dpf.operators.serialization.hdf5dpf_generate_result_file()
>>> # Make input connections
+ >>> my_append_mode = bool()
+ >>> op.inputs.append_mode.connect(my_append_mode)
>>> my_dataset_size_compression_threshold = int()
>>> op.inputs.dataset_size_compression_threshold.connect(my_dataset_size_compression_threshold)
>>> my_h5_native_compression = int()
@@ -108,6 +114,7 @@ class hdf5dpf_generate_result_file(Operator):
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.serialization.hdf5dpf_generate_result_file(
+ ... append_mode=my_append_mode,
... dataset_size_compression_threshold=my_dataset_size_compression_threshold,
... h5_native_compression=my_h5_native_compression,
... export_floats=my_export_floats,
@@ -125,6 +132,7 @@ class hdf5dpf_generate_result_file(Operator):
def __init__(
self,
+ append_mode=None,
dataset_size_compression_threshold=None,
h5_native_compression=None,
export_floats=None,
@@ -142,6 +150,8 @@ def __init__(
)
self._inputs = InputsHdf5DpfGenerateResultFile(self)
self._outputs = OutputsHdf5DpfGenerateResultFile(self)
+ if append_mode is not None:
+ self.inputs.append_mode.connect(append_mode)
if dataset_size_compression_threshold is not None:
self.inputs.dataset_size_compression_threshold.connect(
dataset_size_compression_threshold
@@ -169,6 +179,14 @@ def _spec():
spec = Specification(
description=description,
map_input_pin_spec={
+ -6: PinSpecification(
+ name="append_mode",
+ type_names=["bool"],
+ optional=True,
+ document="""Experimental: allow appending chunked data to
+ the file. this disables fields
+ container content deduplication.""",
+ ),
-5: PinSpecification(
name="dataset_size_compression_threshold",
type_names=["int32"],
@@ -321,6 +339,8 @@ class InputsHdf5DpfGenerateResultFile(_Inputs):
--------
>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.serialization.hdf5dpf_generate_result_file()
+ >>> my_append_mode = bool()
+ >>> op.inputs.append_mode.connect(my_append_mode)
>>> my_dataset_size_compression_threshold = int()
>>> op.inputs.dataset_size_compression_threshold.connect(my_dataset_size_compression_threshold)
>>> my_h5_native_compression = int()
@@ -343,6 +363,10 @@ class InputsHdf5DpfGenerateResultFile(_Inputs):
def __init__(self, op: Operator):
super().__init__(hdf5dpf_generate_result_file._spec().inputs, op)
+ self._append_mode = Input(
+ hdf5dpf_generate_result_file._spec().input_pin(-6), -6, op, -1
+ )
+ self._inputs.append(self._append_mode)
self._dataset_size_compression_threshold = Input(
hdf5dpf_generate_result_file._spec().input_pin(-5), -5, op, -1
)
@@ -380,6 +404,28 @@ def __init__(self, op: Operator):
)
self._inputs.append(self._input_name2)
+ @property
+ def append_mode(self):
+ """Allows to connect append_mode input to the operator.
+
+ Experimental: allow appending chunked data to
+ the file. this disables fields
+ container content deduplication.
+
+ Parameters
+ ----------
+ my_append_mode : bool
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.serialization.hdf5dpf_generate_result_file()
+ >>> op.inputs.append_mode.connect(my_append_mode)
+ >>> # or
+ >>> op.inputs.append_mode(my_append_mode)
+ """
+ return self._append_mode
+
@property
def dataset_size_compression_threshold(self):
"""Allows to connect dataset_size_compression_threshold input to the operator.
diff --git a/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll b/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll
index 820e11a95a57f3dc2c7d605bb730d7ff93be428b..6c2607101e316e6a38407eef949dad1def9b2ec0 100644
GIT binary patch
delta 3650277
zcmbTfc|era_dm`IJkD6)ptz)^plD{1nB>w5Ze@vL(Y}G1OGRN>**++l@dm@Skj^1Uc;l_ToDy@Njm4AytM3A&qz;h*&5II
zaq+D$M!k7SRMd_cFGc;=gYrdhMeU|*?v|)^u|87`E(LEzg+BL0ZF_u8)S~-_CJZU~
z_nN4qkiY7&HBlKPpntoesn>l&2lW|!!@QesK<-U-$cYDdv+OGGkntJM9vu}$qzYW$
z!PWZ9h>FS>eZ`y`<{)qO>xZKDm!hIx^+!eBP`1T8s23Xq!=ifmqN2u>ed|r^33H>o
zV4qsnD|%2bvXCr|`V!ZSs`1f#ocM%^TcV~GJMnz!7dNqLRL@&8y}=dk(!7|%%WBUZ
z=*|AVYS+1KnclISH?VB~nswf?$EzM)yY*~u^WE-sdA_W&Rlm)6>EIVVyjfGKn*UzX
z!~5~c?gcTPx4eOqs}mhhnaBG96EipZJXgkh>qb>yJ;0MN)cY9cX1KKzJr8+4t-kOC
zPoHSd$JKc!d(yq09n}@5da}Hp?bZLw@RWNz+o~U%OxF*pPoC-tMtg7hqx!YeJ%9MU
zcOIyIdA4V^-+TMrWcB#_d-ktB??TUqJ-yc(^A7m^l=vk*qZ8?WuBg1?^#Sg
zE~Yr{=U1zz-sQPB#5!-*K+DdO&q>RLq^x-U)rH+f!l=KO}n4A+NZD
zC&Xk#@9g`7mbZQQl)uuXg^7+2{98J+=BruT$^$Ze2!$c*e$9
z=Z%1O(=zJAlke}DP@Qmu^GB?A_+iz(Mmeh!ybm!gt5?I+;(nuIHbrF?4?Z$xQ+3=a
z&dn*_tECVV;b`=OHWOY8>eP@{P0Kn|*P0^Iqq&7;oEo)#=|k
zRsFmlEhX)lZpOVaF`kSK(|SC8hPRmWvRriT8(Q6O)rZgMF?yNTFV$6F@qUkqBRpSM
zKmK!%d%a#Kv-;Ryd(=+$K3*W&{1bgu(Kq_5tG7(_J(+OGwqG_zP1+n4<*9YYoajq*
zS7!S9$J~cZcXzt)uWn$Q$uZuSc2(as&-Z-~^!lPa-(%jRc2xJe
z#&>d0?|1K3XWrzi@On>vr~1#Eecw3V^WLc5eWx$a;|}!
zulK>K>W5bP9`JgmQSR)rfBc74Ke)=5ILLdnv3A?DzPMoe$cLk*uZ)|0(}t)}(?*AI
zOWU1M(+l4`YJc-v=R`F$G)ymSIcn0&4m^7L%6^9n|MwfgUn~3uuAU3xPqNEUvB@>6YoU*Yc*{wiv5+j?$5h4O>#bykZJ
z)k#5(2z+uK1nNYfLY=s5Z%}@v%{M*NI-G}WA@LUrzk>NexLME^Fk{>(0^EWrB2c0Vvby0{3O|$&1qs5>
zQ+}e&?*Sc!3JEzHYVH%!z!{f<@q02|q>oH8$T2L6-1eCVrvtW0hYT
z;Rh$Ze27?-Dgx8VpllInIiOw;5t#I{F(_bKKwX+F{08Nx+I-Wat;swD_fY+9FNzl&
zxYI9@uD#aXRp}e#O@GZjSm{glem&GZVx4cO_u#8;`a0iY_+#x;TF*E6lhD3Zq3~ORH&60OZb*b%yY7UIBj7
zIySJu@PqrCYb*g1T9ZZKlR^lr6@dy>P-*i`U}{fdgE(|A7JiBHgErqp)}6wSTC^dE
zP%Hv@Dv)Ihm@%&ufy0);pakJ(DnHTYo5)%!{G_Ge@2TV#rzpR5i`C$uX~6;!m`-k5
zB?7T3P-6>FXhk4P7ydRMCAI%Vy+I%xdMjC^bfS)b=2I2>4HO#REOlb8P1$RRr
zSp+InL8{F+leRUHhoFE~+qM_D#U;vbf6Z#Ki5rc=53VDDIuXcIfks=vgw{$C$RK{1
z@H3TPZu3nbbA`X?F7W3HKSlZZVSW&^+KllM5m*<5K$-}|sz7>J0DOA7z!01-{C8+h
zL<_&=2lWD*ZwyKo{wk`!>3Q*jAA&}p`PHsnlqdpGB(PQlDpWzG%{OD*K7@zhodWO|
z3%^A9!EX4?;A54Ji>JkBiU{PXK$b0F{JusMOyp23{7mI1+I%x7%7tHWJL=z4Azq;T
z*3I1Dpad2(1VIs)eJ2E}L?BiLYD7TzCbH%Te>F9rQ1~q^>IK5j$cDu1`GI_A&8LrG
z*fNKY37o%mdi~Vl85qVWH-CdK!E?|ptM-k!Vk_cYF%xR17hN)ZV!iWk#9)d^#hxPP
z5#ZuUF-6V;4E#mTDh9D!X_0d`Qf+~tvkceJ!;hf3g>TNjxDLTEV#C-^-Pl9?M|ys9
zr`+c6PT{PpBMQ$1W`)xjKw$<0RX83gQaBdZ(Ef+JRk-~V_tlNQBR#*mZ7-vR?{sP5
zZx~E%;m^RV@COD^NULt~Bvtq&Ql#)RTtg>xuW;-qZeBGjT$_j%)^|~O?^O|n{{m)(
z%Namn0RvTd6H=t`dR#+A4|UtZ`#*M%xX6E`_m>{-Ij{JKccbyNYa<#b1GC0c7(nAh
z2C8v1Ql#-{TtlC_-D>>$W4GaDG_lQ%9_k-4^X)E8+=%(BefknGD}0^-6h6&B75*D3
zQuqk2p;4|oZ<8-6xbqqaIX~fZ(BRG
z?A(dsz^KgOvq3$CGoLPYUL^@alyT}ZHS`PI1uj%^mdw&3dElgALt$T4Pf!4
zq$1~g&YLtG#gvEQ<59eyi>DSj2c&p9iYX7p7ohk@E?!vV{3^wHfl&_Sq4@T|sJJ#N
zURn|rl@nFu9OV3^tH_Gp&JUa_TFt4rRwk}PqR1hkK>X76!V_ghZwil$EMB?;35o)+
z`a5KV9&dK<+w2<^nA{{GCkgQt^3b&jHu7-#20bZq_N-BvGU}s@}PJ-i9dZ
zCyF!+fO*bb&H!`fQU^6_y*{*hqu+M-$}Mche=hTnSU|VB)~L+5HDbo;
zz--231~B6k1~6kH1DKJ<0A`G405e80P%{#d3SEDn>^?
zX)5{yHb-)D(BMzp-gUl<
zJ^S4|?!dZ;`!AY0xZTpbsR}&Z&;t_1xTk@6_N-;#H#boaBSp*M1Gv^ZkK&X5LNB<@
zb-tONkbBCV{t>gf*8E?LsMbt(gIx2Y47BF^kfNGb;#%*N;gf6rvDn?+&p*}s&OY~=
zI^XcDD_-ehb|JW0c@UT@zmQLo3*Yi(d-l1n-HsmF)TQcQ
zu>5M(2WTm#`^)bcXw_dKMOA-+YrV4vpIr5|ZsOa%#9)6oMzJ#npPP6ci;wFIEKai>
zH=^n^PcoJpgl7rUeF2v5Bhka`8Iy{pV3CibH0s0Wq(JW}>yS%}{6wwN>ged^uM>wV)r-?+)mz7fIdjsfos+*{La3QbwL4aWe)Te_j
z=fBIglzoMMS>Mr?3$b3PE$7l|Lf$l+0rd+5>K6vEWfB9mWdc&vFSxKRE0%|C$t?an
zd-~FrZODf=+(g~!tXhbdN9uGpAWNL?qWPG3=JtFvV{y8%gpJePt;>;dI!dELeA-U8
zDu;5P#i#9b|C00+^0^*xy5j$w(=P1wk+?`y!u*g|1#pH98XMC=Zipl2!dSAQ@IiZywxc_PJ
z&G0t&aQ}JUKYZ3pGJe()aWXnV1L8#L78=4d1{x4YAw>ak1g`bYG5F-+8eQn-zVFNQ
zG)t^~u}js*UmU4=3@}%H368%Oboj_`*&0<5{|^
z!kciDuMe8n^X)%+>ly}7xR8M=ybLK)coD9lp8p>TYuv{g(ZbK&rcrS9$}TPZ_N<7)
zuYtLRUoe2ePZ+4e50D~-@8TM|u)u1eai=JJZ4P(p&+~i?J~#0r7M3tzcvCR9*x8Qm
zQFnS0xah9ocVSG5og$iS=85-lA{pO0i}LAK55Bb;ixj1coiyAjlW!Fu_f6=GraNcn
z6j(;SwFmNo3sRnO!6qu^Wp8|uLva>2b9{@?+j*Z;dehg)M7rrSs}@xf>bKSX
z<5vGL&ui}OTYW>_$CLeiy(fL<7QTzHTOsp8A6*BY9|^ntfO%5HGr*)clmWtS4+aRk
z9tIkA4`P52b`Rh}eDhYR3|!
zLVaMz%-MLou*tGx+$-{W;bVTiF#nm3c0^}J>}a21?D&%b?D&-d>^Q&xc6`qOc6`eK
zc6`M^?bwM_XzZ=-B_I2S1y9RHg-$L$HIhsPmUY>SbwUHl$8)Sea@|E#AdB?-D9}K1
z0_9tQgwn;%p{T|VB)cF{?2LmIlLBdxNb(V~HIn>sCgT|tNd9IV4kSGubTft_kUZTf
zknDxoodQYbU<49mM*>MXQYMi67mx$VbDYP4gz`)vd4`J-NY+U)1ro|Lf#d})URdO8
zkYWlXlxG4-6%}hBspfnQB+qk714$(ltw2JRg!aDS4&06}94Bv-7sESTdNDlfNtqYc
z(mxuVsEgUrJjj@$BN$+6Br(vnr9V=%w)DX@RJ6o#H{Rx-=AF~zUb+y^Sx=5e^zJ160jYwmTETkx4L)B9l$_scrm4E?u@)yLyGMe80zPcc;YF$}csp-55P
zgK@9jr{wjC(*S_SzYdZVd+1>jZvMpajN_`Dbe2w$O*QA)<
zPd~%O*smTZ6bsI
z-N_($Q`jK#HS+xf49Fk`WDo-~h(XvOq{tv#*r3z%yXl
z$2%JHAqG{Ad7pFVn3B{3|P{e1rmBz@O<9R485S6rR>GsAMBu?DT_e2sQd7
za7^4xL!+Sb=`1Ov1^f%f;h=Kfzs_-gx}oQ=!H;!{D)Y|h994q+9=+Zffs#mINkqy7
zmf?ULSdQU54lI<1VhSvyxEO(Dj1*H~p*$2*U>VKD3*oX-Oo4^+P)va(?Tk}VJ4cox
zX9DMIU^$jk8dy@1Dqd;@7OEsPuG;-$4_;)xBMa;!GCi!t`!RI9t|t!x^K>m^pzBEy
zQna2d$F<%m#wX7PEU@4B292CSTxT9WHw{NVy7~-Y3_Th*b@)VD9j1rI-{Z!gT$2o-rM;I0N6fr7wQMsP)CtdE@S{dn9Bfua2W&m!G#Re
z53-PgA56!E{z4EvRrC6I(eL&DuK5dF{_iBA3S;N9oAFRt(>COy=tBW{Mn
zckPH*Pw>Ybg_1}=9F3Iehg3lBhw%WRzpJDlmObTW`ta)EEw^w3p7`7@1O9K^$m`wO
zBf#7h4=_MitYV;dYj-0>BfkvS&@&6etv2sEsNLBl;9P@G9saX`wb_T5@$bL<9QU{n
z(Qeq&VFDa=a(C^{I|=PR$!_;&NSSsw19H2+1qj{olKW!FH!$FR(pot`deZ$ggq5?-
z?Y+Y{V*Z02CqvWJ$jaFW%sucf1N6XK3@{mL8DKJOW`LD*BLl3QFEY@T^C_f4-UV*S
ze&67cbE(L=1E1O-bAYu!On1yLbazjHJ3P>-H$K5gcAW)}jqf}Q{uP-8r8)~9q*?I(
zI(N=@z9WL=`yRqefwoT0QO7`K&i71d^cP5Rx|jwK3c*b;S{@K+H(TKFZ(57>N~
zIpAlT`e%dRbQ9N~r~KyS-E5&w6@hJt!lAVykf{Qd%PoV*OQFCg{0!nR7JiEIgEl`_
z_|4yPgX77dDL2U$>R1)XvIQvEK|zfOWMKUWC5VESji!eZZNAy(=L-M8Oz`*I$SrPA
ze(POU19S^@z6h))1yv$Yp#n9wfY}6gzVK&LiwlKcqWn^u-&YziLHJ43;%wpPDL+RMIciJQfA`q(r
zjkbW!xx#Nye!k7uEz~PSpn$qGO#~`bAl())
z2IUK%dnj7?CCU%jeA7c&!cQWDnih)}FrT(iH!rig$c%BS)q=Gmkf{nPyWt0fUrP_m
zi-n(}{GiS6DMQ@)4G-CvAPGznfmjvDvIWeXXcU1Yith=+Z&|NiVDrroR0@9)@%LOW
zUZDKerQrrgwosQE1!Pc_2vn#*O++BPL%H>9ZozDt)rG<@QGTh-H-YOt;YYC-2tRNA
zok7_`ons4_$hFoeph=f30-35H)#e+&4+=knz2G|W0_C?Cgj+o6WfQp0Cw_2c+&b!_
zIuVFffks=vbZM$6;7M90{FW;90-J9FS3vkYN#_c`LHYTHALLEnrUm=H;x5f4gVIEx
zLIu)o1!jkGjqu~iYodi;qWpl(H0?oJ)3-2m7k!ytrtRe+#
zMIcl8l{Vi@(tP3bBwZ~06y*nPzPjaCL77Bk(G(GgRe>y9z(lT8QLvjPX@c-uUQ#cx
z`6f;b5I#k^&>ng~TN&4&{MI|s;GmvRGGlyjHye~e233hbg$mS=fb!$Tk9P|H0Pzcj
zU!wd{n{N!N5kB`&Hu$tTI8Oy~Yys0nEwQ{c+D6y>+y
zVKqSb!G1X+Fb1zpLv(H2m*6n-u7%Y+}R{BoPGr`Ci&oA`5u-%^Po
z;KL#Lwtxu~3q*h;U783qkN_PfNw@iCj87N-I#LiV{0ijW#q?*vxHWh%dY2{+gr4l$8yicvrUbs~_W0*xXdheM3tCkj7_y+HV}$}hM1CU716
zgd4!2dM@*WaV^iAF3qXM^OV3gdeN?M4PW}xl`s4@%PMkX#I(6sW3y(dZX216S*2ipq3_S
z)qL)u2Ibe-d=n?Cg+H5ms8IM7$}hF~JjB73{ag`9B8##`phN|7YylIwmI!|v@sow0
zr~Fi#Zw$&2KKD@DJn;hMw+C;qT5P%~T?7_Ui|a%nMFkpdz8T|0s{v)gk5ztoH~jXG
zc?ja^HBjHVBGB@jdI1F7YrgXh2o~V|cqmPZ8?-pxu20u4sc#Y07cKk>TL;
zj?7ge(4Yb}wt(r8P57>MY7JS0z
zxYjgByg>QQi|oj3#(3X$9se0jO(4<=|{7mHsZN4$6Quy3M
zQ|3ryPEmm@TflTtsR-;Qw@eTPvC2=h`DTpstp@DL6)$*Ny&&Ie0P~Yp_RA81f@x4t
zB?1j9P?PT--s&3|JV3A13#G6^3rp?VbfGfVQf1k~FHwGu%{SfM`XP7s7;0Uz@bi?P
z8s=M3s!;@XlR<4cGUZjE{aUMeCQ7AlV+Gr=p(9i${1oLk+I$nG4i&zi_+`S6eOjYb
zxh-I#)SgCGun@alLUTo+W5ek%Bp`$sdz6O2LF>ltdhM7%%++OM`+Y@*Zv;a_ke_;tchQGTP%HwLx8
z&qJ0(^_N{DQ7Tpi%54GDMa?3x>RbrS6$LF%s2A9LGsZQ-zknuPn(!NxpWcO!C{->3
zt7#>Q7J&*C2wd&H*M=zd4n>`&i)G4dVe?g1cjz)DmBnM5NocL`^ORp{^G$cB3xD@H
z;4c<_rt*Vf{t1zLsYDSNL$@wdL?A^4vP2-VC-?GuWV84ayjlDTJmPga?ll^oM$v}O
z&KwQQUyzPqfGHhNRh%dxQ3pY-mSv>SGfP9FTwxorX7N_kX;qtjo_v&Tn5Yv?_dCh
zH#1O$*CIs;~F}ndyQu=cQ4t19sg_PKOo=>r})wA7yUiXa;VzVEuvvQ&!pLYiG;rSbATOb{tzm4;F4-w^=
zJw&%~@zf%xK#FM(5#^aZM0axWLLBOmV%kGQd1en$ArMq7z*uz0Vl0wZ++SoxGbG9?Uq0CqgV0Cucq06QLK06QLJ06Xqu
zpmwZ4D)jRt$9?{C*im5F@x)Tu?*BM%_n(hDYTJ&(agU&O3;3`Y?bUaSULGp8@QM
zW&k_>!P;Lu33mL!K<#LyTY^55+|Nh&6FZpkQGv_^$CQbL
zy`j@ski*`Q4CQ}@OeB*0&k%wV_WF^iguOvhi-f&nFOsk~1^12}!d}U#?h9A=$5X_P
zguQf%uJS)arUG)L5`31M%x6jRuvJQMb20TxeMSmc~5#T51^&xE~f
zD%P-fKId!Lo5?8+ds$3ehcJYH&mp|^91x8%4SQr{hp=}hGD2V6?Vi=wf3fEwIlqXz
zEt)#k7R!^-?ey$JF>WFa0mZm92D-(P_Jh)TNPA3iG!mcm7sC0)e*T#rSI*^M*`?;=
z5oNSyy7%Lnk71xS4@HV<9*ir_8Q_y^#<~1{{?j}U%GvqhU8_z2Q>zXDbJd41(5mT6
z7^?bzY_u0CuKL##=kn45(iiP`@yseqo@t)FVaxf(zSn`tjj@>3D3u2k-DsO1F;9$H*4%++ycD
zY~WRA+rn6!?G3`l+4}1;WRA^Ky4Xp=r|oP>WSw&&K5b_kBx&|F2gl}T%w}gxm~(k2
zXFK{>J~qEM#rCykq>Qh91IWJiJ?F8nQJ(R&{ag%RJ0Qih)KH%BwI8{7Ax=6dg$a>KBoss-MTT-l@VTS3UYTH|Yc4
zpyfOO2mpn@Gf;&;B1HgGjoWDF3vuczaml+QnJ~%({SSk?jI+jSryS}1nXq~~Mbg@&15JTRj2j|Nu
z4mr<{6z|f5^K=VMEIKW7-AL=;{EbWuAD8*<%m+X84I2`BX(y+90P>yAyT;yt^RCFI
z_uI1IWg%sp@EkyP!izbNosja36JE&0a6$@@X2GL8|DAHNOhkQZeFj6Jf%geu
zo)oJYU{XBF0D<>G1_-?OG0?!f0x1OE0$kYN&QA$X&B*Hb($)4NaQ<*C0{6K5zf&&i
zXv=+=-D=B9p8r^o?qL913K_tbI~l;1TNtP<`AET*g}AUSD~{=C3!j^R<4R)-pPT>n
zD)~oaEBGIc&A+gtIWy8Ck4mQlbJt8}0CP@Z0COfXfH`Rl@TfGJ0Unh`G0;b)M5ID5
z9Zmo5Y)GJwZODkL%$tR~<;_ATL((v&`plL}15S(M(F|b72nH}Di2)2boB<5!&j5z>
zW}t@nkP2-dg*OX1c%olm^~kRa<;}u!d9!dq#|~LMEMiAKFxznz1K2T-0qn?S06Q*b
z06WfO06WfNpmv;&ROsiU@ClKH^lK;l85*FbV9
zkxU@jI)-rMKX6dG*m)ETJCIzBbg}cqP|i)$gLiTB42>eml~Txud9Ps{4kT|+J;z-d
z^bZ?+UZ+TMW~
zB1JX7g=@X@9zMBd92qiKiE>xt5=9Q1fO6TJwuYQO(ceihCA(a?QPl
zy9FtJ{9ucm$#SFCWE0LnQ=i!Qf?1@jVdsedJzIZ2|Ifp>X
zxd)%>Y2N&PM5C=W0Yd+u2T{Sm?Zu{zLBA
zu(ORbG;+54q>!EM0mflxJ2Kr(Iv)R};;hcT23qG;n|uw~maieDz6L11#(CmvQcMS2
zPvBzmH7RCalVY3!jXRZ#$=9TqeNBq#fa?@04*MGChkcDxVP9jS?Q6&gIeBt&{_-3<
zBImdlrus*E?r`thg7be_G8uIBZW|kRtiIh{T!U*12Tv~*dV0HAY9lWUv~zbeW~3!PmM+A+~V%p3tKWf+A`}efGyb!V9P89u;mN}YD+p&uw^1HY|Dhf;m+y!Brt@Qc4y)+>)`wm$dZ_HYkvwI
z@+2?|I2=>1!}Ep4lxajV3-}3?Z^aZ!7dr`qJI0hfM^Nq)n6!u~8d8pq`vTb%dUydh
zg>-QK8ph$6(*Fc^%uf6_jv1X|%CCuCVoKg&coIN%B&Jj%Wn#*DK#nP!Igeus<)N5j
z$|f#GOsSP(iYb(bVu~qSxOgGFRf;L5P#%gYrqoff#*})_*O>Aer!=P2Fwu%BR7vR9
zdF~10{Mnu*ytZbYAydOzwo}mQx|SRT%(EkzfvzP3k)pMvAFlPz;rQg4aPJ_;y>5kn
z;K+V72*2V}j|qPYjB!Wn!l&kc8-I>_R*^q32^MsCt$r9HK-Y7^c}sf69d(#}YWiKI
z%&F-{z+yTz|1m)5(ktY&_}AyVE#v*;y*HW{Z__(^fhQ^A1%Fdlkw^Z{0AA3>0ABDT
z19-uH2I>XPNWlv}!G+tt@362JgpbXyB?*THh5BJ2td08*5}i8Yym1fi^(79?KfO~w
z_~Gnb`=O!;=cO^}Bd6wHLCW+)4IuZ!+W?{0E|-3oe4bk}5w8IjyLF8S2B&oy@zKeV
z8?~c>xhF<2Ku;tw&>OY>NYT*u!8LT{fN-O&Q}cV+@BhZ94*yr;_B{MOCz2OW4}F}*
z&2F96so5|0>8{x&w_^BF5^45TNSS8m19G!(0tlTlM-I)uagMcUK5(x5yP50x-_0z5
zQu`~gxrav<%^YCvfQuNQ1I}fDsW6)Xros#cSTs*#fJJi>16?#HAQgI}pW{A$ThGBq
z4nl=a9I~`KenL*CNpR#?H!0*xN}AfKHx_m~2|h2uBtS`|HwGbPdLt2#d*eue(8?V5
zKPUP72lo!-pW%2ifV};^F>EX2e$F?0ikxx0s|UL=!y7VtVp8LnRqBJhbt!}1`P7YI
zsgy-Vs_}ShFA#-6@DCOK0o?C}%7h=wd^$8-ZVS+Z0R;9uAPPuet_ZZKS@||!H~a~I
z4BeHa3BN)4={BF%TGa0fe|2y;1foTtLInc0K&%Mli@+kRZlR{(+~N}DH>X)GrVt4Q
zSw;aFv{v|e%CC&@acJ1IV5A7lCW97>K&A==BLb6N)(wCE$2}B922Bxuit@8;zHayv
z{yM5ZLHM!xdT2P&7SIiUB2YjI_9SzQTdvg&e`Bo{(+dZ*xKjA>q@YUp4a%>v`MTkc
z_&7A2K>~#$P@w{)wt#N<69wBS!ek4-MEN;3UpM>-KbM9eS@?O%Pc?iwG;GFrf(VQu
zgW861i!)WA{Wz<|@zUY}!rx8&I^m}%ztQIFhQBf%GVY-=;Rj)RH#6}7BGGv6a}m3X}oEuc!Bbp
z$5=gN=0uKZ0M)-%_<72&B!1^Z!|5WhjRY2pK&A==Z3X5$MWRta22Bxuit@8;zBb@K
z9)fi=sT07bO~0`!kZ22-$aS#@zd`vmHa}>_
zIAFD)Py{Mepwt#H{MLJU$X4NAJ(Ml{66NREeB<|x!jB?;vheeW&xeLnZ2?`)MBo4k
zv>hQ{pbFZLv07|~pj7x7)Z#kfrzpSC=9|EkFZ|#E-1vveL?BiL%54E{K?%1wi2}=9
z;kR6=USRW0;CfE@+t>?)-=O^TFrN;6n8;OV6p%o)2vn#*AS?jB@%tR%$Fmn4E?%Jg
z=A*41GJ$J?@C&Gi)(SuGN&;hRGr
zCUPwhfm~h-M4&H&49cYzM~gs(3IuEgW{h*J1~k#LKGp)|H;=S>
z$nevJA4P7z_Aoj0k*5Ncwt(^bL=jj-4{eJ@L8kJ9Hs8#N_97mFTv9Ma_$kWIviUp&
zI5gZW0_#X1K?Gt|Akh{uk*mfiAcOYMgFe=R`RWBnS}oQF+`|T~qDfsP{08OM1Z@Em
zx&B%qlZd@Q1S(XZ)aIMO)g=5?6(>tQMPDog;jnq;-I9&ud(j|yMtO_Jr0{Z)_BZXf;3ik9BFStUzAlYiM30ywmkD(#15`F{ti2ry4
zQez7kgIbqI{J2mADpWzK%{M*NDEw{Ymf6BDQGSliH$z;>{4?XY1<4|irvjEkV3M`R&7S)c%W;`~!l!@kTvVC&ejR+=$}vD6+&
ziP|?;_$_mF&WHKdA=ZFVKnA6WK!XaThXrsyW8zePA$NEbg^}n^{D93jVQPl(*YTY1
z!~Ib)SMO(4BX`2*^J{F>xwg__d^o^M${f8W1h~2IU8AzA-3W
z_}oKH0lA;4P=V$lUArhz1Tx5=wE^zZ66IIgd^5)F1>yz7Uo8AQ 39xs$si9(yN4*}|_-evZvIQR-3QPsg5-P_pn#
zay3e&+5#p@Ef#^Nu@5TL7AI3)6|^5=wb(?dEaAUHVY5#7naXdp`6fz@1fQbRHtM1>
z5lB&ia$CT3Y5N`A;t=hioh$rU<>%Xc6Q!Dke*ilTLutZq$bC8
zpzvh|s_+G*Na3@%hKhdczJ=rDXXDQ{KO5gw<7ERP8ZQE7jps6e#@P&1<7r5d#>u#b
zKK->@jbEq9&&Hp{KN~*}Pe7fT*dHsFHn9&dE2M9;izh*$pMfg;2VZQH!as2hjp|Gy6fmO&cw0PrNpG|M{?T!5Uz9wwx{qu
zBsp#GaAq@hibal{j+(}TeC%{ILq2wT8%y%B(*lC#SDQ)H{A#n*BF9coiFbP@_>=qK
ziKN5!nExGRezY0i$FUCeVfu
z^8K+4FlmlufIS?viG+WCHkkqTa13F9JsblW=pK#$QlZO#igE7*r|530<#_8F@PO=8NiO+46v7E7X#SwF$37~Ap^Ce9;wi>18&OAIOJ}d
zF>Z`|LN2-^)4i?+-GQ50+l-5`hN~Ip1G5=tGk_U08NiI`3}D6-1~B7P1~B6U25Lqs
zQlT}i=nkA!=r!8vj(MrFwPuEFt?6XP;n>-sb_}3xz%(p<7{HD=2C&1=0Cq$(fF1wf
zn^-yX&p_>Hr7vjT_%X(PycdQg#j@k0W8FXIpg+!ZkBh@8cii&Y{jn=PV#iKkwqrX3
z*zrCC*zpbn*ipv-c5GpQ{@BDo?Wja5^z{#JN)Cp_He=qg^79;L@XvEBz0?d8l$Oo~X@n=_3C
zIqc16$YJmMUPR)scYvUTy>m%a!rnzvi-f(`{BF^q2z$6!>k#%D`byYaj^G>#dqJd3
z*t-jm!(K7xaoD3g6jRtM;$nooRZ>i0kMdAVVeeipUWgx^lwt~dl!sypdu3FtVbA4!
z4SOp&rD3m>i4yimDDqE6M46tpCnGzAy?-Gibj>*T^?Ck_y{GkXN3ZEQd?s$uX!2N_
zGjB(~)AJ8SxtnPW$ek85(9M}wB1J3WJY2ESAD{FW`o}GukK+l`+#eczBWB@Vu2ao7
zU@B;|_h>H#qn$rhcg;x)H;QkwO2EJWbgBw!y8`_<%?s6+(vp4xS
z#*qW}ltz8%dfIfX2k!l3lQRsTv^QA~+Bd%oj?
zhsw>7tox}*83#BXkR9M8&Xa=-QcMnT0vE#pGNhOfGDtBwz^Pme2bd1%MM!6I6upvJ~PEPdcXvA$Lk*K>fmi`h@}Y3j?*qhZOY-E^N!rufw)N@b*Gct&pLNM6p(##eM!Q--wxkE)g*nouCoXPu)U87|lQ<
z;vZOvDI)%gYrXRqK6$wAbOVd9NSrLOwpW*$WBietqky^QzkCF==AV$Fnt#Bx-f6=p
z*Sw_}vGxP}mfg>T<>%v1lAn+7s$+-~dHNd!%sTopzyyqEpih52kRoMXTthvZ!*k6(
zc7Od~`Hz4n%6|lm>(Z#xFvIk5b22{zpu0|C0EH77sKU`mk;0>K4PE$U_X>}Y{|I;@
z|3|=JY!`(a|5+ba_!2O;@OcJM_%s7m_-~|0;Ul<)p83L3*zvHT#M7?A%nLwUvp|INj4!6&4cT#)jN3$CSNUiWb9
zo&s&;*!|<2(i^{WCen?cId)H#gytP7$L_Zel4JLAH~RZ|Cz$gnhseaxRdPT2SOf1~
z>TmMe-3%}*b}>NU{g?p)?}rRD@YW-Rz*~z8``f@~nLWW!#jXvSiUsXo2s(}2?uUBv)q%wqsEav8vkiy6R-
z^BBO4vlyrury~`*{1dn3DLh2>x6D{RKwdE%ó^yp|t)9>rUW;6n`8SgTH8E-Lw
z8MO>x#%2aEVNGOfp&<2A-ga(r5kS=x{m@z4Ed?b=QVQ3UdwjPuyL#OuM
zXB-YB=e1?a&)qtmBFP5W-6@i!yn&;@$c{vke56byxdD(P$!(m+k%aP0B)Nr)5lIT9
zm=<%&Gm+#@E?$WLQz^w1Nhr@ml0quhNV0`!2x9ltWb>^Q(cSC?;*qSfVVTtlC_>u>W<_l$AlKEo4Y
zbeD?1!Px0-#cmo$n*F;N=;Hq&QdHmjxYj#O_~ZaEWQV)xc7LWP)qNjT&-8Yw`Uo^p
zt3Hg{PgN%{(5ibPMO8bv);ovdldHbWO}ztmEUE6wU8vd9rREr{f?9JFt&vpoUxyIT
zntwuyYW@LN+_B)3YyP*}N;QvmXCC7pk=3>4S7CzI{4y}tT*W|Zeg-M3`3YR>o#*h$
zHGlbGjO+Ov&z)g5h!A!Kb=f1+ci<+18qUq`hVzhxJxnZLqaw|AFPzb~Q@lf6F4$
z*{*gQ#X%}nf-a91tIn%$n=@$Jk8(7N+9WLutwlzJMV
zcpB%4r%5s0Hs8X<eu%|K6TC=I*
z&;x_y(EZPGc0leW|Jd{x{>P>Z{>kp}Rxjayk$@Zk=BaQ91Gt>S00B9Q0Rr-0e-Q@(
z`8Ng#$UiaAfV>Z>P@l#a_x&$@gQM?{d>wsehd3XgSUOcSq&Vw5|`Y)lUGk^3@EW
z{80u_{vZP=zmI{g)hm#~T3vt(&&>%RbaUU(N4o-(d8)f)8SWd7cB{7HFzNp~+Oie%
zO79!q0%luk8Nim!3}DMf2C(Ht25QSwNWqrXxUek?-tWei?XhN9*cLu^e`z6(-H&n$
z--SVcbutM46gG&wjoiPM0U5-A3}QeAF$f!k6d8mI8{{^0W6;-!+6E1{3;*ixC`{zE_SlpI7Wn5@MNTmoxPa1
z)}z2Naf1zw!pbwIkXG>L8HdBlll!t=&xgLDLtg!(Q(zhQTbIDna1I$b&w~}8@WB^x4V*pne%>b@2ih;U9B2sXL!*Jo|FR2f^Liq6g9vTCO#)W!f5Uh>+
z3W-i#@$H^$cg_j^#H3$4^~7}eeAk|cZNkB8lten>Pt0)B5$)sy^j`>ifDxM6+x>97
ze~>3e{#*Yr{%`$3sOj|H{n|eww`*4cb5G1;fS$-@pto!1Aw{EqHm;#R-U>I`I((l@
z0?sM;)Cn*YSX+I_L~`Znq4{5DyI)N}vw!K-?B7G(HT%^aXf{eB&3+as)9gw>ZuUli
z(E9;7eSdbewR(<-k$;4pB>xDzt>au+`%`4~EC=Quc!U9Z-~k4h3#%AlE)+As>UlQ<
zte#65=<2xysnFSP#<(l@`;HiyMrF=Sd}@ar2do`p`eWm6cU7Z5De31<-SKp{v!JE1
z^DMXsJkuRHfZQGPX%-CbCBIqUI+b_stV8e&74E>m;WuoLGCOxl_hd(QO`Gj}?+HJb
z_}RkGRDO=lr#pR|ELdym$30&tS@TYz36z@U5)D4-TB7J=BXfXz31)v|=Yj`&lA-*TiGf-IYF
zcJrkQKLh+=C_w}oR3On7FuUglh`=^#@tzO4#TCkL-EFnljPb$AJOr!Bpeo^)D8I($
z>u=WY6oJ{Kpil(zRG`!rFb35KpL-}<_?gPjvH7Nl%7uS`!eg@VQ9F
zTF|ylyg(JSH(M<>{2bx0q8BE0!fzR&USRWk$`GduKPpH9Wg^g^0_C=VnG=bo1;n2#
z{0img+k7(w?UQ&2GN{FA!Y@&NdW0YO&H82$pw|GQXc5R$fj~qcd|DzsgB2uEU}nY;n-%k`!7bS>5g9;?t0;WrYqJSsq9(o#D8CRkF)-S9Uo4}PLe4eCL!Y@&N
zjp29r&H4!vPvIWQr4}z11+mHx+I%y{jl$;!
zOc8#|F!h42{9wOI5r`tcPY{6y6-cxNOynvR{vzCBhxX8uCcHrTt)E#f*2T;;fayk*ia?$Ul-df+anw|!fDFnOex~wsY`!+&B=G{8)X6~+NKt`Q
zTfjuFt3@D#z2IH(0_C@VYBj(Ft|>+VO}aYaw+vM;u=xmF{O>0cMWBGjxJ(2ZRG{1z
zFp=xviQEDX)pLbkq5OQCZ+f&*_&iC|gkNI#!TssBfQej{MgbWVEdqI}AYk)N=v^WF
z)ih*HTg3~M-~5TyLnd(L2!Hk;coPv?D*`DhP-zR8S$(<)M6nkLKUVocn{NWwNa1fI
zx11vUmL&B8o3FoF9}t0D_5u-TP=Q2SK;7~LnMB0j^Nx6d@>_RWEjEFxQTR#3uM&O<
z@%i6R)Yt+hP*jTmN4i20$WsNSHs6e~EBpddkS+X7<>%OZ6S$TLKRAZEG+6{vR3OzB
zFb3s_0QXQEJyv5aP=5QzR*Ov!r3-%>xn-U3TN2d^!hAXiWyUzsYC)L@G^jv%SRlf0
zpU6Y7h~A*g6@G>C^KHKI`)1+qrl+qo;g=)^jYa9UfUagDu#FT%i$I<#2-tix1m(g{
zq82y3EncAf=8vo%GJz`yJ|Bc4i`I%jiV9TP0@{M{+~U>v_A9iwlY*elH-T%j@IS$x
zo6wX_^=Ap+9E38Ft4stY;+u|8f(XQ_L5a2kbz
z>vZAgQV&%zKN#1b0yVaP>C!|IxEVW2LWQEBLiwdO-vqAqaoj@%_fQel7
z!as_>sb4JoOyvh{zA>m$_y_QfSZIpyQIOeF^DGJ
zo;Sn`j!-Z7&}y;aX9<51Elz!_M4&+hY9QbaUWtSB4^iAHl;R34F1713Qy?Jq?e;={
zw(v`opJVflQ?;gXhp&qPKUw&B%1;gRPei0OfvQmiqUeUE?RA;-D$u@-8yMM2(x>%d
z_lHIP5uRAy$2AX+j-6g?{{Q|Sy5~CR?)pQkYkqv#eH{P5)N?3r7T!
zakS6$S$ge9FO{EQfES6Y8R)Cj2a%#zsrTa=y0Efajgz5qrVnjAly`E?!=qCtjprf6
zsm8N`S>sFw&^VoeYCIJw(s&}Sp=Vy`R^yr<9(MmGjfe2-;w!pp{P93U<9EQUaW4aC
z+|58WevA}p+>UGLkLSD9=xuQ;dSKs8PyR3d^YHA`sfkZw+0rJi0cM4dGl0T}7^uQ~
zks^iv!Zmb8_X^K$dDy*l1BS6D|G4WcJbQG~*dHFL8v6jV#yAGh=x3lB|H14gjepWC
zf4IUN|C&HnIcMQ>lligLalm-zn~R@(_z|yaN68mp`M`V*;!ApqZ}!1m#hEw<(VM>G
zpl`wC_}3%!df&N%nDlj+9RGTNGxMQ6at>nCX{17aY;_AmJ_m6qOY%90c!K6v2T9cY
z>Y&u}3q)f=m%fwjp7{#4q%OvzN{5pWC0_a2LBs)CZ)HDRI#T8bpC4w=kZry
zlxMyIJA;ey71(Sk<}ImGOkaV`;^Kwak}AdY6&U52ufVdYn7>=cudSZX`T7;uOimT8
zCYyT4WigSyTgQJC7v6dio*Rm%^cl7_uluBuMz5jdD^_e0Mq6*2KXA`Wd`^fp^5>%MtFe%
zzD9V4fqsopj#OybGkoG{aC{%zk`b`v#9UZ{|94GiuW%o2TT+M!NkFr?mUZJMLuwJBk>n9kfL%^!1Z`
z_$u&?Wyi03A9g |