diff --git a/doc/source/_static/dpf_operators.html b/doc/source/_static/dpf_operators.html
index 1a1e41dfc86..c749d559cc4 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
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: amplitude (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: mesh support provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: beam axial stress (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: unit convert (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: element orientations X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: norm (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mapping: prepare mapping workflow
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: sqrt (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: cyclic expanded temperature
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: conjugate
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: html doc
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: real part
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: current density
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
logic: same property fields container?
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: multiply (complex fields)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: merge result infos
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global total mass (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: unit convert
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: norm (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: make label space
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: sqrt (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: y plus (y+)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: accumulate min over label
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: +
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
server: grpc shutdown server
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: magnetic scalar potential
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: time freq interpolation
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: + (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: sin (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: + constant (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: / (component-wise field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: + constant (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
invariant: scalar invariants (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: cross product (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mapping: find reduced coordinates
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
scoping: rescope property field
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: plastic strain principal 1
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: -
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: total sum
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: - (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
scoping: intersect scopings
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: ^ (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
scoping: elements in mesh
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: scale (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: enthalpy
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: ^ (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global eroded internal energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: scale fields container
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: sweeping phase
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: centroid
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: centroid (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: cyclic expanded el strain
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: sweeping phase (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
filter: signed high pass (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: ^2 (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: velocity Z
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: reaction force Z
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: remove unnecessary labels
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: sin (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: cos (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: cos (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
logic: ascending sort
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: initial coordinates (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: convert to fields container
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: linear combination
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: ^2 (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: mean static pressure
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: exp (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: exp (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: * (component-wise field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: stress max_shear
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: euler nodes
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: * (component-wise field) (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
logic: same meshes container?
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: beam TR shear stress (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: num surface status changes
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: ln (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mesh: mesh to pyvista
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: ln (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
invariant: scalar invariants (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: cross product
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
filter: high pass (timefreq)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: / (component-wise fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global sliding interface energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: kronecker product
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: modulus (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: joint relative angular velocity
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: dot (complex fields)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: gasket stress XZ
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: / (complex fields)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: unitary field
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: server path
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: beam axial force (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: derivate (complex fields)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: polar to complex fields
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: dot (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: nodal moment
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: phase (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: phase (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: modulus (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elemental mass
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: heat flux
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: total sum (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: co-energy
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: dot
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: outer product
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: overall dot
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: relative error
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: velocity Y
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: reaction force Y
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global velocity (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: superficial velocity
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: absolute value by component (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: incremental energy
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: thermal strain
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: stiffness matrix energy
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: absolute value by component (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: element types provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: total temperature
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: acceleration Y
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: delegate to operator
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
logic: component selector (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
logic: component selector (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
scoping: on property
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: stress intensity
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
logic: same property fields?
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
logic: elementary data selector (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: convert to scoping
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
logic: elementary data selector (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: change location
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mesh: node coordinates
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mesh: stl export
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: bind support
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: convert to meshes container
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: beam torsional moment (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: equivalent stress parameter
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: convert to field
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: beam axial total strain (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: set property
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: electric flux density Y
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: forward field
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: forward fields container
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: electric flux density
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: plastic strain principal 2
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: forward meshes container
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
geo: integrate over elements
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: compute total strain X
Version: 0.0.0
Example of workflows and their scripts
math: imaginary part
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: amplitude (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: mesh support provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: beam axial stress (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: unit convert (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: element orientations X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: norm (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mapping: prepare mapping workflow
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: sqrt (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: conjugate
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: html doc
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: real part
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: current density
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
logic: same property fields container?
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: multiply (complex fields)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: merge result infos
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global total mass (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: unit convert
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: norm (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: make label space
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: sqrt (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: y plus (y+)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: accumulate min over label
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: +
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
server: grpc shutdown server
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: magnetic scalar potential
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: time freq interpolation
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: + (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: sin (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: + constant (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: / (component-wise field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: + constant (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
invariant: scalar invariants (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: cross product (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mapping: find reduced coordinates
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
scoping: rescope property field
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: plastic strain principal 1
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: -
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: total sum
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: - (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
scoping: intersect scopings
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: ^ (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
scoping: elements in mesh
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: scale (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: enthalpy
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: ^ (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global eroded internal energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: scale fields container
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: sweeping phase
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: centroid
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: centroid (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: sweeping phase (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
filter: signed high pass (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: ^2 (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: velocity Z
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: reaction force Z
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: remove unnecessary labels
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: sin (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: cos (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: cos (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
logic: ascending sort
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: initial coordinates (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: convert to fields container
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: linear combination
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: ^2 (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: mean static pressure
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: exp (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: exp (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: * (component-wise field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: stress max_shear
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: euler nodes
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: * (component-wise field) (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
logic: same meshes container?
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: beam TR shear stress (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: num surface status changes
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: ln (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mesh: mesh to pyvista
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: ln (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
invariant: scalar invariants (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: cross product
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
filter: high pass (timefreq)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: / (component-wise fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global sliding interface energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: kronecker product
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: modulus (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: joint relative angular velocity
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: dot (complex fields)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: gasket stress XZ
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: / (complex fields)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: unitary field
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: server path
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: beam axial force (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: derivate (complex fields)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: polar to complex fields
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: dot (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: nodal moment
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: phase (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: phase (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: modulus (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elemental mass
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: heat flux
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: total sum (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: co-energy
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: dot
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: outer product
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: overall dot
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: relative error
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: velocity Y
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: reaction force Y
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global velocity (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: superficial velocity
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: absolute value by component (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: incremental energy
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: thermal strain
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: stiffness matrix energy
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: absolute value by component (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: element types provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: total temperature
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: acceleration Y
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: delegate to operator
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
logic: component selector (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
logic: component selector (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
scoping: on property
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: stress intensity
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
logic: same property fields?
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
logic: elementary data selector (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: convert to scoping
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
logic: elementary data selector (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: change location
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mesh: node coordinates
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mesh: stl export
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: bind support
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: convert to meshes container
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: beam torsional moment (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: equivalent stress parameter
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: convert to field
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: beam axial total strain (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: set property
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: electric flux density Y
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: forward field
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: forward fields container
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: electric flux density
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: plastic strain principal 2
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: forward meshes container
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
geo: integrate over elements
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: compute total strain X
Version: 0.0.0
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
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: incremental meshes container
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: txt file to dpf
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: cyclic kinetic energy
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: bind support (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: fields container get attribute
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: thermal strain XZ
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: assemble scalars to vector
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global eroded hourglass energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: assemble scalars to vector fc
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: assemble scalars to matrix
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: make one on component
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mesh: from scopings
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: assemble scalars to matrix fc
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: pres to field
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: part internal energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: part momentum (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: default value
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: elemental nodal to nodal elemental (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: rms velocity
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: acceleration X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: poynting vector
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: total strain (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: elemental difference (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: compute time scoping
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: static pressure
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elastic strain
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: window bartlett (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: turbulent viscosity
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: python generator
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: make overall
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
geo: elements volume
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: pressure
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: stress
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: stress X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: gasket thermal closure XZ
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: stress Y
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: stress Z
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: gasket thermal closure XY
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: stress XY
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: stress YZ
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: modal basis
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: stress XZ
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: merge string fields
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: stress principal 1
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: stress principal 2
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: stress principal 3
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
invariant: convertnum bcs to nod
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: stress von mises
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: gasket stress
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: gasket stress X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: gasket stress XY
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
geo: elements facets surfaces over time
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: property field provider by property name
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mesh: mesh provider
Version: 0.0.0
Inputs
Inputs
Outputs
Configurations
Scripting
utility: forward
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: incremental meshes container
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: txt file to dpf
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: bind support (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: fields container get attribute
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: thermal strain XZ
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: assemble scalars to vector
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global eroded hourglass energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: assemble scalars to vector fc
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: assemble scalars to matrix
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: make one on component
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mesh: from scopings
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: assemble scalars to matrix fc
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: pres to field
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: part internal energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: part momentum (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: default value
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: elemental nodal to nodal elemental (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: rms velocity
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: acceleration X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: poynting vector
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: total strain (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: elemental difference (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: compute time scoping
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: static pressure
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elastic strain
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: window bartlett (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: turbulent viscosity
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: python generator
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: make overall
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
geo: elements volume
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: pressure
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: stress
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: stress X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: gasket thermal closure XZ
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: stress Y
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: stress Z
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: gasket thermal closure XY
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: stress XY
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: stress YZ
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: modal basis
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: stress XZ
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: merge string fields
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: stress principal 1
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: stress principal 2
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: stress principal 3
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
invariant: convertnum bcs to nod
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: stress von mises
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: gasket stress
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: gasket stress X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: gasket stress XY
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
geo: elements facets surfaces over time
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: property field provider by property name
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mesh: mesh provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: gasket inelastic closure
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
serialization: export symbolic workflow
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: write cms rbd file
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: cyclic expanded elemental summable miscellaneous data
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: gasket inelastic closure X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: plastic strain eqv
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: gasket inelastic closure XY
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mesh: beam properties
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: gasket inelastic closure XZ
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: gasket thermal closure
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: gasket thermal closure X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elastic strain X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elastic strain Y
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elastic strain Z
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: merge weighted fields containers
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: min/max over time
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global energy ratio without eroded energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: merge fields containers
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elastic strain XY
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elastic strain YZ
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
invariant: eigen values (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elastic strain XZ
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: mesh property provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elastic strain principal 1
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elastic strain principal 2
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
geo: scoping normals
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: cyclic volume
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: merge scopings
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elastic strain principal 3
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: cyclic analytic disp max
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elastic strain eqv
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: electric flux density X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elastic strain intensity
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elastic strain max_shear
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: turbulent dissipation rate (omega)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: to elemental (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: plastic strain
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
scoping: transpose
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: mass fraction
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: plastic strain X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: coordinates (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: plastic strain Y
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
filter: band pass (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
geo: to polar coordinates
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: fft evaluation
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global total energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: plastic strain Z
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: merge materials
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
serialization: vtk export
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: dynamic viscosity
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: plastic strain XY
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: hydrostatic pressure
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: compute stress von mises
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
filter: low pass (scoping)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mesh: iso surfaces
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: plastic strain YZ
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: plastic strain XZ
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: workflow energy per harmonic
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: plastic strain principal 3
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: plastic strain intensity
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: plastic strain max_shear
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
filter: low pass (timefreq)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
filter: band pass (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: modal damping ratio
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: thermal strain X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: thermal strain Y
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: equivalent radiated power
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: thermal strain Z
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: merge scopings containers
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: accumulate over label
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: thermal strain XY
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: thermal strain YZ
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: thermal strain principal 1
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
logic: same anys?
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: thermal strain principal 2
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: thermal strain principal 3
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
serialization: serializer
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: wall shear stress
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: velocity
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: reaction force
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: velocity X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: reaction force X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
geo: cartesian to spherical coordinates (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global external work (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: acceleration
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: element centroids
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: acceleration Z
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
scoping: rescope (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
serialization: workflow to workflow_topology
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: displacement
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: electric field Z
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: displacement X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: force_summation
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: displacement Y
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: electric field X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: displacement Z
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: heat flux X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: heat flux Y
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: electric field
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: heat flux Z
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
serialization: serialize to hdf5
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: element orientations
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: element orientations Y
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: magnetic field Z
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: elemental mean (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: magnetic field Y
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mesh: split mesh wrt property
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: element orientations Z
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: temperature gradient
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: cgns result provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: temperature gradient X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: entropy
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: volume fraction
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: temperature gradient Y
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: temperature gradient Z
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elemental summable miscellaneous data
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: magnetic field
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: compute stress Z
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: part eroded kinetic energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: magnetic field X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
serialization: string deserializer
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: magnetic flux density
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: magnetic flux density X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: magnetic flux density Y
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: nodal force
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: magnetic flux density Z
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: electric field Y
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: electric flux density Z
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: element nodal forces
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: compute total strain Z
Version: 0.0.0
Outputs
Configurations
Scripting
result: gasket inelastic closure
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
serialization: export symbolic workflow
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: write cms rbd file
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: gasket inelastic closure X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: plastic strain eqv
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: gasket inelastic closure XY
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mesh: beam properties
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: gasket inelastic closure XZ
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: gasket thermal closure
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: gasket thermal closure X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elastic strain X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elastic strain Y
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elastic strain Z
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: merge weighted fields containers
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: min/max over time
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global energy ratio without eroded energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: merge fields containers
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elastic strain XY
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elastic strain YZ
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
invariant: eigen values (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elastic strain XZ
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: mesh property provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elastic strain principal 1
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elastic strain principal 2
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
geo: scoping normals
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: merge scopings
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elastic strain principal 3
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: cyclic analytic disp max
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elastic strain eqv
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: electric flux density X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elastic strain intensity
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elastic strain max_shear
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: turbulent dissipation rate (omega)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: to elemental (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: plastic strain
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
scoping: transpose
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: mass fraction
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: plastic strain X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: coordinates (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: plastic strain Y
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
filter: band pass (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
geo: to polar coordinates
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: fft evaluation
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global total energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: plastic strain Z
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: merge materials
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
serialization: vtk export
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: dynamic viscosity
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: plastic strain XY
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: hydrostatic pressure
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: compute stress von mises
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
filter: low pass (scoping)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mesh: iso surfaces
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: plastic strain YZ
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: plastic strain XZ
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: workflow energy per harmonic
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: plastic strain principal 3
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: plastic strain intensity
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: plastic strain max_shear
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
filter: low pass (timefreq)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
filter: band pass (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: modal damping ratio
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: thermal strain X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: thermal strain Y
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: equivalent radiated power
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: thermal strain Z
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: merge scopings containers
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: accumulate over label
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: thermal strain XY
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: thermal strain YZ
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: thermal strain principal 1
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
logic: same anys?
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: thermal strain principal 2
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: thermal strain principal 3
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
serialization: serializer
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: wall shear stress
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: velocity
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: reaction force
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: velocity X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: reaction force X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
geo: cartesian to spherical coordinates (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global external work (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: acceleration
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: element centroids
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: acceleration Z
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
scoping: rescope (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
serialization: workflow to workflow_topology
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: displacement
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: electric field Z
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: displacement X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: force_summation
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: displacement Y
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: electric field X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: displacement Z
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: heat flux X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: heat flux Y
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: electric field
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: heat flux Z
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
serialization: serialize to hdf5
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: element orientations
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: element orientations Y
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: magnetic field Z
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: elemental mean (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: magnetic field Y
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mesh: split mesh wrt property
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: element orientations Z
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: temperature gradient
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: cgns result provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: temperature gradient X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: entropy
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: volume fraction
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: temperature gradient Y
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: temperature gradient Z
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elemental summable miscellaneous data
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: magnetic field
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: compute stress Z
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: part eroded kinetic energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: magnetic field X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
serialization: string deserializer
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: magnetic flux density
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: magnetic flux density X
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: magnetic flux density Y
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: nodal force
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: magnetic flux density Z
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: electric field Y
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: electric flux density Z
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: element nodal forces
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: compute total strain Z
Version: 0.0.0
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
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: result info provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mesh: skin (tri mesh)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: stress ratio
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
filter: band pass (timescoping)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
compression: sketch matrix
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: accu eqv plastic strain
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: plastic state variable
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: accu eqv creep strain
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: plastic strain energy density
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: material property of element
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: creep strain energy density
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: erp radiation efficiency
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elastic strain energy density
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
serialization: field to csv
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global joint internal energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: merge generic data container
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
serialization: vtk to fields
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: merge any objects
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elemental volume
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: artificial hourglass energy
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: kinetic energy
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: thermal dissipation energy
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: rms static pressure
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: swelling strains
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: temperature
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: compute stress
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: raw displacement
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: raw reaction force
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: turbulent kinetic energy (k)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: electric potential
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: thickness
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: mapdl run
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: equivalent mass
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: cyclic strain energy
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: custom result
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elemental heat generation
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: magnetic vector potential
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: joint force reaction
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: joint moment reaction
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: beam T shear force (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: joint relative displacement
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: joint relative rotation
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: joint relative velocity
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: joint relative acceleration
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: joint relative angular acceleration
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global internal energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
serialization: txt to data tree
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: thermal strains eqv
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elemental non summable miscellaneous data
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: state variable
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global kinetic energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: merge supports
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: matrix inverse
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global time step (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global rigid body stopper energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
geo: cartesian to spherical coordinates
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global spring and damper energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: beam T bending moment (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global hourglass energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global system damping energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global eroded kinetic energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global energy ratio (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global added mass (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mapping: on reduced coordinates
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
invariant: principal invariants (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global added mass (percentage) (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global center of mass (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: beam S shear force (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: beam S bending moment (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: beam RS shear stress (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: merge fields into field matrix
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: beam axial plastic strain (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
invariant: von mises eqv (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
invariant: segalman von mises eqv (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: part eroded internal energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: part kinetic energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
scoping: on mesh property
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
scoping: from mesh
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: part added mass (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: part hourglass energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: part rigid body velocity (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
min_max: time of max
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
scoping: nodes in mesh
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: cyclic expanded temperature gradient
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: density
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: spectrum data
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: elemental to elemental nodal (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: total pressure
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: mean velocity
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: Lighthill tensor divergence
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: mass flow rate
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: mach number
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: rms temperature
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: read cms_rbd file
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
scoping: scoping get attribute
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: mean temperature
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: cyclic equivalent mass
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
min_max: over fields container
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: surface heat rate
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: thermal conductivity
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: specific heat
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
logic: enrich materials
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: turbulent dissipation rate (epsilon)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: time freq provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: mesh info provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: streams provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: poynting vector surface
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: datasources provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
scoping: rescope
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
filter: low pass (timescoping)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: data sources get attribute
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mesh: meshes provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: mesh selection manager provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: for each
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: boundary condition provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: merge property fields
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: cyclic analysis?
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: material support provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
scoping: on named selection
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
scoping: reduce sampling scoping
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: accumulation per scoping
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: real constants provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: coordinate system data provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: coordinate system
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
logic: splitter::streams
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
serialization: hdf5dpf custom read
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: nodal_to_global
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
scoping: rescope custom type field
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: cyclic expanded stress
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global_to_nodal
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
min_max: min max by entity over time
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
scoping: connectivity ids
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
min_max: max over time
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mesh: skin
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: cyclic support provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: split in for each range
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: cyclic expanded displacement
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: change shell layers
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: merge meshes
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: cyclic expanded velocity
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: cyclic expanded acceleration
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: add rigid body motion (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: cyclic expanded element nodal forces
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
invariant: convertnum nod to bcs
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: cyclic nmisc
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: members in linear compression bending not certified
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: cyclic expanded num surface status changes
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
geo: gauss to node (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
filter: band pass (timefreq)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: cyclic expanded heat flux
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
serialization: deserializer
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: cms subfile info provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: stress solution to global cs
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: remote workflow instantiate
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: remote operator instantiate
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: compute residual and error
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: structural temperature
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: result info provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mesh: skin (tri mesh)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: stress ratio
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
filter: band pass (timescoping)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
compression: sketch matrix
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: accu eqv plastic strain
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: plastic state variable
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: accu eqv creep strain
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: plastic strain energy density
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: material property of element
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: creep strain energy density
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: erp radiation efficiency
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elastic strain energy density
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
serialization: field to csv
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global joint internal energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: merge generic data container
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
serialization: vtk to fields
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: merge any objects
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elemental volume
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: artificial hourglass energy
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: kinetic energy
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: thermal dissipation energy
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: rms static pressure
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: swelling strains
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: temperature
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: compute stress
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: raw displacement
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: raw reaction force
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: turbulent kinetic energy (k)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: electric potential
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: thickness
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: mapdl run
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: equivalent mass
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: custom result
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elemental heat generation
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: magnetic vector potential
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: joint force reaction
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: joint moment reaction
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: beam T shear force (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: joint relative displacement
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: joint relative rotation
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: joint relative velocity
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: joint relative acceleration
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: joint relative angular acceleration
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global internal energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
serialization: txt to data tree
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: thermal strains eqv
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: elemental non summable miscellaneous data
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: state variable
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global kinetic energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: merge supports
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: matrix inverse
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global time step (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global rigid body stopper energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
geo: cartesian to spherical coordinates
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global spring and damper energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: beam T bending moment (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global hourglass energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global system damping energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global eroded kinetic energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global energy ratio (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global added mass (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mapping: on reduced coordinates
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
invariant: principal invariants (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global added mass (percentage) (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global center of mass (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: beam S shear force (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: beam S bending moment (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: beam RS shear stress (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: merge fields into field matrix
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: beam axial plastic strain (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
invariant: von mises eqv (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
invariant: segalman von mises eqv (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: part eroded internal energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: part kinetic energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
scoping: on mesh property
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
scoping: from mesh
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: part added mass (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: part hourglass energy (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: part rigid body velocity (LSDyna)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
min_max: time of max
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
scoping: nodes in mesh
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: density
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: spectrum data
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: elemental to elemental nodal (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: total pressure
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: mean velocity
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: Lighthill tensor divergence
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: mass flow rate
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: mach number
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: rms temperature
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: read cms_rbd file
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
scoping: scoping get attribute
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: mean temperature
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
min_max: over fields container
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: surface heat rate
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: thermal conductivity
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: specific heat
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
logic: enrich materials
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: turbulent dissipation rate (epsilon)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: time freq provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: mesh info provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: streams provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: poynting vector surface
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: datasources provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
scoping: rescope
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
filter: low pass (timescoping)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: data sources get attribute
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mesh: meshes provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: mesh selection manager provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: for each
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: boundary condition provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: merge property fields
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: cyclic analysis?
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: material support provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
scoping: on named selection
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
scoping: reduce sampling scoping
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: accumulation per scoping
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: real constants provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: coordinate system data provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: coordinate system
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
logic: splitter::streams
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
serialization: hdf5dpf custom read
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: nodal_to_global
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
scoping: rescope custom type field
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: global_to_nodal
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
min_max: min max by entity over time
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
scoping: connectivity ids
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
min_max: max over time
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mesh: skin
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: cyclic support provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: split in for each range
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: change shell layers
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: merge meshes
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: add rigid body motion (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
invariant: convertnum nod to bcs
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: members in linear compression bending not certified
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
geo: gauss to node (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
filter: band pass (timefreq)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
serialization: deserializer
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: cms subfile info provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: stress solution to global cs
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: remote workflow instantiate
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
utility: remote operator instantiate
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: compute residual and error
Version: 0.0.0
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)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: to nodal (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: elemental mean (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: nodal to elemental (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: nodal to elemental (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: nodal to elemental nodal (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: nodal to elemental nodal (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
invariant: eigen values (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
invariant: principal invariants (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
invariant: von mises eqv (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
invariant: segalman von mises eqv (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
scoping: compute element centroids
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: cyclic mesh expansion
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: cyclic analytic stress eqv max
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: remove rigid body motion (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: cyclic expansion
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: nodal fraction (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: recombine cyclic harmonic indices
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mapping: on coordinates
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mapping: scoping on coordinates
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
filter: abc weightings
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mapping: solid to skin
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mapping: solid to skin (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: elemental difference (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: elemental fraction (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: extend to mid nodes (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
geo: rotate cylindrical coordinates
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
geo: rotate in cylindrical coordinates (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
geo: spherical to cartesian coordinates (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
geo: spherical to cartesian coordinates
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mesh: change cs (meshes)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
geo: normals provider nl (nodes, faces, or elements)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
geo: elements volumes over time
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: window bartlett
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mesh: from scoping
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mesh: split field wrt mesh regions
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: torque
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: euler load buckling
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
geo: faces area
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: compute stress 3
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: gauss to node (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: correlation
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: mac
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: workflow energy per component
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: add rigid body motion (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: pretension
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: cms matrices provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: rom data provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: prns to field
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: remove rigid body motion (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: compute total strain XZ
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: to nodal (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: to nodal (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: elemental mean (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: nodal to elemental (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: nodal to elemental (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: nodal to elemental nodal (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: nodal to elemental nodal (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
invariant: eigen values (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
invariant: principal invariants (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
invariant: von mises eqv (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
invariant: segalman von mises eqv (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
scoping: compute element centroids
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
metadata: cyclic mesh expansion
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: cyclic analytic stress eqv max
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: remove rigid body motion (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: cyclic expansion
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: nodal fraction (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: recombine cyclic harmonic indices
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mapping: on coordinates
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mapping: scoping on coordinates
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
filter: abc weightings
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mapping: solid to skin
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mapping: solid to skin (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: elemental difference (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: elemental fraction (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: extend to mid nodes (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
geo: rotate cylindrical coordinates
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
geo: rotate in cylindrical coordinates (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
geo: spherical to cartesian coordinates (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
geo: spherical to cartesian coordinates
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mesh: change cs (meshes)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
geo: normals provider nl (nodes, faces, or elements)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
geo: elements volumes over time
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: window bartlett
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mesh: from scoping
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
mesh: split field wrt mesh regions
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: torque
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: force_summation_psd
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: euler load buckling
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
geo: faces area
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: compute stress 3
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
averaging: gauss to node (fields container)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: correlation
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
math: mac
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: workflow energy per component
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: add rigid body motion (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: pretension
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: cms matrices provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: rom data provider
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: prns to field
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: remove rigid body motion (field)
Version: 0.0.0
Inputs
Outputs
Configurations
Scripting
result: compute total strain XZ
Version: 0.0.0
"],
optional=True,
document=r"""default = all time steps""",
),
@@ -140,11 +149,17 @@ def _spec() -> Specification:
optional=True,
document=r"""Elemental Scoping. Set of elements contributing to the force calcuation. (default = all elements)""",
),
+ 3: PinSpecification(
+ name="streams_container",
+ type_names=["streams_container"],
+ optional=True,
+ document=r"""Streams container. Optional if using data sources.""",
+ ),
4: PinSpecification(
name="data_sources",
type_names=["data_sources"],
optional=False,
- document=r"""""",
+ document=r"""Data sources. Optional if using a streams container.""",
),
5: PinSpecification(
name="force_type",
@@ -258,6 +273,8 @@ class InputsForceSummation(_Inputs):
>>> op.inputs.nodal_scoping.connect(my_nodal_scoping)
>>> my_elemental_scoping = dpf.Scoping()
>>> op.inputs.elemental_scoping.connect(my_elemental_scoping)
+ >>> 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_force_type = int()
@@ -274,6 +291,8 @@ def __init__(self, op: Operator):
self._inputs.append(self._nodal_scoping)
self._elemental_scoping = Input(force_summation._spec().input_pin(2), 2, op, -1)
self._inputs.append(self._elemental_scoping)
+ self._streams_container = Input(force_summation._spec().input_pin(3), 3, op, -1)
+ self._inputs.append(self._streams_container)
self._data_sources = Input(force_summation._spec().input_pin(4), 4, op, -1)
self._inputs.append(self._data_sources)
self._force_type = Input(force_summation._spec().input_pin(5), 5, op, -1)
@@ -344,10 +363,33 @@ def elemental_scoping(self) -> Input:
"""
return self._elemental_scoping
+ @property
+ def streams_container(self) -> Input:
+ r"""Allows to connect streams_container input to the operator.
+
+ Streams container. Optional if using data sources.
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.averaging.force_summation()
+ >>> 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) -> Input:
r"""Allows to connect data_sources input to the operator.
+ Data sources. Optional if using a streams container.
+
Returns
-------
input:
diff --git a/src/ansys/dpf/core/operators/averaging/force_summation_psd.py b/src/ansys/dpf/core/operators/averaging/force_summation_psd.py
new file mode 100644
index 00000000000..471f7c390dc
--- /dev/null
+++ b/src/ansys/dpf/core/operators/averaging/force_summation_psd.py
@@ -0,0 +1,551 @@
+"""
+force_summation_psd
+
+Autogenerated DPF operator classes.
+"""
+
+from __future__ import annotations
+
+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
+from ansys.dpf.core.config import Config
+from ansys.dpf.core.server_types import AnyServerType
+
+
+class force_summation_psd(Operator):
+ r"""Computes the sum of elemental forces contribution on a set of nodes in
+ Global Coordinate System for a PSD analysis. Equivalent to MAPDL
+ FSUM/NFORCE.
+
+
+ Parameters
+ ----------
+ nodal_scoping: Scoping, optional
+ Nodal Scoping. Set of nodes in which elemental contribution forces will be accumulated. Defaults to all nodes.
+ elemental_scoping: Scoping, optional
+ Elemental Scoping. Set of elements contributing to the force calculation. Defaults to all elements.
+ streams: StreamsContainer, optional
+ Streams container for RST and PSD files (optional if using data sources). The operator supports both a single RST file and two separate RST files. See data sources pin specifications for details on how to define the streams for both cases.
+ data_sources: DataSources
+ Data sources containing RST and PSD files (optional if using a streams container). The operator supports both a single RST file (containing both modal and PSD results) and two separate RST files (one for modal and one for PSD analyses).The data source containing modal results must be defined as an upstream data source.If using a single RST file for PSD and modal analysis, the RST file must be in an upstream data source.If using two separate RST files, only the modal RST must be in an upstream data source.
+ spoint: Field, optional
+ Coordinate field of a point for moment summations. Defaults to (0,0,0).
+ abs_rel_key: Field, optional
+ Key to select the type of response: 0 for relative response (default) or 1 for absolute response.
+ signif: float, optional
+ Significance threshold, defaults to 0.0001. Any mode with a significance level above this value will be included in the combination.The significance level is defined as the modal covariance matrix term, divided by the maximum modal covariance matrix term.
+
+ Returns
+ -------
+ force_accumulation: FieldsContainer
+ Returns the sum of forces for the 1-sigma displacement solution on the scoped nodes/elements.
+ moment_accumulation: FieldsContainer
+ Returns the sum of moments for the 1-sigma displacement solution on the scoped nodes/elements.
+ forces_on_nodes: FieldsContainer
+ Returns the nodal forces for the 1-sigma displacement solution on the scoped nodes/elements.
+ moments_on_nodes: FieldsContainer
+ Returns the nodal moments for the 1-sigma displacement solution on the scoped nodes/elements.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+
+ >>> # Instantiate operator
+ >>> op = dpf.operators.averaging.force_summation_psd()
+
+ >>> # Make input connections
+ >>> my_nodal_scoping = dpf.Scoping()
+ >>> op.inputs.nodal_scoping.connect(my_nodal_scoping)
+ >>> my_elemental_scoping = dpf.Scoping()
+ >>> op.inputs.elemental_scoping.connect(my_elemental_scoping)
+ >>> my_streams = dpf.StreamsContainer()
+ >>> op.inputs.streams.connect(my_streams)
+ >>> my_data_sources = dpf.DataSources()
+ >>> op.inputs.data_sources.connect(my_data_sources)
+ >>> my_spoint = dpf.Field()
+ >>> op.inputs.spoint.connect(my_spoint)
+ >>> my_abs_rel_key = dpf.Field()
+ >>> op.inputs.abs_rel_key.connect(my_abs_rel_key)
+ >>> my_signif = float()
+ >>> op.inputs.signif.connect(my_signif)
+
+ >>> # Instantiate operator and connect inputs in one line
+ >>> op = dpf.operators.averaging.force_summation_psd(
+ ... nodal_scoping=my_nodal_scoping,
+ ... elemental_scoping=my_elemental_scoping,
+ ... streams=my_streams,
+ ... data_sources=my_data_sources,
+ ... spoint=my_spoint,
+ ... abs_rel_key=my_abs_rel_key,
+ ... signif=my_signif,
+ ... )
+
+ >>> # Get output data
+ >>> result_force_accumulation = op.outputs.force_accumulation()
+ >>> result_moment_accumulation = op.outputs.moment_accumulation()
+ >>> result_forces_on_nodes = op.outputs.forces_on_nodes()
+ >>> result_moments_on_nodes = op.outputs.moments_on_nodes()
+ """
+
+ def __init__(
+ self,
+ nodal_scoping=None,
+ elemental_scoping=None,
+ streams=None,
+ data_sources=None,
+ spoint=None,
+ abs_rel_key=None,
+ signif=None,
+ config=None,
+ server=None,
+ ):
+ super().__init__(name="force_summation_psd", config=config, server=server)
+ self._inputs = InputsForceSummationPsd(self)
+ self._outputs = OutputsForceSummationPsd(self)
+ if nodal_scoping is not None:
+ self.inputs.nodal_scoping.connect(nodal_scoping)
+ if elemental_scoping is not None:
+ self.inputs.elemental_scoping.connect(elemental_scoping)
+ if streams is not None:
+ self.inputs.streams.connect(streams)
+ if data_sources is not None:
+ self.inputs.data_sources.connect(data_sources)
+ if spoint is not None:
+ self.inputs.spoint.connect(spoint)
+ if abs_rel_key is not None:
+ self.inputs.abs_rel_key.connect(abs_rel_key)
+ if signif is not None:
+ self.inputs.signif.connect(signif)
+
+ @staticmethod
+ def _spec() -> Specification:
+ description = r"""Computes the sum of elemental forces contribution on a set of nodes in
+Global Coordinate System for a PSD analysis. Equivalent to MAPDL
+FSUM/NFORCE.
+"""
+ spec = Specification(
+ description=description,
+ map_input_pin_spec={
+ 1: PinSpecification(
+ name="nodal_scoping",
+ type_names=["scoping"],
+ optional=True,
+ document=r"""Nodal Scoping. Set of nodes in which elemental contribution forces will be accumulated. Defaults to all nodes.""",
+ ),
+ 2: PinSpecification(
+ name="elemental_scoping",
+ type_names=["scoping"],
+ optional=True,
+ document=r"""Elemental Scoping. Set of elements contributing to the force calculation. Defaults to all elements.""",
+ ),
+ 3: PinSpecification(
+ name="streams",
+ type_names=["streams_container"],
+ optional=True,
+ document=r"""Streams container for RST and PSD files (optional if using data sources). The operator supports both a single RST file and two separate RST files. See data sources pin specifications for details on how to define the streams for both cases.""",
+ ),
+ 4: PinSpecification(
+ name="data_sources",
+ type_names=["data_sources"],
+ optional=False,
+ document=r"""Data sources containing RST and PSD files (optional if using a streams container). The operator supports both a single RST file (containing both modal and PSD results) and two separate RST files (one for modal and one for PSD analyses).The data source containing modal results must be defined as an upstream data source.If using a single RST file for PSD and modal analysis, the RST file must be in an upstream data source.If using two separate RST files, only the modal RST must be in an upstream data source.""",
+ ),
+ 6: PinSpecification(
+ name="spoint",
+ type_names=["field"],
+ optional=True,
+ document=r"""Coordinate field of a point for moment summations. Defaults to (0,0,0).""",
+ ),
+ 7: PinSpecification(
+ name="abs_rel_key",
+ type_names=["field"],
+ optional=True,
+ document=r"""Key to select the type of response: 0 for relative response (default) or 1 for absolute response.""",
+ ),
+ 8: PinSpecification(
+ name="signif",
+ type_names=["double"],
+ optional=True,
+ document=r"""Significance threshold, defaults to 0.0001. Any mode with a significance level above this value will be included in the combination.The significance level is defined as the modal covariance matrix term, divided by the maximum modal covariance matrix term.""",
+ ),
+ },
+ map_output_pin_spec={
+ 0: PinSpecification(
+ name="force_accumulation",
+ type_names=["fields_container"],
+ optional=False,
+ document=r"""Returns the sum of forces for the 1-sigma displacement solution on the scoped nodes/elements.""",
+ ),
+ 1: PinSpecification(
+ name="moment_accumulation",
+ type_names=["fields_container"],
+ optional=False,
+ document=r"""Returns the sum of moments for the 1-sigma displacement solution on the scoped nodes/elements.""",
+ ),
+ 10: PinSpecification(
+ name="forces_on_nodes",
+ type_names=["fields_container"],
+ optional=False,
+ document=r"""Returns the nodal forces for the 1-sigma displacement solution on the scoped nodes/elements.""",
+ ),
+ 11: PinSpecification(
+ name="moments_on_nodes",
+ type_names=["fields_container"],
+ optional=False,
+ document=r"""Returns the nodal moments for the 1-sigma displacement solution on the scoped nodes/elements.""",
+ ),
+ },
+ )
+ return spec
+
+ @staticmethod
+ def default_config(server: AnyServerType = None) -> Config:
+ """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 with channel connected to the remote or local instance. When
+ ``None``, attempts to use the global server.
+
+ Returns
+ -------
+ config:
+ A new Config instance equivalent to the default config for this operator.
+ """
+ return Operator.default_config(name="force_summation_psd", server=server)
+
+ @property
+ def inputs(self) -> InputsForceSummationPsd:
+ """Enables to connect inputs to the operator
+
+ Returns
+ --------
+ inputs:
+ An instance of InputsForceSummationPsd.
+ """
+ return super().inputs
+
+ @property
+ def outputs(self) -> OutputsForceSummationPsd:
+ """Enables to get outputs of the operator by evaluating it
+
+ Returns
+ --------
+ outputs:
+ An instance of OutputsForceSummationPsd.
+ """
+ return super().outputs
+
+
+class InputsForceSummationPsd(_Inputs):
+ """Intermediate class used to connect user inputs to
+ force_summation_psd operator.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.averaging.force_summation_psd()
+ >>> my_nodal_scoping = dpf.Scoping()
+ >>> op.inputs.nodal_scoping.connect(my_nodal_scoping)
+ >>> my_elemental_scoping = dpf.Scoping()
+ >>> op.inputs.elemental_scoping.connect(my_elemental_scoping)
+ >>> my_streams = dpf.StreamsContainer()
+ >>> op.inputs.streams.connect(my_streams)
+ >>> my_data_sources = dpf.DataSources()
+ >>> op.inputs.data_sources.connect(my_data_sources)
+ >>> my_spoint = dpf.Field()
+ >>> op.inputs.spoint.connect(my_spoint)
+ >>> my_abs_rel_key = dpf.Field()
+ >>> op.inputs.abs_rel_key.connect(my_abs_rel_key)
+ >>> my_signif = float()
+ >>> op.inputs.signif.connect(my_signif)
+ """
+
+ def __init__(self, op: Operator):
+ super().__init__(force_summation_psd._spec().inputs, op)
+ self._nodal_scoping = Input(force_summation_psd._spec().input_pin(1), 1, op, -1)
+ self._inputs.append(self._nodal_scoping)
+ self._elemental_scoping = Input(
+ force_summation_psd._spec().input_pin(2), 2, op, -1
+ )
+ self._inputs.append(self._elemental_scoping)
+ self._streams = Input(force_summation_psd._spec().input_pin(3), 3, op, -1)
+ self._inputs.append(self._streams)
+ self._data_sources = Input(force_summation_psd._spec().input_pin(4), 4, op, -1)
+ self._inputs.append(self._data_sources)
+ self._spoint = Input(force_summation_psd._spec().input_pin(6), 6, op, -1)
+ self._inputs.append(self._spoint)
+ self._abs_rel_key = Input(force_summation_psd._spec().input_pin(7), 7, op, -1)
+ self._inputs.append(self._abs_rel_key)
+ self._signif = Input(force_summation_psd._spec().input_pin(8), 8, op, -1)
+ self._inputs.append(self._signif)
+
+ @property
+ def nodal_scoping(self) -> Input:
+ r"""Allows to connect nodal_scoping input to the operator.
+
+ Nodal Scoping. Set of nodes in which elemental contribution forces will be accumulated. Defaults to all nodes.
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.averaging.force_summation_psd()
+ >>> op.inputs.nodal_scoping.connect(my_nodal_scoping)
+ >>> # or
+ >>> op.inputs.nodal_scoping(my_nodal_scoping)
+ """
+ return self._nodal_scoping
+
+ @property
+ def elemental_scoping(self) -> Input:
+ r"""Allows to connect elemental_scoping input to the operator.
+
+ Elemental Scoping. Set of elements contributing to the force calculation. Defaults to all elements.
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.averaging.force_summation_psd()
+ >>> op.inputs.elemental_scoping.connect(my_elemental_scoping)
+ >>> # or
+ >>> op.inputs.elemental_scoping(my_elemental_scoping)
+ """
+ return self._elemental_scoping
+
+ @property
+ def streams(self) -> Input:
+ r"""Allows to connect streams input to the operator.
+
+ Streams container for RST and PSD files (optional if using data sources). The operator supports both a single RST file and two separate RST files. See data sources pin specifications for details on how to define the streams for both cases.
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.averaging.force_summation_psd()
+ >>> op.inputs.streams.connect(my_streams)
+ >>> # or
+ >>> op.inputs.streams(my_streams)
+ """
+ return self._streams
+
+ @property
+ def data_sources(self) -> Input:
+ r"""Allows to connect data_sources input to the operator.
+
+ Data sources containing RST and PSD files (optional if using a streams container). The operator supports both a single RST file (containing both modal and PSD results) and two separate RST files (one for modal and one for PSD analyses).The data source containing modal results must be defined as an upstream data source.If using a single RST file for PSD and modal analysis, the RST file must be in an upstream data source.If using two separate RST files, only the modal RST must be in an upstream data source.
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.averaging.force_summation_psd()
+ >>> op.inputs.data_sources.connect(my_data_sources)
+ >>> # or
+ >>> op.inputs.data_sources(my_data_sources)
+ """
+ return self._data_sources
+
+ @property
+ def spoint(self) -> Input:
+ r"""Allows to connect spoint input to the operator.
+
+ Coordinate field of a point for moment summations. Defaults to (0,0,0).
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.averaging.force_summation_psd()
+ >>> op.inputs.spoint.connect(my_spoint)
+ >>> # or
+ >>> op.inputs.spoint(my_spoint)
+ """
+ return self._spoint
+
+ @property
+ def abs_rel_key(self) -> Input:
+ r"""Allows to connect abs_rel_key input to the operator.
+
+ Key to select the type of response: 0 for relative response (default) or 1 for absolute response.
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.averaging.force_summation_psd()
+ >>> op.inputs.abs_rel_key.connect(my_abs_rel_key)
+ >>> # or
+ >>> op.inputs.abs_rel_key(my_abs_rel_key)
+ """
+ return self._abs_rel_key
+
+ @property
+ def signif(self) -> Input:
+ r"""Allows to connect signif input to the operator.
+
+ Significance threshold, defaults to 0.0001. Any mode with a significance level above this value will be included in the combination.The significance level is defined as the modal covariance matrix term, divided by the maximum modal covariance matrix term.
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.averaging.force_summation_psd()
+ >>> op.inputs.signif.connect(my_signif)
+ >>> # or
+ >>> op.inputs.signif(my_signif)
+ """
+ return self._signif
+
+
+class OutputsForceSummationPsd(_Outputs):
+ """Intermediate class used to get outputs from
+ force_summation_psd operator.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.averaging.force_summation_psd()
+ >>> # Connect inputs : op.inputs. ...
+ >>> result_force_accumulation = op.outputs.force_accumulation()
+ >>> result_moment_accumulation = op.outputs.moment_accumulation()
+ >>> result_forces_on_nodes = op.outputs.forces_on_nodes()
+ >>> result_moments_on_nodes = op.outputs.moments_on_nodes()
+ """
+
+ def __init__(self, op: Operator):
+ super().__init__(force_summation_psd._spec().outputs, op)
+ self._force_accumulation = Output(
+ force_summation_psd._spec().output_pin(0), 0, op
+ )
+ self._outputs.append(self._force_accumulation)
+ self._moment_accumulation = Output(
+ force_summation_psd._spec().output_pin(1), 1, op
+ )
+ self._outputs.append(self._moment_accumulation)
+ self._forces_on_nodes = Output(
+ force_summation_psd._spec().output_pin(10), 10, op
+ )
+ self._outputs.append(self._forces_on_nodes)
+ self._moments_on_nodes = Output(
+ force_summation_psd._spec().output_pin(11), 11, op
+ )
+ self._outputs.append(self._moments_on_nodes)
+
+ @property
+ def force_accumulation(self) -> Output:
+ r"""Allows to get force_accumulation output of the operator
+
+ Returns the sum of forces for the 1-sigma displacement solution on the scoped nodes/elements.
+
+ Returns
+ -------
+ output:
+ An Output instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.averaging.force_summation_psd()
+ >>> # Get the output from op.outputs. ...
+ >>> result_force_accumulation = op.outputs.force_accumulation()
+ """
+ return self._force_accumulation
+
+ @property
+ def moment_accumulation(self) -> Output:
+ r"""Allows to get moment_accumulation output of the operator
+
+ Returns the sum of moments for the 1-sigma displacement solution on the scoped nodes/elements.
+
+ Returns
+ -------
+ output:
+ An Output instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.averaging.force_summation_psd()
+ >>> # Get the output from op.outputs. ...
+ >>> result_moment_accumulation = op.outputs.moment_accumulation()
+ """
+ return self._moment_accumulation
+
+ @property
+ def forces_on_nodes(self) -> Output:
+ r"""Allows to get forces_on_nodes output of the operator
+
+ Returns the nodal forces for the 1-sigma displacement solution on the scoped nodes/elements.
+
+ Returns
+ -------
+ output:
+ An Output instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.averaging.force_summation_psd()
+ >>> # Get the output from op.outputs. ...
+ >>> result_forces_on_nodes = op.outputs.forces_on_nodes()
+ """
+ return self._forces_on_nodes
+
+ @property
+ def moments_on_nodes(self) -> Output:
+ r"""Allows to get moments_on_nodes output of the operator
+
+ Returns the nodal moments for the 1-sigma displacement solution on the scoped nodes/elements.
+
+ Returns
+ -------
+ output:
+ An Output instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.averaging.force_summation_psd()
+ >>> # Get the output from op.outputs. ...
+ >>> result_moments_on_nodes = op.outputs.moments_on_nodes()
+ """
+ return self._moments_on_nodes
diff --git a/src/ansys/dpf/core/operators/result/__init__.py b/src/ansys/dpf/core/operators/result/__init__.py
index 404d51161f6..eb6f7bb2360 100644
--- a/src/ansys/dpf/core/operators/result/__init__.py
+++ b/src/ansys/dpf/core/operators/result/__init__.py
@@ -62,32 +62,7 @@
from .custom import custom
from .cyclic_analytic_seqv_max import cyclic_analytic_seqv_max
from .cyclic_analytic_usum_max import cyclic_analytic_usum_max
-from .cyclic_equivalent_mass import cyclic_equivalent_mass
-from .cyclic_expanded_acceleration import cyclic_expanded_acceleration
-from .cyclic_expanded_contact_fluid_penetration_pressure import cyclic_expanded_contact_fluid_penetration_pressure
-from .cyclic_expanded_contact_friction_stress import cyclic_expanded_contact_friction_stress
-from .cyclic_expanded_contact_gap_distance import cyclic_expanded_contact_gap_distance
-from .cyclic_expanded_contact_penetration import cyclic_expanded_contact_penetration
-from .cyclic_expanded_contact_pressure import cyclic_expanded_contact_pressure
-from .cyclic_expanded_contact_sliding_distance import cyclic_expanded_contact_sliding_distance
-from .cyclic_expanded_contact_status import cyclic_expanded_contact_status
-from .cyclic_expanded_contact_surface_heat_flux import cyclic_expanded_contact_surface_heat_flux
-from .cyclic_expanded_contact_total_stress import cyclic_expanded_contact_total_stress
-from .cyclic_expanded_displacement import cyclic_expanded_displacement
-from .cyclic_expanded_el_strain import cyclic_expanded_el_strain
-from .cyclic_expanded_enf import cyclic_expanded_enf
-from .cyclic_expanded_heat_flux import cyclic_expanded_heat_flux
-from .cyclic_expanded_num_surface_status_changes import cyclic_expanded_num_surface_status_changes
-from .cyclic_expanded_smisc import cyclic_expanded_smisc
-from .cyclic_expanded_stress import cyclic_expanded_stress
-from .cyclic_expanded_temperature import cyclic_expanded_temperature
-from .cyclic_expanded_temperature_grad import cyclic_expanded_temperature_grad
-from .cyclic_expanded_velocity import cyclic_expanded_velocity
from .cyclic_expansion import cyclic_expansion
-from .cyclic_kinetic_energy import cyclic_kinetic_energy
-from .cyclic_nmisc import cyclic_nmisc
-from .cyclic_strain_energy import cyclic_strain_energy
-from .cyclic_volume import cyclic_volume
from .density import density
from .displacement import displacement
from .displacement_X import displacement_X
diff --git a/src/ansys/dpf/core/operators/result/cyclic_equivalent_mass.py b/src/ansys/dpf/core/operators/result/cyclic_equivalent_mass.py
deleted file mode 100644
index 0ed99707817..00000000000
--- a/src/ansys/dpf/core/operators/result/cyclic_equivalent_mass.py
+++ /dev/null
@@ -1,614 +0,0 @@
-"""
-cyclic_equivalent_mass
-
-Autogenerated DPF operator classes.
-"""
-
-from __future__ import annotations
-
-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
-from ansys.dpf.core.config import Config
-from ansys.dpf.core.server_types import AnyServerType
-
-
-class cyclic_equivalent_mass(Operator):
- r"""This operator is deprecated: use the operator equivalent dof mass with
- the read_cyclic pin instead. Read equivalent dof mass from a result file
- and expand it with cyclic symmetry.
-
-
- Parameters
- ----------
- time_scoping: Scoping, optional
- mesh_scoping: ScopingsContainer or Scoping, optional
- fields_container: FieldsContainer, optional
- FieldsContainer already allocated modified inplace
- streams_container: StreamsContainer or Stream, optional
- Streams containing the result file.
- data_sources: DataSources
- data sources containing the result file.
- bool_rotate_to_global: bool, optional
- if true the field is rotated to global coordinate system (default true)
- all_dofs: bool, optional
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
- sector_mesh: MeshedRegion or MeshesContainer, optional
- mesh of the base sector (can be a skin).
- 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.
- cyclic_support: CyclicSupport, optional
-
- Returns
- -------
- fields_container: FieldsContainer
- FieldsContainer filled in
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
-
- >>> # Instantiate operator
- >>> op = dpf.operators.result.cyclic_equivalent_mass()
-
- >>> # 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
-
- >>> # Instantiate operator and connect inputs in one line
- >>> op = dpf.operators.result.cyclic_equivalent_mass(
- ... 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,
- ... all_dofs=my_all_dofs,
- ... sector_mesh=my_sector_mesh,
- ... read_cyclic=my_read_cyclic,
- ... expanded_meshed_region=my_expanded_meshed_region,
- ... cyclic_support=my_cyclic_support,
- ... )
-
- >>> # 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,
- all_dofs=None,
- sector_mesh=None,
- read_cyclic=None,
- expanded_meshed_region=None,
- cyclic_support=None,
- config=None,
- server=None,
- ):
- super().__init__(name="equivalent_mass_cyclic", config=config, server=server)
- self._inputs = InputsCyclicEquivalentMass(self)
- self._outputs = OutputsCyclicEquivalentMass(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 all_dofs is not None:
- self.inputs.all_dofs.connect(all_dofs)
- if sector_mesh is not None:
- self.inputs.sector_mesh.connect(sector_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 cyclic_support is not None:
- self.inputs.cyclic_support.connect(cyclic_support)
-
- @staticmethod
- def _spec() -> Specification:
- description = r"""This operator is deprecated: use the operator equivalent dof mass with
-the read_cyclic pin instead. Read equivalent dof mass from a result file
-and expand it with cyclic symmetry.
-"""
- spec = Specification(
- description=description,
- map_input_pin_spec={
- 0: PinSpecification(
- name="time_scoping",
- type_names=["scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 1: PinSpecification(
- name="mesh_scoping",
- type_names=["scopings_container", "scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 2: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=True,
- document=r"""FieldsContainer already allocated modified inplace""",
- ),
- 3: PinSpecification(
- name="streams_container",
- type_names=["streams_container", "stream"],
- optional=True,
- document=r"""Streams containing the result file.""",
- ),
- 4: PinSpecification(
- name="data_sources",
- type_names=["data_sources"],
- optional=False,
- document=r"""data sources containing the result file.""",
- ),
- 5: PinSpecification(
- name="bool_rotate_to_global",
- type_names=["bool"],
- optional=True,
- document=r"""if true the field is rotated to global coordinate system (default true)""",
- ),
- 6: PinSpecification(
- name="all_dofs",
- type_names=["bool"],
- optional=True,
- document=r"""if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.""",
- ),
- 7: PinSpecification(
- name="sector_mesh",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh of the base sector (can be a skin).""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document=r"""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)""",
- ),
- 15: PinSpecification(
- name="expanded_meshed_region",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh expanded.""",
- ),
- 16: PinSpecification(
- name="cyclic_support",
- type_names=["cyclic_support"],
- optional=True,
- document=r"""""",
- ),
- },
- map_output_pin_spec={
- 0: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=False,
- document=r"""FieldsContainer filled in""",
- ),
- },
- )
- return spec
-
- @staticmethod
- def default_config(server: AnyServerType = None) -> Config:
- """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 with channel connected to the remote or local instance. When
- ``None``, attempts to use the global server.
-
- Returns
- -------
- config:
- A new Config instance equivalent to the default config for this operator.
- """
- return Operator.default_config(name="equivalent_mass_cyclic", server=server)
-
- @property
- def inputs(self) -> InputsCyclicEquivalentMass:
- """Enables to connect inputs to the operator
-
- Returns
- --------
- inputs:
- An instance of InputsCyclicEquivalentMass.
- """
- return super().inputs
-
- @property
- def outputs(self) -> OutputsCyclicEquivalentMass:
- """Enables to get outputs of the operator by evaluating it
-
- Returns
- --------
- outputs:
- An instance of OutputsCyclicEquivalentMass.
- """
- return super().outputs
-
-
-class InputsCyclicEquivalentMass(_Inputs):
- """Intermediate class used to connect user inputs to
- cyclic_equivalent_mass operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_equivalent_mass()
- >>> 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- """
-
- def __init__(self, op: Operator):
- super().__init__(cyclic_equivalent_mass._spec().inputs, op)
- self._time_scoping = Input(
- cyclic_equivalent_mass._spec().input_pin(0), 0, op, -1
- )
- self._inputs.append(self._time_scoping)
- self._mesh_scoping = Input(
- cyclic_equivalent_mass._spec().input_pin(1), 1, op, -1
- )
- self._inputs.append(self._mesh_scoping)
- self._fields_container = Input(
- cyclic_equivalent_mass._spec().input_pin(2), 2, op, -1
- )
- self._inputs.append(self._fields_container)
- self._streams_container = Input(
- cyclic_equivalent_mass._spec().input_pin(3), 3, op, -1
- )
- self._inputs.append(self._streams_container)
- self._data_sources = Input(
- cyclic_equivalent_mass._spec().input_pin(4), 4, op, -1
- )
- self._inputs.append(self._data_sources)
- self._bool_rotate_to_global = Input(
- cyclic_equivalent_mass._spec().input_pin(5), 5, op, -1
- )
- self._inputs.append(self._bool_rotate_to_global)
- self._all_dofs = Input(cyclic_equivalent_mass._spec().input_pin(6), 6, op, -1)
- self._inputs.append(self._all_dofs)
- self._sector_mesh = Input(
- cyclic_equivalent_mass._spec().input_pin(7), 7, op, -1
- )
- self._inputs.append(self._sector_mesh)
- self._read_cyclic = Input(
- cyclic_equivalent_mass._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
- self._expanded_meshed_region = Input(
- cyclic_equivalent_mass._spec().input_pin(15), 15, op, -1
- )
- self._inputs.append(self._expanded_meshed_region)
- self._cyclic_support = Input(
- cyclic_equivalent_mass._spec().input_pin(16), 16, op, -1
- )
- self._inputs.append(self._cyclic_support)
-
- @property
- def time_scoping(self) -> Input:
- r"""Allows to connect time_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_equivalent_mass()
- >>> 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) -> Input:
- r"""Allows to connect mesh_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_equivalent_mass()
- >>> 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) -> Input:
- r"""Allows to connect fields_container input to the operator.
-
- FieldsContainer already allocated modified inplace
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_equivalent_mass()
- >>> 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) -> Input:
- r"""Allows to connect streams_container input to the operator.
-
- Streams containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_equivalent_mass()
- >>> 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) -> Input:
- r"""Allows to connect data_sources input to the operator.
-
- data sources containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_equivalent_mass()
- >>> 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) -> Input:
- r"""Allows to connect bool_rotate_to_global input to the operator.
-
- if true the field is rotated to global coordinate system (default true)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_equivalent_mass()
- >>> 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 all_dofs(self) -> Input:
- r"""Allows to connect all_dofs input to the operator.
-
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_equivalent_mass()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> # or
- >>> op.inputs.all_dofs(my_all_dofs)
- """
- return self._all_dofs
-
- @property
- def sector_mesh(self) -> Input:
- r"""Allows to connect sector_mesh input to the operator.
-
- mesh of the base sector (can be a skin).
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_equivalent_mass()
- >>> op.inputs.sector_mesh.connect(my_sector_mesh)
- >>> # or
- >>> op.inputs.sector_mesh(my_sector_mesh)
- """
- return self._sector_mesh
-
- @property
- def read_cyclic(self) -> Input:
- r"""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)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_equivalent_mass()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
- @property
- def expanded_meshed_region(self) -> Input:
- r"""Allows to connect expanded_meshed_region input to the operator.
-
- mesh expanded.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_equivalent_mass()
- >>> 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 cyclic_support(self) -> Input:
- r"""Allows to connect cyclic_support input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_equivalent_mass()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> # or
- >>> op.inputs.cyclic_support(my_cyclic_support)
- """
- return self._cyclic_support
-
-
-class OutputsCyclicEquivalentMass(_Outputs):
- """Intermediate class used to get outputs from
- cyclic_equivalent_mass operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_equivalent_mass()
- >>> # Connect inputs : op.inputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
-
- def __init__(self, op: Operator):
- super().__init__(cyclic_equivalent_mass._spec().outputs, op)
- self._fields_container = Output(
- cyclic_equivalent_mass._spec().output_pin(0), 0, op
- )
- self._outputs.append(self._fields_container)
-
- @property
- def fields_container(self) -> Output:
- r"""Allows to get fields_container output of the operator
-
- FieldsContainer filled in
-
- Returns
- -------
- output:
- An Output instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_equivalent_mass()
- >>> # Get the output from op.outputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
- return self._fields_container
diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_acceleration.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_acceleration.py
deleted file mode 100644
index 527202cb7c5..00000000000
--- a/src/ansys/dpf/core/operators/result/cyclic_expanded_acceleration.py
+++ /dev/null
@@ -1,739 +0,0 @@
-"""
-cyclic_expanded_acceleration
-
-Autogenerated DPF operator classes.
-"""
-
-from __future__ import annotations
-
-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
-from ansys.dpf.core.config import Config
-from ansys.dpf.core.server_types import AnyServerType
-
-
-class cyclic_expanded_acceleration(Operator):
- r"""This operator is deprecated: use the operator nodal accelerations with
- the read_cyclic pin instead. Read nodal accelerations from a result file
- and expand it with cyclic symmetry.
-
-
- Parameters
- ----------
- time_scoping: Scoping, optional
- mesh_scoping: ScopingsContainer or Scoping, optional
- fields_container: FieldsContainer, optional
- FieldsContainer already allocated modified inplace
- streams_container: StreamsContainer or Stream, optional
- Streams containing the result file.
- data_sources: DataSources
- data sources containing the result file.
- bool_rotate_to_global: bool, optional
- if true the field is rotated to global coordinate system (default true)
- all_dofs: bool, optional
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
- sector_mesh: MeshedRegion or MeshesContainer, optional
- mesh of the base sector (can be a skin).
- requested_location: str, optional
- location needed in output
- 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.
- cyclic_support: CyclicSupport, optional
- sectors_to_expand: Scoping or ScopingsContainer, optional
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
- phi: float, optional
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- fields_container: FieldsContainer
- FieldsContainer filled in
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
-
- >>> # Instantiate operator
- >>> op = dpf.operators.result.cyclic_expanded_acceleration()
-
- >>> # 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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.cyclic_expanded_acceleration(
- ... 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,
- ... all_dofs=my_all_dofs,
- ... sector_mesh=my_sector_mesh,
- ... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
- ... expanded_meshed_region=my_expanded_meshed_region,
- ... cyclic_support=my_cyclic_support,
- ... sectors_to_expand=my_sectors_to_expand,
- ... phi=my_phi,
- ... )
-
- >>> # 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,
- all_dofs=None,
- sector_mesh=None,
- requested_location=None,
- read_cyclic=None,
- expanded_meshed_region=None,
- cyclic_support=None,
- sectors_to_expand=None,
- phi=None,
- config=None,
- server=None,
- ):
- super().__init__(name="A_cyclic", config=config, server=server)
- self._inputs = InputsCyclicExpandedAcceleration(self)
- self._outputs = OutputsCyclicExpandedAcceleration(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 all_dofs is not None:
- self.inputs.all_dofs.connect(all_dofs)
- if sector_mesh is not None:
- self.inputs.sector_mesh.connect(sector_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 expanded_meshed_region is not None:
- self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
- if cyclic_support is not None:
- self.inputs.cyclic_support.connect(cyclic_support)
- 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() -> Specification:
- description = r"""This operator is deprecated: use the operator nodal accelerations with
-the read_cyclic pin instead. Read nodal accelerations from a result file
-and expand it with cyclic symmetry.
-"""
- spec = Specification(
- description=description,
- map_input_pin_spec={
- 0: PinSpecification(
- name="time_scoping",
- type_names=["scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 1: PinSpecification(
- name="mesh_scoping",
- type_names=["scopings_container", "scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 2: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=True,
- document=r"""FieldsContainer already allocated modified inplace""",
- ),
- 3: PinSpecification(
- name="streams_container",
- type_names=["streams_container", "stream"],
- optional=True,
- document=r"""Streams containing the result file.""",
- ),
- 4: PinSpecification(
- name="data_sources",
- type_names=["data_sources"],
- optional=False,
- document=r"""data sources containing the result file.""",
- ),
- 5: PinSpecification(
- name="bool_rotate_to_global",
- type_names=["bool"],
- optional=True,
- document=r"""if true the field is rotated to global coordinate system (default true)""",
- ),
- 6: PinSpecification(
- name="all_dofs",
- type_names=["bool"],
- optional=True,
- document=r"""if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.""",
- ),
- 7: PinSpecification(
- name="sector_mesh",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh of the base sector (can be a skin).""",
- ),
- 9: PinSpecification(
- name="requested_location",
- type_names=["string"],
- optional=True,
- document=r"""location needed in output""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document=r"""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)""",
- ),
- 15: PinSpecification(
- name="expanded_meshed_region",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh expanded.""",
- ),
- 16: PinSpecification(
- name="cyclic_support",
- type_names=["cyclic_support"],
- optional=True,
- document=r"""""",
- ),
- 18: PinSpecification(
- name="sectors_to_expand",
- type_names=["vector", "scoping", "scopings_container"],
- optional=True,
- document=r"""sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.""",
- ),
- 19: PinSpecification(
- name="phi",
- type_names=["double"],
- optional=True,
- document=r"""angle phi in degrees (default value 0.0)""",
- ),
- },
- map_output_pin_spec={
- 0: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=False,
- document=r"""FieldsContainer filled in""",
- ),
- },
- )
- return spec
-
- @staticmethod
- def default_config(server: AnyServerType = None) -> Config:
- """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 with channel connected to the remote or local instance. When
- ``None``, attempts to use the global server.
-
- Returns
- -------
- config:
- A new Config instance equivalent to the default config for this operator.
- """
- return Operator.default_config(name="A_cyclic", server=server)
-
- @property
- def inputs(self) -> InputsCyclicExpandedAcceleration:
- """Enables to connect inputs to the operator
-
- Returns
- --------
- inputs:
- An instance of InputsCyclicExpandedAcceleration.
- """
- return super().inputs
-
- @property
- def outputs(self) -> OutputsCyclicExpandedAcceleration:
- """Enables to get outputs of the operator by evaluating it
-
- Returns
- --------
- outputs:
- An instance of OutputsCyclicExpandedAcceleration.
- """
- return super().outputs
-
-
-class InputsCyclicExpandedAcceleration(_Inputs):
- """Intermediate class used to connect user inputs to
- cyclic_expanded_acceleration operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_acceleration()
- >>> 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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):
- super().__init__(cyclic_expanded_acceleration._spec().inputs, op)
- self._time_scoping = Input(
- cyclic_expanded_acceleration._spec().input_pin(0), 0, op, -1
- )
- self._inputs.append(self._time_scoping)
- self._mesh_scoping = Input(
- cyclic_expanded_acceleration._spec().input_pin(1), 1, op, -1
- )
- self._inputs.append(self._mesh_scoping)
- self._fields_container = Input(
- cyclic_expanded_acceleration._spec().input_pin(2), 2, op, -1
- )
- self._inputs.append(self._fields_container)
- self._streams_container = Input(
- cyclic_expanded_acceleration._spec().input_pin(3), 3, op, -1
- )
- self._inputs.append(self._streams_container)
- self._data_sources = Input(
- cyclic_expanded_acceleration._spec().input_pin(4), 4, op, -1
- )
- self._inputs.append(self._data_sources)
- self._bool_rotate_to_global = Input(
- cyclic_expanded_acceleration._spec().input_pin(5), 5, op, -1
- )
- self._inputs.append(self._bool_rotate_to_global)
- self._all_dofs = Input(
- cyclic_expanded_acceleration._spec().input_pin(6), 6, op, -1
- )
- self._inputs.append(self._all_dofs)
- self._sector_mesh = Input(
- cyclic_expanded_acceleration._spec().input_pin(7), 7, op, -1
- )
- self._inputs.append(self._sector_mesh)
- self._requested_location = Input(
- cyclic_expanded_acceleration._spec().input_pin(9), 9, op, -1
- )
- self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- cyclic_expanded_acceleration._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
- self._expanded_meshed_region = Input(
- cyclic_expanded_acceleration._spec().input_pin(15), 15, op, -1
- )
- self._inputs.append(self._expanded_meshed_region)
- self._cyclic_support = Input(
- cyclic_expanded_acceleration._spec().input_pin(16), 16, op, -1
- )
- self._inputs.append(self._cyclic_support)
- self._sectors_to_expand = Input(
- cyclic_expanded_acceleration._spec().input_pin(18), 18, op, -1
- )
- self._inputs.append(self._sectors_to_expand)
- self._phi = Input(
- cyclic_expanded_acceleration._spec().input_pin(19), 19, op, -1
- )
- self._inputs.append(self._phi)
-
- @property
- def time_scoping(self) -> Input:
- r"""Allows to connect time_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_acceleration()
- >>> 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) -> Input:
- r"""Allows to connect mesh_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_acceleration()
- >>> 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) -> Input:
- r"""Allows to connect fields_container input to the operator.
-
- FieldsContainer already allocated modified inplace
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_acceleration()
- >>> 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) -> Input:
- r"""Allows to connect streams_container input to the operator.
-
- Streams containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_acceleration()
- >>> 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) -> Input:
- r"""Allows to connect data_sources input to the operator.
-
- data sources containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_acceleration()
- >>> 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) -> Input:
- r"""Allows to connect bool_rotate_to_global input to the operator.
-
- if true the field is rotated to global coordinate system (default true)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_acceleration()
- >>> 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 all_dofs(self) -> Input:
- r"""Allows to connect all_dofs input to the operator.
-
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_acceleration()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> # or
- >>> op.inputs.all_dofs(my_all_dofs)
- """
- return self._all_dofs
-
- @property
- def sector_mesh(self) -> Input:
- r"""Allows to connect sector_mesh input to the operator.
-
- mesh of the base sector (can be a skin).
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_acceleration()
- >>> op.inputs.sector_mesh.connect(my_sector_mesh)
- >>> # or
- >>> op.inputs.sector_mesh(my_sector_mesh)
- """
- return self._sector_mesh
-
- @property
- def requested_location(self) -> Input:
- r"""Allows to connect requested_location input to the operator.
-
- location needed in output
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_acceleration()
- >>> op.inputs.requested_location.connect(my_requested_location)
- >>> # or
- >>> op.inputs.requested_location(my_requested_location)
- """
- return self._requested_location
-
- @property
- def read_cyclic(self) -> Input:
- r"""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)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_acceleration()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
- @property
- def expanded_meshed_region(self) -> Input:
- r"""Allows to connect expanded_meshed_region input to the operator.
-
- mesh expanded.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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 cyclic_support(self) -> Input:
- r"""Allows to connect cyclic_support input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_acceleration()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> # or
- >>> op.inputs.cyclic_support(my_cyclic_support)
- """
- return self._cyclic_support
-
- @property
- def sectors_to_expand(self) -> Input:
- r"""Allows to connect sectors_to_expand input to the operator.
-
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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) -> Input:
- r"""Allows to connect phi input to the operator.
-
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_acceleration()
- >>> op.inputs.phi.connect(my_phi)
- >>> # or
- >>> op.inputs.phi(my_phi)
- """
- return self._phi
-
-
-class OutputsCyclicExpandedAcceleration(_Outputs):
- """Intermediate class used to get outputs from
- cyclic_expanded_acceleration operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_acceleration()
- >>> # Connect inputs : op.inputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
-
- def __init__(self, op: Operator):
- super().__init__(cyclic_expanded_acceleration._spec().outputs, op)
- self._fields_container = Output(
- cyclic_expanded_acceleration._spec().output_pin(0), 0, op
- )
- self._outputs.append(self._fields_container)
-
- @property
- def fields_container(self) -> Output:
- r"""Allows to get fields_container output of the operator
-
- FieldsContainer filled in
-
- Returns
- -------
- output:
- An Output instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_acceleration()
- >>> # Get the output from op.outputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
- return self._fields_container
diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_contact_fluid_penetration_pressure.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_contact_fluid_penetration_pressure.py
deleted file mode 100644
index a340af3a4b9..00000000000
--- a/src/ansys/dpf/core/operators/result/cyclic_expanded_contact_fluid_penetration_pressure.py
+++ /dev/null
@@ -1,789 +0,0 @@
-"""
-cyclic_expanded_contact_fluid_penetration_pressure
-
-Autogenerated DPF operator classes.
-"""
-
-from __future__ import annotations
-
-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
-from ansys.dpf.core.config import Config
-from ansys.dpf.core.server_types import AnyServerType
-
-
-class cyclic_expanded_contact_fluid_penetration_pressure(Operator):
- r"""This operator is deprecated: use the operator element actual applied
- fluid penetration pressure with the read_cyclic pin instead. Read
- element actual applied fluid penetration pressure from a result file and
- expand it with cyclic symmetry.
-
-
- Parameters
- ----------
- time_scoping: Scoping, optional
- mesh_scoping: ScopingsContainer or Scoping, optional
- fields_container: FieldsContainer, optional
- FieldsContainer already allocated modified inplace
- streams_container: StreamsContainer or Stream, optional
- Streams containing the result file.
- data_sources: DataSources
- data sources containing the result file.
- bool_rotate_to_global: bool, optional
- if true the field is rotated to global coordinate system (default true)
- all_dofs: bool, optional
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
- sector_mesh: MeshedRegion or MeshesContainer, optional
- mesh of the base sector (can be a skin).
- requested_location: str, optional
- location needed in output
- 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.
- cyclic_support: CyclicSupport, optional
- sectors_to_expand: Scoping or ScopingsContainer, optional
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
- phi: float, optional
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- fields_container: FieldsContainer
- FieldsContainer filled in
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
-
- >>> # Instantiate operator
- >>> op = dpf.operators.result.cyclic_expanded_contact_fluid_penetration_pressure()
-
- >>> # 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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.cyclic_expanded_contact_fluid_penetration_pressure(
- ... 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,
- ... all_dofs=my_all_dofs,
- ... sector_mesh=my_sector_mesh,
- ... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
- ... expanded_meshed_region=my_expanded_meshed_region,
- ... cyclic_support=my_cyclic_support,
- ... sectors_to_expand=my_sectors_to_expand,
- ... phi=my_phi,
- ... )
-
- >>> # 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,
- all_dofs=None,
- sector_mesh=None,
- requested_location=None,
- read_cyclic=None,
- expanded_meshed_region=None,
- cyclic_support=None,
- sectors_to_expand=None,
- phi=None,
- config=None,
- server=None,
- ):
- super().__init__(name="ECT_FRES_cyclic", config=config, server=server)
- self._inputs = InputsCyclicExpandedContactFluidPenetrationPressure(self)
- self._outputs = OutputsCyclicExpandedContactFluidPenetrationPressure(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 all_dofs is not None:
- self.inputs.all_dofs.connect(all_dofs)
- if sector_mesh is not None:
- self.inputs.sector_mesh.connect(sector_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 expanded_meshed_region is not None:
- self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
- if cyclic_support is not None:
- self.inputs.cyclic_support.connect(cyclic_support)
- 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() -> Specification:
- description = r"""This operator is deprecated: use the operator element actual applied
-fluid penetration pressure with the read_cyclic pin instead. Read
-element actual applied fluid penetration pressure from a result file and
-expand it with cyclic symmetry.
-"""
- spec = Specification(
- description=description,
- map_input_pin_spec={
- 0: PinSpecification(
- name="time_scoping",
- type_names=["scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 1: PinSpecification(
- name="mesh_scoping",
- type_names=["scopings_container", "scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 2: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=True,
- document=r"""FieldsContainer already allocated modified inplace""",
- ),
- 3: PinSpecification(
- name="streams_container",
- type_names=["streams_container", "stream"],
- optional=True,
- document=r"""Streams containing the result file.""",
- ),
- 4: PinSpecification(
- name="data_sources",
- type_names=["data_sources"],
- optional=False,
- document=r"""data sources containing the result file.""",
- ),
- 5: PinSpecification(
- name="bool_rotate_to_global",
- type_names=["bool"],
- optional=True,
- document=r"""if true the field is rotated to global coordinate system (default true)""",
- ),
- 6: PinSpecification(
- name="all_dofs",
- type_names=["bool"],
- optional=True,
- document=r"""if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.""",
- ),
- 7: PinSpecification(
- name="sector_mesh",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh of the base sector (can be a skin).""",
- ),
- 9: PinSpecification(
- name="requested_location",
- type_names=["string"],
- optional=True,
- document=r"""location needed in output""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document=r"""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)""",
- ),
- 15: PinSpecification(
- name="expanded_meshed_region",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh expanded.""",
- ),
- 16: PinSpecification(
- name="cyclic_support",
- type_names=["cyclic_support"],
- optional=True,
- document=r"""""",
- ),
- 18: PinSpecification(
- name="sectors_to_expand",
- type_names=["vector", "scoping", "scopings_container"],
- optional=True,
- document=r"""sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.""",
- ),
- 19: PinSpecification(
- name="phi",
- type_names=["double"],
- optional=True,
- document=r"""angle phi in degrees (default value 0.0)""",
- ),
- },
- map_output_pin_spec={
- 0: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=False,
- document=r"""FieldsContainer filled in""",
- ),
- },
- )
- return spec
-
- @staticmethod
- def default_config(server: AnyServerType = None) -> Config:
- """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 with channel connected to the remote or local instance. When
- ``None``, attempts to use the global server.
-
- Returns
- -------
- config:
- A new Config instance equivalent to the default config for this operator.
- """
- return Operator.default_config(name="ECT_FRES_cyclic", server=server)
-
- @property
- def inputs(self) -> InputsCyclicExpandedContactFluidPenetrationPressure:
- """Enables to connect inputs to the operator
-
- Returns
- --------
- inputs:
- An instance of InputsCyclicExpandedContactFluidPenetrationPressure.
- """
- return super().inputs
-
- @property
- def outputs(self) -> OutputsCyclicExpandedContactFluidPenetrationPressure:
- """Enables to get outputs of the operator by evaluating it
-
- Returns
- --------
- outputs:
- An instance of OutputsCyclicExpandedContactFluidPenetrationPressure.
- """
- return super().outputs
-
-
-class InputsCyclicExpandedContactFluidPenetrationPressure(_Inputs):
- """Intermediate class used to connect user inputs to
- cyclic_expanded_contact_fluid_penetration_pressure operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_fluid_penetration_pressure()
- >>> 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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):
- super().__init__(
- cyclic_expanded_contact_fluid_penetration_pressure._spec().inputs, op
- )
- self._time_scoping = Input(
- cyclic_expanded_contact_fluid_penetration_pressure._spec().input_pin(0),
- 0,
- op,
- -1,
- )
- self._inputs.append(self._time_scoping)
- self._mesh_scoping = Input(
- cyclic_expanded_contact_fluid_penetration_pressure._spec().input_pin(1),
- 1,
- op,
- -1,
- )
- self._inputs.append(self._mesh_scoping)
- self._fields_container = Input(
- cyclic_expanded_contact_fluid_penetration_pressure._spec().input_pin(2),
- 2,
- op,
- -1,
- )
- self._inputs.append(self._fields_container)
- self._streams_container = Input(
- cyclic_expanded_contact_fluid_penetration_pressure._spec().input_pin(3),
- 3,
- op,
- -1,
- )
- self._inputs.append(self._streams_container)
- self._data_sources = Input(
- cyclic_expanded_contact_fluid_penetration_pressure._spec().input_pin(4),
- 4,
- op,
- -1,
- )
- self._inputs.append(self._data_sources)
- self._bool_rotate_to_global = Input(
- cyclic_expanded_contact_fluid_penetration_pressure._spec().input_pin(5),
- 5,
- op,
- -1,
- )
- self._inputs.append(self._bool_rotate_to_global)
- self._all_dofs = Input(
- cyclic_expanded_contact_fluid_penetration_pressure._spec().input_pin(6),
- 6,
- op,
- -1,
- )
- self._inputs.append(self._all_dofs)
- self._sector_mesh = Input(
- cyclic_expanded_contact_fluid_penetration_pressure._spec().input_pin(7),
- 7,
- op,
- -1,
- )
- self._inputs.append(self._sector_mesh)
- self._requested_location = Input(
- cyclic_expanded_contact_fluid_penetration_pressure._spec().input_pin(9),
- 9,
- op,
- -1,
- )
- self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- cyclic_expanded_contact_fluid_penetration_pressure._spec().input_pin(14),
- 14,
- op,
- -1,
- )
- self._inputs.append(self._read_cyclic)
- self._expanded_meshed_region = Input(
- cyclic_expanded_contact_fluid_penetration_pressure._spec().input_pin(15),
- 15,
- op,
- -1,
- )
- self._inputs.append(self._expanded_meshed_region)
- self._cyclic_support = Input(
- cyclic_expanded_contact_fluid_penetration_pressure._spec().input_pin(16),
- 16,
- op,
- -1,
- )
- self._inputs.append(self._cyclic_support)
- self._sectors_to_expand = Input(
- cyclic_expanded_contact_fluid_penetration_pressure._spec().input_pin(18),
- 18,
- op,
- -1,
- )
- self._inputs.append(self._sectors_to_expand)
- self._phi = Input(
- cyclic_expanded_contact_fluid_penetration_pressure._spec().input_pin(19),
- 19,
- op,
- -1,
- )
- self._inputs.append(self._phi)
-
- @property
- def time_scoping(self) -> Input:
- r"""Allows to connect time_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_fluid_penetration_pressure()
- >>> 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) -> Input:
- r"""Allows to connect mesh_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_fluid_penetration_pressure()
- >>> 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) -> Input:
- r"""Allows to connect fields_container input to the operator.
-
- FieldsContainer already allocated modified inplace
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_fluid_penetration_pressure()
- >>> 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) -> Input:
- r"""Allows to connect streams_container input to the operator.
-
- Streams containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_fluid_penetration_pressure()
- >>> 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) -> Input:
- r"""Allows to connect data_sources input to the operator.
-
- data sources containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_fluid_penetration_pressure()
- >>> 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) -> Input:
- r"""Allows to connect bool_rotate_to_global input to the operator.
-
- if true the field is rotated to global coordinate system (default true)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_fluid_penetration_pressure()
- >>> 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 all_dofs(self) -> Input:
- r"""Allows to connect all_dofs input to the operator.
-
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_fluid_penetration_pressure()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> # or
- >>> op.inputs.all_dofs(my_all_dofs)
- """
- return self._all_dofs
-
- @property
- def sector_mesh(self) -> Input:
- r"""Allows to connect sector_mesh input to the operator.
-
- mesh of the base sector (can be a skin).
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_fluid_penetration_pressure()
- >>> op.inputs.sector_mesh.connect(my_sector_mesh)
- >>> # or
- >>> op.inputs.sector_mesh(my_sector_mesh)
- """
- return self._sector_mesh
-
- @property
- def requested_location(self) -> Input:
- r"""Allows to connect requested_location input to the operator.
-
- location needed in output
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_fluid_penetration_pressure()
- >>> op.inputs.requested_location.connect(my_requested_location)
- >>> # or
- >>> op.inputs.requested_location(my_requested_location)
- """
- return self._requested_location
-
- @property
- def read_cyclic(self) -> Input:
- r"""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)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_fluid_penetration_pressure()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
- @property
- def expanded_meshed_region(self) -> Input:
- r"""Allows to connect expanded_meshed_region input to the operator.
-
- mesh expanded.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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 cyclic_support(self) -> Input:
- r"""Allows to connect cyclic_support input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_fluid_penetration_pressure()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> # or
- >>> op.inputs.cyclic_support(my_cyclic_support)
- """
- return self._cyclic_support
-
- @property
- def sectors_to_expand(self) -> Input:
- r"""Allows to connect sectors_to_expand input to the operator.
-
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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) -> Input:
- r"""Allows to connect phi input to the operator.
-
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_fluid_penetration_pressure()
- >>> op.inputs.phi.connect(my_phi)
- >>> # or
- >>> op.inputs.phi(my_phi)
- """
- return self._phi
-
-
-class OutputsCyclicExpandedContactFluidPenetrationPressure(_Outputs):
- """Intermediate class used to get outputs from
- cyclic_expanded_contact_fluid_penetration_pressure operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_fluid_penetration_pressure()
- >>> # Connect inputs : op.inputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
-
- def __init__(self, op: Operator):
- super().__init__(
- cyclic_expanded_contact_fluid_penetration_pressure._spec().outputs, op
- )
- self._fields_container = Output(
- cyclic_expanded_contact_fluid_penetration_pressure._spec().output_pin(0),
- 0,
- op,
- )
- self._outputs.append(self._fields_container)
-
- @property
- def fields_container(self) -> Output:
- r"""Allows to get fields_container output of the operator
-
- FieldsContainer filled in
-
- Returns
- -------
- output:
- An Output instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_fluid_penetration_pressure()
- >>> # Get the output from op.outputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
- return self._fields_container
diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_contact_friction_stress.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_contact_friction_stress.py
deleted file mode 100644
index 8056c52824d..00000000000
--- a/src/ansys/dpf/core/operators/result/cyclic_expanded_contact_friction_stress.py
+++ /dev/null
@@ -1,739 +0,0 @@
-"""
-cyclic_expanded_contact_friction_stress
-
-Autogenerated DPF operator classes.
-"""
-
-from __future__ import annotations
-
-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
-from ansys.dpf.core.config import Config
-from ansys.dpf.core.server_types import AnyServerType
-
-
-class cyclic_expanded_contact_friction_stress(Operator):
- r"""This operator is deprecated: use the operator element contact friction
- stress with the read_cyclic pin instead. Read element contact friction
- stress from a result file and expand it with cyclic symmetry.
-
-
- Parameters
- ----------
- time_scoping: Scoping, optional
- mesh_scoping: ScopingsContainer or Scoping, optional
- fields_container: FieldsContainer, optional
- FieldsContainer already allocated modified inplace
- streams_container: StreamsContainer or Stream, optional
- Streams containing the result file.
- data_sources: DataSources
- data sources containing the result file.
- bool_rotate_to_global: bool, optional
- if true the field is rotated to global coordinate system (default true)
- all_dofs: bool, optional
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
- sector_mesh: MeshedRegion or MeshesContainer, optional
- mesh of the base sector (can be a skin).
- requested_location: str, optional
- location needed in output
- 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.
- cyclic_support: CyclicSupport, optional
- sectors_to_expand: Scoping or ScopingsContainer, optional
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
- phi: float, optional
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- fields_container: FieldsContainer
- FieldsContainer filled in
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
-
- >>> # Instantiate operator
- >>> op = dpf.operators.result.cyclic_expanded_contact_friction_stress()
-
- >>> # 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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.cyclic_expanded_contact_friction_stress(
- ... 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,
- ... all_dofs=my_all_dofs,
- ... sector_mesh=my_sector_mesh,
- ... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
- ... expanded_meshed_region=my_expanded_meshed_region,
- ... cyclic_support=my_cyclic_support,
- ... sectors_to_expand=my_sectors_to_expand,
- ... phi=my_phi,
- ... )
-
- >>> # 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,
- all_dofs=None,
- sector_mesh=None,
- requested_location=None,
- read_cyclic=None,
- expanded_meshed_region=None,
- cyclic_support=None,
- sectors_to_expand=None,
- phi=None,
- config=None,
- server=None,
- ):
- super().__init__(name="ECT_SFRIC_cyclic", config=config, server=server)
- self._inputs = InputsCyclicExpandedContactFrictionStress(self)
- self._outputs = OutputsCyclicExpandedContactFrictionStress(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 all_dofs is not None:
- self.inputs.all_dofs.connect(all_dofs)
- if sector_mesh is not None:
- self.inputs.sector_mesh.connect(sector_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 expanded_meshed_region is not None:
- self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
- if cyclic_support is not None:
- self.inputs.cyclic_support.connect(cyclic_support)
- 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() -> Specification:
- description = r"""This operator is deprecated: use the operator element contact friction
-stress with the read_cyclic pin instead. Read element contact friction
-stress from a result file and expand it with cyclic symmetry.
-"""
- spec = Specification(
- description=description,
- map_input_pin_spec={
- 0: PinSpecification(
- name="time_scoping",
- type_names=["scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 1: PinSpecification(
- name="mesh_scoping",
- type_names=["scopings_container", "scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 2: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=True,
- document=r"""FieldsContainer already allocated modified inplace""",
- ),
- 3: PinSpecification(
- name="streams_container",
- type_names=["streams_container", "stream"],
- optional=True,
- document=r"""Streams containing the result file.""",
- ),
- 4: PinSpecification(
- name="data_sources",
- type_names=["data_sources"],
- optional=False,
- document=r"""data sources containing the result file.""",
- ),
- 5: PinSpecification(
- name="bool_rotate_to_global",
- type_names=["bool"],
- optional=True,
- document=r"""if true the field is rotated to global coordinate system (default true)""",
- ),
- 6: PinSpecification(
- name="all_dofs",
- type_names=["bool"],
- optional=True,
- document=r"""if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.""",
- ),
- 7: PinSpecification(
- name="sector_mesh",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh of the base sector (can be a skin).""",
- ),
- 9: PinSpecification(
- name="requested_location",
- type_names=["string"],
- optional=True,
- document=r"""location needed in output""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document=r"""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)""",
- ),
- 15: PinSpecification(
- name="expanded_meshed_region",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh expanded.""",
- ),
- 16: PinSpecification(
- name="cyclic_support",
- type_names=["cyclic_support"],
- optional=True,
- document=r"""""",
- ),
- 18: PinSpecification(
- name="sectors_to_expand",
- type_names=["vector", "scoping", "scopings_container"],
- optional=True,
- document=r"""sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.""",
- ),
- 19: PinSpecification(
- name="phi",
- type_names=["double"],
- optional=True,
- document=r"""angle phi in degrees (default value 0.0)""",
- ),
- },
- map_output_pin_spec={
- 0: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=False,
- document=r"""FieldsContainer filled in""",
- ),
- },
- )
- return spec
-
- @staticmethod
- def default_config(server: AnyServerType = None) -> Config:
- """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 with channel connected to the remote or local instance. When
- ``None``, attempts to use the global server.
-
- Returns
- -------
- config:
- A new Config instance equivalent to the default config for this operator.
- """
- return Operator.default_config(name="ECT_SFRIC_cyclic", server=server)
-
- @property
- def inputs(self) -> InputsCyclicExpandedContactFrictionStress:
- """Enables to connect inputs to the operator
-
- Returns
- --------
- inputs:
- An instance of InputsCyclicExpandedContactFrictionStress.
- """
- return super().inputs
-
- @property
- def outputs(self) -> OutputsCyclicExpandedContactFrictionStress:
- """Enables to get outputs of the operator by evaluating it
-
- Returns
- --------
- outputs:
- An instance of OutputsCyclicExpandedContactFrictionStress.
- """
- return super().outputs
-
-
-class InputsCyclicExpandedContactFrictionStress(_Inputs):
- """Intermediate class used to connect user inputs to
- cyclic_expanded_contact_friction_stress operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_friction_stress()
- >>> 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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):
- super().__init__(cyclic_expanded_contact_friction_stress._spec().inputs, op)
- self._time_scoping = Input(
- cyclic_expanded_contact_friction_stress._spec().input_pin(0), 0, op, -1
- )
- self._inputs.append(self._time_scoping)
- self._mesh_scoping = Input(
- cyclic_expanded_contact_friction_stress._spec().input_pin(1), 1, op, -1
- )
- self._inputs.append(self._mesh_scoping)
- self._fields_container = Input(
- cyclic_expanded_contact_friction_stress._spec().input_pin(2), 2, op, -1
- )
- self._inputs.append(self._fields_container)
- self._streams_container = Input(
- cyclic_expanded_contact_friction_stress._spec().input_pin(3), 3, op, -1
- )
- self._inputs.append(self._streams_container)
- self._data_sources = Input(
- cyclic_expanded_contact_friction_stress._spec().input_pin(4), 4, op, -1
- )
- self._inputs.append(self._data_sources)
- self._bool_rotate_to_global = Input(
- cyclic_expanded_contact_friction_stress._spec().input_pin(5), 5, op, -1
- )
- self._inputs.append(self._bool_rotate_to_global)
- self._all_dofs = Input(
- cyclic_expanded_contact_friction_stress._spec().input_pin(6), 6, op, -1
- )
- self._inputs.append(self._all_dofs)
- self._sector_mesh = Input(
- cyclic_expanded_contact_friction_stress._spec().input_pin(7), 7, op, -1
- )
- self._inputs.append(self._sector_mesh)
- self._requested_location = Input(
- cyclic_expanded_contact_friction_stress._spec().input_pin(9), 9, op, -1
- )
- self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- cyclic_expanded_contact_friction_stress._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
- self._expanded_meshed_region = Input(
- cyclic_expanded_contact_friction_stress._spec().input_pin(15), 15, op, -1
- )
- self._inputs.append(self._expanded_meshed_region)
- self._cyclic_support = Input(
- cyclic_expanded_contact_friction_stress._spec().input_pin(16), 16, op, -1
- )
- self._inputs.append(self._cyclic_support)
- self._sectors_to_expand = Input(
- cyclic_expanded_contact_friction_stress._spec().input_pin(18), 18, op, -1
- )
- self._inputs.append(self._sectors_to_expand)
- self._phi = Input(
- cyclic_expanded_contact_friction_stress._spec().input_pin(19), 19, op, -1
- )
- self._inputs.append(self._phi)
-
- @property
- def time_scoping(self) -> Input:
- r"""Allows to connect time_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_friction_stress()
- >>> 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) -> Input:
- r"""Allows to connect mesh_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_friction_stress()
- >>> 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) -> Input:
- r"""Allows to connect fields_container input to the operator.
-
- FieldsContainer already allocated modified inplace
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_friction_stress()
- >>> 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) -> Input:
- r"""Allows to connect streams_container input to the operator.
-
- Streams containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_friction_stress()
- >>> 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) -> Input:
- r"""Allows to connect data_sources input to the operator.
-
- data sources containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_friction_stress()
- >>> 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) -> Input:
- r"""Allows to connect bool_rotate_to_global input to the operator.
-
- if true the field is rotated to global coordinate system (default true)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_friction_stress()
- >>> 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 all_dofs(self) -> Input:
- r"""Allows to connect all_dofs input to the operator.
-
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_friction_stress()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> # or
- >>> op.inputs.all_dofs(my_all_dofs)
- """
- return self._all_dofs
-
- @property
- def sector_mesh(self) -> Input:
- r"""Allows to connect sector_mesh input to the operator.
-
- mesh of the base sector (can be a skin).
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_friction_stress()
- >>> op.inputs.sector_mesh.connect(my_sector_mesh)
- >>> # or
- >>> op.inputs.sector_mesh(my_sector_mesh)
- """
- return self._sector_mesh
-
- @property
- def requested_location(self) -> Input:
- r"""Allows to connect requested_location input to the operator.
-
- location needed in output
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_friction_stress()
- >>> op.inputs.requested_location.connect(my_requested_location)
- >>> # or
- >>> op.inputs.requested_location(my_requested_location)
- """
- return self._requested_location
-
- @property
- def read_cyclic(self) -> Input:
- r"""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)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_friction_stress()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
- @property
- def expanded_meshed_region(self) -> Input:
- r"""Allows to connect expanded_meshed_region input to the operator.
-
- mesh expanded.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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 cyclic_support(self) -> Input:
- r"""Allows to connect cyclic_support input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_friction_stress()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> # or
- >>> op.inputs.cyclic_support(my_cyclic_support)
- """
- return self._cyclic_support
-
- @property
- def sectors_to_expand(self) -> Input:
- r"""Allows to connect sectors_to_expand input to the operator.
-
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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) -> Input:
- r"""Allows to connect phi input to the operator.
-
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_friction_stress()
- >>> op.inputs.phi.connect(my_phi)
- >>> # or
- >>> op.inputs.phi(my_phi)
- """
- return self._phi
-
-
-class OutputsCyclicExpandedContactFrictionStress(_Outputs):
- """Intermediate class used to get outputs from
- cyclic_expanded_contact_friction_stress operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_friction_stress()
- >>> # Connect inputs : op.inputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
-
- def __init__(self, op: Operator):
- super().__init__(cyclic_expanded_contact_friction_stress._spec().outputs, op)
- self._fields_container = Output(
- cyclic_expanded_contact_friction_stress._spec().output_pin(0), 0, op
- )
- self._outputs.append(self._fields_container)
-
- @property
- def fields_container(self) -> Output:
- r"""Allows to get fields_container output of the operator
-
- FieldsContainer filled in
-
- Returns
- -------
- output:
- An Output instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_friction_stress()
- >>> # Get the output from op.outputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
- return self._fields_container
diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_contact_gap_distance.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_contact_gap_distance.py
deleted file mode 100644
index c86ebb8f36a..00000000000
--- a/src/ansys/dpf/core/operators/result/cyclic_expanded_contact_gap_distance.py
+++ /dev/null
@@ -1,739 +0,0 @@
-"""
-cyclic_expanded_contact_gap_distance
-
-Autogenerated DPF operator classes.
-"""
-
-from __future__ import annotations
-
-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
-from ansys.dpf.core.config import Config
-from ansys.dpf.core.server_types import AnyServerType
-
-
-class cyclic_expanded_contact_gap_distance(Operator):
- r"""This operator is deprecated: use the operator element contact gap
- distance with the read_cyclic pin instead. Read element contact gap
- distance from a result file and expand it with cyclic symmetry.
-
-
- Parameters
- ----------
- time_scoping: Scoping, optional
- mesh_scoping: ScopingsContainer or Scoping, optional
- fields_container: FieldsContainer, optional
- FieldsContainer already allocated modified inplace
- streams_container: StreamsContainer or Stream, optional
- Streams containing the result file.
- data_sources: DataSources
- data sources containing the result file.
- bool_rotate_to_global: bool, optional
- if true the field is rotated to global coordinate system (default true)
- all_dofs: bool, optional
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
- sector_mesh: MeshedRegion or MeshesContainer, optional
- mesh of the base sector (can be a skin).
- requested_location: str, optional
- location needed in output
- 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.
- cyclic_support: CyclicSupport, optional
- sectors_to_expand: Scoping or ScopingsContainer, optional
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
- phi: float, optional
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- fields_container: FieldsContainer
- FieldsContainer filled in
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
-
- >>> # Instantiate operator
- >>> op = dpf.operators.result.cyclic_expanded_contact_gap_distance()
-
- >>> # 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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.cyclic_expanded_contact_gap_distance(
- ... 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,
- ... all_dofs=my_all_dofs,
- ... sector_mesh=my_sector_mesh,
- ... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
- ... expanded_meshed_region=my_expanded_meshed_region,
- ... cyclic_support=my_cyclic_support,
- ... sectors_to_expand=my_sectors_to_expand,
- ... phi=my_phi,
- ... )
-
- >>> # 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,
- all_dofs=None,
- sector_mesh=None,
- requested_location=None,
- read_cyclic=None,
- expanded_meshed_region=None,
- cyclic_support=None,
- sectors_to_expand=None,
- phi=None,
- config=None,
- server=None,
- ):
- super().__init__(name="ECT_GAP_cyclic", config=config, server=server)
- self._inputs = InputsCyclicExpandedContactGapDistance(self)
- self._outputs = OutputsCyclicExpandedContactGapDistance(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 all_dofs is not None:
- self.inputs.all_dofs.connect(all_dofs)
- if sector_mesh is not None:
- self.inputs.sector_mesh.connect(sector_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 expanded_meshed_region is not None:
- self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
- if cyclic_support is not None:
- self.inputs.cyclic_support.connect(cyclic_support)
- 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() -> Specification:
- description = r"""This operator is deprecated: use the operator element contact gap
-distance with the read_cyclic pin instead. Read element contact gap
-distance from a result file and expand it with cyclic symmetry.
-"""
- spec = Specification(
- description=description,
- map_input_pin_spec={
- 0: PinSpecification(
- name="time_scoping",
- type_names=["scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 1: PinSpecification(
- name="mesh_scoping",
- type_names=["scopings_container", "scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 2: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=True,
- document=r"""FieldsContainer already allocated modified inplace""",
- ),
- 3: PinSpecification(
- name="streams_container",
- type_names=["streams_container", "stream"],
- optional=True,
- document=r"""Streams containing the result file.""",
- ),
- 4: PinSpecification(
- name="data_sources",
- type_names=["data_sources"],
- optional=False,
- document=r"""data sources containing the result file.""",
- ),
- 5: PinSpecification(
- name="bool_rotate_to_global",
- type_names=["bool"],
- optional=True,
- document=r"""if true the field is rotated to global coordinate system (default true)""",
- ),
- 6: PinSpecification(
- name="all_dofs",
- type_names=["bool"],
- optional=True,
- document=r"""if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.""",
- ),
- 7: PinSpecification(
- name="sector_mesh",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh of the base sector (can be a skin).""",
- ),
- 9: PinSpecification(
- name="requested_location",
- type_names=["string"],
- optional=True,
- document=r"""location needed in output""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document=r"""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)""",
- ),
- 15: PinSpecification(
- name="expanded_meshed_region",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh expanded.""",
- ),
- 16: PinSpecification(
- name="cyclic_support",
- type_names=["cyclic_support"],
- optional=True,
- document=r"""""",
- ),
- 18: PinSpecification(
- name="sectors_to_expand",
- type_names=["vector", "scoping", "scopings_container"],
- optional=True,
- document=r"""sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.""",
- ),
- 19: PinSpecification(
- name="phi",
- type_names=["double"],
- optional=True,
- document=r"""angle phi in degrees (default value 0.0)""",
- ),
- },
- map_output_pin_spec={
- 0: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=False,
- document=r"""FieldsContainer filled in""",
- ),
- },
- )
- return spec
-
- @staticmethod
- def default_config(server: AnyServerType = None) -> Config:
- """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 with channel connected to the remote or local instance. When
- ``None``, attempts to use the global server.
-
- Returns
- -------
- config:
- A new Config instance equivalent to the default config for this operator.
- """
- return Operator.default_config(name="ECT_GAP_cyclic", server=server)
-
- @property
- def inputs(self) -> InputsCyclicExpandedContactGapDistance:
- """Enables to connect inputs to the operator
-
- Returns
- --------
- inputs:
- An instance of InputsCyclicExpandedContactGapDistance.
- """
- return super().inputs
-
- @property
- def outputs(self) -> OutputsCyclicExpandedContactGapDistance:
- """Enables to get outputs of the operator by evaluating it
-
- Returns
- --------
- outputs:
- An instance of OutputsCyclicExpandedContactGapDistance.
- """
- return super().outputs
-
-
-class InputsCyclicExpandedContactGapDistance(_Inputs):
- """Intermediate class used to connect user inputs to
- cyclic_expanded_contact_gap_distance operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_gap_distance()
- >>> 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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):
- super().__init__(cyclic_expanded_contact_gap_distance._spec().inputs, op)
- self._time_scoping = Input(
- cyclic_expanded_contact_gap_distance._spec().input_pin(0), 0, op, -1
- )
- self._inputs.append(self._time_scoping)
- self._mesh_scoping = Input(
- cyclic_expanded_contact_gap_distance._spec().input_pin(1), 1, op, -1
- )
- self._inputs.append(self._mesh_scoping)
- self._fields_container = Input(
- cyclic_expanded_contact_gap_distance._spec().input_pin(2), 2, op, -1
- )
- self._inputs.append(self._fields_container)
- self._streams_container = Input(
- cyclic_expanded_contact_gap_distance._spec().input_pin(3), 3, op, -1
- )
- self._inputs.append(self._streams_container)
- self._data_sources = Input(
- cyclic_expanded_contact_gap_distance._spec().input_pin(4), 4, op, -1
- )
- self._inputs.append(self._data_sources)
- self._bool_rotate_to_global = Input(
- cyclic_expanded_contact_gap_distance._spec().input_pin(5), 5, op, -1
- )
- self._inputs.append(self._bool_rotate_to_global)
- self._all_dofs = Input(
- cyclic_expanded_contact_gap_distance._spec().input_pin(6), 6, op, -1
- )
- self._inputs.append(self._all_dofs)
- self._sector_mesh = Input(
- cyclic_expanded_contact_gap_distance._spec().input_pin(7), 7, op, -1
- )
- self._inputs.append(self._sector_mesh)
- self._requested_location = Input(
- cyclic_expanded_contact_gap_distance._spec().input_pin(9), 9, op, -1
- )
- self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- cyclic_expanded_contact_gap_distance._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
- self._expanded_meshed_region = Input(
- cyclic_expanded_contact_gap_distance._spec().input_pin(15), 15, op, -1
- )
- self._inputs.append(self._expanded_meshed_region)
- self._cyclic_support = Input(
- cyclic_expanded_contact_gap_distance._spec().input_pin(16), 16, op, -1
- )
- self._inputs.append(self._cyclic_support)
- self._sectors_to_expand = Input(
- cyclic_expanded_contact_gap_distance._spec().input_pin(18), 18, op, -1
- )
- self._inputs.append(self._sectors_to_expand)
- self._phi = Input(
- cyclic_expanded_contact_gap_distance._spec().input_pin(19), 19, op, -1
- )
- self._inputs.append(self._phi)
-
- @property
- def time_scoping(self) -> Input:
- r"""Allows to connect time_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_gap_distance()
- >>> 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) -> Input:
- r"""Allows to connect mesh_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_gap_distance()
- >>> 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) -> Input:
- r"""Allows to connect fields_container input to the operator.
-
- FieldsContainer already allocated modified inplace
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_gap_distance()
- >>> 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) -> Input:
- r"""Allows to connect streams_container input to the operator.
-
- Streams containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_gap_distance()
- >>> 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) -> Input:
- r"""Allows to connect data_sources input to the operator.
-
- data sources containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_gap_distance()
- >>> 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) -> Input:
- r"""Allows to connect bool_rotate_to_global input to the operator.
-
- if true the field is rotated to global coordinate system (default true)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_gap_distance()
- >>> 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 all_dofs(self) -> Input:
- r"""Allows to connect all_dofs input to the operator.
-
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_gap_distance()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> # or
- >>> op.inputs.all_dofs(my_all_dofs)
- """
- return self._all_dofs
-
- @property
- def sector_mesh(self) -> Input:
- r"""Allows to connect sector_mesh input to the operator.
-
- mesh of the base sector (can be a skin).
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_gap_distance()
- >>> op.inputs.sector_mesh.connect(my_sector_mesh)
- >>> # or
- >>> op.inputs.sector_mesh(my_sector_mesh)
- """
- return self._sector_mesh
-
- @property
- def requested_location(self) -> Input:
- r"""Allows to connect requested_location input to the operator.
-
- location needed in output
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_gap_distance()
- >>> op.inputs.requested_location.connect(my_requested_location)
- >>> # or
- >>> op.inputs.requested_location(my_requested_location)
- """
- return self._requested_location
-
- @property
- def read_cyclic(self) -> Input:
- r"""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)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_gap_distance()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
- @property
- def expanded_meshed_region(self) -> Input:
- r"""Allows to connect expanded_meshed_region input to the operator.
-
- mesh expanded.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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 cyclic_support(self) -> Input:
- r"""Allows to connect cyclic_support input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_gap_distance()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> # or
- >>> op.inputs.cyclic_support(my_cyclic_support)
- """
- return self._cyclic_support
-
- @property
- def sectors_to_expand(self) -> Input:
- r"""Allows to connect sectors_to_expand input to the operator.
-
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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) -> Input:
- r"""Allows to connect phi input to the operator.
-
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_gap_distance()
- >>> op.inputs.phi.connect(my_phi)
- >>> # or
- >>> op.inputs.phi(my_phi)
- """
- return self._phi
-
-
-class OutputsCyclicExpandedContactGapDistance(_Outputs):
- """Intermediate class used to get outputs from
- cyclic_expanded_contact_gap_distance operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_gap_distance()
- >>> # Connect inputs : op.inputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
-
- def __init__(self, op: Operator):
- super().__init__(cyclic_expanded_contact_gap_distance._spec().outputs, op)
- self._fields_container = Output(
- cyclic_expanded_contact_gap_distance._spec().output_pin(0), 0, op
- )
- self._outputs.append(self._fields_container)
-
- @property
- def fields_container(self) -> Output:
- r"""Allows to get fields_container output of the operator
-
- FieldsContainer filled in
-
- Returns
- -------
- output:
- An Output instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_gap_distance()
- >>> # Get the output from op.outputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
- return self._fields_container
diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_contact_penetration.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_contact_penetration.py
deleted file mode 100644
index 532e4c8ba49..00000000000
--- a/src/ansys/dpf/core/operators/result/cyclic_expanded_contact_penetration.py
+++ /dev/null
@@ -1,739 +0,0 @@
-"""
-cyclic_expanded_contact_penetration
-
-Autogenerated DPF operator classes.
-"""
-
-from __future__ import annotations
-
-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
-from ansys.dpf.core.config import Config
-from ansys.dpf.core.server_types import AnyServerType
-
-
-class cyclic_expanded_contact_penetration(Operator):
- r"""This operator is deprecated: use the operator element contact
- penetration with the read_cyclic pin instead. Read element contact
- penetration from a result file and expand it with cyclic symmetry.
-
-
- Parameters
- ----------
- time_scoping: Scoping, optional
- mesh_scoping: ScopingsContainer or Scoping, optional
- fields_container: FieldsContainer, optional
- FieldsContainer already allocated modified inplace
- streams_container: StreamsContainer or Stream, optional
- Streams containing the result file.
- data_sources: DataSources
- data sources containing the result file.
- bool_rotate_to_global: bool, optional
- if true the field is rotated to global coordinate system (default true)
- all_dofs: bool, optional
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
- sector_mesh: MeshedRegion or MeshesContainer, optional
- mesh of the base sector (can be a skin).
- requested_location: str, optional
- location needed in output
- 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.
- cyclic_support: CyclicSupport, optional
- sectors_to_expand: Scoping or ScopingsContainer, optional
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
- phi: float, optional
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- fields_container: FieldsContainer
- FieldsContainer filled in
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
-
- >>> # Instantiate operator
- >>> op = dpf.operators.result.cyclic_expanded_contact_penetration()
-
- >>> # 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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.cyclic_expanded_contact_penetration(
- ... 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,
- ... all_dofs=my_all_dofs,
- ... sector_mesh=my_sector_mesh,
- ... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
- ... expanded_meshed_region=my_expanded_meshed_region,
- ... cyclic_support=my_cyclic_support,
- ... sectors_to_expand=my_sectors_to_expand,
- ... phi=my_phi,
- ... )
-
- >>> # 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,
- all_dofs=None,
- sector_mesh=None,
- requested_location=None,
- read_cyclic=None,
- expanded_meshed_region=None,
- cyclic_support=None,
- sectors_to_expand=None,
- phi=None,
- config=None,
- server=None,
- ):
- super().__init__(name="ECT_PENE_cyclic", config=config, server=server)
- self._inputs = InputsCyclicExpandedContactPenetration(self)
- self._outputs = OutputsCyclicExpandedContactPenetration(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 all_dofs is not None:
- self.inputs.all_dofs.connect(all_dofs)
- if sector_mesh is not None:
- self.inputs.sector_mesh.connect(sector_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 expanded_meshed_region is not None:
- self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
- if cyclic_support is not None:
- self.inputs.cyclic_support.connect(cyclic_support)
- 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() -> Specification:
- description = r"""This operator is deprecated: use the operator element contact
-penetration with the read_cyclic pin instead. Read element contact
-penetration from a result file and expand it with cyclic symmetry.
-"""
- spec = Specification(
- description=description,
- map_input_pin_spec={
- 0: PinSpecification(
- name="time_scoping",
- type_names=["scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 1: PinSpecification(
- name="mesh_scoping",
- type_names=["scopings_container", "scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 2: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=True,
- document=r"""FieldsContainer already allocated modified inplace""",
- ),
- 3: PinSpecification(
- name="streams_container",
- type_names=["streams_container", "stream"],
- optional=True,
- document=r"""Streams containing the result file.""",
- ),
- 4: PinSpecification(
- name="data_sources",
- type_names=["data_sources"],
- optional=False,
- document=r"""data sources containing the result file.""",
- ),
- 5: PinSpecification(
- name="bool_rotate_to_global",
- type_names=["bool"],
- optional=True,
- document=r"""if true the field is rotated to global coordinate system (default true)""",
- ),
- 6: PinSpecification(
- name="all_dofs",
- type_names=["bool"],
- optional=True,
- document=r"""if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.""",
- ),
- 7: PinSpecification(
- name="sector_mesh",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh of the base sector (can be a skin).""",
- ),
- 9: PinSpecification(
- name="requested_location",
- type_names=["string"],
- optional=True,
- document=r"""location needed in output""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document=r"""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)""",
- ),
- 15: PinSpecification(
- name="expanded_meshed_region",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh expanded.""",
- ),
- 16: PinSpecification(
- name="cyclic_support",
- type_names=["cyclic_support"],
- optional=True,
- document=r"""""",
- ),
- 18: PinSpecification(
- name="sectors_to_expand",
- type_names=["vector", "scoping", "scopings_container"],
- optional=True,
- document=r"""sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.""",
- ),
- 19: PinSpecification(
- name="phi",
- type_names=["double"],
- optional=True,
- document=r"""angle phi in degrees (default value 0.0)""",
- ),
- },
- map_output_pin_spec={
- 0: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=False,
- document=r"""FieldsContainer filled in""",
- ),
- },
- )
- return spec
-
- @staticmethod
- def default_config(server: AnyServerType = None) -> Config:
- """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 with channel connected to the remote or local instance. When
- ``None``, attempts to use the global server.
-
- Returns
- -------
- config:
- A new Config instance equivalent to the default config for this operator.
- """
- return Operator.default_config(name="ECT_PENE_cyclic", server=server)
-
- @property
- def inputs(self) -> InputsCyclicExpandedContactPenetration:
- """Enables to connect inputs to the operator
-
- Returns
- --------
- inputs:
- An instance of InputsCyclicExpandedContactPenetration.
- """
- return super().inputs
-
- @property
- def outputs(self) -> OutputsCyclicExpandedContactPenetration:
- """Enables to get outputs of the operator by evaluating it
-
- Returns
- --------
- outputs:
- An instance of OutputsCyclicExpandedContactPenetration.
- """
- return super().outputs
-
-
-class InputsCyclicExpandedContactPenetration(_Inputs):
- """Intermediate class used to connect user inputs to
- cyclic_expanded_contact_penetration operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_penetration()
- >>> 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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):
- super().__init__(cyclic_expanded_contact_penetration._spec().inputs, op)
- self._time_scoping = Input(
- cyclic_expanded_contact_penetration._spec().input_pin(0), 0, op, -1
- )
- self._inputs.append(self._time_scoping)
- self._mesh_scoping = Input(
- cyclic_expanded_contact_penetration._spec().input_pin(1), 1, op, -1
- )
- self._inputs.append(self._mesh_scoping)
- self._fields_container = Input(
- cyclic_expanded_contact_penetration._spec().input_pin(2), 2, op, -1
- )
- self._inputs.append(self._fields_container)
- self._streams_container = Input(
- cyclic_expanded_contact_penetration._spec().input_pin(3), 3, op, -1
- )
- self._inputs.append(self._streams_container)
- self._data_sources = Input(
- cyclic_expanded_contact_penetration._spec().input_pin(4), 4, op, -1
- )
- self._inputs.append(self._data_sources)
- self._bool_rotate_to_global = Input(
- cyclic_expanded_contact_penetration._spec().input_pin(5), 5, op, -1
- )
- self._inputs.append(self._bool_rotate_to_global)
- self._all_dofs = Input(
- cyclic_expanded_contact_penetration._spec().input_pin(6), 6, op, -1
- )
- self._inputs.append(self._all_dofs)
- self._sector_mesh = Input(
- cyclic_expanded_contact_penetration._spec().input_pin(7), 7, op, -1
- )
- self._inputs.append(self._sector_mesh)
- self._requested_location = Input(
- cyclic_expanded_contact_penetration._spec().input_pin(9), 9, op, -1
- )
- self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- cyclic_expanded_contact_penetration._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
- self._expanded_meshed_region = Input(
- cyclic_expanded_contact_penetration._spec().input_pin(15), 15, op, -1
- )
- self._inputs.append(self._expanded_meshed_region)
- self._cyclic_support = Input(
- cyclic_expanded_contact_penetration._spec().input_pin(16), 16, op, -1
- )
- self._inputs.append(self._cyclic_support)
- self._sectors_to_expand = Input(
- cyclic_expanded_contact_penetration._spec().input_pin(18), 18, op, -1
- )
- self._inputs.append(self._sectors_to_expand)
- self._phi = Input(
- cyclic_expanded_contact_penetration._spec().input_pin(19), 19, op, -1
- )
- self._inputs.append(self._phi)
-
- @property
- def time_scoping(self) -> Input:
- r"""Allows to connect time_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_penetration()
- >>> 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) -> Input:
- r"""Allows to connect mesh_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_penetration()
- >>> 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) -> Input:
- r"""Allows to connect fields_container input to the operator.
-
- FieldsContainer already allocated modified inplace
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_penetration()
- >>> 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) -> Input:
- r"""Allows to connect streams_container input to the operator.
-
- Streams containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_penetration()
- >>> 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) -> Input:
- r"""Allows to connect data_sources input to the operator.
-
- data sources containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_penetration()
- >>> 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) -> Input:
- r"""Allows to connect bool_rotate_to_global input to the operator.
-
- if true the field is rotated to global coordinate system (default true)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_penetration()
- >>> 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 all_dofs(self) -> Input:
- r"""Allows to connect all_dofs input to the operator.
-
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_penetration()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> # or
- >>> op.inputs.all_dofs(my_all_dofs)
- """
- return self._all_dofs
-
- @property
- def sector_mesh(self) -> Input:
- r"""Allows to connect sector_mesh input to the operator.
-
- mesh of the base sector (can be a skin).
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_penetration()
- >>> op.inputs.sector_mesh.connect(my_sector_mesh)
- >>> # or
- >>> op.inputs.sector_mesh(my_sector_mesh)
- """
- return self._sector_mesh
-
- @property
- def requested_location(self) -> Input:
- r"""Allows to connect requested_location input to the operator.
-
- location needed in output
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_penetration()
- >>> op.inputs.requested_location.connect(my_requested_location)
- >>> # or
- >>> op.inputs.requested_location(my_requested_location)
- """
- return self._requested_location
-
- @property
- def read_cyclic(self) -> Input:
- r"""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)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_penetration()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
- @property
- def expanded_meshed_region(self) -> Input:
- r"""Allows to connect expanded_meshed_region input to the operator.
-
- mesh expanded.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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 cyclic_support(self) -> Input:
- r"""Allows to connect cyclic_support input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_penetration()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> # or
- >>> op.inputs.cyclic_support(my_cyclic_support)
- """
- return self._cyclic_support
-
- @property
- def sectors_to_expand(self) -> Input:
- r"""Allows to connect sectors_to_expand input to the operator.
-
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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) -> Input:
- r"""Allows to connect phi input to the operator.
-
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_penetration()
- >>> op.inputs.phi.connect(my_phi)
- >>> # or
- >>> op.inputs.phi(my_phi)
- """
- return self._phi
-
-
-class OutputsCyclicExpandedContactPenetration(_Outputs):
- """Intermediate class used to get outputs from
- cyclic_expanded_contact_penetration operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_penetration()
- >>> # Connect inputs : op.inputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
-
- def __init__(self, op: Operator):
- super().__init__(cyclic_expanded_contact_penetration._spec().outputs, op)
- self._fields_container = Output(
- cyclic_expanded_contact_penetration._spec().output_pin(0), 0, op
- )
- self._outputs.append(self._fields_container)
-
- @property
- def fields_container(self) -> Output:
- r"""Allows to get fields_container output of the operator
-
- FieldsContainer filled in
-
- Returns
- -------
- output:
- An Output instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_penetration()
- >>> # Get the output from op.outputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
- return self._fields_container
diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_contact_pressure.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_contact_pressure.py
deleted file mode 100644
index 2a9c572e936..00000000000
--- a/src/ansys/dpf/core/operators/result/cyclic_expanded_contact_pressure.py
+++ /dev/null
@@ -1,739 +0,0 @@
-"""
-cyclic_expanded_contact_pressure
-
-Autogenerated DPF operator classes.
-"""
-
-from __future__ import annotations
-
-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
-from ansys.dpf.core.config import Config
-from ansys.dpf.core.server_types import AnyServerType
-
-
-class cyclic_expanded_contact_pressure(Operator):
- r"""This operator is deprecated: use the operator element contact pressure
- with the read_cyclic pin instead. Read element contact pressure from a
- result file and expand it with cyclic symmetry.
-
-
- Parameters
- ----------
- time_scoping: Scoping, optional
- mesh_scoping: ScopingsContainer or Scoping, optional
- fields_container: FieldsContainer, optional
- FieldsContainer already allocated modified inplace
- streams_container: StreamsContainer or Stream, optional
- Streams containing the result file.
- data_sources: DataSources
- data sources containing the result file.
- bool_rotate_to_global: bool, optional
- if true the field is rotated to global coordinate system (default true)
- all_dofs: bool, optional
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
- sector_mesh: MeshedRegion or MeshesContainer, optional
- mesh of the base sector (can be a skin).
- requested_location: str, optional
- location needed in output
- 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.
- cyclic_support: CyclicSupport, optional
- sectors_to_expand: Scoping or ScopingsContainer, optional
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
- phi: float, optional
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- fields_container: FieldsContainer
- FieldsContainer filled in
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
-
- >>> # Instantiate operator
- >>> op = dpf.operators.result.cyclic_expanded_contact_pressure()
-
- >>> # 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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.cyclic_expanded_contact_pressure(
- ... 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,
- ... all_dofs=my_all_dofs,
- ... sector_mesh=my_sector_mesh,
- ... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
- ... expanded_meshed_region=my_expanded_meshed_region,
- ... cyclic_support=my_cyclic_support,
- ... sectors_to_expand=my_sectors_to_expand,
- ... phi=my_phi,
- ... )
-
- >>> # 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,
- all_dofs=None,
- sector_mesh=None,
- requested_location=None,
- read_cyclic=None,
- expanded_meshed_region=None,
- cyclic_support=None,
- sectors_to_expand=None,
- phi=None,
- config=None,
- server=None,
- ):
- super().__init__(name="ECT_PRES_cyclic", config=config, server=server)
- self._inputs = InputsCyclicExpandedContactPressure(self)
- self._outputs = OutputsCyclicExpandedContactPressure(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 all_dofs is not None:
- self.inputs.all_dofs.connect(all_dofs)
- if sector_mesh is not None:
- self.inputs.sector_mesh.connect(sector_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 expanded_meshed_region is not None:
- self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
- if cyclic_support is not None:
- self.inputs.cyclic_support.connect(cyclic_support)
- 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() -> Specification:
- description = r"""This operator is deprecated: use the operator element contact pressure
-with the read_cyclic pin instead. Read element contact pressure from a
-result file and expand it with cyclic symmetry.
-"""
- spec = Specification(
- description=description,
- map_input_pin_spec={
- 0: PinSpecification(
- name="time_scoping",
- type_names=["scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 1: PinSpecification(
- name="mesh_scoping",
- type_names=["scopings_container", "scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 2: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=True,
- document=r"""FieldsContainer already allocated modified inplace""",
- ),
- 3: PinSpecification(
- name="streams_container",
- type_names=["streams_container", "stream"],
- optional=True,
- document=r"""Streams containing the result file.""",
- ),
- 4: PinSpecification(
- name="data_sources",
- type_names=["data_sources"],
- optional=False,
- document=r"""data sources containing the result file.""",
- ),
- 5: PinSpecification(
- name="bool_rotate_to_global",
- type_names=["bool"],
- optional=True,
- document=r"""if true the field is rotated to global coordinate system (default true)""",
- ),
- 6: PinSpecification(
- name="all_dofs",
- type_names=["bool"],
- optional=True,
- document=r"""if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.""",
- ),
- 7: PinSpecification(
- name="sector_mesh",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh of the base sector (can be a skin).""",
- ),
- 9: PinSpecification(
- name="requested_location",
- type_names=["string"],
- optional=True,
- document=r"""location needed in output""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document=r"""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)""",
- ),
- 15: PinSpecification(
- name="expanded_meshed_region",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh expanded.""",
- ),
- 16: PinSpecification(
- name="cyclic_support",
- type_names=["cyclic_support"],
- optional=True,
- document=r"""""",
- ),
- 18: PinSpecification(
- name="sectors_to_expand",
- type_names=["vector", "scoping", "scopings_container"],
- optional=True,
- document=r"""sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.""",
- ),
- 19: PinSpecification(
- name="phi",
- type_names=["double"],
- optional=True,
- document=r"""angle phi in degrees (default value 0.0)""",
- ),
- },
- map_output_pin_spec={
- 0: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=False,
- document=r"""FieldsContainer filled in""",
- ),
- },
- )
- return spec
-
- @staticmethod
- def default_config(server: AnyServerType = None) -> Config:
- """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 with channel connected to the remote or local instance. When
- ``None``, attempts to use the global server.
-
- Returns
- -------
- config:
- A new Config instance equivalent to the default config for this operator.
- """
- return Operator.default_config(name="ECT_PRES_cyclic", server=server)
-
- @property
- def inputs(self) -> InputsCyclicExpandedContactPressure:
- """Enables to connect inputs to the operator
-
- Returns
- --------
- inputs:
- An instance of InputsCyclicExpandedContactPressure.
- """
- return super().inputs
-
- @property
- def outputs(self) -> OutputsCyclicExpandedContactPressure:
- """Enables to get outputs of the operator by evaluating it
-
- Returns
- --------
- outputs:
- An instance of OutputsCyclicExpandedContactPressure.
- """
- return super().outputs
-
-
-class InputsCyclicExpandedContactPressure(_Inputs):
- """Intermediate class used to connect user inputs to
- cyclic_expanded_contact_pressure operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_pressure()
- >>> 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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):
- super().__init__(cyclic_expanded_contact_pressure._spec().inputs, op)
- self._time_scoping = Input(
- cyclic_expanded_contact_pressure._spec().input_pin(0), 0, op, -1
- )
- self._inputs.append(self._time_scoping)
- self._mesh_scoping = Input(
- cyclic_expanded_contact_pressure._spec().input_pin(1), 1, op, -1
- )
- self._inputs.append(self._mesh_scoping)
- self._fields_container = Input(
- cyclic_expanded_contact_pressure._spec().input_pin(2), 2, op, -1
- )
- self._inputs.append(self._fields_container)
- self._streams_container = Input(
- cyclic_expanded_contact_pressure._spec().input_pin(3), 3, op, -1
- )
- self._inputs.append(self._streams_container)
- self._data_sources = Input(
- cyclic_expanded_contact_pressure._spec().input_pin(4), 4, op, -1
- )
- self._inputs.append(self._data_sources)
- self._bool_rotate_to_global = Input(
- cyclic_expanded_contact_pressure._spec().input_pin(5), 5, op, -1
- )
- self._inputs.append(self._bool_rotate_to_global)
- self._all_dofs = Input(
- cyclic_expanded_contact_pressure._spec().input_pin(6), 6, op, -1
- )
- self._inputs.append(self._all_dofs)
- self._sector_mesh = Input(
- cyclic_expanded_contact_pressure._spec().input_pin(7), 7, op, -1
- )
- self._inputs.append(self._sector_mesh)
- self._requested_location = Input(
- cyclic_expanded_contact_pressure._spec().input_pin(9), 9, op, -1
- )
- self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- cyclic_expanded_contact_pressure._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
- self._expanded_meshed_region = Input(
- cyclic_expanded_contact_pressure._spec().input_pin(15), 15, op, -1
- )
- self._inputs.append(self._expanded_meshed_region)
- self._cyclic_support = Input(
- cyclic_expanded_contact_pressure._spec().input_pin(16), 16, op, -1
- )
- self._inputs.append(self._cyclic_support)
- self._sectors_to_expand = Input(
- cyclic_expanded_contact_pressure._spec().input_pin(18), 18, op, -1
- )
- self._inputs.append(self._sectors_to_expand)
- self._phi = Input(
- cyclic_expanded_contact_pressure._spec().input_pin(19), 19, op, -1
- )
- self._inputs.append(self._phi)
-
- @property
- def time_scoping(self) -> Input:
- r"""Allows to connect time_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_pressure()
- >>> 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) -> Input:
- r"""Allows to connect mesh_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_pressure()
- >>> 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) -> Input:
- r"""Allows to connect fields_container input to the operator.
-
- FieldsContainer already allocated modified inplace
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_pressure()
- >>> 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) -> Input:
- r"""Allows to connect streams_container input to the operator.
-
- Streams containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_pressure()
- >>> 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) -> Input:
- r"""Allows to connect data_sources input to the operator.
-
- data sources containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_pressure()
- >>> 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) -> Input:
- r"""Allows to connect bool_rotate_to_global input to the operator.
-
- if true the field is rotated to global coordinate system (default true)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_pressure()
- >>> 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 all_dofs(self) -> Input:
- r"""Allows to connect all_dofs input to the operator.
-
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_pressure()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> # or
- >>> op.inputs.all_dofs(my_all_dofs)
- """
- return self._all_dofs
-
- @property
- def sector_mesh(self) -> Input:
- r"""Allows to connect sector_mesh input to the operator.
-
- mesh of the base sector (can be a skin).
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_pressure()
- >>> op.inputs.sector_mesh.connect(my_sector_mesh)
- >>> # or
- >>> op.inputs.sector_mesh(my_sector_mesh)
- """
- return self._sector_mesh
-
- @property
- def requested_location(self) -> Input:
- r"""Allows to connect requested_location input to the operator.
-
- location needed in output
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_pressure()
- >>> op.inputs.requested_location.connect(my_requested_location)
- >>> # or
- >>> op.inputs.requested_location(my_requested_location)
- """
- return self._requested_location
-
- @property
- def read_cyclic(self) -> Input:
- r"""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)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_pressure()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
- @property
- def expanded_meshed_region(self) -> Input:
- r"""Allows to connect expanded_meshed_region input to the operator.
-
- mesh expanded.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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 cyclic_support(self) -> Input:
- r"""Allows to connect cyclic_support input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_pressure()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> # or
- >>> op.inputs.cyclic_support(my_cyclic_support)
- """
- return self._cyclic_support
-
- @property
- def sectors_to_expand(self) -> Input:
- r"""Allows to connect sectors_to_expand input to the operator.
-
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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) -> Input:
- r"""Allows to connect phi input to the operator.
-
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_pressure()
- >>> op.inputs.phi.connect(my_phi)
- >>> # or
- >>> op.inputs.phi(my_phi)
- """
- return self._phi
-
-
-class OutputsCyclicExpandedContactPressure(_Outputs):
- """Intermediate class used to get outputs from
- cyclic_expanded_contact_pressure operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_pressure()
- >>> # Connect inputs : op.inputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
-
- def __init__(self, op: Operator):
- super().__init__(cyclic_expanded_contact_pressure._spec().outputs, op)
- self._fields_container = Output(
- cyclic_expanded_contact_pressure._spec().output_pin(0), 0, op
- )
- self._outputs.append(self._fields_container)
-
- @property
- def fields_container(self) -> Output:
- r"""Allows to get fields_container output of the operator
-
- FieldsContainer filled in
-
- Returns
- -------
- output:
- An Output instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_pressure()
- >>> # Get the output from op.outputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
- return self._fields_container
diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_contact_sliding_distance.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_contact_sliding_distance.py
deleted file mode 100644
index a56cc9bf7cf..00000000000
--- a/src/ansys/dpf/core/operators/result/cyclic_expanded_contact_sliding_distance.py
+++ /dev/null
@@ -1,739 +0,0 @@
-"""
-cyclic_expanded_contact_sliding_distance
-
-Autogenerated DPF operator classes.
-"""
-
-from __future__ import annotations
-
-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
-from ansys.dpf.core.config import Config
-from ansys.dpf.core.server_types import AnyServerType
-
-
-class cyclic_expanded_contact_sliding_distance(Operator):
- r"""This operator is deprecated: use the operator element contact sliding
- distance with the read_cyclic pin instead. Read element contact sliding
- distance from a result file and expand it with cyclic symmetry.
-
-
- Parameters
- ----------
- time_scoping: Scoping, optional
- mesh_scoping: ScopingsContainer or Scoping, optional
- fields_container: FieldsContainer, optional
- FieldsContainer already allocated modified inplace
- streams_container: StreamsContainer or Stream, optional
- Streams containing the result file.
- data_sources: DataSources
- data sources containing the result file.
- bool_rotate_to_global: bool, optional
- if true the field is rotated to global coordinate system (default true)
- all_dofs: bool, optional
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
- sector_mesh: MeshedRegion or MeshesContainer, optional
- mesh of the base sector (can be a skin).
- requested_location: str, optional
- location needed in output
- 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.
- cyclic_support: CyclicSupport, optional
- sectors_to_expand: Scoping or ScopingsContainer, optional
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
- phi: float, optional
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- fields_container: FieldsContainer
- FieldsContainer filled in
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
-
- >>> # Instantiate operator
- >>> op = dpf.operators.result.cyclic_expanded_contact_sliding_distance()
-
- >>> # 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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.cyclic_expanded_contact_sliding_distance(
- ... 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,
- ... all_dofs=my_all_dofs,
- ... sector_mesh=my_sector_mesh,
- ... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
- ... expanded_meshed_region=my_expanded_meshed_region,
- ... cyclic_support=my_cyclic_support,
- ... sectors_to_expand=my_sectors_to_expand,
- ... phi=my_phi,
- ... )
-
- >>> # 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,
- all_dofs=None,
- sector_mesh=None,
- requested_location=None,
- read_cyclic=None,
- expanded_meshed_region=None,
- cyclic_support=None,
- sectors_to_expand=None,
- phi=None,
- config=None,
- server=None,
- ):
- super().__init__(name="ECT_SLIDE_cyclic", config=config, server=server)
- self._inputs = InputsCyclicExpandedContactSlidingDistance(self)
- self._outputs = OutputsCyclicExpandedContactSlidingDistance(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 all_dofs is not None:
- self.inputs.all_dofs.connect(all_dofs)
- if sector_mesh is not None:
- self.inputs.sector_mesh.connect(sector_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 expanded_meshed_region is not None:
- self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
- if cyclic_support is not None:
- self.inputs.cyclic_support.connect(cyclic_support)
- 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() -> Specification:
- description = r"""This operator is deprecated: use the operator element contact sliding
-distance with the read_cyclic pin instead. Read element contact sliding
-distance from a result file and expand it with cyclic symmetry.
-"""
- spec = Specification(
- description=description,
- map_input_pin_spec={
- 0: PinSpecification(
- name="time_scoping",
- type_names=["scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 1: PinSpecification(
- name="mesh_scoping",
- type_names=["scopings_container", "scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 2: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=True,
- document=r"""FieldsContainer already allocated modified inplace""",
- ),
- 3: PinSpecification(
- name="streams_container",
- type_names=["streams_container", "stream"],
- optional=True,
- document=r"""Streams containing the result file.""",
- ),
- 4: PinSpecification(
- name="data_sources",
- type_names=["data_sources"],
- optional=False,
- document=r"""data sources containing the result file.""",
- ),
- 5: PinSpecification(
- name="bool_rotate_to_global",
- type_names=["bool"],
- optional=True,
- document=r"""if true the field is rotated to global coordinate system (default true)""",
- ),
- 6: PinSpecification(
- name="all_dofs",
- type_names=["bool"],
- optional=True,
- document=r"""if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.""",
- ),
- 7: PinSpecification(
- name="sector_mesh",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh of the base sector (can be a skin).""",
- ),
- 9: PinSpecification(
- name="requested_location",
- type_names=["string"],
- optional=True,
- document=r"""location needed in output""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document=r"""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)""",
- ),
- 15: PinSpecification(
- name="expanded_meshed_region",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh expanded.""",
- ),
- 16: PinSpecification(
- name="cyclic_support",
- type_names=["cyclic_support"],
- optional=True,
- document=r"""""",
- ),
- 18: PinSpecification(
- name="sectors_to_expand",
- type_names=["vector", "scoping", "scopings_container"],
- optional=True,
- document=r"""sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.""",
- ),
- 19: PinSpecification(
- name="phi",
- type_names=["double"],
- optional=True,
- document=r"""angle phi in degrees (default value 0.0)""",
- ),
- },
- map_output_pin_spec={
- 0: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=False,
- document=r"""FieldsContainer filled in""",
- ),
- },
- )
- return spec
-
- @staticmethod
- def default_config(server: AnyServerType = None) -> Config:
- """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 with channel connected to the remote or local instance. When
- ``None``, attempts to use the global server.
-
- Returns
- -------
- config:
- A new Config instance equivalent to the default config for this operator.
- """
- return Operator.default_config(name="ECT_SLIDE_cyclic", server=server)
-
- @property
- def inputs(self) -> InputsCyclicExpandedContactSlidingDistance:
- """Enables to connect inputs to the operator
-
- Returns
- --------
- inputs:
- An instance of InputsCyclicExpandedContactSlidingDistance.
- """
- return super().inputs
-
- @property
- def outputs(self) -> OutputsCyclicExpandedContactSlidingDistance:
- """Enables to get outputs of the operator by evaluating it
-
- Returns
- --------
- outputs:
- An instance of OutputsCyclicExpandedContactSlidingDistance.
- """
- return super().outputs
-
-
-class InputsCyclicExpandedContactSlidingDistance(_Inputs):
- """Intermediate class used to connect user inputs to
- cyclic_expanded_contact_sliding_distance operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_sliding_distance()
- >>> 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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):
- super().__init__(cyclic_expanded_contact_sliding_distance._spec().inputs, op)
- self._time_scoping = Input(
- cyclic_expanded_contact_sliding_distance._spec().input_pin(0), 0, op, -1
- )
- self._inputs.append(self._time_scoping)
- self._mesh_scoping = Input(
- cyclic_expanded_contact_sliding_distance._spec().input_pin(1), 1, op, -1
- )
- self._inputs.append(self._mesh_scoping)
- self._fields_container = Input(
- cyclic_expanded_contact_sliding_distance._spec().input_pin(2), 2, op, -1
- )
- self._inputs.append(self._fields_container)
- self._streams_container = Input(
- cyclic_expanded_contact_sliding_distance._spec().input_pin(3), 3, op, -1
- )
- self._inputs.append(self._streams_container)
- self._data_sources = Input(
- cyclic_expanded_contact_sliding_distance._spec().input_pin(4), 4, op, -1
- )
- self._inputs.append(self._data_sources)
- self._bool_rotate_to_global = Input(
- cyclic_expanded_contact_sliding_distance._spec().input_pin(5), 5, op, -1
- )
- self._inputs.append(self._bool_rotate_to_global)
- self._all_dofs = Input(
- cyclic_expanded_contact_sliding_distance._spec().input_pin(6), 6, op, -1
- )
- self._inputs.append(self._all_dofs)
- self._sector_mesh = Input(
- cyclic_expanded_contact_sliding_distance._spec().input_pin(7), 7, op, -1
- )
- self._inputs.append(self._sector_mesh)
- self._requested_location = Input(
- cyclic_expanded_contact_sliding_distance._spec().input_pin(9), 9, op, -1
- )
- self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- cyclic_expanded_contact_sliding_distance._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
- self._expanded_meshed_region = Input(
- cyclic_expanded_contact_sliding_distance._spec().input_pin(15), 15, op, -1
- )
- self._inputs.append(self._expanded_meshed_region)
- self._cyclic_support = Input(
- cyclic_expanded_contact_sliding_distance._spec().input_pin(16), 16, op, -1
- )
- self._inputs.append(self._cyclic_support)
- self._sectors_to_expand = Input(
- cyclic_expanded_contact_sliding_distance._spec().input_pin(18), 18, op, -1
- )
- self._inputs.append(self._sectors_to_expand)
- self._phi = Input(
- cyclic_expanded_contact_sliding_distance._spec().input_pin(19), 19, op, -1
- )
- self._inputs.append(self._phi)
-
- @property
- def time_scoping(self) -> Input:
- r"""Allows to connect time_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_sliding_distance()
- >>> 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) -> Input:
- r"""Allows to connect mesh_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_sliding_distance()
- >>> 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) -> Input:
- r"""Allows to connect fields_container input to the operator.
-
- FieldsContainer already allocated modified inplace
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_sliding_distance()
- >>> 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) -> Input:
- r"""Allows to connect streams_container input to the operator.
-
- Streams containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_sliding_distance()
- >>> 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) -> Input:
- r"""Allows to connect data_sources input to the operator.
-
- data sources containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_sliding_distance()
- >>> 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) -> Input:
- r"""Allows to connect bool_rotate_to_global input to the operator.
-
- if true the field is rotated to global coordinate system (default true)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_sliding_distance()
- >>> 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 all_dofs(self) -> Input:
- r"""Allows to connect all_dofs input to the operator.
-
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_sliding_distance()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> # or
- >>> op.inputs.all_dofs(my_all_dofs)
- """
- return self._all_dofs
-
- @property
- def sector_mesh(self) -> Input:
- r"""Allows to connect sector_mesh input to the operator.
-
- mesh of the base sector (can be a skin).
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_sliding_distance()
- >>> op.inputs.sector_mesh.connect(my_sector_mesh)
- >>> # or
- >>> op.inputs.sector_mesh(my_sector_mesh)
- """
- return self._sector_mesh
-
- @property
- def requested_location(self) -> Input:
- r"""Allows to connect requested_location input to the operator.
-
- location needed in output
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_sliding_distance()
- >>> op.inputs.requested_location.connect(my_requested_location)
- >>> # or
- >>> op.inputs.requested_location(my_requested_location)
- """
- return self._requested_location
-
- @property
- def read_cyclic(self) -> Input:
- r"""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)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_sliding_distance()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
- @property
- def expanded_meshed_region(self) -> Input:
- r"""Allows to connect expanded_meshed_region input to the operator.
-
- mesh expanded.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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 cyclic_support(self) -> Input:
- r"""Allows to connect cyclic_support input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_sliding_distance()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> # or
- >>> op.inputs.cyclic_support(my_cyclic_support)
- """
- return self._cyclic_support
-
- @property
- def sectors_to_expand(self) -> Input:
- r"""Allows to connect sectors_to_expand input to the operator.
-
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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) -> Input:
- r"""Allows to connect phi input to the operator.
-
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_sliding_distance()
- >>> op.inputs.phi.connect(my_phi)
- >>> # or
- >>> op.inputs.phi(my_phi)
- """
- return self._phi
-
-
-class OutputsCyclicExpandedContactSlidingDistance(_Outputs):
- """Intermediate class used to get outputs from
- cyclic_expanded_contact_sliding_distance operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_sliding_distance()
- >>> # Connect inputs : op.inputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
-
- def __init__(self, op: Operator):
- super().__init__(cyclic_expanded_contact_sliding_distance._spec().outputs, op)
- self._fields_container = Output(
- cyclic_expanded_contact_sliding_distance._spec().output_pin(0), 0, op
- )
- self._outputs.append(self._fields_container)
-
- @property
- def fields_container(self) -> Output:
- r"""Allows to get fields_container output of the operator
-
- FieldsContainer filled in
-
- Returns
- -------
- output:
- An Output instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_sliding_distance()
- >>> # Get the output from op.outputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
- return self._fields_container
diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_contact_status.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_contact_status.py
deleted file mode 100644
index de79d97e542..00000000000
--- a/src/ansys/dpf/core/operators/result/cyclic_expanded_contact_status.py
+++ /dev/null
@@ -1,739 +0,0 @@
-"""
-cyclic_expanded_contact_status
-
-Autogenerated DPF operator classes.
-"""
-
-from __future__ import annotations
-
-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
-from ansys.dpf.core.config import Config
-from ansys.dpf.core.server_types import AnyServerType
-
-
-class cyclic_expanded_contact_status(Operator):
- r"""This operator is deprecated: use the operator element contact status
- with the read_cyclic pin instead. Read element contact status from a
- result file and expand it with cyclic symmetry.
-
-
- Parameters
- ----------
- time_scoping: Scoping, optional
- mesh_scoping: ScopingsContainer or Scoping, optional
- fields_container: FieldsContainer, optional
- FieldsContainer already allocated modified inplace
- streams_container: StreamsContainer or Stream, optional
- Streams containing the result file.
- data_sources: DataSources
- data sources containing the result file.
- bool_rotate_to_global: bool, optional
- if true the field is rotated to global coordinate system (default true)
- all_dofs: bool, optional
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
- sector_mesh: MeshedRegion or MeshesContainer, optional
- mesh of the base sector (can be a skin).
- requested_location: str, optional
- location needed in output
- 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.
- cyclic_support: CyclicSupport, optional
- sectors_to_expand: Scoping or ScopingsContainer, optional
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
- phi: float, optional
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- fields_container: FieldsContainer
- FieldsContainer filled in
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
-
- >>> # Instantiate operator
- >>> op = dpf.operators.result.cyclic_expanded_contact_status()
-
- >>> # 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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.cyclic_expanded_contact_status(
- ... 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,
- ... all_dofs=my_all_dofs,
- ... sector_mesh=my_sector_mesh,
- ... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
- ... expanded_meshed_region=my_expanded_meshed_region,
- ... cyclic_support=my_cyclic_support,
- ... sectors_to_expand=my_sectors_to_expand,
- ... phi=my_phi,
- ... )
-
- >>> # 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,
- all_dofs=None,
- sector_mesh=None,
- requested_location=None,
- read_cyclic=None,
- expanded_meshed_region=None,
- cyclic_support=None,
- sectors_to_expand=None,
- phi=None,
- config=None,
- server=None,
- ):
- super().__init__(name="ECT_STAT_cyclic", config=config, server=server)
- self._inputs = InputsCyclicExpandedContactStatus(self)
- self._outputs = OutputsCyclicExpandedContactStatus(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 all_dofs is not None:
- self.inputs.all_dofs.connect(all_dofs)
- if sector_mesh is not None:
- self.inputs.sector_mesh.connect(sector_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 expanded_meshed_region is not None:
- self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
- if cyclic_support is not None:
- self.inputs.cyclic_support.connect(cyclic_support)
- 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() -> Specification:
- description = r"""This operator is deprecated: use the operator element contact status
-with the read_cyclic pin instead. Read element contact status from a
-result file and expand it with cyclic symmetry.
-"""
- spec = Specification(
- description=description,
- map_input_pin_spec={
- 0: PinSpecification(
- name="time_scoping",
- type_names=["scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 1: PinSpecification(
- name="mesh_scoping",
- type_names=["scopings_container", "scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 2: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=True,
- document=r"""FieldsContainer already allocated modified inplace""",
- ),
- 3: PinSpecification(
- name="streams_container",
- type_names=["streams_container", "stream"],
- optional=True,
- document=r"""Streams containing the result file.""",
- ),
- 4: PinSpecification(
- name="data_sources",
- type_names=["data_sources"],
- optional=False,
- document=r"""data sources containing the result file.""",
- ),
- 5: PinSpecification(
- name="bool_rotate_to_global",
- type_names=["bool"],
- optional=True,
- document=r"""if true the field is rotated to global coordinate system (default true)""",
- ),
- 6: PinSpecification(
- name="all_dofs",
- type_names=["bool"],
- optional=True,
- document=r"""if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.""",
- ),
- 7: PinSpecification(
- name="sector_mesh",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh of the base sector (can be a skin).""",
- ),
- 9: PinSpecification(
- name="requested_location",
- type_names=["string"],
- optional=True,
- document=r"""location needed in output""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document=r"""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)""",
- ),
- 15: PinSpecification(
- name="expanded_meshed_region",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh expanded.""",
- ),
- 16: PinSpecification(
- name="cyclic_support",
- type_names=["cyclic_support"],
- optional=True,
- document=r"""""",
- ),
- 18: PinSpecification(
- name="sectors_to_expand",
- type_names=["vector", "scoping", "scopings_container"],
- optional=True,
- document=r"""sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.""",
- ),
- 19: PinSpecification(
- name="phi",
- type_names=["double"],
- optional=True,
- document=r"""angle phi in degrees (default value 0.0)""",
- ),
- },
- map_output_pin_spec={
- 0: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=False,
- document=r"""FieldsContainer filled in""",
- ),
- },
- )
- return spec
-
- @staticmethod
- def default_config(server: AnyServerType = None) -> Config:
- """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 with channel connected to the remote or local instance. When
- ``None``, attempts to use the global server.
-
- Returns
- -------
- config:
- A new Config instance equivalent to the default config for this operator.
- """
- return Operator.default_config(name="ECT_STAT_cyclic", server=server)
-
- @property
- def inputs(self) -> InputsCyclicExpandedContactStatus:
- """Enables to connect inputs to the operator
-
- Returns
- --------
- inputs:
- An instance of InputsCyclicExpandedContactStatus.
- """
- return super().inputs
-
- @property
- def outputs(self) -> OutputsCyclicExpandedContactStatus:
- """Enables to get outputs of the operator by evaluating it
-
- Returns
- --------
- outputs:
- An instance of OutputsCyclicExpandedContactStatus.
- """
- return super().outputs
-
-
-class InputsCyclicExpandedContactStatus(_Inputs):
- """Intermediate class used to connect user inputs to
- cyclic_expanded_contact_status operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_status()
- >>> 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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):
- super().__init__(cyclic_expanded_contact_status._spec().inputs, op)
- self._time_scoping = Input(
- cyclic_expanded_contact_status._spec().input_pin(0), 0, op, -1
- )
- self._inputs.append(self._time_scoping)
- self._mesh_scoping = Input(
- cyclic_expanded_contact_status._spec().input_pin(1), 1, op, -1
- )
- self._inputs.append(self._mesh_scoping)
- self._fields_container = Input(
- cyclic_expanded_contact_status._spec().input_pin(2), 2, op, -1
- )
- self._inputs.append(self._fields_container)
- self._streams_container = Input(
- cyclic_expanded_contact_status._spec().input_pin(3), 3, op, -1
- )
- self._inputs.append(self._streams_container)
- self._data_sources = Input(
- cyclic_expanded_contact_status._spec().input_pin(4), 4, op, -1
- )
- self._inputs.append(self._data_sources)
- self._bool_rotate_to_global = Input(
- cyclic_expanded_contact_status._spec().input_pin(5), 5, op, -1
- )
- self._inputs.append(self._bool_rotate_to_global)
- self._all_dofs = Input(
- cyclic_expanded_contact_status._spec().input_pin(6), 6, op, -1
- )
- self._inputs.append(self._all_dofs)
- self._sector_mesh = Input(
- cyclic_expanded_contact_status._spec().input_pin(7), 7, op, -1
- )
- self._inputs.append(self._sector_mesh)
- self._requested_location = Input(
- cyclic_expanded_contact_status._spec().input_pin(9), 9, op, -1
- )
- self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- cyclic_expanded_contact_status._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
- self._expanded_meshed_region = Input(
- cyclic_expanded_contact_status._spec().input_pin(15), 15, op, -1
- )
- self._inputs.append(self._expanded_meshed_region)
- self._cyclic_support = Input(
- cyclic_expanded_contact_status._spec().input_pin(16), 16, op, -1
- )
- self._inputs.append(self._cyclic_support)
- self._sectors_to_expand = Input(
- cyclic_expanded_contact_status._spec().input_pin(18), 18, op, -1
- )
- self._inputs.append(self._sectors_to_expand)
- self._phi = Input(
- cyclic_expanded_contact_status._spec().input_pin(19), 19, op, -1
- )
- self._inputs.append(self._phi)
-
- @property
- def time_scoping(self) -> Input:
- r"""Allows to connect time_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_status()
- >>> 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) -> Input:
- r"""Allows to connect mesh_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_status()
- >>> 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) -> Input:
- r"""Allows to connect fields_container input to the operator.
-
- FieldsContainer already allocated modified inplace
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_status()
- >>> 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) -> Input:
- r"""Allows to connect streams_container input to the operator.
-
- Streams containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_status()
- >>> 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) -> Input:
- r"""Allows to connect data_sources input to the operator.
-
- data sources containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_status()
- >>> 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) -> Input:
- r"""Allows to connect bool_rotate_to_global input to the operator.
-
- if true the field is rotated to global coordinate system (default true)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_status()
- >>> 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 all_dofs(self) -> Input:
- r"""Allows to connect all_dofs input to the operator.
-
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_status()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> # or
- >>> op.inputs.all_dofs(my_all_dofs)
- """
- return self._all_dofs
-
- @property
- def sector_mesh(self) -> Input:
- r"""Allows to connect sector_mesh input to the operator.
-
- mesh of the base sector (can be a skin).
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_status()
- >>> op.inputs.sector_mesh.connect(my_sector_mesh)
- >>> # or
- >>> op.inputs.sector_mesh(my_sector_mesh)
- """
- return self._sector_mesh
-
- @property
- def requested_location(self) -> Input:
- r"""Allows to connect requested_location input to the operator.
-
- location needed in output
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_status()
- >>> op.inputs.requested_location.connect(my_requested_location)
- >>> # or
- >>> op.inputs.requested_location(my_requested_location)
- """
- return self._requested_location
-
- @property
- def read_cyclic(self) -> Input:
- r"""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)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_status()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
- @property
- def expanded_meshed_region(self) -> Input:
- r"""Allows to connect expanded_meshed_region input to the operator.
-
- mesh expanded.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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 cyclic_support(self) -> Input:
- r"""Allows to connect cyclic_support input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_status()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> # or
- >>> op.inputs.cyclic_support(my_cyclic_support)
- """
- return self._cyclic_support
-
- @property
- def sectors_to_expand(self) -> Input:
- r"""Allows to connect sectors_to_expand input to the operator.
-
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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) -> Input:
- r"""Allows to connect phi input to the operator.
-
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_status()
- >>> op.inputs.phi.connect(my_phi)
- >>> # or
- >>> op.inputs.phi(my_phi)
- """
- return self._phi
-
-
-class OutputsCyclicExpandedContactStatus(_Outputs):
- """Intermediate class used to get outputs from
- cyclic_expanded_contact_status operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_status()
- >>> # Connect inputs : op.inputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
-
- def __init__(self, op: Operator):
- super().__init__(cyclic_expanded_contact_status._spec().outputs, op)
- self._fields_container = Output(
- cyclic_expanded_contact_status._spec().output_pin(0), 0, op
- )
- self._outputs.append(self._fields_container)
-
- @property
- def fields_container(self) -> Output:
- r"""Allows to get fields_container output of the operator
-
- FieldsContainer filled in
-
- Returns
- -------
- output:
- An Output instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_status()
- >>> # Get the output from op.outputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
- return self._fields_container
diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_contact_surface_heat_flux.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_contact_surface_heat_flux.py
deleted file mode 100644
index ec42b7bdf39..00000000000
--- a/src/ansys/dpf/core/operators/result/cyclic_expanded_contact_surface_heat_flux.py
+++ /dev/null
@@ -1,741 +0,0 @@
-"""
-cyclic_expanded_contact_surface_heat_flux
-
-Autogenerated DPF operator classes.
-"""
-
-from __future__ import annotations
-
-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
-from ansys.dpf.core.config import Config
-from ansys.dpf.core.server_types import AnyServerType
-
-
-class cyclic_expanded_contact_surface_heat_flux(Operator):
- r"""This operator is deprecated: use the operator element total heat flux at
- contact surface with the read_cyclic pin instead. Read element total
- heat flux at contact surface from a result file and expand it with
- cyclic symmetry.
-
-
- Parameters
- ----------
- time_scoping: Scoping, optional
- mesh_scoping: ScopingsContainer or Scoping, optional
- fields_container: FieldsContainer, optional
- FieldsContainer already allocated modified inplace
- streams_container: StreamsContainer or Stream, optional
- Streams containing the result file.
- data_sources: DataSources
- data sources containing the result file.
- bool_rotate_to_global: bool, optional
- if true the field is rotated to global coordinate system (default true)
- all_dofs: bool, optional
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
- sector_mesh: MeshedRegion or MeshesContainer, optional
- mesh of the base sector (can be a skin).
- requested_location: str, optional
- location needed in output
- 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.
- cyclic_support: CyclicSupport, optional
- sectors_to_expand: Scoping or ScopingsContainer, optional
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
- phi: float, optional
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- fields_container: FieldsContainer
- FieldsContainer filled in
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
-
- >>> # Instantiate operator
- >>> op = dpf.operators.result.cyclic_expanded_contact_surface_heat_flux()
-
- >>> # 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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.cyclic_expanded_contact_surface_heat_flux(
- ... 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,
- ... all_dofs=my_all_dofs,
- ... sector_mesh=my_sector_mesh,
- ... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
- ... expanded_meshed_region=my_expanded_meshed_region,
- ... cyclic_support=my_cyclic_support,
- ... sectors_to_expand=my_sectors_to_expand,
- ... phi=my_phi,
- ... )
-
- >>> # 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,
- all_dofs=None,
- sector_mesh=None,
- requested_location=None,
- read_cyclic=None,
- expanded_meshed_region=None,
- cyclic_support=None,
- sectors_to_expand=None,
- phi=None,
- config=None,
- server=None,
- ):
- super().__init__(name="ECT_FLUX_cyclic", config=config, server=server)
- self._inputs = InputsCyclicExpandedContactSurfaceHeatFlux(self)
- self._outputs = OutputsCyclicExpandedContactSurfaceHeatFlux(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 all_dofs is not None:
- self.inputs.all_dofs.connect(all_dofs)
- if sector_mesh is not None:
- self.inputs.sector_mesh.connect(sector_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 expanded_meshed_region is not None:
- self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
- if cyclic_support is not None:
- self.inputs.cyclic_support.connect(cyclic_support)
- 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() -> Specification:
- description = r"""This operator is deprecated: use the operator element total heat flux at
-contact surface with the read_cyclic pin instead. Read element total
-heat flux at contact surface from a result file and expand it with
-cyclic symmetry.
-"""
- spec = Specification(
- description=description,
- map_input_pin_spec={
- 0: PinSpecification(
- name="time_scoping",
- type_names=["scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 1: PinSpecification(
- name="mesh_scoping",
- type_names=["scopings_container", "scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 2: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=True,
- document=r"""FieldsContainer already allocated modified inplace""",
- ),
- 3: PinSpecification(
- name="streams_container",
- type_names=["streams_container", "stream"],
- optional=True,
- document=r"""Streams containing the result file.""",
- ),
- 4: PinSpecification(
- name="data_sources",
- type_names=["data_sources"],
- optional=False,
- document=r"""data sources containing the result file.""",
- ),
- 5: PinSpecification(
- name="bool_rotate_to_global",
- type_names=["bool"],
- optional=True,
- document=r"""if true the field is rotated to global coordinate system (default true)""",
- ),
- 6: PinSpecification(
- name="all_dofs",
- type_names=["bool"],
- optional=True,
- document=r"""if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.""",
- ),
- 7: PinSpecification(
- name="sector_mesh",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh of the base sector (can be a skin).""",
- ),
- 9: PinSpecification(
- name="requested_location",
- type_names=["string"],
- optional=True,
- document=r"""location needed in output""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document=r"""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)""",
- ),
- 15: PinSpecification(
- name="expanded_meshed_region",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh expanded.""",
- ),
- 16: PinSpecification(
- name="cyclic_support",
- type_names=["cyclic_support"],
- optional=True,
- document=r"""""",
- ),
- 18: PinSpecification(
- name="sectors_to_expand",
- type_names=["vector", "scoping", "scopings_container"],
- optional=True,
- document=r"""sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.""",
- ),
- 19: PinSpecification(
- name="phi",
- type_names=["double"],
- optional=True,
- document=r"""angle phi in degrees (default value 0.0)""",
- ),
- },
- map_output_pin_spec={
- 0: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=False,
- document=r"""FieldsContainer filled in""",
- ),
- },
- )
- return spec
-
- @staticmethod
- def default_config(server: AnyServerType = None) -> Config:
- """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 with channel connected to the remote or local instance. When
- ``None``, attempts to use the global server.
-
- Returns
- -------
- config:
- A new Config instance equivalent to the default config for this operator.
- """
- return Operator.default_config(name="ECT_FLUX_cyclic", server=server)
-
- @property
- def inputs(self) -> InputsCyclicExpandedContactSurfaceHeatFlux:
- """Enables to connect inputs to the operator
-
- Returns
- --------
- inputs:
- An instance of InputsCyclicExpandedContactSurfaceHeatFlux.
- """
- return super().inputs
-
- @property
- def outputs(self) -> OutputsCyclicExpandedContactSurfaceHeatFlux:
- """Enables to get outputs of the operator by evaluating it
-
- Returns
- --------
- outputs:
- An instance of OutputsCyclicExpandedContactSurfaceHeatFlux.
- """
- return super().outputs
-
-
-class InputsCyclicExpandedContactSurfaceHeatFlux(_Inputs):
- """Intermediate class used to connect user inputs to
- cyclic_expanded_contact_surface_heat_flux operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_surface_heat_flux()
- >>> 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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):
- super().__init__(cyclic_expanded_contact_surface_heat_flux._spec().inputs, op)
- self._time_scoping = Input(
- cyclic_expanded_contact_surface_heat_flux._spec().input_pin(0), 0, op, -1
- )
- self._inputs.append(self._time_scoping)
- self._mesh_scoping = Input(
- cyclic_expanded_contact_surface_heat_flux._spec().input_pin(1), 1, op, -1
- )
- self._inputs.append(self._mesh_scoping)
- self._fields_container = Input(
- cyclic_expanded_contact_surface_heat_flux._spec().input_pin(2), 2, op, -1
- )
- self._inputs.append(self._fields_container)
- self._streams_container = Input(
- cyclic_expanded_contact_surface_heat_flux._spec().input_pin(3), 3, op, -1
- )
- self._inputs.append(self._streams_container)
- self._data_sources = Input(
- cyclic_expanded_contact_surface_heat_flux._spec().input_pin(4), 4, op, -1
- )
- self._inputs.append(self._data_sources)
- self._bool_rotate_to_global = Input(
- cyclic_expanded_contact_surface_heat_flux._spec().input_pin(5), 5, op, -1
- )
- self._inputs.append(self._bool_rotate_to_global)
- self._all_dofs = Input(
- cyclic_expanded_contact_surface_heat_flux._spec().input_pin(6), 6, op, -1
- )
- self._inputs.append(self._all_dofs)
- self._sector_mesh = Input(
- cyclic_expanded_contact_surface_heat_flux._spec().input_pin(7), 7, op, -1
- )
- self._inputs.append(self._sector_mesh)
- self._requested_location = Input(
- cyclic_expanded_contact_surface_heat_flux._spec().input_pin(9), 9, op, -1
- )
- self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- cyclic_expanded_contact_surface_heat_flux._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
- self._expanded_meshed_region = Input(
- cyclic_expanded_contact_surface_heat_flux._spec().input_pin(15), 15, op, -1
- )
- self._inputs.append(self._expanded_meshed_region)
- self._cyclic_support = Input(
- cyclic_expanded_contact_surface_heat_flux._spec().input_pin(16), 16, op, -1
- )
- self._inputs.append(self._cyclic_support)
- self._sectors_to_expand = Input(
- cyclic_expanded_contact_surface_heat_flux._spec().input_pin(18), 18, op, -1
- )
- self._inputs.append(self._sectors_to_expand)
- self._phi = Input(
- cyclic_expanded_contact_surface_heat_flux._spec().input_pin(19), 19, op, -1
- )
- self._inputs.append(self._phi)
-
- @property
- def time_scoping(self) -> Input:
- r"""Allows to connect time_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_surface_heat_flux()
- >>> 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) -> Input:
- r"""Allows to connect mesh_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_surface_heat_flux()
- >>> 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) -> Input:
- r"""Allows to connect fields_container input to the operator.
-
- FieldsContainer already allocated modified inplace
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_surface_heat_flux()
- >>> 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) -> Input:
- r"""Allows to connect streams_container input to the operator.
-
- Streams containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_surface_heat_flux()
- >>> 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) -> Input:
- r"""Allows to connect data_sources input to the operator.
-
- data sources containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_surface_heat_flux()
- >>> 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) -> Input:
- r"""Allows to connect bool_rotate_to_global input to the operator.
-
- if true the field is rotated to global coordinate system (default true)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_surface_heat_flux()
- >>> 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 all_dofs(self) -> Input:
- r"""Allows to connect all_dofs input to the operator.
-
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_surface_heat_flux()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> # or
- >>> op.inputs.all_dofs(my_all_dofs)
- """
- return self._all_dofs
-
- @property
- def sector_mesh(self) -> Input:
- r"""Allows to connect sector_mesh input to the operator.
-
- mesh of the base sector (can be a skin).
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_surface_heat_flux()
- >>> op.inputs.sector_mesh.connect(my_sector_mesh)
- >>> # or
- >>> op.inputs.sector_mesh(my_sector_mesh)
- """
- return self._sector_mesh
-
- @property
- def requested_location(self) -> Input:
- r"""Allows to connect requested_location input to the operator.
-
- location needed in output
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_surface_heat_flux()
- >>> op.inputs.requested_location.connect(my_requested_location)
- >>> # or
- >>> op.inputs.requested_location(my_requested_location)
- """
- return self._requested_location
-
- @property
- def read_cyclic(self) -> Input:
- r"""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)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_surface_heat_flux()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
- @property
- def expanded_meshed_region(self) -> Input:
- r"""Allows to connect expanded_meshed_region input to the operator.
-
- mesh expanded.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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 cyclic_support(self) -> Input:
- r"""Allows to connect cyclic_support input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_surface_heat_flux()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> # or
- >>> op.inputs.cyclic_support(my_cyclic_support)
- """
- return self._cyclic_support
-
- @property
- def sectors_to_expand(self) -> Input:
- r"""Allows to connect sectors_to_expand input to the operator.
-
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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) -> Input:
- r"""Allows to connect phi input to the operator.
-
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_surface_heat_flux()
- >>> op.inputs.phi.connect(my_phi)
- >>> # or
- >>> op.inputs.phi(my_phi)
- """
- return self._phi
-
-
-class OutputsCyclicExpandedContactSurfaceHeatFlux(_Outputs):
- """Intermediate class used to get outputs from
- cyclic_expanded_contact_surface_heat_flux operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_surface_heat_flux()
- >>> # Connect inputs : op.inputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
-
- def __init__(self, op: Operator):
- super().__init__(cyclic_expanded_contact_surface_heat_flux._spec().outputs, op)
- self._fields_container = Output(
- cyclic_expanded_contact_surface_heat_flux._spec().output_pin(0), 0, op
- )
- self._outputs.append(self._fields_container)
-
- @property
- def fields_container(self) -> Output:
- r"""Allows to get fields_container output of the operator
-
- FieldsContainer filled in
-
- Returns
- -------
- output:
- An Output instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_surface_heat_flux()
- >>> # Get the output from op.outputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
- return self._fields_container
diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_contact_total_stress.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_contact_total_stress.py
deleted file mode 100644
index 512c09f6fa5..00000000000
--- a/src/ansys/dpf/core/operators/result/cyclic_expanded_contact_total_stress.py
+++ /dev/null
@@ -1,741 +0,0 @@
-"""
-cyclic_expanded_contact_total_stress
-
-Autogenerated DPF operator classes.
-"""
-
-from __future__ import annotations
-
-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
-from ansys.dpf.core.config import Config
-from ansys.dpf.core.server_types import AnyServerType
-
-
-class cyclic_expanded_contact_total_stress(Operator):
- r"""This operator is deprecated: use the operator element contact total
- stress (pressure plus friction) with the read_cyclic pin instead. Read
- element contact total stress (pressure plus friction) from a result file
- and expand it with cyclic symmetry.
-
-
- Parameters
- ----------
- time_scoping: Scoping, optional
- mesh_scoping: ScopingsContainer or Scoping, optional
- fields_container: FieldsContainer, optional
- FieldsContainer already allocated modified inplace
- streams_container: StreamsContainer or Stream, optional
- Streams containing the result file.
- data_sources: DataSources
- data sources containing the result file.
- bool_rotate_to_global: bool, optional
- if true the field is rotated to global coordinate system (default true)
- all_dofs: bool, optional
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
- sector_mesh: MeshedRegion or MeshesContainer, optional
- mesh of the base sector (can be a skin).
- requested_location: str, optional
- location needed in output
- 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.
- cyclic_support: CyclicSupport, optional
- sectors_to_expand: Scoping or ScopingsContainer, optional
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
- phi: float, optional
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- fields_container: FieldsContainer
- FieldsContainer filled in
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
-
- >>> # Instantiate operator
- >>> op = dpf.operators.result.cyclic_expanded_contact_total_stress()
-
- >>> # 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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.cyclic_expanded_contact_total_stress(
- ... 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,
- ... all_dofs=my_all_dofs,
- ... sector_mesh=my_sector_mesh,
- ... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
- ... expanded_meshed_region=my_expanded_meshed_region,
- ... cyclic_support=my_cyclic_support,
- ... sectors_to_expand=my_sectors_to_expand,
- ... phi=my_phi,
- ... )
-
- >>> # 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,
- all_dofs=None,
- sector_mesh=None,
- requested_location=None,
- read_cyclic=None,
- expanded_meshed_region=None,
- cyclic_support=None,
- sectors_to_expand=None,
- phi=None,
- config=None,
- server=None,
- ):
- super().__init__(name="ECT_STOT_cyclic", config=config, server=server)
- self._inputs = InputsCyclicExpandedContactTotalStress(self)
- self._outputs = OutputsCyclicExpandedContactTotalStress(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 all_dofs is not None:
- self.inputs.all_dofs.connect(all_dofs)
- if sector_mesh is not None:
- self.inputs.sector_mesh.connect(sector_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 expanded_meshed_region is not None:
- self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
- if cyclic_support is not None:
- self.inputs.cyclic_support.connect(cyclic_support)
- 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() -> Specification:
- description = r"""This operator is deprecated: use the operator element contact total
-stress (pressure plus friction) with the read_cyclic pin instead. Read
-element contact total stress (pressure plus friction) from a result file
-and expand it with cyclic symmetry.
-"""
- spec = Specification(
- description=description,
- map_input_pin_spec={
- 0: PinSpecification(
- name="time_scoping",
- type_names=["scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 1: PinSpecification(
- name="mesh_scoping",
- type_names=["scopings_container", "scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 2: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=True,
- document=r"""FieldsContainer already allocated modified inplace""",
- ),
- 3: PinSpecification(
- name="streams_container",
- type_names=["streams_container", "stream"],
- optional=True,
- document=r"""Streams containing the result file.""",
- ),
- 4: PinSpecification(
- name="data_sources",
- type_names=["data_sources"],
- optional=False,
- document=r"""data sources containing the result file.""",
- ),
- 5: PinSpecification(
- name="bool_rotate_to_global",
- type_names=["bool"],
- optional=True,
- document=r"""if true the field is rotated to global coordinate system (default true)""",
- ),
- 6: PinSpecification(
- name="all_dofs",
- type_names=["bool"],
- optional=True,
- document=r"""if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.""",
- ),
- 7: PinSpecification(
- name="sector_mesh",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh of the base sector (can be a skin).""",
- ),
- 9: PinSpecification(
- name="requested_location",
- type_names=["string"],
- optional=True,
- document=r"""location needed in output""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document=r"""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)""",
- ),
- 15: PinSpecification(
- name="expanded_meshed_region",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh expanded.""",
- ),
- 16: PinSpecification(
- name="cyclic_support",
- type_names=["cyclic_support"],
- optional=True,
- document=r"""""",
- ),
- 18: PinSpecification(
- name="sectors_to_expand",
- type_names=["vector", "scoping", "scopings_container"],
- optional=True,
- document=r"""sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.""",
- ),
- 19: PinSpecification(
- name="phi",
- type_names=["double"],
- optional=True,
- document=r"""angle phi in degrees (default value 0.0)""",
- ),
- },
- map_output_pin_spec={
- 0: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=False,
- document=r"""FieldsContainer filled in""",
- ),
- },
- )
- return spec
-
- @staticmethod
- def default_config(server: AnyServerType = None) -> Config:
- """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 with channel connected to the remote or local instance. When
- ``None``, attempts to use the global server.
-
- Returns
- -------
- config:
- A new Config instance equivalent to the default config for this operator.
- """
- return Operator.default_config(name="ECT_STOT_cyclic", server=server)
-
- @property
- def inputs(self) -> InputsCyclicExpandedContactTotalStress:
- """Enables to connect inputs to the operator
-
- Returns
- --------
- inputs:
- An instance of InputsCyclicExpandedContactTotalStress.
- """
- return super().inputs
-
- @property
- def outputs(self) -> OutputsCyclicExpandedContactTotalStress:
- """Enables to get outputs of the operator by evaluating it
-
- Returns
- --------
- outputs:
- An instance of OutputsCyclicExpandedContactTotalStress.
- """
- return super().outputs
-
-
-class InputsCyclicExpandedContactTotalStress(_Inputs):
- """Intermediate class used to connect user inputs to
- cyclic_expanded_contact_total_stress operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_total_stress()
- >>> 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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):
- super().__init__(cyclic_expanded_contact_total_stress._spec().inputs, op)
- self._time_scoping = Input(
- cyclic_expanded_contact_total_stress._spec().input_pin(0), 0, op, -1
- )
- self._inputs.append(self._time_scoping)
- self._mesh_scoping = Input(
- cyclic_expanded_contact_total_stress._spec().input_pin(1), 1, op, -1
- )
- self._inputs.append(self._mesh_scoping)
- self._fields_container = Input(
- cyclic_expanded_contact_total_stress._spec().input_pin(2), 2, op, -1
- )
- self._inputs.append(self._fields_container)
- self._streams_container = Input(
- cyclic_expanded_contact_total_stress._spec().input_pin(3), 3, op, -1
- )
- self._inputs.append(self._streams_container)
- self._data_sources = Input(
- cyclic_expanded_contact_total_stress._spec().input_pin(4), 4, op, -1
- )
- self._inputs.append(self._data_sources)
- self._bool_rotate_to_global = Input(
- cyclic_expanded_contact_total_stress._spec().input_pin(5), 5, op, -1
- )
- self._inputs.append(self._bool_rotate_to_global)
- self._all_dofs = Input(
- cyclic_expanded_contact_total_stress._spec().input_pin(6), 6, op, -1
- )
- self._inputs.append(self._all_dofs)
- self._sector_mesh = Input(
- cyclic_expanded_contact_total_stress._spec().input_pin(7), 7, op, -1
- )
- self._inputs.append(self._sector_mesh)
- self._requested_location = Input(
- cyclic_expanded_contact_total_stress._spec().input_pin(9), 9, op, -1
- )
- self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- cyclic_expanded_contact_total_stress._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
- self._expanded_meshed_region = Input(
- cyclic_expanded_contact_total_stress._spec().input_pin(15), 15, op, -1
- )
- self._inputs.append(self._expanded_meshed_region)
- self._cyclic_support = Input(
- cyclic_expanded_contact_total_stress._spec().input_pin(16), 16, op, -1
- )
- self._inputs.append(self._cyclic_support)
- self._sectors_to_expand = Input(
- cyclic_expanded_contact_total_stress._spec().input_pin(18), 18, op, -1
- )
- self._inputs.append(self._sectors_to_expand)
- self._phi = Input(
- cyclic_expanded_contact_total_stress._spec().input_pin(19), 19, op, -1
- )
- self._inputs.append(self._phi)
-
- @property
- def time_scoping(self) -> Input:
- r"""Allows to connect time_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_total_stress()
- >>> 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) -> Input:
- r"""Allows to connect mesh_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_total_stress()
- >>> 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) -> Input:
- r"""Allows to connect fields_container input to the operator.
-
- FieldsContainer already allocated modified inplace
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_total_stress()
- >>> 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) -> Input:
- r"""Allows to connect streams_container input to the operator.
-
- Streams containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_total_stress()
- >>> 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) -> Input:
- r"""Allows to connect data_sources input to the operator.
-
- data sources containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_total_stress()
- >>> 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) -> Input:
- r"""Allows to connect bool_rotate_to_global input to the operator.
-
- if true the field is rotated to global coordinate system (default true)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_total_stress()
- >>> 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 all_dofs(self) -> Input:
- r"""Allows to connect all_dofs input to the operator.
-
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_total_stress()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> # or
- >>> op.inputs.all_dofs(my_all_dofs)
- """
- return self._all_dofs
-
- @property
- def sector_mesh(self) -> Input:
- r"""Allows to connect sector_mesh input to the operator.
-
- mesh of the base sector (can be a skin).
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_total_stress()
- >>> op.inputs.sector_mesh.connect(my_sector_mesh)
- >>> # or
- >>> op.inputs.sector_mesh(my_sector_mesh)
- """
- return self._sector_mesh
-
- @property
- def requested_location(self) -> Input:
- r"""Allows to connect requested_location input to the operator.
-
- location needed in output
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_total_stress()
- >>> op.inputs.requested_location.connect(my_requested_location)
- >>> # or
- >>> op.inputs.requested_location(my_requested_location)
- """
- return self._requested_location
-
- @property
- def read_cyclic(self) -> Input:
- r"""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)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_total_stress()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
- @property
- def expanded_meshed_region(self) -> Input:
- r"""Allows to connect expanded_meshed_region input to the operator.
-
- mesh expanded.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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 cyclic_support(self) -> Input:
- r"""Allows to connect cyclic_support input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_total_stress()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> # or
- >>> op.inputs.cyclic_support(my_cyclic_support)
- """
- return self._cyclic_support
-
- @property
- def sectors_to_expand(self) -> Input:
- r"""Allows to connect sectors_to_expand input to the operator.
-
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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) -> Input:
- r"""Allows to connect phi input to the operator.
-
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_total_stress()
- >>> op.inputs.phi.connect(my_phi)
- >>> # or
- >>> op.inputs.phi(my_phi)
- """
- return self._phi
-
-
-class OutputsCyclicExpandedContactTotalStress(_Outputs):
- """Intermediate class used to get outputs from
- cyclic_expanded_contact_total_stress operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_total_stress()
- >>> # Connect inputs : op.inputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
-
- def __init__(self, op: Operator):
- super().__init__(cyclic_expanded_contact_total_stress._spec().outputs, op)
- self._fields_container = Output(
- cyclic_expanded_contact_total_stress._spec().output_pin(0), 0, op
- )
- self._outputs.append(self._fields_container)
-
- @property
- def fields_container(self) -> Output:
- r"""Allows to get fields_container output of the operator
-
- FieldsContainer filled in
-
- Returns
- -------
- output:
- An Output instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_contact_total_stress()
- >>> # Get the output from op.outputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
- return self._fields_container
diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_displacement.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_displacement.py
deleted file mode 100644
index 50c6a56f5bb..00000000000
--- a/src/ansys/dpf/core/operators/result/cyclic_expanded_displacement.py
+++ /dev/null
@@ -1,739 +0,0 @@
-"""
-cyclic_expanded_displacement
-
-Autogenerated DPF operator classes.
-"""
-
-from __future__ import annotations
-
-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
-from ansys.dpf.core.config import Config
-from ansys.dpf.core.server_types import AnyServerType
-
-
-class cyclic_expanded_displacement(Operator):
- r"""This operator is deprecated: use the operator nodal displacements with
- the read_cyclic pin instead. Read nodal displacements from a result file
- and expand it with cyclic symmetry.
-
-
- Parameters
- ----------
- time_scoping: Scoping, optional
- mesh_scoping: ScopingsContainer or Scoping, optional
- fields_container: FieldsContainer, optional
- FieldsContainer already allocated modified inplace
- streams_container: StreamsContainer or Stream, optional
- Streams containing the result file.
- data_sources: DataSources
- data sources containing the result file.
- bool_rotate_to_global: bool, optional
- if true the field is rotated to global coordinate system (default true)
- all_dofs: bool, optional
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
- sector_mesh: MeshedRegion or MeshesContainer, optional
- mesh of the base sector (can be a skin).
- requested_location: str, optional
- location needed in output
- 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.
- cyclic_support: CyclicSupport, optional
- sectors_to_expand: Scoping or ScopingsContainer, optional
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
- phi: float, optional
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- fields_container: FieldsContainer
- FieldsContainer filled in
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
-
- >>> # Instantiate operator
- >>> op = dpf.operators.result.cyclic_expanded_displacement()
-
- >>> # 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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.cyclic_expanded_displacement(
- ... 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,
- ... all_dofs=my_all_dofs,
- ... sector_mesh=my_sector_mesh,
- ... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
- ... expanded_meshed_region=my_expanded_meshed_region,
- ... cyclic_support=my_cyclic_support,
- ... sectors_to_expand=my_sectors_to_expand,
- ... phi=my_phi,
- ... )
-
- >>> # 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,
- all_dofs=None,
- sector_mesh=None,
- requested_location=None,
- read_cyclic=None,
- expanded_meshed_region=None,
- cyclic_support=None,
- sectors_to_expand=None,
- phi=None,
- config=None,
- server=None,
- ):
- super().__init__(name="U_cyclic", config=config, server=server)
- self._inputs = InputsCyclicExpandedDisplacement(self)
- self._outputs = OutputsCyclicExpandedDisplacement(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 all_dofs is not None:
- self.inputs.all_dofs.connect(all_dofs)
- if sector_mesh is not None:
- self.inputs.sector_mesh.connect(sector_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 expanded_meshed_region is not None:
- self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
- if cyclic_support is not None:
- self.inputs.cyclic_support.connect(cyclic_support)
- 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() -> Specification:
- description = r"""This operator is deprecated: use the operator nodal displacements with
-the read_cyclic pin instead. Read nodal displacements from a result file
-and expand it with cyclic symmetry.
-"""
- spec = Specification(
- description=description,
- map_input_pin_spec={
- 0: PinSpecification(
- name="time_scoping",
- type_names=["scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 1: PinSpecification(
- name="mesh_scoping",
- type_names=["scopings_container", "scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 2: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=True,
- document=r"""FieldsContainer already allocated modified inplace""",
- ),
- 3: PinSpecification(
- name="streams_container",
- type_names=["streams_container", "stream"],
- optional=True,
- document=r"""Streams containing the result file.""",
- ),
- 4: PinSpecification(
- name="data_sources",
- type_names=["data_sources"],
- optional=False,
- document=r"""data sources containing the result file.""",
- ),
- 5: PinSpecification(
- name="bool_rotate_to_global",
- type_names=["bool"],
- optional=True,
- document=r"""if true the field is rotated to global coordinate system (default true)""",
- ),
- 6: PinSpecification(
- name="all_dofs",
- type_names=["bool"],
- optional=True,
- document=r"""if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.""",
- ),
- 7: PinSpecification(
- name="sector_mesh",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh of the base sector (can be a skin).""",
- ),
- 9: PinSpecification(
- name="requested_location",
- type_names=["string"],
- optional=True,
- document=r"""location needed in output""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document=r"""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)""",
- ),
- 15: PinSpecification(
- name="expanded_meshed_region",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh expanded.""",
- ),
- 16: PinSpecification(
- name="cyclic_support",
- type_names=["cyclic_support"],
- optional=True,
- document=r"""""",
- ),
- 18: PinSpecification(
- name="sectors_to_expand",
- type_names=["vector", "scoping", "scopings_container"],
- optional=True,
- document=r"""sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.""",
- ),
- 19: PinSpecification(
- name="phi",
- type_names=["double"],
- optional=True,
- document=r"""angle phi in degrees (default value 0.0)""",
- ),
- },
- map_output_pin_spec={
- 0: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=False,
- document=r"""FieldsContainer filled in""",
- ),
- },
- )
- return spec
-
- @staticmethod
- def default_config(server: AnyServerType = None) -> Config:
- """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 with channel connected to the remote or local instance. When
- ``None``, attempts to use the global server.
-
- Returns
- -------
- config:
- A new Config instance equivalent to the default config for this operator.
- """
- return Operator.default_config(name="U_cyclic", server=server)
-
- @property
- def inputs(self) -> InputsCyclicExpandedDisplacement:
- """Enables to connect inputs to the operator
-
- Returns
- --------
- inputs:
- An instance of InputsCyclicExpandedDisplacement.
- """
- return super().inputs
-
- @property
- def outputs(self) -> OutputsCyclicExpandedDisplacement:
- """Enables to get outputs of the operator by evaluating it
-
- Returns
- --------
- outputs:
- An instance of OutputsCyclicExpandedDisplacement.
- """
- return super().outputs
-
-
-class InputsCyclicExpandedDisplacement(_Inputs):
- """Intermediate class used to connect user inputs to
- cyclic_expanded_displacement operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_displacement()
- >>> 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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):
- super().__init__(cyclic_expanded_displacement._spec().inputs, op)
- self._time_scoping = Input(
- cyclic_expanded_displacement._spec().input_pin(0), 0, op, -1
- )
- self._inputs.append(self._time_scoping)
- self._mesh_scoping = Input(
- cyclic_expanded_displacement._spec().input_pin(1), 1, op, -1
- )
- self._inputs.append(self._mesh_scoping)
- self._fields_container = Input(
- cyclic_expanded_displacement._spec().input_pin(2), 2, op, -1
- )
- self._inputs.append(self._fields_container)
- self._streams_container = Input(
- cyclic_expanded_displacement._spec().input_pin(3), 3, op, -1
- )
- self._inputs.append(self._streams_container)
- self._data_sources = Input(
- cyclic_expanded_displacement._spec().input_pin(4), 4, op, -1
- )
- self._inputs.append(self._data_sources)
- self._bool_rotate_to_global = Input(
- cyclic_expanded_displacement._spec().input_pin(5), 5, op, -1
- )
- self._inputs.append(self._bool_rotate_to_global)
- self._all_dofs = Input(
- cyclic_expanded_displacement._spec().input_pin(6), 6, op, -1
- )
- self._inputs.append(self._all_dofs)
- self._sector_mesh = Input(
- cyclic_expanded_displacement._spec().input_pin(7), 7, op, -1
- )
- self._inputs.append(self._sector_mesh)
- self._requested_location = Input(
- cyclic_expanded_displacement._spec().input_pin(9), 9, op, -1
- )
- self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- cyclic_expanded_displacement._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
- self._expanded_meshed_region = Input(
- cyclic_expanded_displacement._spec().input_pin(15), 15, op, -1
- )
- self._inputs.append(self._expanded_meshed_region)
- self._cyclic_support = Input(
- cyclic_expanded_displacement._spec().input_pin(16), 16, op, -1
- )
- self._inputs.append(self._cyclic_support)
- self._sectors_to_expand = Input(
- cyclic_expanded_displacement._spec().input_pin(18), 18, op, -1
- )
- self._inputs.append(self._sectors_to_expand)
- self._phi = Input(
- cyclic_expanded_displacement._spec().input_pin(19), 19, op, -1
- )
- self._inputs.append(self._phi)
-
- @property
- def time_scoping(self) -> Input:
- r"""Allows to connect time_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_displacement()
- >>> 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) -> Input:
- r"""Allows to connect mesh_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_displacement()
- >>> 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) -> Input:
- r"""Allows to connect fields_container input to the operator.
-
- FieldsContainer already allocated modified inplace
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_displacement()
- >>> 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) -> Input:
- r"""Allows to connect streams_container input to the operator.
-
- Streams containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_displacement()
- >>> 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) -> Input:
- r"""Allows to connect data_sources input to the operator.
-
- data sources containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_displacement()
- >>> 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) -> Input:
- r"""Allows to connect bool_rotate_to_global input to the operator.
-
- if true the field is rotated to global coordinate system (default true)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_displacement()
- >>> 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 all_dofs(self) -> Input:
- r"""Allows to connect all_dofs input to the operator.
-
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_displacement()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> # or
- >>> op.inputs.all_dofs(my_all_dofs)
- """
- return self._all_dofs
-
- @property
- def sector_mesh(self) -> Input:
- r"""Allows to connect sector_mesh input to the operator.
-
- mesh of the base sector (can be a skin).
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_displacement()
- >>> op.inputs.sector_mesh.connect(my_sector_mesh)
- >>> # or
- >>> op.inputs.sector_mesh(my_sector_mesh)
- """
- return self._sector_mesh
-
- @property
- def requested_location(self) -> Input:
- r"""Allows to connect requested_location input to the operator.
-
- location needed in output
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_displacement()
- >>> op.inputs.requested_location.connect(my_requested_location)
- >>> # or
- >>> op.inputs.requested_location(my_requested_location)
- """
- return self._requested_location
-
- @property
- def read_cyclic(self) -> Input:
- r"""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)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_displacement()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
- @property
- def expanded_meshed_region(self) -> Input:
- r"""Allows to connect expanded_meshed_region input to the operator.
-
- mesh expanded.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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 cyclic_support(self) -> Input:
- r"""Allows to connect cyclic_support input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_displacement()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> # or
- >>> op.inputs.cyclic_support(my_cyclic_support)
- """
- return self._cyclic_support
-
- @property
- def sectors_to_expand(self) -> Input:
- r"""Allows to connect sectors_to_expand input to the operator.
-
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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) -> Input:
- r"""Allows to connect phi input to the operator.
-
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_displacement()
- >>> op.inputs.phi.connect(my_phi)
- >>> # or
- >>> op.inputs.phi(my_phi)
- """
- return self._phi
-
-
-class OutputsCyclicExpandedDisplacement(_Outputs):
- """Intermediate class used to get outputs from
- cyclic_expanded_displacement operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_displacement()
- >>> # Connect inputs : op.inputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
-
- def __init__(self, op: Operator):
- super().__init__(cyclic_expanded_displacement._spec().outputs, op)
- self._fields_container = Output(
- cyclic_expanded_displacement._spec().output_pin(0), 0, op
- )
- self._outputs.append(self._fields_container)
-
- @property
- def fields_container(self) -> Output:
- r"""Allows to get fields_container output of the operator
-
- FieldsContainer filled in
-
- Returns
- -------
- output:
- An Output instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_displacement()
- >>> # Get the output from op.outputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
- return self._fields_container
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
deleted file mode 100644
index 9b54789d866..00000000000
--- a/src/ansys/dpf/core/operators/result/cyclic_expanded_el_strain.py
+++ /dev/null
@@ -1,739 +0,0 @@
-"""
-cyclic_expanded_el_strain
-
-Autogenerated DPF operator classes.
-"""
-
-from __future__ import annotations
-
-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
-from ansys.dpf.core.config import Config
-from ansys.dpf.core.server_types import AnyServerType
-
-
-class cyclic_expanded_el_strain(Operator):
- r"""This operator is deprecated: use the operator element nodal component
- elastic strains with the read_cyclic pin instead. Read element nodal
- component elastic strains from a result file and expand it with cyclic
- symmetry.
-
-
- Parameters
- ----------
- time_scoping: Scoping, optional
- mesh_scoping: ScopingsContainer or Scoping, optional
- fields_container: FieldsContainer, optional
- FieldsContainer already allocated modified inplace
- streams_container: StreamsContainer or Stream, optional
- Streams containing the result file.
- data_sources: DataSources
- data sources containing the result file.
- bool_rotate_to_global: bool, optional
- if true the field is rotated to global coordinate system (default true)
- all_dofs: bool, optional
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
- sector_mesh: MeshedRegion or MeshesContainer, optional
- mesh of the base sector (can be a skin).
- requested_location: str, optional
- location needed in output
- 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.
- cyclic_support: CyclicSupport, optional
- sectors_to_expand: Scoping or ScopingsContainer, optional
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
- phi: float, optional
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- fields_container: FieldsContainer
- FieldsContainer filled in
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
-
- >>> # Instantiate operator
- >>> op = dpf.operators.result.cyclic_expanded_el_strain()
-
- >>> # 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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.cyclic_expanded_el_strain(
- ... 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,
- ... all_dofs=my_all_dofs,
- ... sector_mesh=my_sector_mesh,
- ... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
- ... expanded_meshed_region=my_expanded_meshed_region,
- ... cyclic_support=my_cyclic_support,
- ... sectors_to_expand=my_sectors_to_expand,
- ... phi=my_phi,
- ... )
-
- >>> # 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,
- all_dofs=None,
- sector_mesh=None,
- requested_location=None,
- read_cyclic=None,
- expanded_meshed_region=None,
- cyclic_support=None,
- sectors_to_expand=None,
- phi=None,
- config=None,
- server=None,
- ):
- super().__init__(name="EPEL_cyclic", config=config, server=server)
- self._inputs = InputsCyclicExpandedElStrain(self)
- self._outputs = OutputsCyclicExpandedElStrain(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 all_dofs is not None:
- self.inputs.all_dofs.connect(all_dofs)
- if sector_mesh is not None:
- self.inputs.sector_mesh.connect(sector_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 expanded_meshed_region is not None:
- self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
- if cyclic_support is not None:
- self.inputs.cyclic_support.connect(cyclic_support)
- 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() -> Specification:
- description = r"""This operator is deprecated: use the operator element nodal component
-elastic strains with the read_cyclic pin instead. Read element nodal
-component elastic strains from a result file and expand it with cyclic
-symmetry.
-"""
- spec = Specification(
- description=description,
- map_input_pin_spec={
- 0: PinSpecification(
- name="time_scoping",
- type_names=["scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 1: PinSpecification(
- name="mesh_scoping",
- type_names=["scopings_container", "scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 2: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=True,
- document=r"""FieldsContainer already allocated modified inplace""",
- ),
- 3: PinSpecification(
- name="streams_container",
- type_names=["streams_container", "stream"],
- optional=True,
- document=r"""Streams containing the result file.""",
- ),
- 4: PinSpecification(
- name="data_sources",
- type_names=["data_sources"],
- optional=False,
- document=r"""data sources containing the result file.""",
- ),
- 5: PinSpecification(
- name="bool_rotate_to_global",
- type_names=["bool"],
- optional=True,
- document=r"""if true the field is rotated to global coordinate system (default true)""",
- ),
- 6: PinSpecification(
- name="all_dofs",
- type_names=["bool"],
- optional=True,
- document=r"""if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.""",
- ),
- 7: PinSpecification(
- name="sector_mesh",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh of the base sector (can be a skin).""",
- ),
- 9: PinSpecification(
- name="requested_location",
- type_names=["string"],
- optional=True,
- document=r"""location needed in output""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document=r"""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)""",
- ),
- 15: PinSpecification(
- name="expanded_meshed_region",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh expanded.""",
- ),
- 16: PinSpecification(
- name="cyclic_support",
- type_names=["cyclic_support"],
- optional=True,
- document=r"""""",
- ),
- 18: PinSpecification(
- name="sectors_to_expand",
- type_names=["vector", "scoping", "scopings_container"],
- optional=True,
- document=r"""sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.""",
- ),
- 19: PinSpecification(
- name="phi",
- type_names=["double"],
- optional=True,
- document=r"""angle phi in degrees (default value 0.0)""",
- ),
- },
- map_output_pin_spec={
- 0: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=False,
- document=r"""FieldsContainer filled in""",
- ),
- },
- )
- return spec
-
- @staticmethod
- def default_config(server: AnyServerType = None) -> Config:
- """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 with channel connected to the remote or local instance. When
- ``None``, attempts to use the global server.
-
- Returns
- -------
- config:
- A new Config instance equivalent to the default config for this operator.
- """
- return Operator.default_config(name="EPEL_cyclic", server=server)
-
- @property
- def inputs(self) -> InputsCyclicExpandedElStrain:
- """Enables to connect inputs to the operator
-
- Returns
- --------
- inputs:
- An instance of InputsCyclicExpandedElStrain.
- """
- return super().inputs
-
- @property
- def outputs(self) -> OutputsCyclicExpandedElStrain:
- """Enables to get outputs of the operator by evaluating it
-
- Returns
- --------
- outputs:
- An instance of OutputsCyclicExpandedElStrain.
- """
- return super().outputs
-
-
-class InputsCyclicExpandedElStrain(_Inputs):
- """Intermediate class used to connect user inputs to
- cyclic_expanded_el_strain operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_el_strain()
- >>> 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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):
- super().__init__(cyclic_expanded_el_strain._spec().inputs, op)
- self._time_scoping = Input(
- cyclic_expanded_el_strain._spec().input_pin(0), 0, op, -1
- )
- self._inputs.append(self._time_scoping)
- self._mesh_scoping = Input(
- cyclic_expanded_el_strain._spec().input_pin(1), 1, op, -1
- )
- self._inputs.append(self._mesh_scoping)
- self._fields_container = Input(
- cyclic_expanded_el_strain._spec().input_pin(2), 2, op, -1
- )
- self._inputs.append(self._fields_container)
- self._streams_container = Input(
- cyclic_expanded_el_strain._spec().input_pin(3), 3, op, -1
- )
- self._inputs.append(self._streams_container)
- self._data_sources = Input(
- cyclic_expanded_el_strain._spec().input_pin(4), 4, op, -1
- )
- self._inputs.append(self._data_sources)
- self._bool_rotate_to_global = Input(
- cyclic_expanded_el_strain._spec().input_pin(5), 5, op, -1
- )
- self._inputs.append(self._bool_rotate_to_global)
- self._all_dofs = Input(
- cyclic_expanded_el_strain._spec().input_pin(6), 6, op, -1
- )
- self._inputs.append(self._all_dofs)
- self._sector_mesh = Input(
- cyclic_expanded_el_strain._spec().input_pin(7), 7, op, -1
- )
- self._inputs.append(self._sector_mesh)
- self._requested_location = Input(
- cyclic_expanded_el_strain._spec().input_pin(9), 9, op, -1
- )
- self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- cyclic_expanded_el_strain._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
- self._expanded_meshed_region = Input(
- cyclic_expanded_el_strain._spec().input_pin(15), 15, op, -1
- )
- self._inputs.append(self._expanded_meshed_region)
- self._cyclic_support = Input(
- cyclic_expanded_el_strain._spec().input_pin(16), 16, op, -1
- )
- self._inputs.append(self._cyclic_support)
- self._sectors_to_expand = Input(
- cyclic_expanded_el_strain._spec().input_pin(18), 18, op, -1
- )
- self._inputs.append(self._sectors_to_expand)
- self._phi = Input(cyclic_expanded_el_strain._spec().input_pin(19), 19, op, -1)
- self._inputs.append(self._phi)
-
- @property
- def time_scoping(self) -> Input:
- r"""Allows to connect time_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_el_strain()
- >>> 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) -> Input:
- r"""Allows to connect mesh_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_el_strain()
- >>> 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) -> Input:
- r"""Allows to connect fields_container input to the operator.
-
- FieldsContainer already allocated modified inplace
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_el_strain()
- >>> 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) -> Input:
- r"""Allows to connect streams_container input to the operator.
-
- Streams containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_el_strain()
- >>> 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) -> Input:
- r"""Allows to connect data_sources input to the operator.
-
- data sources containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_el_strain()
- >>> 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) -> Input:
- r"""Allows to connect bool_rotate_to_global input to the operator.
-
- if true the field is rotated to global coordinate system (default true)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_el_strain()
- >>> 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 all_dofs(self) -> Input:
- r"""Allows to connect all_dofs input to the operator.
-
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_el_strain()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> # or
- >>> op.inputs.all_dofs(my_all_dofs)
- """
- return self._all_dofs
-
- @property
- def sector_mesh(self) -> Input:
- r"""Allows to connect sector_mesh input to the operator.
-
- mesh of the base sector (can be a skin).
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_el_strain()
- >>> op.inputs.sector_mesh.connect(my_sector_mesh)
- >>> # or
- >>> op.inputs.sector_mesh(my_sector_mesh)
- """
- return self._sector_mesh
-
- @property
- def requested_location(self) -> Input:
- r"""Allows to connect requested_location input to the operator.
-
- location needed in output
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_el_strain()
- >>> op.inputs.requested_location.connect(my_requested_location)
- >>> # or
- >>> op.inputs.requested_location(my_requested_location)
- """
- return self._requested_location
-
- @property
- def read_cyclic(self) -> Input:
- r"""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)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_el_strain()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
- @property
- def expanded_meshed_region(self) -> Input:
- r"""Allows to connect expanded_meshed_region input to the operator.
-
- mesh expanded.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_el_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 cyclic_support(self) -> Input:
- r"""Allows to connect cyclic_support input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_el_strain()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> # or
- >>> op.inputs.cyclic_support(my_cyclic_support)
- """
- return self._cyclic_support
-
- @property
- def sectors_to_expand(self) -> Input:
- r"""Allows to connect sectors_to_expand input to the operator.
-
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_el_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) -> Input:
- r"""Allows to connect phi input to the operator.
-
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_el_strain()
- >>> op.inputs.phi.connect(my_phi)
- >>> # or
- >>> op.inputs.phi(my_phi)
- """
- return self._phi
-
-
-class OutputsCyclicExpandedElStrain(_Outputs):
- """Intermediate class used to get outputs from
- cyclic_expanded_el_strain operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_el_strain()
- >>> # Connect inputs : op.inputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
-
- def __init__(self, op: Operator):
- super().__init__(cyclic_expanded_el_strain._spec().outputs, op)
- self._fields_container = Output(
- cyclic_expanded_el_strain._spec().output_pin(0), 0, op
- )
- self._outputs.append(self._fields_container)
-
- @property
- def fields_container(self) -> Output:
- r"""Allows to get fields_container output of the operator
-
- FieldsContainer filled in
-
- Returns
- -------
- output:
- An Output instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_el_strain()
- >>> # Get the output from op.outputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
- return self._fields_container
diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_enf.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_enf.py
deleted file mode 100644
index 65dd538e7ff..00000000000
--- a/src/ansys/dpf/core/operators/result/cyclic_expanded_enf.py
+++ /dev/null
@@ -1,725 +0,0 @@
-"""
-cyclic_expanded_enf
-
-Autogenerated DPF operator classes.
-"""
-
-from __future__ import annotations
-
-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
-from ansys.dpf.core.config import Config
-from ansys.dpf.core.server_types import AnyServerType
-
-
-class cyclic_expanded_enf(Operator):
- r"""This operator is deprecated: use the operator element nodal forces with
- the read_cyclic pin instead. Read element nodal forces from a result
- file and expand it with cyclic symmetry.
-
-
- Parameters
- ----------
- time_scoping: Scoping, optional
- mesh_scoping: ScopingsContainer or Scoping, optional
- fields_container: FieldsContainer, optional
- FieldsContainer already allocated modified inplace
- streams_container: StreamsContainer or Stream, optional
- Streams containing the result file.
- data_sources: DataSources
- data sources containing the result file.
- bool_rotate_to_global: bool, optional
- if true the field is rotated to global coordinate system (default true)
- all_dofs: bool, optional
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
- sector_mesh: MeshedRegion or MeshesContainer, optional
- mesh of the base sector (can be a skin).
- requested_location: str, optional
- location needed in output
- 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.
- cyclic_support: CyclicSupport, optional
- sectors_to_expand: Scoping or ScopingsContainer, optional
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
- phi: float, optional
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- fields_container: FieldsContainer
- FieldsContainer filled in
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
-
- >>> # Instantiate operator
- >>> op = dpf.operators.result.cyclic_expanded_enf()
-
- >>> # 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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.cyclic_expanded_enf(
- ... 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,
- ... all_dofs=my_all_dofs,
- ... sector_mesh=my_sector_mesh,
- ... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
- ... expanded_meshed_region=my_expanded_meshed_region,
- ... cyclic_support=my_cyclic_support,
- ... sectors_to_expand=my_sectors_to_expand,
- ... phi=my_phi,
- ... )
-
- >>> # 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,
- all_dofs=None,
- sector_mesh=None,
- requested_location=None,
- read_cyclic=None,
- expanded_meshed_region=None,
- cyclic_support=None,
- sectors_to_expand=None,
- phi=None,
- config=None,
- server=None,
- ):
- super().__init__(name="ENF_cyclic", config=config, server=server)
- self._inputs = InputsCyclicExpandedEnf(self)
- self._outputs = OutputsCyclicExpandedEnf(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 all_dofs is not None:
- self.inputs.all_dofs.connect(all_dofs)
- if sector_mesh is not None:
- self.inputs.sector_mesh.connect(sector_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 expanded_meshed_region is not None:
- self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
- if cyclic_support is not None:
- self.inputs.cyclic_support.connect(cyclic_support)
- 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() -> Specification:
- description = r"""This operator is deprecated: use the operator element nodal forces with
-the read_cyclic pin instead. Read element nodal forces from a result
-file and expand it with cyclic symmetry.
-"""
- spec = Specification(
- description=description,
- map_input_pin_spec={
- 0: PinSpecification(
- name="time_scoping",
- type_names=["scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 1: PinSpecification(
- name="mesh_scoping",
- type_names=["scopings_container", "scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 2: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=True,
- document=r"""FieldsContainer already allocated modified inplace""",
- ),
- 3: PinSpecification(
- name="streams_container",
- type_names=["streams_container", "stream"],
- optional=True,
- document=r"""Streams containing the result file.""",
- ),
- 4: PinSpecification(
- name="data_sources",
- type_names=["data_sources"],
- optional=False,
- document=r"""data sources containing the result file.""",
- ),
- 5: PinSpecification(
- name="bool_rotate_to_global",
- type_names=["bool"],
- optional=True,
- document=r"""if true the field is rotated to global coordinate system (default true)""",
- ),
- 6: PinSpecification(
- name="all_dofs",
- type_names=["bool"],
- optional=True,
- document=r"""if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.""",
- ),
- 7: PinSpecification(
- name="sector_mesh",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh of the base sector (can be a skin).""",
- ),
- 9: PinSpecification(
- name="requested_location",
- type_names=["string"],
- optional=True,
- document=r"""location needed in output""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document=r"""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)""",
- ),
- 15: PinSpecification(
- name="expanded_meshed_region",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh expanded.""",
- ),
- 16: PinSpecification(
- name="cyclic_support",
- type_names=["cyclic_support"],
- optional=True,
- document=r"""""",
- ),
- 18: PinSpecification(
- name="sectors_to_expand",
- type_names=["vector", "scoping", "scopings_container"],
- optional=True,
- document=r"""sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.""",
- ),
- 19: PinSpecification(
- name="phi",
- type_names=["double"],
- optional=True,
- document=r"""angle phi in degrees (default value 0.0)""",
- ),
- },
- map_output_pin_spec={
- 0: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=False,
- document=r"""FieldsContainer filled in""",
- ),
- },
- )
- return spec
-
- @staticmethod
- def default_config(server: AnyServerType = None) -> Config:
- """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 with channel connected to the remote or local instance. When
- ``None``, attempts to use the global server.
-
- Returns
- -------
- config:
- A new Config instance equivalent to the default config for this operator.
- """
- return Operator.default_config(name="ENF_cyclic", server=server)
-
- @property
- def inputs(self) -> InputsCyclicExpandedEnf:
- """Enables to connect inputs to the operator
-
- Returns
- --------
- inputs:
- An instance of InputsCyclicExpandedEnf.
- """
- return super().inputs
-
- @property
- def outputs(self) -> OutputsCyclicExpandedEnf:
- """Enables to get outputs of the operator by evaluating it
-
- Returns
- --------
- outputs:
- An instance of OutputsCyclicExpandedEnf.
- """
- return super().outputs
-
-
-class InputsCyclicExpandedEnf(_Inputs):
- """Intermediate class used to connect user inputs to
- cyclic_expanded_enf operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_enf()
- >>> 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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):
- super().__init__(cyclic_expanded_enf._spec().inputs, op)
- self._time_scoping = Input(cyclic_expanded_enf._spec().input_pin(0), 0, op, -1)
- self._inputs.append(self._time_scoping)
- self._mesh_scoping = Input(cyclic_expanded_enf._spec().input_pin(1), 1, op, -1)
- self._inputs.append(self._mesh_scoping)
- self._fields_container = Input(
- cyclic_expanded_enf._spec().input_pin(2), 2, op, -1
- )
- self._inputs.append(self._fields_container)
- self._streams_container = Input(
- cyclic_expanded_enf._spec().input_pin(3), 3, op, -1
- )
- self._inputs.append(self._streams_container)
- self._data_sources = Input(cyclic_expanded_enf._spec().input_pin(4), 4, op, -1)
- self._inputs.append(self._data_sources)
- self._bool_rotate_to_global = Input(
- cyclic_expanded_enf._spec().input_pin(5), 5, op, -1
- )
- self._inputs.append(self._bool_rotate_to_global)
- self._all_dofs = Input(cyclic_expanded_enf._spec().input_pin(6), 6, op, -1)
- self._inputs.append(self._all_dofs)
- self._sector_mesh = Input(cyclic_expanded_enf._spec().input_pin(7), 7, op, -1)
- self._inputs.append(self._sector_mesh)
- self._requested_location = Input(
- cyclic_expanded_enf._spec().input_pin(9), 9, op, -1
- )
- self._inputs.append(self._requested_location)
- self._read_cyclic = Input(cyclic_expanded_enf._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
- self._expanded_meshed_region = Input(
- cyclic_expanded_enf._spec().input_pin(15), 15, op, -1
- )
- self._inputs.append(self._expanded_meshed_region)
- self._cyclic_support = Input(
- cyclic_expanded_enf._spec().input_pin(16), 16, op, -1
- )
- self._inputs.append(self._cyclic_support)
- self._sectors_to_expand = Input(
- cyclic_expanded_enf._spec().input_pin(18), 18, op, -1
- )
- self._inputs.append(self._sectors_to_expand)
- self._phi = Input(cyclic_expanded_enf._spec().input_pin(19), 19, op, -1)
- self._inputs.append(self._phi)
-
- @property
- def time_scoping(self) -> Input:
- r"""Allows to connect time_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_enf()
- >>> 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) -> Input:
- r"""Allows to connect mesh_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_enf()
- >>> 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) -> Input:
- r"""Allows to connect fields_container input to the operator.
-
- FieldsContainer already allocated modified inplace
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_enf()
- >>> 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) -> Input:
- r"""Allows to connect streams_container input to the operator.
-
- Streams containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_enf()
- >>> 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) -> Input:
- r"""Allows to connect data_sources input to the operator.
-
- data sources containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_enf()
- >>> 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) -> Input:
- r"""Allows to connect bool_rotate_to_global input to the operator.
-
- if true the field is rotated to global coordinate system (default true)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_enf()
- >>> 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 all_dofs(self) -> Input:
- r"""Allows to connect all_dofs input to the operator.
-
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_enf()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> # or
- >>> op.inputs.all_dofs(my_all_dofs)
- """
- return self._all_dofs
-
- @property
- def sector_mesh(self) -> Input:
- r"""Allows to connect sector_mesh input to the operator.
-
- mesh of the base sector (can be a skin).
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_enf()
- >>> op.inputs.sector_mesh.connect(my_sector_mesh)
- >>> # or
- >>> op.inputs.sector_mesh(my_sector_mesh)
- """
- return self._sector_mesh
-
- @property
- def requested_location(self) -> Input:
- r"""Allows to connect requested_location input to the operator.
-
- location needed in output
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_enf()
- >>> op.inputs.requested_location.connect(my_requested_location)
- >>> # or
- >>> op.inputs.requested_location(my_requested_location)
- """
- return self._requested_location
-
- @property
- def read_cyclic(self) -> Input:
- r"""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)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_enf()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
- @property
- def expanded_meshed_region(self) -> Input:
- r"""Allows to connect expanded_meshed_region input to the operator.
-
- mesh expanded.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_enf()
- >>> 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 cyclic_support(self) -> Input:
- r"""Allows to connect cyclic_support input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_enf()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> # or
- >>> op.inputs.cyclic_support(my_cyclic_support)
- """
- return self._cyclic_support
-
- @property
- def sectors_to_expand(self) -> Input:
- r"""Allows to connect sectors_to_expand input to the operator.
-
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_enf()
- >>> 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) -> Input:
- r"""Allows to connect phi input to the operator.
-
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_enf()
- >>> op.inputs.phi.connect(my_phi)
- >>> # or
- >>> op.inputs.phi(my_phi)
- """
- return self._phi
-
-
-class OutputsCyclicExpandedEnf(_Outputs):
- """Intermediate class used to get outputs from
- cyclic_expanded_enf operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_enf()
- >>> # Connect inputs : op.inputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
-
- def __init__(self, op: Operator):
- super().__init__(cyclic_expanded_enf._spec().outputs, op)
- self._fields_container = Output(
- cyclic_expanded_enf._spec().output_pin(0), 0, op
- )
- self._outputs.append(self._fields_container)
-
- @property
- def fields_container(self) -> Output:
- r"""Allows to get fields_container output of the operator
-
- FieldsContainer filled in
-
- Returns
- -------
- output:
- An Output instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_enf()
- >>> # Get the output from op.outputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
- return self._fields_container
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
deleted file mode 100644
index 53acbf29e1e..00000000000
--- a/src/ansys/dpf/core/operators/result/cyclic_expanded_heat_flux.py
+++ /dev/null
@@ -1,737 +0,0 @@
-"""
-cyclic_expanded_heat_flux
-
-Autogenerated DPF operator classes.
-"""
-
-from __future__ import annotations
-
-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
-from ansys.dpf.core.config import Config
-from ansys.dpf.core.server_types import AnyServerType
-
-
-class cyclic_expanded_heat_flux(Operator):
- r"""This operator is deprecated: use the operator heat flux with the
- read_cyclic pin instead. Read heat flux from a result file and expand it
- with cyclic symmetry.
-
-
- Parameters
- ----------
- time_scoping: Scoping, optional
- mesh_scoping: ScopingsContainer or Scoping, optional
- fields_container: FieldsContainer, optional
- FieldsContainer already allocated modified inplace
- streams_container: StreamsContainer or Stream, optional
- Streams containing the result file.
- data_sources: DataSources
- data sources containing the result file.
- bool_rotate_to_global: bool, optional
- if true the field is rotated to global coordinate system (default true)
- all_dofs: bool, optional
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
- sector_mesh: MeshedRegion or MeshesContainer, optional
- mesh of the base sector (can be a skin).
- requested_location: str, optional
- location needed in output
- 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.
- cyclic_support: CyclicSupport, optional
- sectors_to_expand: Scoping or ScopingsContainer, optional
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
- phi: float, optional
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- fields_container: FieldsContainer
- FieldsContainer filled in
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
-
- >>> # Instantiate operator
- >>> op = dpf.operators.result.cyclic_expanded_heat_flux()
-
- >>> # 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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.cyclic_expanded_heat_flux(
- ... 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,
- ... all_dofs=my_all_dofs,
- ... sector_mesh=my_sector_mesh,
- ... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
- ... expanded_meshed_region=my_expanded_meshed_region,
- ... cyclic_support=my_cyclic_support,
- ... sectors_to_expand=my_sectors_to_expand,
- ... phi=my_phi,
- ... )
-
- >>> # 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,
- all_dofs=None,
- sector_mesh=None,
- requested_location=None,
- read_cyclic=None,
- expanded_meshed_region=None,
- cyclic_support=None,
- sectors_to_expand=None,
- phi=None,
- config=None,
- server=None,
- ):
- super().__init__(name="TF_cyclic", config=config, server=server)
- self._inputs = InputsCyclicExpandedHeatFlux(self)
- self._outputs = OutputsCyclicExpandedHeatFlux(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 all_dofs is not None:
- self.inputs.all_dofs.connect(all_dofs)
- if sector_mesh is not None:
- self.inputs.sector_mesh.connect(sector_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 expanded_meshed_region is not None:
- self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
- if cyclic_support is not None:
- self.inputs.cyclic_support.connect(cyclic_support)
- 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() -> Specification:
- description = r"""This operator is deprecated: use the operator heat flux with the
-read_cyclic pin instead. Read heat flux from a result file and expand it
-with cyclic symmetry.
-"""
- spec = Specification(
- description=description,
- map_input_pin_spec={
- 0: PinSpecification(
- name="time_scoping",
- type_names=["scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 1: PinSpecification(
- name="mesh_scoping",
- type_names=["scopings_container", "scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 2: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=True,
- document=r"""FieldsContainer already allocated modified inplace""",
- ),
- 3: PinSpecification(
- name="streams_container",
- type_names=["streams_container", "stream"],
- optional=True,
- document=r"""Streams containing the result file.""",
- ),
- 4: PinSpecification(
- name="data_sources",
- type_names=["data_sources"],
- optional=False,
- document=r"""data sources containing the result file.""",
- ),
- 5: PinSpecification(
- name="bool_rotate_to_global",
- type_names=["bool"],
- optional=True,
- document=r"""if true the field is rotated to global coordinate system (default true)""",
- ),
- 6: PinSpecification(
- name="all_dofs",
- type_names=["bool"],
- optional=True,
- document=r"""if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.""",
- ),
- 7: PinSpecification(
- name="sector_mesh",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh of the base sector (can be a skin).""",
- ),
- 9: PinSpecification(
- name="requested_location",
- type_names=["string"],
- optional=True,
- document=r"""location needed in output""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document=r"""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)""",
- ),
- 15: PinSpecification(
- name="expanded_meshed_region",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh expanded.""",
- ),
- 16: PinSpecification(
- name="cyclic_support",
- type_names=["cyclic_support"],
- optional=True,
- document=r"""""",
- ),
- 18: PinSpecification(
- name="sectors_to_expand",
- type_names=["vector", "scoping", "scopings_container"],
- optional=True,
- document=r"""sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.""",
- ),
- 19: PinSpecification(
- name="phi",
- type_names=["double"],
- optional=True,
- document=r"""angle phi in degrees (default value 0.0)""",
- ),
- },
- map_output_pin_spec={
- 0: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=False,
- document=r"""FieldsContainer filled in""",
- ),
- },
- )
- return spec
-
- @staticmethod
- def default_config(server: AnyServerType = None) -> Config:
- """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 with channel connected to the remote or local instance. When
- ``None``, attempts to use the global server.
-
- Returns
- -------
- config:
- A new Config instance equivalent to the default config for this operator.
- """
- return Operator.default_config(name="TF_cyclic", server=server)
-
- @property
- def inputs(self) -> InputsCyclicExpandedHeatFlux:
- """Enables to connect inputs to the operator
-
- Returns
- --------
- inputs:
- An instance of InputsCyclicExpandedHeatFlux.
- """
- return super().inputs
-
- @property
- def outputs(self) -> OutputsCyclicExpandedHeatFlux:
- """Enables to get outputs of the operator by evaluating it
-
- Returns
- --------
- outputs:
- An instance of OutputsCyclicExpandedHeatFlux.
- """
- return super().outputs
-
-
-class InputsCyclicExpandedHeatFlux(_Inputs):
- """Intermediate class used to connect user inputs to
- cyclic_expanded_heat_flux operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_heat_flux()
- >>> 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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):
- super().__init__(cyclic_expanded_heat_flux._spec().inputs, op)
- self._time_scoping = Input(
- cyclic_expanded_heat_flux._spec().input_pin(0), 0, op, -1
- )
- self._inputs.append(self._time_scoping)
- self._mesh_scoping = Input(
- cyclic_expanded_heat_flux._spec().input_pin(1), 1, op, -1
- )
- self._inputs.append(self._mesh_scoping)
- self._fields_container = Input(
- cyclic_expanded_heat_flux._spec().input_pin(2), 2, op, -1
- )
- self._inputs.append(self._fields_container)
- self._streams_container = Input(
- cyclic_expanded_heat_flux._spec().input_pin(3), 3, op, -1
- )
- self._inputs.append(self._streams_container)
- self._data_sources = Input(
- cyclic_expanded_heat_flux._spec().input_pin(4), 4, op, -1
- )
- self._inputs.append(self._data_sources)
- self._bool_rotate_to_global = Input(
- cyclic_expanded_heat_flux._spec().input_pin(5), 5, op, -1
- )
- self._inputs.append(self._bool_rotate_to_global)
- self._all_dofs = Input(
- cyclic_expanded_heat_flux._spec().input_pin(6), 6, op, -1
- )
- self._inputs.append(self._all_dofs)
- self._sector_mesh = Input(
- cyclic_expanded_heat_flux._spec().input_pin(7), 7, op, -1
- )
- self._inputs.append(self._sector_mesh)
- self._requested_location = Input(
- cyclic_expanded_heat_flux._spec().input_pin(9), 9, op, -1
- )
- self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- cyclic_expanded_heat_flux._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
- self._expanded_meshed_region = Input(
- cyclic_expanded_heat_flux._spec().input_pin(15), 15, op, -1
- )
- self._inputs.append(self._expanded_meshed_region)
- self._cyclic_support = Input(
- cyclic_expanded_heat_flux._spec().input_pin(16), 16, op, -1
- )
- self._inputs.append(self._cyclic_support)
- self._sectors_to_expand = Input(
- cyclic_expanded_heat_flux._spec().input_pin(18), 18, op, -1
- )
- self._inputs.append(self._sectors_to_expand)
- self._phi = Input(cyclic_expanded_heat_flux._spec().input_pin(19), 19, op, -1)
- self._inputs.append(self._phi)
-
- @property
- def time_scoping(self) -> Input:
- r"""Allows to connect time_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_heat_flux()
- >>> 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) -> Input:
- r"""Allows to connect mesh_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_heat_flux()
- >>> 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) -> Input:
- r"""Allows to connect fields_container input to the operator.
-
- FieldsContainer already allocated modified inplace
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_heat_flux()
- >>> 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) -> Input:
- r"""Allows to connect streams_container input to the operator.
-
- Streams containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_heat_flux()
- >>> 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) -> Input:
- r"""Allows to connect data_sources input to the operator.
-
- data sources containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_heat_flux()
- >>> 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) -> Input:
- r"""Allows to connect bool_rotate_to_global input to the operator.
-
- if true the field is rotated to global coordinate system (default true)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_heat_flux()
- >>> 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 all_dofs(self) -> Input:
- r"""Allows to connect all_dofs input to the operator.
-
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_heat_flux()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> # or
- >>> op.inputs.all_dofs(my_all_dofs)
- """
- return self._all_dofs
-
- @property
- def sector_mesh(self) -> Input:
- r"""Allows to connect sector_mesh input to the operator.
-
- mesh of the base sector (can be a skin).
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_heat_flux()
- >>> op.inputs.sector_mesh.connect(my_sector_mesh)
- >>> # or
- >>> op.inputs.sector_mesh(my_sector_mesh)
- """
- return self._sector_mesh
-
- @property
- def requested_location(self) -> Input:
- r"""Allows to connect requested_location input to the operator.
-
- location needed in output
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_heat_flux()
- >>> op.inputs.requested_location.connect(my_requested_location)
- >>> # or
- >>> op.inputs.requested_location(my_requested_location)
- """
- return self._requested_location
-
- @property
- def read_cyclic(self) -> Input:
- r"""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)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_heat_flux()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
- @property
- def expanded_meshed_region(self) -> Input:
- r"""Allows to connect expanded_meshed_region input to the operator.
-
- mesh expanded.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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 cyclic_support(self) -> Input:
- r"""Allows to connect cyclic_support input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_heat_flux()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> # or
- >>> op.inputs.cyclic_support(my_cyclic_support)
- """
- return self._cyclic_support
-
- @property
- def sectors_to_expand(self) -> Input:
- r"""Allows to connect sectors_to_expand input to the operator.
-
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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) -> Input:
- r"""Allows to connect phi input to the operator.
-
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_heat_flux()
- >>> op.inputs.phi.connect(my_phi)
- >>> # or
- >>> op.inputs.phi(my_phi)
- """
- return self._phi
-
-
-class OutputsCyclicExpandedHeatFlux(_Outputs):
- """Intermediate class used to get outputs from
- cyclic_expanded_heat_flux operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_heat_flux()
- >>> # Connect inputs : op.inputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
-
- def __init__(self, op: Operator):
- super().__init__(cyclic_expanded_heat_flux._spec().outputs, op)
- self._fields_container = Output(
- cyclic_expanded_heat_flux._spec().output_pin(0), 0, op
- )
- self._outputs.append(self._fields_container)
-
- @property
- def fields_container(self) -> Output:
- r"""Allows to get fields_container output of the operator
-
- FieldsContainer filled in
-
- Returns
- -------
- output:
- An Output instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_heat_flux()
- >>> # Get the output from op.outputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
- return self._fields_container
diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_num_surface_status_changes.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_num_surface_status_changes.py
deleted file mode 100644
index 04599169fd1..00000000000
--- a/src/ansys/dpf/core/operators/result/cyclic_expanded_num_surface_status_changes.py
+++ /dev/null
@@ -1,741 +0,0 @@
-"""
-cyclic_expanded_num_surface_status_changes
-
-Autogenerated DPF operator classes.
-"""
-
-from __future__ import annotations
-
-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
-from ansys.dpf.core.config import Config
-from ansys.dpf.core.server_types import AnyServerType
-
-
-class cyclic_expanded_num_surface_status_changes(Operator):
- r"""This operator is deprecated: use the operator element total number of
- contact status changes during substep with the read_cyclic pin instead.
- Read element total number of contact status changes during substep from
- a result file and expand it with cyclic symmetry.
-
-
- Parameters
- ----------
- time_scoping: Scoping, optional
- mesh_scoping: ScopingsContainer or Scoping, optional
- fields_container: FieldsContainer, optional
- FieldsContainer already allocated modified inplace
- streams_container: StreamsContainer or Stream, optional
- Streams containing the result file.
- data_sources: DataSources
- data sources containing the result file.
- bool_rotate_to_global: bool, optional
- if true the field is rotated to global coordinate system (default true)
- all_dofs: bool, optional
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
- sector_mesh: MeshedRegion or MeshesContainer, optional
- mesh of the base sector (can be a skin).
- requested_location: str, optional
- location needed in output
- 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.
- cyclic_support: CyclicSupport, optional
- sectors_to_expand: Scoping or ScopingsContainer, optional
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
- phi: float, optional
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- fields_container: FieldsContainer
- FieldsContainer filled in
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
-
- >>> # Instantiate operator
- >>> op = dpf.operators.result.cyclic_expanded_num_surface_status_changes()
-
- >>> # 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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.cyclic_expanded_num_surface_status_changes(
- ... 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,
- ... all_dofs=my_all_dofs,
- ... sector_mesh=my_sector_mesh,
- ... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
- ... expanded_meshed_region=my_expanded_meshed_region,
- ... cyclic_support=my_cyclic_support,
- ... sectors_to_expand=my_sectors_to_expand,
- ... phi=my_phi,
- ... )
-
- >>> # 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,
- all_dofs=None,
- sector_mesh=None,
- requested_location=None,
- read_cyclic=None,
- expanded_meshed_region=None,
- cyclic_support=None,
- sectors_to_expand=None,
- phi=None,
- config=None,
- server=None,
- ):
- super().__init__(name="ECT_CNOS_cyclic", config=config, server=server)
- self._inputs = InputsCyclicExpandedNumSurfaceStatusChanges(self)
- self._outputs = OutputsCyclicExpandedNumSurfaceStatusChanges(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 all_dofs is not None:
- self.inputs.all_dofs.connect(all_dofs)
- if sector_mesh is not None:
- self.inputs.sector_mesh.connect(sector_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 expanded_meshed_region is not None:
- self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
- if cyclic_support is not None:
- self.inputs.cyclic_support.connect(cyclic_support)
- 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() -> Specification:
- description = r"""This operator is deprecated: use the operator element total number of
-contact status changes during substep with the read_cyclic pin instead.
-Read element total number of contact status changes during substep from
-a result file and expand it with cyclic symmetry.
-"""
- spec = Specification(
- description=description,
- map_input_pin_spec={
- 0: PinSpecification(
- name="time_scoping",
- type_names=["scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 1: PinSpecification(
- name="mesh_scoping",
- type_names=["scopings_container", "scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 2: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=True,
- document=r"""FieldsContainer already allocated modified inplace""",
- ),
- 3: PinSpecification(
- name="streams_container",
- type_names=["streams_container", "stream"],
- optional=True,
- document=r"""Streams containing the result file.""",
- ),
- 4: PinSpecification(
- name="data_sources",
- type_names=["data_sources"],
- optional=False,
- document=r"""data sources containing the result file.""",
- ),
- 5: PinSpecification(
- name="bool_rotate_to_global",
- type_names=["bool"],
- optional=True,
- document=r"""if true the field is rotated to global coordinate system (default true)""",
- ),
- 6: PinSpecification(
- name="all_dofs",
- type_names=["bool"],
- optional=True,
- document=r"""if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.""",
- ),
- 7: PinSpecification(
- name="sector_mesh",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh of the base sector (can be a skin).""",
- ),
- 9: PinSpecification(
- name="requested_location",
- type_names=["string"],
- optional=True,
- document=r"""location needed in output""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document=r"""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)""",
- ),
- 15: PinSpecification(
- name="expanded_meshed_region",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh expanded.""",
- ),
- 16: PinSpecification(
- name="cyclic_support",
- type_names=["cyclic_support"],
- optional=True,
- document=r"""""",
- ),
- 18: PinSpecification(
- name="sectors_to_expand",
- type_names=["vector", "scoping", "scopings_container"],
- optional=True,
- document=r"""sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.""",
- ),
- 19: PinSpecification(
- name="phi",
- type_names=["double"],
- optional=True,
- document=r"""angle phi in degrees (default value 0.0)""",
- ),
- },
- map_output_pin_spec={
- 0: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=False,
- document=r"""FieldsContainer filled in""",
- ),
- },
- )
- return spec
-
- @staticmethod
- def default_config(server: AnyServerType = None) -> Config:
- """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 with channel connected to the remote or local instance. When
- ``None``, attempts to use the global server.
-
- Returns
- -------
- config:
- A new Config instance equivalent to the default config for this operator.
- """
- return Operator.default_config(name="ECT_CNOS_cyclic", server=server)
-
- @property
- def inputs(self) -> InputsCyclicExpandedNumSurfaceStatusChanges:
- """Enables to connect inputs to the operator
-
- Returns
- --------
- inputs:
- An instance of InputsCyclicExpandedNumSurfaceStatusChanges.
- """
- return super().inputs
-
- @property
- def outputs(self) -> OutputsCyclicExpandedNumSurfaceStatusChanges:
- """Enables to get outputs of the operator by evaluating it
-
- Returns
- --------
- outputs:
- An instance of OutputsCyclicExpandedNumSurfaceStatusChanges.
- """
- return super().outputs
-
-
-class InputsCyclicExpandedNumSurfaceStatusChanges(_Inputs):
- """Intermediate class used to connect user inputs to
- cyclic_expanded_num_surface_status_changes operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_num_surface_status_changes()
- >>> 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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):
- super().__init__(cyclic_expanded_num_surface_status_changes._spec().inputs, op)
- self._time_scoping = Input(
- cyclic_expanded_num_surface_status_changes._spec().input_pin(0), 0, op, -1
- )
- self._inputs.append(self._time_scoping)
- self._mesh_scoping = Input(
- cyclic_expanded_num_surface_status_changes._spec().input_pin(1), 1, op, -1
- )
- self._inputs.append(self._mesh_scoping)
- self._fields_container = Input(
- cyclic_expanded_num_surface_status_changes._spec().input_pin(2), 2, op, -1
- )
- self._inputs.append(self._fields_container)
- self._streams_container = Input(
- cyclic_expanded_num_surface_status_changes._spec().input_pin(3), 3, op, -1
- )
- self._inputs.append(self._streams_container)
- self._data_sources = Input(
- cyclic_expanded_num_surface_status_changes._spec().input_pin(4), 4, op, -1
- )
- self._inputs.append(self._data_sources)
- self._bool_rotate_to_global = Input(
- cyclic_expanded_num_surface_status_changes._spec().input_pin(5), 5, op, -1
- )
- self._inputs.append(self._bool_rotate_to_global)
- self._all_dofs = Input(
- cyclic_expanded_num_surface_status_changes._spec().input_pin(6), 6, op, -1
- )
- self._inputs.append(self._all_dofs)
- self._sector_mesh = Input(
- cyclic_expanded_num_surface_status_changes._spec().input_pin(7), 7, op, -1
- )
- self._inputs.append(self._sector_mesh)
- self._requested_location = Input(
- cyclic_expanded_num_surface_status_changes._spec().input_pin(9), 9, op, -1
- )
- self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- cyclic_expanded_num_surface_status_changes._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
- self._expanded_meshed_region = Input(
- cyclic_expanded_num_surface_status_changes._spec().input_pin(15), 15, op, -1
- )
- self._inputs.append(self._expanded_meshed_region)
- self._cyclic_support = Input(
- cyclic_expanded_num_surface_status_changes._spec().input_pin(16), 16, op, -1
- )
- self._inputs.append(self._cyclic_support)
- self._sectors_to_expand = Input(
- cyclic_expanded_num_surface_status_changes._spec().input_pin(18), 18, op, -1
- )
- self._inputs.append(self._sectors_to_expand)
- self._phi = Input(
- cyclic_expanded_num_surface_status_changes._spec().input_pin(19), 19, op, -1
- )
- self._inputs.append(self._phi)
-
- @property
- def time_scoping(self) -> Input:
- r"""Allows to connect time_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_num_surface_status_changes()
- >>> 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) -> Input:
- r"""Allows to connect mesh_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_num_surface_status_changes()
- >>> 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) -> Input:
- r"""Allows to connect fields_container input to the operator.
-
- FieldsContainer already allocated modified inplace
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_num_surface_status_changes()
- >>> 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) -> Input:
- r"""Allows to connect streams_container input to the operator.
-
- Streams containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_num_surface_status_changes()
- >>> 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) -> Input:
- r"""Allows to connect data_sources input to the operator.
-
- data sources containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_num_surface_status_changes()
- >>> 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) -> Input:
- r"""Allows to connect bool_rotate_to_global input to the operator.
-
- if true the field is rotated to global coordinate system (default true)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_num_surface_status_changes()
- >>> 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 all_dofs(self) -> Input:
- r"""Allows to connect all_dofs input to the operator.
-
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_num_surface_status_changes()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> # or
- >>> op.inputs.all_dofs(my_all_dofs)
- """
- return self._all_dofs
-
- @property
- def sector_mesh(self) -> Input:
- r"""Allows to connect sector_mesh input to the operator.
-
- mesh of the base sector (can be a skin).
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_num_surface_status_changes()
- >>> op.inputs.sector_mesh.connect(my_sector_mesh)
- >>> # or
- >>> op.inputs.sector_mesh(my_sector_mesh)
- """
- return self._sector_mesh
-
- @property
- def requested_location(self) -> Input:
- r"""Allows to connect requested_location input to the operator.
-
- location needed in output
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_num_surface_status_changes()
- >>> op.inputs.requested_location.connect(my_requested_location)
- >>> # or
- >>> op.inputs.requested_location(my_requested_location)
- """
- return self._requested_location
-
- @property
- def read_cyclic(self) -> Input:
- r"""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)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_num_surface_status_changes()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
- @property
- def expanded_meshed_region(self) -> Input:
- r"""Allows to connect expanded_meshed_region input to the operator.
-
- mesh expanded.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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 cyclic_support(self) -> Input:
- r"""Allows to connect cyclic_support input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_num_surface_status_changes()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> # or
- >>> op.inputs.cyclic_support(my_cyclic_support)
- """
- return self._cyclic_support
-
- @property
- def sectors_to_expand(self) -> Input:
- r"""Allows to connect sectors_to_expand input to the operator.
-
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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) -> Input:
- r"""Allows to connect phi input to the operator.
-
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_num_surface_status_changes()
- >>> op.inputs.phi.connect(my_phi)
- >>> # or
- >>> op.inputs.phi(my_phi)
- """
- return self._phi
-
-
-class OutputsCyclicExpandedNumSurfaceStatusChanges(_Outputs):
- """Intermediate class used to get outputs from
- cyclic_expanded_num_surface_status_changes operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_num_surface_status_changes()
- >>> # Connect inputs : op.inputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
-
- def __init__(self, op: Operator):
- super().__init__(cyclic_expanded_num_surface_status_changes._spec().outputs, op)
- self._fields_container = Output(
- cyclic_expanded_num_surface_status_changes._spec().output_pin(0), 0, op
- )
- self._outputs.append(self._fields_container)
-
- @property
- def fields_container(self) -> Output:
- r"""Allows to get fields_container output of the operator
-
- FieldsContainer filled in
-
- Returns
- -------
- output:
- An Output instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_num_surface_status_changes()
- >>> # Get the output from op.outputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
- return self._fields_container
diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_smisc.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_smisc.py
deleted file mode 100644
index 17620323939..00000000000
--- a/src/ansys/dpf/core/operators/result/cyclic_expanded_smisc.py
+++ /dev/null
@@ -1,735 +0,0 @@
-"""
-cyclic_expanded_smisc
-
-Autogenerated DPF operator classes.
-"""
-
-from __future__ import annotations
-
-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
-from ansys.dpf.core.config import Config
-from ansys.dpf.core.server_types import AnyServerType
-
-
-class cyclic_expanded_smisc(Operator):
- r"""This operator is deprecated: use the operator elemental summable
- miscellaneous data with the read_cyclic pin instead. Read elemental
- summable miscellaneous data from a result file and expand it with cyclic
- symmetry.
-
-
- Parameters
- ----------
- time_scoping: Scoping, optional
- mesh_scoping: ScopingsContainer or Scoping, optional
- fields_container: FieldsContainer, optional
- FieldsContainer already allocated modified inplace
- streams_container: StreamsContainer or Stream, optional
- Streams containing the result file.
- data_sources: DataSources
- data sources containing the result file.
- bool_rotate_to_global: bool, optional
- if true the field is rotated to global coordinate system (default true)
- all_dofs: bool, optional
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
- sector_mesh: MeshedRegion or MeshesContainer, optional
- mesh of the base sector (can be a skin).
- requested_location: str, optional
- location needed in output
- 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.
- cyclic_support: CyclicSupport, optional
- sectors_to_expand: Scoping or ScopingsContainer, optional
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
- phi: float, optional
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- fields_container: FieldsContainer
- FieldsContainer filled in
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
-
- >>> # Instantiate operator
- >>> op = dpf.operators.result.cyclic_expanded_smisc()
-
- >>> # 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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.cyclic_expanded_smisc(
- ... 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,
- ... all_dofs=my_all_dofs,
- ... sector_mesh=my_sector_mesh,
- ... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
- ... expanded_meshed_region=my_expanded_meshed_region,
- ... cyclic_support=my_cyclic_support,
- ... sectors_to_expand=my_sectors_to_expand,
- ... phi=my_phi,
- ... )
-
- >>> # 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,
- all_dofs=None,
- sector_mesh=None,
- requested_location=None,
- read_cyclic=None,
- expanded_meshed_region=None,
- cyclic_support=None,
- sectors_to_expand=None,
- phi=None,
- config=None,
- server=None,
- ):
- super().__init__(name="SMISC_cyclic", config=config, server=server)
- self._inputs = InputsCyclicExpandedSmisc(self)
- self._outputs = OutputsCyclicExpandedSmisc(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 all_dofs is not None:
- self.inputs.all_dofs.connect(all_dofs)
- if sector_mesh is not None:
- self.inputs.sector_mesh.connect(sector_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 expanded_meshed_region is not None:
- self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
- if cyclic_support is not None:
- self.inputs.cyclic_support.connect(cyclic_support)
- 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() -> Specification:
- description = r"""This operator is deprecated: use the operator elemental summable
-miscellaneous data with the read_cyclic pin instead. Read elemental
-summable miscellaneous data from a result file and expand it with cyclic
-symmetry.
-"""
- spec = Specification(
- description=description,
- map_input_pin_spec={
- 0: PinSpecification(
- name="time_scoping",
- type_names=["scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 1: PinSpecification(
- name="mesh_scoping",
- type_names=["scopings_container", "scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 2: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=True,
- document=r"""FieldsContainer already allocated modified inplace""",
- ),
- 3: PinSpecification(
- name="streams_container",
- type_names=["streams_container", "stream"],
- optional=True,
- document=r"""Streams containing the result file.""",
- ),
- 4: PinSpecification(
- name="data_sources",
- type_names=["data_sources"],
- optional=False,
- document=r"""data sources containing the result file.""",
- ),
- 5: PinSpecification(
- name="bool_rotate_to_global",
- type_names=["bool"],
- optional=True,
- document=r"""if true the field is rotated to global coordinate system (default true)""",
- ),
- 6: PinSpecification(
- name="all_dofs",
- type_names=["bool"],
- optional=True,
- document=r"""if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.""",
- ),
- 7: PinSpecification(
- name="sector_mesh",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh of the base sector (can be a skin).""",
- ),
- 9: PinSpecification(
- name="requested_location",
- type_names=["string"],
- optional=True,
- document=r"""location needed in output""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document=r"""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)""",
- ),
- 15: PinSpecification(
- name="expanded_meshed_region",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh expanded.""",
- ),
- 16: PinSpecification(
- name="cyclic_support",
- type_names=["cyclic_support"],
- optional=True,
- document=r"""""",
- ),
- 18: PinSpecification(
- name="sectors_to_expand",
- type_names=["vector", "scoping", "scopings_container"],
- optional=True,
- document=r"""sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.""",
- ),
- 19: PinSpecification(
- name="phi",
- type_names=["double"],
- optional=True,
- document=r"""angle phi in degrees (default value 0.0)""",
- ),
- },
- map_output_pin_spec={
- 0: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=False,
- document=r"""FieldsContainer filled in""",
- ),
- },
- )
- return spec
-
- @staticmethod
- def default_config(server: AnyServerType = None) -> Config:
- """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 with channel connected to the remote or local instance. When
- ``None``, attempts to use the global server.
-
- Returns
- -------
- config:
- A new Config instance equivalent to the default config for this operator.
- """
- return Operator.default_config(name="SMISC_cyclic", server=server)
-
- @property
- def inputs(self) -> InputsCyclicExpandedSmisc:
- """Enables to connect inputs to the operator
-
- Returns
- --------
- inputs:
- An instance of InputsCyclicExpandedSmisc.
- """
- return super().inputs
-
- @property
- def outputs(self) -> OutputsCyclicExpandedSmisc:
- """Enables to get outputs of the operator by evaluating it
-
- Returns
- --------
- outputs:
- An instance of OutputsCyclicExpandedSmisc.
- """
- return super().outputs
-
-
-class InputsCyclicExpandedSmisc(_Inputs):
- """Intermediate class used to connect user inputs to
- cyclic_expanded_smisc operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_smisc()
- >>> 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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):
- super().__init__(cyclic_expanded_smisc._spec().inputs, op)
- self._time_scoping = Input(
- cyclic_expanded_smisc._spec().input_pin(0), 0, op, -1
- )
- self._inputs.append(self._time_scoping)
- self._mesh_scoping = Input(
- cyclic_expanded_smisc._spec().input_pin(1), 1, op, -1
- )
- self._inputs.append(self._mesh_scoping)
- self._fields_container = Input(
- cyclic_expanded_smisc._spec().input_pin(2), 2, op, -1
- )
- self._inputs.append(self._fields_container)
- self._streams_container = Input(
- cyclic_expanded_smisc._spec().input_pin(3), 3, op, -1
- )
- self._inputs.append(self._streams_container)
- self._data_sources = Input(
- cyclic_expanded_smisc._spec().input_pin(4), 4, op, -1
- )
- self._inputs.append(self._data_sources)
- self._bool_rotate_to_global = Input(
- cyclic_expanded_smisc._spec().input_pin(5), 5, op, -1
- )
- self._inputs.append(self._bool_rotate_to_global)
- self._all_dofs = Input(cyclic_expanded_smisc._spec().input_pin(6), 6, op, -1)
- self._inputs.append(self._all_dofs)
- self._sector_mesh = Input(cyclic_expanded_smisc._spec().input_pin(7), 7, op, -1)
- self._inputs.append(self._sector_mesh)
- self._requested_location = Input(
- cyclic_expanded_smisc._spec().input_pin(9), 9, op, -1
- )
- self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- cyclic_expanded_smisc._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
- self._expanded_meshed_region = Input(
- cyclic_expanded_smisc._spec().input_pin(15), 15, op, -1
- )
- self._inputs.append(self._expanded_meshed_region)
- self._cyclic_support = Input(
- cyclic_expanded_smisc._spec().input_pin(16), 16, op, -1
- )
- self._inputs.append(self._cyclic_support)
- self._sectors_to_expand = Input(
- cyclic_expanded_smisc._spec().input_pin(18), 18, op, -1
- )
- self._inputs.append(self._sectors_to_expand)
- self._phi = Input(cyclic_expanded_smisc._spec().input_pin(19), 19, op, -1)
- self._inputs.append(self._phi)
-
- @property
- def time_scoping(self) -> Input:
- r"""Allows to connect time_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_smisc()
- >>> 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) -> Input:
- r"""Allows to connect mesh_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_smisc()
- >>> 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) -> Input:
- r"""Allows to connect fields_container input to the operator.
-
- FieldsContainer already allocated modified inplace
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_smisc()
- >>> 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) -> Input:
- r"""Allows to connect streams_container input to the operator.
-
- Streams containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_smisc()
- >>> 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) -> Input:
- r"""Allows to connect data_sources input to the operator.
-
- data sources containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_smisc()
- >>> 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) -> Input:
- r"""Allows to connect bool_rotate_to_global input to the operator.
-
- if true the field is rotated to global coordinate system (default true)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_smisc()
- >>> 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 all_dofs(self) -> Input:
- r"""Allows to connect all_dofs input to the operator.
-
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_smisc()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> # or
- >>> op.inputs.all_dofs(my_all_dofs)
- """
- return self._all_dofs
-
- @property
- def sector_mesh(self) -> Input:
- r"""Allows to connect sector_mesh input to the operator.
-
- mesh of the base sector (can be a skin).
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_smisc()
- >>> op.inputs.sector_mesh.connect(my_sector_mesh)
- >>> # or
- >>> op.inputs.sector_mesh(my_sector_mesh)
- """
- return self._sector_mesh
-
- @property
- def requested_location(self) -> Input:
- r"""Allows to connect requested_location input to the operator.
-
- location needed in output
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_smisc()
- >>> op.inputs.requested_location.connect(my_requested_location)
- >>> # or
- >>> op.inputs.requested_location(my_requested_location)
- """
- return self._requested_location
-
- @property
- def read_cyclic(self) -> Input:
- r"""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)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_smisc()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
- @property
- def expanded_meshed_region(self) -> Input:
- r"""Allows to connect expanded_meshed_region input to the operator.
-
- mesh expanded.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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 cyclic_support(self) -> Input:
- r"""Allows to connect cyclic_support input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_smisc()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> # or
- >>> op.inputs.cyclic_support(my_cyclic_support)
- """
- return self._cyclic_support
-
- @property
- def sectors_to_expand(self) -> Input:
- r"""Allows to connect sectors_to_expand input to the operator.
-
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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) -> Input:
- r"""Allows to connect phi input to the operator.
-
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_smisc()
- >>> op.inputs.phi.connect(my_phi)
- >>> # or
- >>> op.inputs.phi(my_phi)
- """
- return self._phi
-
-
-class OutputsCyclicExpandedSmisc(_Outputs):
- """Intermediate class used to get outputs from
- cyclic_expanded_smisc operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_smisc()
- >>> # Connect inputs : op.inputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
-
- def __init__(self, op: Operator):
- super().__init__(cyclic_expanded_smisc._spec().outputs, op)
- self._fields_container = Output(
- cyclic_expanded_smisc._spec().output_pin(0), 0, op
- )
- self._outputs.append(self._fields_container)
-
- @property
- def fields_container(self) -> Output:
- r"""Allows to get fields_container output of the operator
-
- FieldsContainer filled in
-
- Returns
- -------
- output:
- An Output instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_smisc()
- >>> # Get the output from op.outputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
- return self._fields_container
diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_stress.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_stress.py
deleted file mode 100644
index 5ab3cc0ad0b..00000000000
--- a/src/ansys/dpf/core/operators/result/cyclic_expanded_stress.py
+++ /dev/null
@@ -1,735 +0,0 @@
-"""
-cyclic_expanded_stress
-
-Autogenerated DPF operator classes.
-"""
-
-from __future__ import annotations
-
-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
-from ansys.dpf.core.config import Config
-from ansys.dpf.core.server_types import AnyServerType
-
-
-class cyclic_expanded_stress(Operator):
- r"""This operator is deprecated: use the operator element nodal component
- stresses with the read_cyclic pin instead. Read element nodal component
- stresses from a result file and expand it with cyclic symmetry.
-
-
- Parameters
- ----------
- time_scoping: Scoping, optional
- mesh_scoping: ScopingsContainer or Scoping, optional
- fields_container: FieldsContainer, optional
- FieldsContainer already allocated modified inplace
- streams_container: StreamsContainer or Stream, optional
- Streams containing the result file.
- data_sources: DataSources
- data sources containing the result file.
- bool_rotate_to_global: bool, optional
- if true the field is rotated to global coordinate system (default true)
- all_dofs: bool, optional
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
- sector_mesh: MeshedRegion or MeshesContainer, optional
- mesh of the base sector (can be a skin).
- requested_location: str, optional
- location needed in output
- 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.
- cyclic_support: CyclicSupport, optional
- sectors_to_expand: Scoping or ScopingsContainer, optional
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
- phi: float, optional
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- fields_container: FieldsContainer
- FieldsContainer filled in
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
-
- >>> # Instantiate operator
- >>> op = dpf.operators.result.cyclic_expanded_stress()
-
- >>> # 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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.cyclic_expanded_stress(
- ... 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,
- ... all_dofs=my_all_dofs,
- ... sector_mesh=my_sector_mesh,
- ... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
- ... expanded_meshed_region=my_expanded_meshed_region,
- ... cyclic_support=my_cyclic_support,
- ... sectors_to_expand=my_sectors_to_expand,
- ... phi=my_phi,
- ... )
-
- >>> # 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,
- all_dofs=None,
- sector_mesh=None,
- requested_location=None,
- read_cyclic=None,
- expanded_meshed_region=None,
- cyclic_support=None,
- sectors_to_expand=None,
- phi=None,
- config=None,
- server=None,
- ):
- super().__init__(name="S_cyclic", config=config, server=server)
- self._inputs = InputsCyclicExpandedStress(self)
- self._outputs = OutputsCyclicExpandedStress(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 all_dofs is not None:
- self.inputs.all_dofs.connect(all_dofs)
- if sector_mesh is not None:
- self.inputs.sector_mesh.connect(sector_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 expanded_meshed_region is not None:
- self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
- if cyclic_support is not None:
- self.inputs.cyclic_support.connect(cyclic_support)
- 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() -> Specification:
- description = r"""This operator is deprecated: use the operator element nodal component
-stresses with the read_cyclic pin instead. Read element nodal component
-stresses from a result file and expand it with cyclic symmetry.
-"""
- spec = Specification(
- description=description,
- map_input_pin_spec={
- 0: PinSpecification(
- name="time_scoping",
- type_names=["scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 1: PinSpecification(
- name="mesh_scoping",
- type_names=["scopings_container", "scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 2: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=True,
- document=r"""FieldsContainer already allocated modified inplace""",
- ),
- 3: PinSpecification(
- name="streams_container",
- type_names=["streams_container", "stream"],
- optional=True,
- document=r"""Streams containing the result file.""",
- ),
- 4: PinSpecification(
- name="data_sources",
- type_names=["data_sources"],
- optional=False,
- document=r"""data sources containing the result file.""",
- ),
- 5: PinSpecification(
- name="bool_rotate_to_global",
- type_names=["bool"],
- optional=True,
- document=r"""if true the field is rotated to global coordinate system (default true)""",
- ),
- 6: PinSpecification(
- name="all_dofs",
- type_names=["bool"],
- optional=True,
- document=r"""if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.""",
- ),
- 7: PinSpecification(
- name="sector_mesh",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh of the base sector (can be a skin).""",
- ),
- 9: PinSpecification(
- name="requested_location",
- type_names=["string"],
- optional=True,
- document=r"""location needed in output""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document=r"""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)""",
- ),
- 15: PinSpecification(
- name="expanded_meshed_region",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh expanded.""",
- ),
- 16: PinSpecification(
- name="cyclic_support",
- type_names=["cyclic_support"],
- optional=True,
- document=r"""""",
- ),
- 18: PinSpecification(
- name="sectors_to_expand",
- type_names=["vector", "scoping", "scopings_container"],
- optional=True,
- document=r"""sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.""",
- ),
- 19: PinSpecification(
- name="phi",
- type_names=["double"],
- optional=True,
- document=r"""angle phi in degrees (default value 0.0)""",
- ),
- },
- map_output_pin_spec={
- 0: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=False,
- document=r"""FieldsContainer filled in""",
- ),
- },
- )
- return spec
-
- @staticmethod
- def default_config(server: AnyServerType = None) -> Config:
- """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 with channel connected to the remote or local instance. When
- ``None``, attempts to use the global server.
-
- Returns
- -------
- config:
- A new Config instance equivalent to the default config for this operator.
- """
- return Operator.default_config(name="S_cyclic", server=server)
-
- @property
- def inputs(self) -> InputsCyclicExpandedStress:
- """Enables to connect inputs to the operator
-
- Returns
- --------
- inputs:
- An instance of InputsCyclicExpandedStress.
- """
- return super().inputs
-
- @property
- def outputs(self) -> OutputsCyclicExpandedStress:
- """Enables to get outputs of the operator by evaluating it
-
- Returns
- --------
- outputs:
- An instance of OutputsCyclicExpandedStress.
- """
- return super().outputs
-
-
-class InputsCyclicExpandedStress(_Inputs):
- """Intermediate class used to connect user inputs to
- cyclic_expanded_stress operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_stress()
- >>> 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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):
- super().__init__(cyclic_expanded_stress._spec().inputs, op)
- self._time_scoping = Input(
- cyclic_expanded_stress._spec().input_pin(0), 0, op, -1
- )
- self._inputs.append(self._time_scoping)
- self._mesh_scoping = Input(
- cyclic_expanded_stress._spec().input_pin(1), 1, op, -1
- )
- self._inputs.append(self._mesh_scoping)
- self._fields_container = Input(
- cyclic_expanded_stress._spec().input_pin(2), 2, op, -1
- )
- self._inputs.append(self._fields_container)
- self._streams_container = Input(
- cyclic_expanded_stress._spec().input_pin(3), 3, op, -1
- )
- self._inputs.append(self._streams_container)
- self._data_sources = Input(
- cyclic_expanded_stress._spec().input_pin(4), 4, op, -1
- )
- self._inputs.append(self._data_sources)
- self._bool_rotate_to_global = Input(
- cyclic_expanded_stress._spec().input_pin(5), 5, op, -1
- )
- self._inputs.append(self._bool_rotate_to_global)
- self._all_dofs = Input(cyclic_expanded_stress._spec().input_pin(6), 6, op, -1)
- self._inputs.append(self._all_dofs)
- self._sector_mesh = Input(
- cyclic_expanded_stress._spec().input_pin(7), 7, op, -1
- )
- self._inputs.append(self._sector_mesh)
- self._requested_location = Input(
- cyclic_expanded_stress._spec().input_pin(9), 9, op, -1
- )
- self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- cyclic_expanded_stress._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
- self._expanded_meshed_region = Input(
- cyclic_expanded_stress._spec().input_pin(15), 15, op, -1
- )
- self._inputs.append(self._expanded_meshed_region)
- self._cyclic_support = Input(
- cyclic_expanded_stress._spec().input_pin(16), 16, op, -1
- )
- self._inputs.append(self._cyclic_support)
- self._sectors_to_expand = Input(
- cyclic_expanded_stress._spec().input_pin(18), 18, op, -1
- )
- self._inputs.append(self._sectors_to_expand)
- self._phi = Input(cyclic_expanded_stress._spec().input_pin(19), 19, op, -1)
- self._inputs.append(self._phi)
-
- @property
- def time_scoping(self) -> Input:
- r"""Allows to connect time_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_stress()
- >>> 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) -> Input:
- r"""Allows to connect mesh_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_stress()
- >>> 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) -> Input:
- r"""Allows to connect fields_container input to the operator.
-
- FieldsContainer already allocated modified inplace
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_stress()
- >>> 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) -> Input:
- r"""Allows to connect streams_container input to the operator.
-
- Streams containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_stress()
- >>> 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) -> Input:
- r"""Allows to connect data_sources input to the operator.
-
- data sources containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_stress()
- >>> 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) -> Input:
- r"""Allows to connect bool_rotate_to_global input to the operator.
-
- if true the field is rotated to global coordinate system (default true)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_stress()
- >>> 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 all_dofs(self) -> Input:
- r"""Allows to connect all_dofs input to the operator.
-
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_stress()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> # or
- >>> op.inputs.all_dofs(my_all_dofs)
- """
- return self._all_dofs
-
- @property
- def sector_mesh(self) -> Input:
- r"""Allows to connect sector_mesh input to the operator.
-
- mesh of the base sector (can be a skin).
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_stress()
- >>> op.inputs.sector_mesh.connect(my_sector_mesh)
- >>> # or
- >>> op.inputs.sector_mesh(my_sector_mesh)
- """
- return self._sector_mesh
-
- @property
- def requested_location(self) -> Input:
- r"""Allows to connect requested_location input to the operator.
-
- location needed in output
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_stress()
- >>> op.inputs.requested_location.connect(my_requested_location)
- >>> # or
- >>> op.inputs.requested_location(my_requested_location)
- """
- return self._requested_location
-
- @property
- def read_cyclic(self) -> Input:
- r"""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)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_stress()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
- @property
- def expanded_meshed_region(self) -> Input:
- r"""Allows to connect expanded_meshed_region input to the operator.
-
- mesh expanded.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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 cyclic_support(self) -> Input:
- r"""Allows to connect cyclic_support input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_stress()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> # or
- >>> op.inputs.cyclic_support(my_cyclic_support)
- """
- return self._cyclic_support
-
- @property
- def sectors_to_expand(self) -> Input:
- r"""Allows to connect sectors_to_expand input to the operator.
-
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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) -> Input:
- r"""Allows to connect phi input to the operator.
-
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_stress()
- >>> op.inputs.phi.connect(my_phi)
- >>> # or
- >>> op.inputs.phi(my_phi)
- """
- return self._phi
-
-
-class OutputsCyclicExpandedStress(_Outputs):
- """Intermediate class used to get outputs from
- cyclic_expanded_stress operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_stress()
- >>> # Connect inputs : op.inputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
-
- def __init__(self, op: Operator):
- super().__init__(cyclic_expanded_stress._spec().outputs, op)
- self._fields_container = Output(
- cyclic_expanded_stress._spec().output_pin(0), 0, op
- )
- self._outputs.append(self._fields_container)
-
- @property
- def fields_container(self) -> Output:
- r"""Allows to get fields_container output of the operator
-
- FieldsContainer filled in
-
- Returns
- -------
- output:
- An Output instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_stress()
- >>> # Get the output from op.outputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
- return self._fields_container
diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_temperature.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_temperature.py
deleted file mode 100644
index 120a59ae693..00000000000
--- a/src/ansys/dpf/core/operators/result/cyclic_expanded_temperature.py
+++ /dev/null
@@ -1,737 +0,0 @@
-"""
-cyclic_expanded_temperature
-
-Autogenerated DPF operator classes.
-"""
-
-from __future__ import annotations
-
-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
-from ansys.dpf.core.config import Config
-from ansys.dpf.core.server_types import AnyServerType
-
-
-class cyclic_expanded_temperature(Operator):
- r"""This operator is deprecated: use the operator temperature field with the
- read_cyclic pin instead. Read temperature field from a result file and
- expand it with cyclic symmetry.
-
-
- Parameters
- ----------
- time_scoping: Scoping, optional
- mesh_scoping: ScopingsContainer or Scoping, optional
- fields_container: FieldsContainer, optional
- FieldsContainer already allocated modified inplace
- streams_container: StreamsContainer or Stream, optional
- Streams containing the result file.
- data_sources: DataSources
- data sources containing the result file.
- bool_rotate_to_global: bool, optional
- if true the field is rotated to global coordinate system (default true)
- all_dofs: bool, optional
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
- sector_mesh: MeshedRegion or MeshesContainer, optional
- mesh of the base sector (can be a skin).
- requested_location: str, optional
- location needed in output
- 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.
- cyclic_support: CyclicSupport, optional
- sectors_to_expand: Scoping or ScopingsContainer, optional
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
- phi: float, optional
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- fields_container: FieldsContainer
- FieldsContainer filled in
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
-
- >>> # Instantiate operator
- >>> op = dpf.operators.result.cyclic_expanded_temperature()
-
- >>> # 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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.cyclic_expanded_temperature(
- ... 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,
- ... all_dofs=my_all_dofs,
- ... sector_mesh=my_sector_mesh,
- ... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
- ... expanded_meshed_region=my_expanded_meshed_region,
- ... cyclic_support=my_cyclic_support,
- ... sectors_to_expand=my_sectors_to_expand,
- ... phi=my_phi,
- ... )
-
- >>> # 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,
- all_dofs=None,
- sector_mesh=None,
- requested_location=None,
- read_cyclic=None,
- expanded_meshed_region=None,
- cyclic_support=None,
- sectors_to_expand=None,
- phi=None,
- config=None,
- server=None,
- ):
- super().__init__(name="TEMP_cyclic", config=config, server=server)
- self._inputs = InputsCyclicExpandedTemperature(self)
- self._outputs = OutputsCyclicExpandedTemperature(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 all_dofs is not None:
- self.inputs.all_dofs.connect(all_dofs)
- if sector_mesh is not None:
- self.inputs.sector_mesh.connect(sector_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 expanded_meshed_region is not None:
- self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
- if cyclic_support is not None:
- self.inputs.cyclic_support.connect(cyclic_support)
- 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() -> Specification:
- description = r"""This operator is deprecated: use the operator temperature field with the
-read_cyclic pin instead. Read temperature field from a result file and
-expand it with cyclic symmetry.
-"""
- spec = Specification(
- description=description,
- map_input_pin_spec={
- 0: PinSpecification(
- name="time_scoping",
- type_names=["scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 1: PinSpecification(
- name="mesh_scoping",
- type_names=["scopings_container", "scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 2: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=True,
- document=r"""FieldsContainer already allocated modified inplace""",
- ),
- 3: PinSpecification(
- name="streams_container",
- type_names=["streams_container", "stream"],
- optional=True,
- document=r"""Streams containing the result file.""",
- ),
- 4: PinSpecification(
- name="data_sources",
- type_names=["data_sources"],
- optional=False,
- document=r"""data sources containing the result file.""",
- ),
- 5: PinSpecification(
- name="bool_rotate_to_global",
- type_names=["bool"],
- optional=True,
- document=r"""if true the field is rotated to global coordinate system (default true)""",
- ),
- 6: PinSpecification(
- name="all_dofs",
- type_names=["bool"],
- optional=True,
- document=r"""if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.""",
- ),
- 7: PinSpecification(
- name="sector_mesh",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh of the base sector (can be a skin).""",
- ),
- 9: PinSpecification(
- name="requested_location",
- type_names=["string"],
- optional=True,
- document=r"""location needed in output""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document=r"""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)""",
- ),
- 15: PinSpecification(
- name="expanded_meshed_region",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh expanded.""",
- ),
- 16: PinSpecification(
- name="cyclic_support",
- type_names=["cyclic_support"],
- optional=True,
- document=r"""""",
- ),
- 18: PinSpecification(
- name="sectors_to_expand",
- type_names=["vector", "scoping", "scopings_container"],
- optional=True,
- document=r"""sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.""",
- ),
- 19: PinSpecification(
- name="phi",
- type_names=["double"],
- optional=True,
- document=r"""angle phi in degrees (default value 0.0)""",
- ),
- },
- map_output_pin_spec={
- 0: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=False,
- document=r"""FieldsContainer filled in""",
- ),
- },
- )
- return spec
-
- @staticmethod
- def default_config(server: AnyServerType = None) -> Config:
- """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 with channel connected to the remote or local instance. When
- ``None``, attempts to use the global server.
-
- Returns
- -------
- config:
- A new Config instance equivalent to the default config for this operator.
- """
- return Operator.default_config(name="TEMP_cyclic", server=server)
-
- @property
- def inputs(self) -> InputsCyclicExpandedTemperature:
- """Enables to connect inputs to the operator
-
- Returns
- --------
- inputs:
- An instance of InputsCyclicExpandedTemperature.
- """
- return super().inputs
-
- @property
- def outputs(self) -> OutputsCyclicExpandedTemperature:
- """Enables to get outputs of the operator by evaluating it
-
- Returns
- --------
- outputs:
- An instance of OutputsCyclicExpandedTemperature.
- """
- return super().outputs
-
-
-class InputsCyclicExpandedTemperature(_Inputs):
- """Intermediate class used to connect user inputs to
- cyclic_expanded_temperature operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_temperature()
- >>> 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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):
- super().__init__(cyclic_expanded_temperature._spec().inputs, op)
- self._time_scoping = Input(
- cyclic_expanded_temperature._spec().input_pin(0), 0, op, -1
- )
- self._inputs.append(self._time_scoping)
- self._mesh_scoping = Input(
- cyclic_expanded_temperature._spec().input_pin(1), 1, op, -1
- )
- self._inputs.append(self._mesh_scoping)
- self._fields_container = Input(
- cyclic_expanded_temperature._spec().input_pin(2), 2, op, -1
- )
- self._inputs.append(self._fields_container)
- self._streams_container = Input(
- cyclic_expanded_temperature._spec().input_pin(3), 3, op, -1
- )
- self._inputs.append(self._streams_container)
- self._data_sources = Input(
- cyclic_expanded_temperature._spec().input_pin(4), 4, op, -1
- )
- self._inputs.append(self._data_sources)
- self._bool_rotate_to_global = Input(
- cyclic_expanded_temperature._spec().input_pin(5), 5, op, -1
- )
- self._inputs.append(self._bool_rotate_to_global)
- self._all_dofs = Input(
- cyclic_expanded_temperature._spec().input_pin(6), 6, op, -1
- )
- self._inputs.append(self._all_dofs)
- self._sector_mesh = Input(
- cyclic_expanded_temperature._spec().input_pin(7), 7, op, -1
- )
- self._inputs.append(self._sector_mesh)
- self._requested_location = Input(
- cyclic_expanded_temperature._spec().input_pin(9), 9, op, -1
- )
- self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- cyclic_expanded_temperature._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
- self._expanded_meshed_region = Input(
- cyclic_expanded_temperature._spec().input_pin(15), 15, op, -1
- )
- self._inputs.append(self._expanded_meshed_region)
- self._cyclic_support = Input(
- cyclic_expanded_temperature._spec().input_pin(16), 16, op, -1
- )
- self._inputs.append(self._cyclic_support)
- self._sectors_to_expand = Input(
- cyclic_expanded_temperature._spec().input_pin(18), 18, op, -1
- )
- self._inputs.append(self._sectors_to_expand)
- self._phi = Input(cyclic_expanded_temperature._spec().input_pin(19), 19, op, -1)
- self._inputs.append(self._phi)
-
- @property
- def time_scoping(self) -> Input:
- r"""Allows to connect time_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_temperature()
- >>> 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) -> Input:
- r"""Allows to connect mesh_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_temperature()
- >>> 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) -> Input:
- r"""Allows to connect fields_container input to the operator.
-
- FieldsContainer already allocated modified inplace
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_temperature()
- >>> 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) -> Input:
- r"""Allows to connect streams_container input to the operator.
-
- Streams containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_temperature()
- >>> 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) -> Input:
- r"""Allows to connect data_sources input to the operator.
-
- data sources containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_temperature()
- >>> 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) -> Input:
- r"""Allows to connect bool_rotate_to_global input to the operator.
-
- if true the field is rotated to global coordinate system (default true)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_temperature()
- >>> 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 all_dofs(self) -> Input:
- r"""Allows to connect all_dofs input to the operator.
-
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_temperature()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> # or
- >>> op.inputs.all_dofs(my_all_dofs)
- """
- return self._all_dofs
-
- @property
- def sector_mesh(self) -> Input:
- r"""Allows to connect sector_mesh input to the operator.
-
- mesh of the base sector (can be a skin).
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_temperature()
- >>> op.inputs.sector_mesh.connect(my_sector_mesh)
- >>> # or
- >>> op.inputs.sector_mesh(my_sector_mesh)
- """
- return self._sector_mesh
-
- @property
- def requested_location(self) -> Input:
- r"""Allows to connect requested_location input to the operator.
-
- location needed in output
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_temperature()
- >>> op.inputs.requested_location.connect(my_requested_location)
- >>> # or
- >>> op.inputs.requested_location(my_requested_location)
- """
- return self._requested_location
-
- @property
- def read_cyclic(self) -> Input:
- r"""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)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_temperature()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
- @property
- def expanded_meshed_region(self) -> Input:
- r"""Allows to connect expanded_meshed_region input to the operator.
-
- mesh expanded.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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 cyclic_support(self) -> Input:
- r"""Allows to connect cyclic_support input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_temperature()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> # or
- >>> op.inputs.cyclic_support(my_cyclic_support)
- """
- return self._cyclic_support
-
- @property
- def sectors_to_expand(self) -> Input:
- r"""Allows to connect sectors_to_expand input to the operator.
-
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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) -> Input:
- r"""Allows to connect phi input to the operator.
-
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_temperature()
- >>> op.inputs.phi.connect(my_phi)
- >>> # or
- >>> op.inputs.phi(my_phi)
- """
- return self._phi
-
-
-class OutputsCyclicExpandedTemperature(_Outputs):
- """Intermediate class used to get outputs from
- cyclic_expanded_temperature operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_temperature()
- >>> # Connect inputs : op.inputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
-
- def __init__(self, op: Operator):
- super().__init__(cyclic_expanded_temperature._spec().outputs, op)
- self._fields_container = Output(
- cyclic_expanded_temperature._spec().output_pin(0), 0, op
- )
- self._outputs.append(self._fields_container)
-
- @property
- def fields_container(self) -> Output:
- r"""Allows to get fields_container output of the operator
-
- FieldsContainer filled in
-
- Returns
- -------
- output:
- An Output instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_temperature()
- >>> # Get the output from op.outputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
- return self._fields_container
diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_temperature_grad.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_temperature_grad.py
deleted file mode 100644
index 9e11bf7fcfc..00000000000
--- a/src/ansys/dpf/core/operators/result/cyclic_expanded_temperature_grad.py
+++ /dev/null
@@ -1,739 +0,0 @@
-"""
-cyclic_expanded_temperature_grad
-
-Autogenerated DPF operator classes.
-"""
-
-from __future__ import annotations
-
-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
-from ansys.dpf.core.config import Config
-from ansys.dpf.core.server_types import AnyServerType
-
-
-class cyclic_expanded_temperature_grad(Operator):
- r"""This operator is deprecated: use the operator Temperature Gradient with
- the read_cyclic pin instead. Read Temperature Gradient from a result
- file and expand it with cyclic symmetry.
-
-
- Parameters
- ----------
- time_scoping: Scoping, optional
- mesh_scoping: ScopingsContainer or Scoping, optional
- fields_container: FieldsContainer, optional
- FieldsContainer already allocated modified inplace
- streams_container: StreamsContainer or Stream, optional
- Streams containing the result file.
- data_sources: DataSources
- data sources containing the result file.
- bool_rotate_to_global: bool, optional
- if true the field is rotated to global coordinate system (default true)
- all_dofs: bool, optional
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
- sector_mesh: MeshedRegion or MeshesContainer, optional
- mesh of the base sector (can be a skin).
- requested_location: str, optional
- location needed in output
- 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.
- cyclic_support: CyclicSupport, optional
- sectors_to_expand: Scoping or ScopingsContainer, optional
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
- phi: float, optional
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- fields_container: FieldsContainer
- FieldsContainer filled in
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
-
- >>> # Instantiate operator
- >>> op = dpf.operators.result.cyclic_expanded_temperature_grad()
-
- >>> # 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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.cyclic_expanded_temperature_grad(
- ... 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,
- ... all_dofs=my_all_dofs,
- ... sector_mesh=my_sector_mesh,
- ... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
- ... expanded_meshed_region=my_expanded_meshed_region,
- ... cyclic_support=my_cyclic_support,
- ... sectors_to_expand=my_sectors_to_expand,
- ... phi=my_phi,
- ... )
-
- >>> # 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,
- all_dofs=None,
- sector_mesh=None,
- requested_location=None,
- read_cyclic=None,
- expanded_meshed_region=None,
- cyclic_support=None,
- sectors_to_expand=None,
- phi=None,
- config=None,
- server=None,
- ):
- super().__init__(name="TG_cyclic", config=config, server=server)
- self._inputs = InputsCyclicExpandedTemperatureGrad(self)
- self._outputs = OutputsCyclicExpandedTemperatureGrad(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 all_dofs is not None:
- self.inputs.all_dofs.connect(all_dofs)
- if sector_mesh is not None:
- self.inputs.sector_mesh.connect(sector_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 expanded_meshed_region is not None:
- self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
- if cyclic_support is not None:
- self.inputs.cyclic_support.connect(cyclic_support)
- 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() -> Specification:
- description = r"""This operator is deprecated: use the operator Temperature Gradient with
-the read_cyclic pin instead. Read Temperature Gradient from a result
-file and expand it with cyclic symmetry.
-"""
- spec = Specification(
- description=description,
- map_input_pin_spec={
- 0: PinSpecification(
- name="time_scoping",
- type_names=["scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 1: PinSpecification(
- name="mesh_scoping",
- type_names=["scopings_container", "scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 2: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=True,
- document=r"""FieldsContainer already allocated modified inplace""",
- ),
- 3: PinSpecification(
- name="streams_container",
- type_names=["streams_container", "stream"],
- optional=True,
- document=r"""Streams containing the result file.""",
- ),
- 4: PinSpecification(
- name="data_sources",
- type_names=["data_sources"],
- optional=False,
- document=r"""data sources containing the result file.""",
- ),
- 5: PinSpecification(
- name="bool_rotate_to_global",
- type_names=["bool"],
- optional=True,
- document=r"""if true the field is rotated to global coordinate system (default true)""",
- ),
- 6: PinSpecification(
- name="all_dofs",
- type_names=["bool"],
- optional=True,
- document=r"""if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.""",
- ),
- 7: PinSpecification(
- name="sector_mesh",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh of the base sector (can be a skin).""",
- ),
- 9: PinSpecification(
- name="requested_location",
- type_names=["string"],
- optional=True,
- document=r"""location needed in output""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document=r"""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)""",
- ),
- 15: PinSpecification(
- name="expanded_meshed_region",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh expanded.""",
- ),
- 16: PinSpecification(
- name="cyclic_support",
- type_names=["cyclic_support"],
- optional=True,
- document=r"""""",
- ),
- 18: PinSpecification(
- name="sectors_to_expand",
- type_names=["vector", "scoping", "scopings_container"],
- optional=True,
- document=r"""sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.""",
- ),
- 19: PinSpecification(
- name="phi",
- type_names=["double"],
- optional=True,
- document=r"""angle phi in degrees (default value 0.0)""",
- ),
- },
- map_output_pin_spec={
- 0: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=False,
- document=r"""FieldsContainer filled in""",
- ),
- },
- )
- return spec
-
- @staticmethod
- def default_config(server: AnyServerType = None) -> Config:
- """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 with channel connected to the remote or local instance. When
- ``None``, attempts to use the global server.
-
- Returns
- -------
- config:
- A new Config instance equivalent to the default config for this operator.
- """
- return Operator.default_config(name="TG_cyclic", server=server)
-
- @property
- def inputs(self) -> InputsCyclicExpandedTemperatureGrad:
- """Enables to connect inputs to the operator
-
- Returns
- --------
- inputs:
- An instance of InputsCyclicExpandedTemperatureGrad.
- """
- return super().inputs
-
- @property
- def outputs(self) -> OutputsCyclicExpandedTemperatureGrad:
- """Enables to get outputs of the operator by evaluating it
-
- Returns
- --------
- outputs:
- An instance of OutputsCyclicExpandedTemperatureGrad.
- """
- return super().outputs
-
-
-class InputsCyclicExpandedTemperatureGrad(_Inputs):
- """Intermediate class used to connect user inputs to
- cyclic_expanded_temperature_grad operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_temperature_grad()
- >>> 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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):
- super().__init__(cyclic_expanded_temperature_grad._spec().inputs, op)
- self._time_scoping = Input(
- cyclic_expanded_temperature_grad._spec().input_pin(0), 0, op, -1
- )
- self._inputs.append(self._time_scoping)
- self._mesh_scoping = Input(
- cyclic_expanded_temperature_grad._spec().input_pin(1), 1, op, -1
- )
- self._inputs.append(self._mesh_scoping)
- self._fields_container = Input(
- cyclic_expanded_temperature_grad._spec().input_pin(2), 2, op, -1
- )
- self._inputs.append(self._fields_container)
- self._streams_container = Input(
- cyclic_expanded_temperature_grad._spec().input_pin(3), 3, op, -1
- )
- self._inputs.append(self._streams_container)
- self._data_sources = Input(
- cyclic_expanded_temperature_grad._spec().input_pin(4), 4, op, -1
- )
- self._inputs.append(self._data_sources)
- self._bool_rotate_to_global = Input(
- cyclic_expanded_temperature_grad._spec().input_pin(5), 5, op, -1
- )
- self._inputs.append(self._bool_rotate_to_global)
- self._all_dofs = Input(
- cyclic_expanded_temperature_grad._spec().input_pin(6), 6, op, -1
- )
- self._inputs.append(self._all_dofs)
- self._sector_mesh = Input(
- cyclic_expanded_temperature_grad._spec().input_pin(7), 7, op, -1
- )
- self._inputs.append(self._sector_mesh)
- self._requested_location = Input(
- cyclic_expanded_temperature_grad._spec().input_pin(9), 9, op, -1
- )
- self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- cyclic_expanded_temperature_grad._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
- self._expanded_meshed_region = Input(
- cyclic_expanded_temperature_grad._spec().input_pin(15), 15, op, -1
- )
- self._inputs.append(self._expanded_meshed_region)
- self._cyclic_support = Input(
- cyclic_expanded_temperature_grad._spec().input_pin(16), 16, op, -1
- )
- self._inputs.append(self._cyclic_support)
- self._sectors_to_expand = Input(
- cyclic_expanded_temperature_grad._spec().input_pin(18), 18, op, -1
- )
- self._inputs.append(self._sectors_to_expand)
- self._phi = Input(
- cyclic_expanded_temperature_grad._spec().input_pin(19), 19, op, -1
- )
- self._inputs.append(self._phi)
-
- @property
- def time_scoping(self) -> Input:
- r"""Allows to connect time_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_temperature_grad()
- >>> 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) -> Input:
- r"""Allows to connect mesh_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_temperature_grad()
- >>> 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) -> Input:
- r"""Allows to connect fields_container input to the operator.
-
- FieldsContainer already allocated modified inplace
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_temperature_grad()
- >>> 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) -> Input:
- r"""Allows to connect streams_container input to the operator.
-
- Streams containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_temperature_grad()
- >>> 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) -> Input:
- r"""Allows to connect data_sources input to the operator.
-
- data sources containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_temperature_grad()
- >>> 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) -> Input:
- r"""Allows to connect bool_rotate_to_global input to the operator.
-
- if true the field is rotated to global coordinate system (default true)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_temperature_grad()
- >>> 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 all_dofs(self) -> Input:
- r"""Allows to connect all_dofs input to the operator.
-
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_temperature_grad()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> # or
- >>> op.inputs.all_dofs(my_all_dofs)
- """
- return self._all_dofs
-
- @property
- def sector_mesh(self) -> Input:
- r"""Allows to connect sector_mesh input to the operator.
-
- mesh of the base sector (can be a skin).
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_temperature_grad()
- >>> op.inputs.sector_mesh.connect(my_sector_mesh)
- >>> # or
- >>> op.inputs.sector_mesh(my_sector_mesh)
- """
- return self._sector_mesh
-
- @property
- def requested_location(self) -> Input:
- r"""Allows to connect requested_location input to the operator.
-
- location needed in output
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_temperature_grad()
- >>> op.inputs.requested_location.connect(my_requested_location)
- >>> # or
- >>> op.inputs.requested_location(my_requested_location)
- """
- return self._requested_location
-
- @property
- def read_cyclic(self) -> Input:
- r"""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)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_temperature_grad()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
- @property
- def expanded_meshed_region(self) -> Input:
- r"""Allows to connect expanded_meshed_region input to the operator.
-
- mesh expanded.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_temperature_grad()
- >>> 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 cyclic_support(self) -> Input:
- r"""Allows to connect cyclic_support input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_temperature_grad()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> # or
- >>> op.inputs.cyclic_support(my_cyclic_support)
- """
- return self._cyclic_support
-
- @property
- def sectors_to_expand(self) -> Input:
- r"""Allows to connect sectors_to_expand input to the operator.
-
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_temperature_grad()
- >>> 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) -> Input:
- r"""Allows to connect phi input to the operator.
-
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_temperature_grad()
- >>> op.inputs.phi.connect(my_phi)
- >>> # or
- >>> op.inputs.phi(my_phi)
- """
- return self._phi
-
-
-class OutputsCyclicExpandedTemperatureGrad(_Outputs):
- """Intermediate class used to get outputs from
- cyclic_expanded_temperature_grad operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_temperature_grad()
- >>> # Connect inputs : op.inputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
-
- def __init__(self, op: Operator):
- super().__init__(cyclic_expanded_temperature_grad._spec().outputs, op)
- self._fields_container = Output(
- cyclic_expanded_temperature_grad._spec().output_pin(0), 0, op
- )
- self._outputs.append(self._fields_container)
-
- @property
- def fields_container(self) -> Output:
- r"""Allows to get fields_container output of the operator
-
- FieldsContainer filled in
-
- Returns
- -------
- output:
- An Output instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_temperature_grad()
- >>> # Get the output from op.outputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
- return self._fields_container
diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_velocity.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_velocity.py
deleted file mode 100644
index d76ce9c831e..00000000000
--- a/src/ansys/dpf/core/operators/result/cyclic_expanded_velocity.py
+++ /dev/null
@@ -1,735 +0,0 @@
-"""
-cyclic_expanded_velocity
-
-Autogenerated DPF operator classes.
-"""
-
-from __future__ import annotations
-
-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
-from ansys.dpf.core.config import Config
-from ansys.dpf.core.server_types import AnyServerType
-
-
-class cyclic_expanded_velocity(Operator):
- r"""This operator is deprecated: use the operator nodal velocities with the
- read_cyclic pin instead. Read nodal velocities from a result file and
- expand it with cyclic symmetry.
-
-
- Parameters
- ----------
- time_scoping: Scoping, optional
- mesh_scoping: ScopingsContainer or Scoping, optional
- fields_container: FieldsContainer, optional
- FieldsContainer already allocated modified inplace
- streams_container: StreamsContainer or Stream, optional
- Streams containing the result file.
- data_sources: DataSources
- data sources containing the result file.
- bool_rotate_to_global: bool, optional
- if true the field is rotated to global coordinate system (default true)
- all_dofs: bool, optional
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
- sector_mesh: MeshedRegion or MeshesContainer, optional
- mesh of the base sector (can be a skin).
- requested_location: str, optional
- location needed in output
- 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.
- cyclic_support: CyclicSupport, optional
- sectors_to_expand: Scoping or ScopingsContainer, optional
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
- phi: float, optional
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- fields_container: FieldsContainer
- FieldsContainer filled in
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
-
- >>> # Instantiate operator
- >>> op = dpf.operators.result.cyclic_expanded_velocity()
-
- >>> # 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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.cyclic_expanded_velocity(
- ... 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,
- ... all_dofs=my_all_dofs,
- ... sector_mesh=my_sector_mesh,
- ... requested_location=my_requested_location,
- ... read_cyclic=my_read_cyclic,
- ... expanded_meshed_region=my_expanded_meshed_region,
- ... cyclic_support=my_cyclic_support,
- ... sectors_to_expand=my_sectors_to_expand,
- ... phi=my_phi,
- ... )
-
- >>> # 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,
- all_dofs=None,
- sector_mesh=None,
- requested_location=None,
- read_cyclic=None,
- expanded_meshed_region=None,
- cyclic_support=None,
- sectors_to_expand=None,
- phi=None,
- config=None,
- server=None,
- ):
- super().__init__(name="V_cyclic", config=config, server=server)
- self._inputs = InputsCyclicExpandedVelocity(self)
- self._outputs = OutputsCyclicExpandedVelocity(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 all_dofs is not None:
- self.inputs.all_dofs.connect(all_dofs)
- if sector_mesh is not None:
- self.inputs.sector_mesh.connect(sector_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 expanded_meshed_region is not None:
- self.inputs.expanded_meshed_region.connect(expanded_meshed_region)
- if cyclic_support is not None:
- self.inputs.cyclic_support.connect(cyclic_support)
- 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() -> Specification:
- description = r"""This operator is deprecated: use the operator nodal velocities with the
-read_cyclic pin instead. Read nodal velocities from a result file and
-expand it with cyclic symmetry.
-"""
- spec = Specification(
- description=description,
- map_input_pin_spec={
- 0: PinSpecification(
- name="time_scoping",
- type_names=["scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 1: PinSpecification(
- name="mesh_scoping",
- type_names=["scopings_container", "scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 2: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=True,
- document=r"""FieldsContainer already allocated modified inplace""",
- ),
- 3: PinSpecification(
- name="streams_container",
- type_names=["streams_container", "stream"],
- optional=True,
- document=r"""Streams containing the result file.""",
- ),
- 4: PinSpecification(
- name="data_sources",
- type_names=["data_sources"],
- optional=False,
- document=r"""data sources containing the result file.""",
- ),
- 5: PinSpecification(
- name="bool_rotate_to_global",
- type_names=["bool"],
- optional=True,
- document=r"""if true the field is rotated to global coordinate system (default true)""",
- ),
- 6: PinSpecification(
- name="all_dofs",
- type_names=["bool"],
- optional=True,
- document=r"""if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.""",
- ),
- 7: PinSpecification(
- name="sector_mesh",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh of the base sector (can be a skin).""",
- ),
- 9: PinSpecification(
- name="requested_location",
- type_names=["string"],
- optional=True,
- document=r"""location needed in output""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document=r"""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)""",
- ),
- 15: PinSpecification(
- name="expanded_meshed_region",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh expanded.""",
- ),
- 16: PinSpecification(
- name="cyclic_support",
- type_names=["cyclic_support"],
- optional=True,
- document=r"""""",
- ),
- 18: PinSpecification(
- name="sectors_to_expand",
- type_names=["vector", "scoping", "scopings_container"],
- optional=True,
- document=r"""sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.""",
- ),
- 19: PinSpecification(
- name="phi",
- type_names=["double"],
- optional=True,
- document=r"""angle phi in degrees (default value 0.0)""",
- ),
- },
- map_output_pin_spec={
- 0: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=False,
- document=r"""FieldsContainer filled in""",
- ),
- },
- )
- return spec
-
- @staticmethod
- def default_config(server: AnyServerType = None) -> Config:
- """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 with channel connected to the remote or local instance. When
- ``None``, attempts to use the global server.
-
- Returns
- -------
- config:
- A new Config instance equivalent to the default config for this operator.
- """
- return Operator.default_config(name="V_cyclic", server=server)
-
- @property
- def inputs(self) -> InputsCyclicExpandedVelocity:
- """Enables to connect inputs to the operator
-
- Returns
- --------
- inputs:
- An instance of InputsCyclicExpandedVelocity.
- """
- return super().inputs
-
- @property
- def outputs(self) -> OutputsCyclicExpandedVelocity:
- """Enables to get outputs of the operator by evaluating it
-
- Returns
- --------
- outputs:
- An instance of OutputsCyclicExpandedVelocity.
- """
- return super().outputs
-
-
-class InputsCyclicExpandedVelocity(_Inputs):
- """Intermediate class used to connect user inputs to
- cyclic_expanded_velocity operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_velocity()
- >>> 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_expanded_meshed_region = dpf.MeshedRegion()
- >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region)
- >>> my_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> 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):
- super().__init__(cyclic_expanded_velocity._spec().inputs, op)
- self._time_scoping = Input(
- cyclic_expanded_velocity._spec().input_pin(0), 0, op, -1
- )
- self._inputs.append(self._time_scoping)
- self._mesh_scoping = Input(
- cyclic_expanded_velocity._spec().input_pin(1), 1, op, -1
- )
- self._inputs.append(self._mesh_scoping)
- self._fields_container = Input(
- cyclic_expanded_velocity._spec().input_pin(2), 2, op, -1
- )
- self._inputs.append(self._fields_container)
- self._streams_container = Input(
- cyclic_expanded_velocity._spec().input_pin(3), 3, op, -1
- )
- self._inputs.append(self._streams_container)
- self._data_sources = Input(
- cyclic_expanded_velocity._spec().input_pin(4), 4, op, -1
- )
- self._inputs.append(self._data_sources)
- self._bool_rotate_to_global = Input(
- cyclic_expanded_velocity._spec().input_pin(5), 5, op, -1
- )
- self._inputs.append(self._bool_rotate_to_global)
- self._all_dofs = Input(cyclic_expanded_velocity._spec().input_pin(6), 6, op, -1)
- self._inputs.append(self._all_dofs)
- self._sector_mesh = Input(
- cyclic_expanded_velocity._spec().input_pin(7), 7, op, -1
- )
- self._inputs.append(self._sector_mesh)
- self._requested_location = Input(
- cyclic_expanded_velocity._spec().input_pin(9), 9, op, -1
- )
- self._inputs.append(self._requested_location)
- self._read_cyclic = Input(
- cyclic_expanded_velocity._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
- self._expanded_meshed_region = Input(
- cyclic_expanded_velocity._spec().input_pin(15), 15, op, -1
- )
- self._inputs.append(self._expanded_meshed_region)
- self._cyclic_support = Input(
- cyclic_expanded_velocity._spec().input_pin(16), 16, op, -1
- )
- self._inputs.append(self._cyclic_support)
- self._sectors_to_expand = Input(
- cyclic_expanded_velocity._spec().input_pin(18), 18, op, -1
- )
- self._inputs.append(self._sectors_to_expand)
- self._phi = Input(cyclic_expanded_velocity._spec().input_pin(19), 19, op, -1)
- self._inputs.append(self._phi)
-
- @property
- def time_scoping(self) -> Input:
- r"""Allows to connect time_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_velocity()
- >>> 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) -> Input:
- r"""Allows to connect mesh_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_velocity()
- >>> 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) -> Input:
- r"""Allows to connect fields_container input to the operator.
-
- FieldsContainer already allocated modified inplace
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_velocity()
- >>> 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) -> Input:
- r"""Allows to connect streams_container input to the operator.
-
- Streams containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_velocity()
- >>> 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) -> Input:
- r"""Allows to connect data_sources input to the operator.
-
- data sources containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_velocity()
- >>> 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) -> Input:
- r"""Allows to connect bool_rotate_to_global input to the operator.
-
- if true the field is rotated to global coordinate system (default true)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_velocity()
- >>> 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 all_dofs(self) -> Input:
- r"""Allows to connect all_dofs input to the operator.
-
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_velocity()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> # or
- >>> op.inputs.all_dofs(my_all_dofs)
- """
- return self._all_dofs
-
- @property
- def sector_mesh(self) -> Input:
- r"""Allows to connect sector_mesh input to the operator.
-
- mesh of the base sector (can be a skin).
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_velocity()
- >>> op.inputs.sector_mesh.connect(my_sector_mesh)
- >>> # or
- >>> op.inputs.sector_mesh(my_sector_mesh)
- """
- return self._sector_mesh
-
- @property
- def requested_location(self) -> Input:
- r"""Allows to connect requested_location input to the operator.
-
- location needed in output
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_velocity()
- >>> op.inputs.requested_location.connect(my_requested_location)
- >>> # or
- >>> op.inputs.requested_location(my_requested_location)
- """
- return self._requested_location
-
- @property
- def read_cyclic(self) -> Input:
- r"""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)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_velocity()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
- @property
- def expanded_meshed_region(self) -> Input:
- r"""Allows to connect expanded_meshed_region input to the operator.
-
- mesh expanded.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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 cyclic_support(self) -> Input:
- r"""Allows to connect cyclic_support input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_velocity()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> # or
- >>> op.inputs.cyclic_support(my_cyclic_support)
- """
- return self._cyclic_support
-
- @property
- def sectors_to_expand(self) -> Input:
- r"""Allows to connect sectors_to_expand input to the operator.
-
- sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_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) -> Input:
- r"""Allows to connect phi input to the operator.
-
- angle phi in degrees (default value 0.0)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_velocity()
- >>> op.inputs.phi.connect(my_phi)
- >>> # or
- >>> op.inputs.phi(my_phi)
- """
- return self._phi
-
-
-class OutputsCyclicExpandedVelocity(_Outputs):
- """Intermediate class used to get outputs from
- cyclic_expanded_velocity operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_velocity()
- >>> # Connect inputs : op.inputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
-
- def __init__(self, op: Operator):
- super().__init__(cyclic_expanded_velocity._spec().outputs, op)
- self._fields_container = Output(
- cyclic_expanded_velocity._spec().output_pin(0), 0, op
- )
- self._outputs.append(self._fields_container)
-
- @property
- def fields_container(self) -> Output:
- r"""Allows to get fields_container output of the operator
-
- FieldsContainer filled in
-
- Returns
- -------
- output:
- An Output instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_expanded_velocity()
- >>> # Get the output from op.outputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
- return self._fields_container
diff --git a/src/ansys/dpf/core/operators/result/cyclic_kinetic_energy.py b/src/ansys/dpf/core/operators/result/cyclic_kinetic_energy.py
deleted file mode 100644
index a393c5a8d8f..00000000000
--- a/src/ansys/dpf/core/operators/result/cyclic_kinetic_energy.py
+++ /dev/null
@@ -1,612 +0,0 @@
-"""
-cyclic_kinetic_energy
-
-Autogenerated DPF operator classes.
-"""
-
-from __future__ import annotations
-
-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
-from ansys.dpf.core.config import Config
-from ansys.dpf.core.server_types import AnyServerType
-
-
-class cyclic_kinetic_energy(Operator):
- r"""This operator is deprecated: use the operator kinetic energy with the
- read_cyclic pin instead. Read kinetic energy from a result file and
- expand it with cyclic symmetry.
-
-
- Parameters
- ----------
- time_scoping: Scoping, optional
- mesh_scoping: ScopingsContainer or Scoping, optional
- fields_container: FieldsContainer, optional
- FieldsContainer already allocated modified inplace
- streams_container: StreamsContainer or Stream, optional
- Streams containing the result file.
- data_sources: DataSources
- data sources containing the result file.
- bool_rotate_to_global: bool, optional
- if true the field is rotated to global coordinate system (default true)
- all_dofs: bool, optional
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
- sector_mesh: MeshedRegion or MeshesContainer, optional
- mesh of the base sector (can be a skin).
- 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.
- cyclic_support: CyclicSupport, optional
-
- Returns
- -------
- fields_container: FieldsContainer
- FieldsContainer filled in
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
-
- >>> # Instantiate operator
- >>> op = dpf.operators.result.cyclic_kinetic_energy()
-
- >>> # 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
-
- >>> # Instantiate operator and connect inputs in one line
- >>> op = dpf.operators.result.cyclic_kinetic_energy(
- ... 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,
- ... all_dofs=my_all_dofs,
- ... sector_mesh=my_sector_mesh,
- ... read_cyclic=my_read_cyclic,
- ... expanded_meshed_region=my_expanded_meshed_region,
- ... cyclic_support=my_cyclic_support,
- ... )
-
- >>> # 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,
- all_dofs=None,
- sector_mesh=None,
- read_cyclic=None,
- expanded_meshed_region=None,
- cyclic_support=None,
- config=None,
- server=None,
- ):
- super().__init__(name="ENG_KE_cyclic", config=config, server=server)
- self._inputs = InputsCyclicKineticEnergy(self)
- self._outputs = OutputsCyclicKineticEnergy(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 all_dofs is not None:
- self.inputs.all_dofs.connect(all_dofs)
- if sector_mesh is not None:
- self.inputs.sector_mesh.connect(sector_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 cyclic_support is not None:
- self.inputs.cyclic_support.connect(cyclic_support)
-
- @staticmethod
- def _spec() -> Specification:
- description = r"""This operator is deprecated: use the operator kinetic energy with the
-read_cyclic pin instead. Read kinetic energy from a result file and
-expand it with cyclic symmetry.
-"""
- spec = Specification(
- description=description,
- map_input_pin_spec={
- 0: PinSpecification(
- name="time_scoping",
- type_names=["scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 1: PinSpecification(
- name="mesh_scoping",
- type_names=["scopings_container", "scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 2: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=True,
- document=r"""FieldsContainer already allocated modified inplace""",
- ),
- 3: PinSpecification(
- name="streams_container",
- type_names=["streams_container", "stream"],
- optional=True,
- document=r"""Streams containing the result file.""",
- ),
- 4: PinSpecification(
- name="data_sources",
- type_names=["data_sources"],
- optional=False,
- document=r"""data sources containing the result file.""",
- ),
- 5: PinSpecification(
- name="bool_rotate_to_global",
- type_names=["bool"],
- optional=True,
- document=r"""if true the field is rotated to global coordinate system (default true)""",
- ),
- 6: PinSpecification(
- name="all_dofs",
- type_names=["bool"],
- optional=True,
- document=r"""if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.""",
- ),
- 7: PinSpecification(
- name="sector_mesh",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh of the base sector (can be a skin).""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document=r"""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)""",
- ),
- 15: PinSpecification(
- name="expanded_meshed_region",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh expanded.""",
- ),
- 16: PinSpecification(
- name="cyclic_support",
- type_names=["cyclic_support"],
- optional=True,
- document=r"""""",
- ),
- },
- map_output_pin_spec={
- 0: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=False,
- document=r"""FieldsContainer filled in""",
- ),
- },
- )
- return spec
-
- @staticmethod
- def default_config(server: AnyServerType = None) -> Config:
- """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 with channel connected to the remote or local instance. When
- ``None``, attempts to use the global server.
-
- Returns
- -------
- config:
- A new Config instance equivalent to the default config for this operator.
- """
- return Operator.default_config(name="ENG_KE_cyclic", server=server)
-
- @property
- def inputs(self) -> InputsCyclicKineticEnergy:
- """Enables to connect inputs to the operator
-
- Returns
- --------
- inputs:
- An instance of InputsCyclicKineticEnergy.
- """
- return super().inputs
-
- @property
- def outputs(self) -> OutputsCyclicKineticEnergy:
- """Enables to get outputs of the operator by evaluating it
-
- Returns
- --------
- outputs:
- An instance of OutputsCyclicKineticEnergy.
- """
- return super().outputs
-
-
-class InputsCyclicKineticEnergy(_Inputs):
- """Intermediate class used to connect user inputs to
- cyclic_kinetic_energy operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_kinetic_energy()
- >>> 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- """
-
- def __init__(self, op: Operator):
- super().__init__(cyclic_kinetic_energy._spec().inputs, op)
- self._time_scoping = Input(
- cyclic_kinetic_energy._spec().input_pin(0), 0, op, -1
- )
- self._inputs.append(self._time_scoping)
- self._mesh_scoping = Input(
- cyclic_kinetic_energy._spec().input_pin(1), 1, op, -1
- )
- self._inputs.append(self._mesh_scoping)
- self._fields_container = Input(
- cyclic_kinetic_energy._spec().input_pin(2), 2, op, -1
- )
- self._inputs.append(self._fields_container)
- self._streams_container = Input(
- cyclic_kinetic_energy._spec().input_pin(3), 3, op, -1
- )
- self._inputs.append(self._streams_container)
- self._data_sources = Input(
- cyclic_kinetic_energy._spec().input_pin(4), 4, op, -1
- )
- self._inputs.append(self._data_sources)
- self._bool_rotate_to_global = Input(
- cyclic_kinetic_energy._spec().input_pin(5), 5, op, -1
- )
- self._inputs.append(self._bool_rotate_to_global)
- self._all_dofs = Input(cyclic_kinetic_energy._spec().input_pin(6), 6, op, -1)
- self._inputs.append(self._all_dofs)
- self._sector_mesh = Input(cyclic_kinetic_energy._spec().input_pin(7), 7, op, -1)
- self._inputs.append(self._sector_mesh)
- self._read_cyclic = Input(
- cyclic_kinetic_energy._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
- self._expanded_meshed_region = Input(
- cyclic_kinetic_energy._spec().input_pin(15), 15, op, -1
- )
- self._inputs.append(self._expanded_meshed_region)
- self._cyclic_support = Input(
- cyclic_kinetic_energy._spec().input_pin(16), 16, op, -1
- )
- self._inputs.append(self._cyclic_support)
-
- @property
- def time_scoping(self) -> Input:
- r"""Allows to connect time_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_kinetic_energy()
- >>> 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) -> Input:
- r"""Allows to connect mesh_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_kinetic_energy()
- >>> 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) -> Input:
- r"""Allows to connect fields_container input to the operator.
-
- FieldsContainer already allocated modified inplace
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_kinetic_energy()
- >>> 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) -> Input:
- r"""Allows to connect streams_container input to the operator.
-
- Streams containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_kinetic_energy()
- >>> 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) -> Input:
- r"""Allows to connect data_sources input to the operator.
-
- data sources containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_kinetic_energy()
- >>> 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) -> Input:
- r"""Allows to connect bool_rotate_to_global input to the operator.
-
- if true the field is rotated to global coordinate system (default true)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_kinetic_energy()
- >>> 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 all_dofs(self) -> Input:
- r"""Allows to connect all_dofs input to the operator.
-
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_kinetic_energy()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> # or
- >>> op.inputs.all_dofs(my_all_dofs)
- """
- return self._all_dofs
-
- @property
- def sector_mesh(self) -> Input:
- r"""Allows to connect sector_mesh input to the operator.
-
- mesh of the base sector (can be a skin).
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_kinetic_energy()
- >>> op.inputs.sector_mesh.connect(my_sector_mesh)
- >>> # or
- >>> op.inputs.sector_mesh(my_sector_mesh)
- """
- return self._sector_mesh
-
- @property
- def read_cyclic(self) -> Input:
- r"""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)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_kinetic_energy()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
- @property
- def expanded_meshed_region(self) -> Input:
- r"""Allows to connect expanded_meshed_region input to the operator.
-
- mesh expanded.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_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 cyclic_support(self) -> Input:
- r"""Allows to connect cyclic_support input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_kinetic_energy()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> # or
- >>> op.inputs.cyclic_support(my_cyclic_support)
- """
- return self._cyclic_support
-
-
-class OutputsCyclicKineticEnergy(_Outputs):
- """Intermediate class used to get outputs from
- cyclic_kinetic_energy operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_kinetic_energy()
- >>> # Connect inputs : op.inputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
-
- def __init__(self, op: Operator):
- super().__init__(cyclic_kinetic_energy._spec().outputs, op)
- self._fields_container = Output(
- cyclic_kinetic_energy._spec().output_pin(0), 0, op
- )
- self._outputs.append(self._fields_container)
-
- @property
- def fields_container(self) -> Output:
- r"""Allows to get fields_container output of the operator
-
- FieldsContainer filled in
-
- Returns
- -------
- output:
- An Output instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_kinetic_energy()
- >>> # Get the output from op.outputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
- return self._fields_container
diff --git a/src/ansys/dpf/core/operators/result/cyclic_nmisc.py b/src/ansys/dpf/core/operators/result/cyclic_nmisc.py
deleted file mode 100644
index f3dd4d16072..00000000000
--- a/src/ansys/dpf/core/operators/result/cyclic_nmisc.py
+++ /dev/null
@@ -1,598 +0,0 @@
-"""
-cyclic_nmisc
-
-Autogenerated DPF operator classes.
-"""
-
-from __future__ import annotations
-
-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
-from ansys.dpf.core.config import Config
-from ansys.dpf.core.server_types import AnyServerType
-
-
-class cyclic_nmisc(Operator):
- r"""This operator is deprecated: use the operator elemental non summable
- miscellaneous data with the read_cyclic pin instead. Read elemental non
- summable miscellaneous data from a result file and expand it with cyclic
- symmetry.
-
-
- Parameters
- ----------
- time_scoping: Scoping, optional
- mesh_scoping: ScopingsContainer or Scoping, optional
- fields_container: FieldsContainer, optional
- FieldsContainer already allocated modified inplace
- streams_container: StreamsContainer or Stream, optional
- Streams containing the result file.
- data_sources: DataSources
- data sources containing the result file.
- bool_rotate_to_global: bool, optional
- if true the field is rotated to global coordinate system (default true)
- all_dofs: bool, optional
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
- sector_mesh: MeshedRegion or MeshesContainer, optional
- mesh of the base sector (can be a skin).
- 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.
- cyclic_support: CyclicSupport, optional
-
- Returns
- -------
- fields_container: FieldsContainer
- FieldsContainer filled in
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
-
- >>> # Instantiate operator
- >>> op = dpf.operators.result.cyclic_nmisc()
-
- >>> # 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
-
- >>> # Instantiate operator and connect inputs in one line
- >>> op = dpf.operators.result.cyclic_nmisc(
- ... 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,
- ... all_dofs=my_all_dofs,
- ... sector_mesh=my_sector_mesh,
- ... read_cyclic=my_read_cyclic,
- ... expanded_meshed_region=my_expanded_meshed_region,
- ... cyclic_support=my_cyclic_support,
- ... )
-
- >>> # 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,
- all_dofs=None,
- sector_mesh=None,
- read_cyclic=None,
- expanded_meshed_region=None,
- cyclic_support=None,
- config=None,
- server=None,
- ):
- super().__init__(name="NMISC_cyclic", config=config, server=server)
- self._inputs = InputsCyclicNmisc(self)
- self._outputs = OutputsCyclicNmisc(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 all_dofs is not None:
- self.inputs.all_dofs.connect(all_dofs)
- if sector_mesh is not None:
- self.inputs.sector_mesh.connect(sector_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 cyclic_support is not None:
- self.inputs.cyclic_support.connect(cyclic_support)
-
- @staticmethod
- def _spec() -> Specification:
- description = r"""This operator is deprecated: use the operator elemental non summable
-miscellaneous data with the read_cyclic pin instead. Read elemental non
-summable miscellaneous data from a result file and expand it with cyclic
-symmetry.
-"""
- spec = Specification(
- description=description,
- map_input_pin_spec={
- 0: PinSpecification(
- name="time_scoping",
- type_names=["scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 1: PinSpecification(
- name="mesh_scoping",
- type_names=["scopings_container", "scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 2: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=True,
- document=r"""FieldsContainer already allocated modified inplace""",
- ),
- 3: PinSpecification(
- name="streams_container",
- type_names=["streams_container", "stream"],
- optional=True,
- document=r"""Streams containing the result file.""",
- ),
- 4: PinSpecification(
- name="data_sources",
- type_names=["data_sources"],
- optional=False,
- document=r"""data sources containing the result file.""",
- ),
- 5: PinSpecification(
- name="bool_rotate_to_global",
- type_names=["bool"],
- optional=True,
- document=r"""if true the field is rotated to global coordinate system (default true)""",
- ),
- 6: PinSpecification(
- name="all_dofs",
- type_names=["bool"],
- optional=True,
- document=r"""if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.""",
- ),
- 7: PinSpecification(
- name="sector_mesh",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh of the base sector (can be a skin).""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document=r"""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)""",
- ),
- 15: PinSpecification(
- name="expanded_meshed_region",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh expanded.""",
- ),
- 16: PinSpecification(
- name="cyclic_support",
- type_names=["cyclic_support"],
- optional=True,
- document=r"""""",
- ),
- },
- map_output_pin_spec={
- 0: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=False,
- document=r"""FieldsContainer filled in""",
- ),
- },
- )
- return spec
-
- @staticmethod
- def default_config(server: AnyServerType = None) -> Config:
- """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 with channel connected to the remote or local instance. When
- ``None``, attempts to use the global server.
-
- Returns
- -------
- config:
- A new Config instance equivalent to the default config for this operator.
- """
- return Operator.default_config(name="NMISC_cyclic", server=server)
-
- @property
- def inputs(self) -> InputsCyclicNmisc:
- """Enables to connect inputs to the operator
-
- Returns
- --------
- inputs:
- An instance of InputsCyclicNmisc.
- """
- return super().inputs
-
- @property
- def outputs(self) -> OutputsCyclicNmisc:
- """Enables to get outputs of the operator by evaluating it
-
- Returns
- --------
- outputs:
- An instance of OutputsCyclicNmisc.
- """
- return super().outputs
-
-
-class InputsCyclicNmisc(_Inputs):
- """Intermediate class used to connect user inputs to
- cyclic_nmisc operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_nmisc()
- >>> 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- """
-
- def __init__(self, op: Operator):
- super().__init__(cyclic_nmisc._spec().inputs, op)
- self._time_scoping = Input(cyclic_nmisc._spec().input_pin(0), 0, op, -1)
- self._inputs.append(self._time_scoping)
- self._mesh_scoping = Input(cyclic_nmisc._spec().input_pin(1), 1, op, -1)
- self._inputs.append(self._mesh_scoping)
- self._fields_container = Input(cyclic_nmisc._spec().input_pin(2), 2, op, -1)
- self._inputs.append(self._fields_container)
- self._streams_container = Input(cyclic_nmisc._spec().input_pin(3), 3, op, -1)
- self._inputs.append(self._streams_container)
- self._data_sources = Input(cyclic_nmisc._spec().input_pin(4), 4, op, -1)
- self._inputs.append(self._data_sources)
- self._bool_rotate_to_global = Input(
- cyclic_nmisc._spec().input_pin(5), 5, op, -1
- )
- self._inputs.append(self._bool_rotate_to_global)
- self._all_dofs = Input(cyclic_nmisc._spec().input_pin(6), 6, op, -1)
- self._inputs.append(self._all_dofs)
- self._sector_mesh = Input(cyclic_nmisc._spec().input_pin(7), 7, op, -1)
- self._inputs.append(self._sector_mesh)
- self._read_cyclic = Input(cyclic_nmisc._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
- self._expanded_meshed_region = Input(
- cyclic_nmisc._spec().input_pin(15), 15, op, -1
- )
- self._inputs.append(self._expanded_meshed_region)
- self._cyclic_support = Input(cyclic_nmisc._spec().input_pin(16), 16, op, -1)
- self._inputs.append(self._cyclic_support)
-
- @property
- def time_scoping(self) -> Input:
- r"""Allows to connect time_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_nmisc()
- >>> 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) -> Input:
- r"""Allows to connect mesh_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_nmisc()
- >>> 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) -> Input:
- r"""Allows to connect fields_container input to the operator.
-
- FieldsContainer already allocated modified inplace
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_nmisc()
- >>> 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) -> Input:
- r"""Allows to connect streams_container input to the operator.
-
- Streams containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_nmisc()
- >>> 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) -> Input:
- r"""Allows to connect data_sources input to the operator.
-
- data sources containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_nmisc()
- >>> 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) -> Input:
- r"""Allows to connect bool_rotate_to_global input to the operator.
-
- if true the field is rotated to global coordinate system (default true)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_nmisc()
- >>> 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 all_dofs(self) -> Input:
- r"""Allows to connect all_dofs input to the operator.
-
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_nmisc()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> # or
- >>> op.inputs.all_dofs(my_all_dofs)
- """
- return self._all_dofs
-
- @property
- def sector_mesh(self) -> Input:
- r"""Allows to connect sector_mesh input to the operator.
-
- mesh of the base sector (can be a skin).
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_nmisc()
- >>> op.inputs.sector_mesh.connect(my_sector_mesh)
- >>> # or
- >>> op.inputs.sector_mesh(my_sector_mesh)
- """
- return self._sector_mesh
-
- @property
- def read_cyclic(self) -> Input:
- r"""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)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_nmisc()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
- @property
- def expanded_meshed_region(self) -> Input:
- r"""Allows to connect expanded_meshed_region input to the operator.
-
- mesh expanded.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_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 cyclic_support(self) -> Input:
- r"""Allows to connect cyclic_support input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_nmisc()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> # or
- >>> op.inputs.cyclic_support(my_cyclic_support)
- """
- return self._cyclic_support
-
-
-class OutputsCyclicNmisc(_Outputs):
- """Intermediate class used to get outputs from
- cyclic_nmisc operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_nmisc()
- >>> # Connect inputs : op.inputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
-
- def __init__(self, op: Operator):
- super().__init__(cyclic_nmisc._spec().outputs, op)
- self._fields_container = Output(cyclic_nmisc._spec().output_pin(0), 0, op)
- self._outputs.append(self._fields_container)
-
- @property
- def fields_container(self) -> Output:
- r"""Allows to get fields_container output of the operator
-
- FieldsContainer filled in
-
- Returns
- -------
- output:
- An Output instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_nmisc()
- >>> # Get the output from op.outputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
- return self._fields_container
diff --git a/src/ansys/dpf/core/operators/result/cyclic_strain_energy.py b/src/ansys/dpf/core/operators/result/cyclic_strain_energy.py
deleted file mode 100644
index 9bd999b76a6..00000000000
--- a/src/ansys/dpf/core/operators/result/cyclic_strain_energy.py
+++ /dev/null
@@ -1,608 +0,0 @@
-"""
-cyclic_strain_energy
-
-Autogenerated DPF operator classes.
-"""
-
-from __future__ import annotations
-
-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
-from ansys.dpf.core.config import Config
-from ansys.dpf.core.server_types import AnyServerType
-
-
-class cyclic_strain_energy(Operator):
- r"""This operator is deprecated: use the operator element energy associated
- with the stiffness matrix with the read_cyclic pin instead. Read element
- energy associated with the stiffness matrix from a result file and
- expand it with cyclic symmetry.
-
-
- Parameters
- ----------
- time_scoping: Scoping, optional
- mesh_scoping: ScopingsContainer or Scoping, optional
- fields_container: FieldsContainer, optional
- FieldsContainer already allocated modified inplace
- streams_container: StreamsContainer or Stream, optional
- Streams containing the result file.
- data_sources: DataSources
- data sources containing the result file.
- bool_rotate_to_global: bool, optional
- if true the field is rotated to global coordinate system (default true)
- all_dofs: bool, optional
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
- sector_mesh: MeshedRegion or MeshesContainer, optional
- mesh of the base sector (can be a skin).
- 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.
- cyclic_support: CyclicSupport, optional
-
- Returns
- -------
- fields_container: FieldsContainer
- FieldsContainer filled in
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
-
- >>> # Instantiate operator
- >>> op = dpf.operators.result.cyclic_strain_energy()
-
- >>> # 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
-
- >>> # Instantiate operator and connect inputs in one line
- >>> op = dpf.operators.result.cyclic_strain_energy(
- ... 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,
- ... all_dofs=my_all_dofs,
- ... sector_mesh=my_sector_mesh,
- ... read_cyclic=my_read_cyclic,
- ... expanded_meshed_region=my_expanded_meshed_region,
- ... cyclic_support=my_cyclic_support,
- ... )
-
- >>> # 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,
- all_dofs=None,
- sector_mesh=None,
- read_cyclic=None,
- expanded_meshed_region=None,
- cyclic_support=None,
- config=None,
- server=None,
- ):
- super().__init__(name="ENG_SE_cyclic", config=config, server=server)
- self._inputs = InputsCyclicStrainEnergy(self)
- self._outputs = OutputsCyclicStrainEnergy(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 all_dofs is not None:
- self.inputs.all_dofs.connect(all_dofs)
- if sector_mesh is not None:
- self.inputs.sector_mesh.connect(sector_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 cyclic_support is not None:
- self.inputs.cyclic_support.connect(cyclic_support)
-
- @staticmethod
- def _spec() -> Specification:
- description = r"""This operator is deprecated: use the operator element energy associated
-with the stiffness matrix with the read_cyclic pin instead. Read element
-energy associated with the stiffness matrix from a result file and
-expand it with cyclic symmetry.
-"""
- spec = Specification(
- description=description,
- map_input_pin_spec={
- 0: PinSpecification(
- name="time_scoping",
- type_names=["scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 1: PinSpecification(
- name="mesh_scoping",
- type_names=["scopings_container", "scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 2: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=True,
- document=r"""FieldsContainer already allocated modified inplace""",
- ),
- 3: PinSpecification(
- name="streams_container",
- type_names=["streams_container", "stream"],
- optional=True,
- document=r"""Streams containing the result file.""",
- ),
- 4: PinSpecification(
- name="data_sources",
- type_names=["data_sources"],
- optional=False,
- document=r"""data sources containing the result file.""",
- ),
- 5: PinSpecification(
- name="bool_rotate_to_global",
- type_names=["bool"],
- optional=True,
- document=r"""if true the field is rotated to global coordinate system (default true)""",
- ),
- 6: PinSpecification(
- name="all_dofs",
- type_names=["bool"],
- optional=True,
- document=r"""if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.""",
- ),
- 7: PinSpecification(
- name="sector_mesh",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh of the base sector (can be a skin).""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document=r"""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)""",
- ),
- 15: PinSpecification(
- name="expanded_meshed_region",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh expanded.""",
- ),
- 16: PinSpecification(
- name="cyclic_support",
- type_names=["cyclic_support"],
- optional=True,
- document=r"""""",
- ),
- },
- map_output_pin_spec={
- 0: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=False,
- document=r"""FieldsContainer filled in""",
- ),
- },
- )
- return spec
-
- @staticmethod
- def default_config(server: AnyServerType = None) -> Config:
- """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 with channel connected to the remote or local instance. When
- ``None``, attempts to use the global server.
-
- Returns
- -------
- config:
- A new Config instance equivalent to the default config for this operator.
- """
- return Operator.default_config(name="ENG_SE_cyclic", server=server)
-
- @property
- def inputs(self) -> InputsCyclicStrainEnergy:
- """Enables to connect inputs to the operator
-
- Returns
- --------
- inputs:
- An instance of InputsCyclicStrainEnergy.
- """
- return super().inputs
-
- @property
- def outputs(self) -> OutputsCyclicStrainEnergy:
- """Enables to get outputs of the operator by evaluating it
-
- Returns
- --------
- outputs:
- An instance of OutputsCyclicStrainEnergy.
- """
- return super().outputs
-
-
-class InputsCyclicStrainEnergy(_Inputs):
- """Intermediate class used to connect user inputs to
- cyclic_strain_energy operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_strain_energy()
- >>> 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- """
-
- def __init__(self, op: Operator):
- super().__init__(cyclic_strain_energy._spec().inputs, op)
- self._time_scoping = Input(cyclic_strain_energy._spec().input_pin(0), 0, op, -1)
- self._inputs.append(self._time_scoping)
- self._mesh_scoping = Input(cyclic_strain_energy._spec().input_pin(1), 1, op, -1)
- self._inputs.append(self._mesh_scoping)
- self._fields_container = Input(
- cyclic_strain_energy._spec().input_pin(2), 2, op, -1
- )
- self._inputs.append(self._fields_container)
- self._streams_container = Input(
- cyclic_strain_energy._spec().input_pin(3), 3, op, -1
- )
- self._inputs.append(self._streams_container)
- self._data_sources = Input(cyclic_strain_energy._spec().input_pin(4), 4, op, -1)
- self._inputs.append(self._data_sources)
- self._bool_rotate_to_global = Input(
- cyclic_strain_energy._spec().input_pin(5), 5, op, -1
- )
- self._inputs.append(self._bool_rotate_to_global)
- self._all_dofs = Input(cyclic_strain_energy._spec().input_pin(6), 6, op, -1)
- self._inputs.append(self._all_dofs)
- self._sector_mesh = Input(cyclic_strain_energy._spec().input_pin(7), 7, op, -1)
- self._inputs.append(self._sector_mesh)
- self._read_cyclic = Input(
- cyclic_strain_energy._spec().input_pin(14), 14, op, -1
- )
- self._inputs.append(self._read_cyclic)
- self._expanded_meshed_region = Input(
- cyclic_strain_energy._spec().input_pin(15), 15, op, -1
- )
- self._inputs.append(self._expanded_meshed_region)
- self._cyclic_support = Input(
- cyclic_strain_energy._spec().input_pin(16), 16, op, -1
- )
- self._inputs.append(self._cyclic_support)
-
- @property
- def time_scoping(self) -> Input:
- r"""Allows to connect time_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_strain_energy()
- >>> 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) -> Input:
- r"""Allows to connect mesh_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_strain_energy()
- >>> 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) -> Input:
- r"""Allows to connect fields_container input to the operator.
-
- FieldsContainer already allocated modified inplace
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_strain_energy()
- >>> 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) -> Input:
- r"""Allows to connect streams_container input to the operator.
-
- Streams containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_strain_energy()
- >>> 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) -> Input:
- r"""Allows to connect data_sources input to the operator.
-
- data sources containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_strain_energy()
- >>> 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) -> Input:
- r"""Allows to connect bool_rotate_to_global input to the operator.
-
- if true the field is rotated to global coordinate system (default true)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_strain_energy()
- >>> 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 all_dofs(self) -> Input:
- r"""Allows to connect all_dofs input to the operator.
-
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_strain_energy()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> # or
- >>> op.inputs.all_dofs(my_all_dofs)
- """
- return self._all_dofs
-
- @property
- def sector_mesh(self) -> Input:
- r"""Allows to connect sector_mesh input to the operator.
-
- mesh of the base sector (can be a skin).
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_strain_energy()
- >>> op.inputs.sector_mesh.connect(my_sector_mesh)
- >>> # or
- >>> op.inputs.sector_mesh(my_sector_mesh)
- """
- return self._sector_mesh
-
- @property
- def read_cyclic(self) -> Input:
- r"""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)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_strain_energy()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
- @property
- def expanded_meshed_region(self) -> Input:
- r"""Allows to connect expanded_meshed_region input to the operator.
-
- mesh expanded.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_strain_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 cyclic_support(self) -> Input:
- r"""Allows to connect cyclic_support input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_strain_energy()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> # or
- >>> op.inputs.cyclic_support(my_cyclic_support)
- """
- return self._cyclic_support
-
-
-class OutputsCyclicStrainEnergy(_Outputs):
- """Intermediate class used to get outputs from
- cyclic_strain_energy operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_strain_energy()
- >>> # Connect inputs : op.inputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
-
- def __init__(self, op: Operator):
- super().__init__(cyclic_strain_energy._spec().outputs, op)
- self._fields_container = Output(
- cyclic_strain_energy._spec().output_pin(0), 0, op
- )
- self._outputs.append(self._fields_container)
-
- @property
- def fields_container(self) -> Output:
- r"""Allows to get fields_container output of the operator
-
- FieldsContainer filled in
-
- Returns
- -------
- output:
- An Output instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_strain_energy()
- >>> # Get the output from op.outputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
- return self._fields_container
diff --git a/src/ansys/dpf/core/operators/result/cyclic_volume.py b/src/ansys/dpf/core/operators/result/cyclic_volume.py
deleted file mode 100644
index 2973fb3a3f9..00000000000
--- a/src/ansys/dpf/core/operators/result/cyclic_volume.py
+++ /dev/null
@@ -1,596 +0,0 @@
-"""
-cyclic_volume
-
-Autogenerated DPF operator classes.
-"""
-
-from __future__ import annotations
-
-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
-from ansys.dpf.core.config import Config
-from ansys.dpf.core.server_types import AnyServerType
-
-
-class cyclic_volume(Operator):
- r"""This operator is deprecated: use the operator element volume with the
- read_cyclic pin instead. Read element volume from a result file and
- expand it with cyclic symmetry.
-
-
- Parameters
- ----------
- time_scoping: Scoping, optional
- mesh_scoping: ScopingsContainer or Scoping, optional
- fields_container: FieldsContainer, optional
- FieldsContainer already allocated modified inplace
- streams_container: StreamsContainer or Stream, optional
- Streams containing the result file.
- data_sources: DataSources
- data sources containing the result file.
- bool_rotate_to_global: bool, optional
- if true the field is rotated to global coordinate system (default true)
- all_dofs: bool, optional
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
- sector_mesh: MeshedRegion or MeshesContainer, optional
- mesh of the base sector (can be a skin).
- 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.
- cyclic_support: CyclicSupport, optional
-
- Returns
- -------
- fields_container: FieldsContainer
- FieldsContainer filled in
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
-
- >>> # Instantiate operator
- >>> op = dpf.operators.result.cyclic_volume()
-
- >>> # 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
-
- >>> # Instantiate operator and connect inputs in one line
- >>> op = dpf.operators.result.cyclic_volume(
- ... 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,
- ... all_dofs=my_all_dofs,
- ... sector_mesh=my_sector_mesh,
- ... read_cyclic=my_read_cyclic,
- ... expanded_meshed_region=my_expanded_meshed_region,
- ... cyclic_support=my_cyclic_support,
- ... )
-
- >>> # 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,
- all_dofs=None,
- sector_mesh=None,
- read_cyclic=None,
- expanded_meshed_region=None,
- cyclic_support=None,
- config=None,
- server=None,
- ):
- super().__init__(name="ENG_VOL_cyclic", config=config, server=server)
- self._inputs = InputsCyclicVolume(self)
- self._outputs = OutputsCyclicVolume(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 all_dofs is not None:
- self.inputs.all_dofs.connect(all_dofs)
- if sector_mesh is not None:
- self.inputs.sector_mesh.connect(sector_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 cyclic_support is not None:
- self.inputs.cyclic_support.connect(cyclic_support)
-
- @staticmethod
- def _spec() -> Specification:
- description = r"""This operator is deprecated: use the operator element volume with the
-read_cyclic pin instead. Read element volume from a result file and
-expand it with cyclic symmetry.
-"""
- spec = Specification(
- description=description,
- map_input_pin_spec={
- 0: PinSpecification(
- name="time_scoping",
- type_names=["scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 1: PinSpecification(
- name="mesh_scoping",
- type_names=["scopings_container", "scoping", "vector"],
- optional=True,
- document=r"""""",
- ),
- 2: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=True,
- document=r"""FieldsContainer already allocated modified inplace""",
- ),
- 3: PinSpecification(
- name="streams_container",
- type_names=["streams_container", "stream"],
- optional=True,
- document=r"""Streams containing the result file.""",
- ),
- 4: PinSpecification(
- name="data_sources",
- type_names=["data_sources"],
- optional=False,
- document=r"""data sources containing the result file.""",
- ),
- 5: PinSpecification(
- name="bool_rotate_to_global",
- type_names=["bool"],
- optional=True,
- document=r"""if true the field is rotated to global coordinate system (default true)""",
- ),
- 6: PinSpecification(
- name="all_dofs",
- type_names=["bool"],
- optional=True,
- document=r"""if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.""",
- ),
- 7: PinSpecification(
- name="sector_mesh",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh of the base sector (can be a skin).""",
- ),
- 14: PinSpecification(
- name="read_cyclic",
- type_names=["enum dataProcessing::ECyclicReading", "int32"],
- optional=True,
- document=r"""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)""",
- ),
- 15: PinSpecification(
- name="expanded_meshed_region",
- type_names=["abstract_meshed_region", "meshes_container"],
- optional=True,
- document=r"""mesh expanded.""",
- ),
- 16: PinSpecification(
- name="cyclic_support",
- type_names=["cyclic_support"],
- optional=True,
- document=r"""""",
- ),
- },
- map_output_pin_spec={
- 0: PinSpecification(
- name="fields_container",
- type_names=["fields_container"],
- optional=False,
- document=r"""FieldsContainer filled in""",
- ),
- },
- )
- return spec
-
- @staticmethod
- def default_config(server: AnyServerType = None) -> Config:
- """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 with channel connected to the remote or local instance. When
- ``None``, attempts to use the global server.
-
- Returns
- -------
- config:
- A new Config instance equivalent to the default config for this operator.
- """
- return Operator.default_config(name="ENG_VOL_cyclic", server=server)
-
- @property
- def inputs(self) -> InputsCyclicVolume:
- """Enables to connect inputs to the operator
-
- Returns
- --------
- inputs:
- An instance of InputsCyclicVolume.
- """
- return super().inputs
-
- @property
- def outputs(self) -> OutputsCyclicVolume:
- """Enables to get outputs of the operator by evaluating it
-
- Returns
- --------
- outputs:
- An instance of OutputsCyclicVolume.
- """
- return super().outputs
-
-
-class InputsCyclicVolume(_Inputs):
- """Intermediate class used to connect user inputs to
- cyclic_volume operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_volume()
- >>> 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_all_dofs = bool()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> my_sector_mesh = dpf.MeshedRegion()
- >>> op.inputs.sector_mesh.connect(my_sector_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_cyclic_support = dpf.CyclicSupport()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- """
-
- def __init__(self, op: Operator):
- super().__init__(cyclic_volume._spec().inputs, op)
- self._time_scoping = Input(cyclic_volume._spec().input_pin(0), 0, op, -1)
- self._inputs.append(self._time_scoping)
- self._mesh_scoping = Input(cyclic_volume._spec().input_pin(1), 1, op, -1)
- self._inputs.append(self._mesh_scoping)
- self._fields_container = Input(cyclic_volume._spec().input_pin(2), 2, op, -1)
- self._inputs.append(self._fields_container)
- self._streams_container = Input(cyclic_volume._spec().input_pin(3), 3, op, -1)
- self._inputs.append(self._streams_container)
- self._data_sources = Input(cyclic_volume._spec().input_pin(4), 4, op, -1)
- self._inputs.append(self._data_sources)
- self._bool_rotate_to_global = Input(
- cyclic_volume._spec().input_pin(5), 5, op, -1
- )
- self._inputs.append(self._bool_rotate_to_global)
- self._all_dofs = Input(cyclic_volume._spec().input_pin(6), 6, op, -1)
- self._inputs.append(self._all_dofs)
- self._sector_mesh = Input(cyclic_volume._spec().input_pin(7), 7, op, -1)
- self._inputs.append(self._sector_mesh)
- self._read_cyclic = Input(cyclic_volume._spec().input_pin(14), 14, op, -1)
- self._inputs.append(self._read_cyclic)
- self._expanded_meshed_region = Input(
- cyclic_volume._spec().input_pin(15), 15, op, -1
- )
- self._inputs.append(self._expanded_meshed_region)
- self._cyclic_support = Input(cyclic_volume._spec().input_pin(16), 16, op, -1)
- self._inputs.append(self._cyclic_support)
-
- @property
- def time_scoping(self) -> Input:
- r"""Allows to connect time_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_volume()
- >>> 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) -> Input:
- r"""Allows to connect mesh_scoping input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_volume()
- >>> 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) -> Input:
- r"""Allows to connect fields_container input to the operator.
-
- FieldsContainer already allocated modified inplace
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_volume()
- >>> 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) -> Input:
- r"""Allows to connect streams_container input to the operator.
-
- Streams containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_volume()
- >>> 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) -> Input:
- r"""Allows to connect data_sources input to the operator.
-
- data sources containing the result file.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_volume()
- >>> 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) -> Input:
- r"""Allows to connect bool_rotate_to_global input to the operator.
-
- if true the field is rotated to global coordinate system (default true)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_volume()
- >>> 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 all_dofs(self) -> Input:
- r"""Allows to connect all_dofs input to the operator.
-
- if this pin is set to true, all the dofs are retrieved. By default this pin is set to false and only the translational dofs are retrieved.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_volume()
- >>> op.inputs.all_dofs.connect(my_all_dofs)
- >>> # or
- >>> op.inputs.all_dofs(my_all_dofs)
- """
- return self._all_dofs
-
- @property
- def sector_mesh(self) -> Input:
- r"""Allows to connect sector_mesh input to the operator.
-
- mesh of the base sector (can be a skin).
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_volume()
- >>> op.inputs.sector_mesh.connect(my_sector_mesh)
- >>> # or
- >>> op.inputs.sector_mesh(my_sector_mesh)
- """
- return self._sector_mesh
-
- @property
- def read_cyclic(self) -> Input:
- r"""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)
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_volume()
- >>> op.inputs.read_cyclic.connect(my_read_cyclic)
- >>> # or
- >>> op.inputs.read_cyclic(my_read_cyclic)
- """
- return self._read_cyclic
-
- @property
- def expanded_meshed_region(self) -> Input:
- r"""Allows to connect expanded_meshed_region input to the operator.
-
- mesh expanded.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_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 cyclic_support(self) -> Input:
- r"""Allows to connect cyclic_support input to the operator.
-
- Returns
- -------
- input:
- An Input instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_volume()
- >>> op.inputs.cyclic_support.connect(my_cyclic_support)
- >>> # or
- >>> op.inputs.cyclic_support(my_cyclic_support)
- """
- return self._cyclic_support
-
-
-class OutputsCyclicVolume(_Outputs):
- """Intermediate class used to get outputs from
- cyclic_volume operator.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_volume()
- >>> # Connect inputs : op.inputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
-
- def __init__(self, op: Operator):
- super().__init__(cyclic_volume._spec().outputs, op)
- self._fields_container = Output(cyclic_volume._spec().output_pin(0), 0, op)
- self._outputs.append(self._fields_container)
-
- @property
- def fields_container(self) -> Output:
- r"""Allows to get fields_container output of the operator
-
- FieldsContainer filled in
-
- Returns
- -------
- output:
- An Output instance for this pin.
-
- Examples
- --------
- >>> from ansys.dpf import core as dpf
- >>> op = dpf.operators.result.cyclic_volume()
- >>> # Get the output from op.outputs. ...
- >>> result_fields_container = op.outputs.fields_container()
- """
- return self._fields_container
diff --git a/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll b/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll
index 4000e306ed8..2c39d16ca6e 100644
Binary files a/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll and b/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll differ
diff --git a/src/ansys/dpf/gatebin/DPFClientAPI.dll b/src/ansys/dpf/gatebin/DPFClientAPI.dll
index 47ae6e57bfa..8bc6454fe09 100644
Binary files a/src/ansys/dpf/gatebin/DPFClientAPI.dll and b/src/ansys/dpf/gatebin/DPFClientAPI.dll differ
diff --git a/src/ansys/dpf/gatebin/libAns.Dpf.GrpcClient.so b/src/ansys/dpf/gatebin/libAns.Dpf.GrpcClient.so
index 1cc2aeb484f..8518d09e9bb 100644
Binary files a/src/ansys/dpf/gatebin/libAns.Dpf.GrpcClient.so and b/src/ansys/dpf/gatebin/libAns.Dpf.GrpcClient.so differ
diff --git a/src/ansys/dpf/gatebin/libDPFClientAPI.so b/src/ansys/dpf/gatebin/libDPFClientAPI.so
index bc8afb878d5..1ccc83f0da2 100644
Binary files a/src/ansys/dpf/gatebin/libDPFClientAPI.so and b/src/ansys/dpf/gatebin/libDPFClientAPI.so differ