diff --git a/doc/source/_static/dpf_operators.html b/doc/source/_static/dpf_operators.html index f1a6c0abf9..b6f3915ef6 100644 --- a/doc/source/_static/dpf_operators.html +++ b/doc/source/_static/dpf_operators.html @@ -2070,7 +2070,7 @@

Configurating operators

0 0 0 0 0 0 0 0 0 -">

Example of workflows and their scripts

math: imaginary part

Inputs

Outputs

Configurations

Scripting

math: amplitude (fields container)

Inputs

Outputs

Configurations

Scripting

metadata: mesh support provider

Inputs

Outputs

Configurations

Scripting

result: beam axial stress (LSDyna)

Inputs

Outputs

Configurations

Scripting

math: unit convert (fields container)

Inputs

Outputs

Configurations

Scripting

result: element orientations X

Inputs

Outputs

Configurations

Scripting

math: norm (fields container)

Inputs

Outputs

Configurations

Scripting

mapping: prepare mapping workflow

Inputs

Outputs

Configurations

Scripting

math: sqrt (fields container)

Inputs

Outputs

Configurations

Scripting

math: conjugate

Inputs

Outputs

Configurations

Scripting

utility: html doc

Inputs

Outputs

Configurations

Scripting

math: real part

Inputs

Outputs

Configurations

Scripting

result: current density

Inputs

Outputs

Configurations

Scripting

math: multiply (complex fields)

Inputs

Outputs

Configurations

Scripting

utility: merge result infos

Inputs

Outputs

Configurations

Scripting

result: cyclic kinetic energy

Inputs

Outputs

Configurations

Scripting

result: global total mass (LSDyna)

Inputs

Outputs

Configurations

Scripting

math: unit convert

Inputs

Outputs

Configurations

Scripting

math: norm (field)

Inputs

Outputs

Configurations

Scripting

utility: make label space

Inputs

Outputs

Configurations

Scripting

math: sqrt (field)

Inputs

Outputs

Configurations

Scripting

result: y plus (y+)

Inputs

Outputs

Configurations

Scripting

math: accumulate min over label

Inputs

Outputs

Configurations

Scripting

math: +

Inputs

Outputs

Configurations

Scripting

server: grpc shutdown server

Inputs

Outputs

Configurations

Scripting

result: magnetic scalar potential

Inputs

Outputs

Configurations

Scripting

min_max: min max over time

Inputs

Outputs

Configurations

Scripting

math: time freq interpolation

Inputs

Outputs

Configurations

Scripting

math: + (fields container)

Inputs

Outputs

Configurations

Scripting

math: sin (fields container)

Inputs

Outputs

Configurations

Scripting

result: tangential contact force

Inputs

Outputs

Configurations

Scripting

math: + constant (field)

Inputs

Outputs

Configurations

Scripting

math: / (component-wise field)

Inputs

Outputs

Configurations

Scripting

result: normal contact force

Inputs

Outputs

Configurations

Scripting

math: + constant (fields container)

Inputs

Outputs

Configurations

Scripting

math: cross product (fields container)

Inputs

Outputs

Configurations

Scripting

result: cyclic strain energy

Inputs

Outputs

Configurations

Scripting

invariant: scalar invariants (fields container)

Inputs

Outputs

Configurations

Scripting

mapping: find reduced coordinates

Inputs

Outputs

Configurations

Scripting

scoping: rescope property field

Inputs

Outputs

Configurations

Scripting

result: plastic strain principal 1

Inputs

Outputs

Configurations

Scripting

math: -

Inputs

Outputs

Configurations

Scripting

math: total sum

Inputs

Outputs

Configurations

Scripting

math: - (fields container)

Inputs

Outputs

Configurations

Scripting

scoping: intersect scopings

Inputs

Outputs

Configurations

Scripting

math: ^ (field)

Inputs

Outputs

Configurations

Scripting

scoping: elements in mesh

Inputs

Outputs

Configurations

Scripting

math: scale (field)

Inputs

Outputs

Configurations

Scripting

result: enthalpy

Inputs

Outputs

Configurations

Scripting

math: ^ (fields container)

Inputs

Outputs

Configurations

Scripting

result: global eroded internal energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

math: scale fields container

Inputs

Outputs

Configurations

Scripting

math: sweeping phase

Inputs

Outputs

Configurations

Scripting

math: centroid

Inputs

Outputs

Configurations

Scripting

math: sweeping phase (fields container)

Inputs

Outputs

Configurations

Scripting

filter: signed high pass (field)

Inputs

Outputs

Configurations

Scripting

math: centroid (fields container)

Inputs

Outputs

Configurations

Scripting

math: ^2 (field)

Inputs

Outputs

Configurations

Scripting

utility: remove unnecessary labels

Inputs

Outputs

Configurations

Scripting

result: velocity Z

Inputs

Outputs

Configurations

Scripting

result: reaction force Z

Inputs

Outputs

Configurations

Scripting

math: sin (field)

Inputs

Outputs

Configurations

Scripting

math: cos (field)

Inputs

Outputs

Configurations

Scripting

math: cos (fields container)

Inputs

Outputs

Configurations

Scripting

logic: ascending sort

Inputs

Outputs

Configurations

Scripting

result: initial coordinates (LSDyna)

Inputs

Outputs

Configurations

Scripting

utility: convert to fields container

Inputs

Outputs

Configurations

Scripting

math: linear combination

Inputs

Outputs

Configurations

Scripting

math: ^2 (fields container)

Inputs

Outputs

Configurations

Scripting

result: mean static pressure

Inputs

Outputs

Configurations

Scripting

math: exp (field)

Inputs

Outputs

Configurations

Scripting

math: exp (fields container)

Inputs

Outputs

Configurations

Scripting

math: * (component-wise field)

Inputs

Outputs

Configurations

Scripting

result: stress max_shear

Inputs

Outputs

Configurations

Scripting

result: euler nodes

Inputs

Outputs

Configurations

Scripting

math: * (component-wise field) (fields container)

Inputs

Outputs

Configurations

Scripting

result: beam TR shear stress (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: num surface status changes

Inputs

Outputs

Configurations

Scripting

math: ln (field)

Inputs

Outputs

Configurations

Scripting

mesh: mesh to pyvista

Inputs

Outputs

Configurations

Scripting

math: ln (fields container)

Inputs

Outputs

Configurations

Scripting

invariant: scalar invariants (field)

Inputs

Outputs

Configurations

Scripting

math: cross product

Inputs

Outputs

Configurations

Scripting

filter: high pass (timefreq)

Inputs

Outputs

Configurations

Scripting

math: / (component-wise fields container)

Inputs

Outputs

Configurations

Scripting

result: global sliding interface energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

math: kronecker product

Inputs

Outputs

Configurations

Scripting

math: modulus (fields container)

Inputs

Outputs

Configurations

Scripting

result: joint relative angular velocity

Inputs

Outputs

Configurations

Scripting

math: dot (complex fields)

Inputs

Outputs

Configurations

Scripting

result: gasket stress XZ

Inputs

Outputs

Configurations

Scripting

math: / (complex fields)

Inputs

Outputs

Configurations

Scripting

utility: unitary field

Inputs

Outputs

Configurations

Scripting

utility: server path

Inputs

Outputs

Configurations

Scripting

result: beam axial force (LSDyna)

Inputs

Outputs

Configurations

Scripting

math: derivate (complex fields)

Inputs

Outputs

Configurations

Scripting

math: polar to complex fields

Inputs

Outputs

Configurations

Scripting

utility: merge data tree

Inputs

Outputs

Configurations

Scripting

math: dot (fields container)

Inputs

Outputs

Configurations

Scripting

result: nodal moment

Inputs

Outputs

Configurations

Scripting

math: phase (field)

Inputs

Outputs

Configurations

Scripting

math: phase (fields container)

Inputs

Outputs

Configurations

Scripting

math: modulus (field)

Inputs

Outputs

Configurations

Scripting

result: elemental mass

Inputs

Outputs

Configurations

Scripting

result: heat flux

Inputs

Outputs

Configurations

Scripting

math: total sum (fields container)

Inputs

Outputs

Configurations

Scripting

result: co-energy

Inputs

Outputs

Configurations

Scripting

math: dot

Inputs

Outputs

Configurations

Scripting

math: outer product

Inputs

Outputs

Configurations

Scripting

math: overall dot

Inputs

Outputs

Configurations

Scripting

math: relative error

Inputs

Outputs

Configurations

Scripting

result: velocity Y

Inputs

Outputs

Configurations

Scripting

result: reaction force Y

Inputs

Outputs

Configurations

Scripting

result: global velocity (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: superficial velocity

Inputs

Outputs

Configurations

Scripting

math: absolute value by component (field)

Inputs

Outputs

Configurations

Scripting

result: incremental energy

Inputs

Outputs

Configurations

Scripting

result: thermal strain

Inputs

Outputs

Configurations

Scripting

result: stiffness matrix energy

Inputs

Outputs

Configurations

Scripting

math: absolute value by component (fields container)

Inputs

Outputs

Configurations

Scripting

metadata: element types provider

Inputs

Outputs

Configurations

Scripting

result: total temperature

Inputs

Outputs

Configurations

Scripting

result: cyclic equivalent mass

Inputs

Outputs

Configurations

Scripting

result: acceleration Y

Inputs

Outputs

Configurations

Scripting

utility: delegate to operator

Inputs

Outputs

Configurations

Scripting

logic: component selector (fields container)

Inputs

Outputs

Configurations

Scripting

logic: component selector (field)

Inputs

Outputs

Configurations

Scripting

scoping: on property

Inputs

Outputs

Configurations

Scripting

result: stress intensity

Inputs

Outputs

Configurations

Scripting

logic: component transformer (field)

Inputs

Outputs

Configurations

Scripting

logic: component transformer (fields container)

Inputs

Outputs

Configurations

Scripting

logic: same property fields?

Inputs

Outputs

Configurations

Scripting

logic: elementary data selector (fields container)

Inputs

Outputs

Configurations

Scripting

utility: convert to scoping

Inputs

Outputs

Configurations

Scripting

logic: elementary data selector (field)

Inputs

Outputs

Configurations

Scripting

utility: change location

Inputs

Outputs

Configurations

Scripting

utility: extract field

Inputs

Outputs

Configurations

Scripting

mesh: node coordinates

Inputs

Outputs

Configurations

Scripting

mesh: stl export

Inputs

Outputs

Configurations

Scripting

utility: bind support

Inputs

Outputs

Configurations

Scripting

utility: convert to meshes container

Inputs

Outputs

Configurations

Scripting

result: beam torsional moment (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: equivalent stress parameter

Inputs

Outputs

Configurations

Scripting

utility: convert to field

Inputs

Outputs

Configurations

Scripting

result: beam axial total strain (LSDyna)

Inputs

Outputs

Configurations

Scripting

utility: set property

Inputs

Outputs

Configurations

Scripting

result: electric flux density Y

Inputs

Outputs

Configurations

Scripting

utility: forward field

Inputs

Outputs

Configurations

Scripting

utility: forward fields container

Inputs

Outputs

Configurations

Scripting

result: electric flux density

Inputs

Outputs

Configurations

Scripting

geo: integrate over elements

Inputs

Outputs

Configurations

Scripting

result: plastic strain principal 2

Inputs

Outputs

Configurations

Scripting

utility: forward meshes container

Inputs

Outputs

Configurations

Scripting

result: compute total strain X

Example of workflows and their scripts

math: imaginary part

Inputs

Outputs

Configurations

Scripting

math: amplitude (fields container)

Inputs

Outputs

Configurations

Scripting

metadata: mesh support provider

Inputs

Outputs

Configurations

Scripting

result: beam axial stress (LSDyna)

Inputs

Outputs

Configurations

Scripting

math: unit convert (fields container)

Inputs

Outputs

Configurations

Scripting

result: element orientations X

Inputs

Outputs

Configurations

Scripting

math: norm (fields container)

Inputs

Outputs

Configurations

Scripting

mapping: prepare mapping workflow

Inputs

Outputs

Configurations

Scripting

math: sqrt (fields container)

Inputs

Outputs

Configurations

Scripting

math: conjugate

Inputs

Outputs

Configurations

Scripting

utility: html doc

Inputs

Outputs

Configurations

Scripting

math: real part

Inputs

Outputs

Configurations

Scripting

result: current density

Inputs

Outputs

Configurations

Scripting

math: multiply (complex fields)

Inputs

Outputs

Configurations

Scripting

utility: merge result infos

Inputs

Outputs

Configurations

Scripting

result: cyclic kinetic energy

Inputs

Outputs

Configurations

Scripting

result: global total mass (LSDyna)

Inputs

Outputs

Configurations

Scripting

math: unit convert

Inputs

Outputs

Configurations

Scripting

math: norm (field)

Inputs

Outputs

Configurations

Scripting

utility: make label space

Inputs

Outputs

Configurations

Scripting

math: sqrt (field)

Inputs

Outputs

Configurations

Scripting

result: y plus (y+)

Inputs

Outputs

Configurations

Scripting

math: accumulate min over label

Inputs

Outputs

Configurations

Scripting

math: +

Inputs

Outputs

Configurations

Scripting

server: grpc shutdown server

Inputs

Outputs

Configurations

Scripting

result: magnetic scalar potential

Inputs

Outputs

Configurations

Scripting

min_max: min max over time

Inputs

Outputs

Configurations

Scripting

math: time freq interpolation

Inputs

Outputs

Configurations

Scripting

math: + (fields container)

Inputs

Outputs

Configurations

Scripting

math: sin (fields container)

Inputs

Outputs

Configurations

Scripting

result: tangential contact force

Inputs

Outputs

Configurations

Scripting

math: + constant (field)

Inputs

Outputs

Configurations

Scripting

math: / (component-wise field)

Inputs

Outputs

Configurations

Scripting

result: normal contact force

Inputs

Outputs

Configurations

Scripting

math: + constant (fields container)

Inputs

Outputs

Configurations

Scripting

math: cross product (fields container)

Inputs

Outputs

Configurations

Scripting

result: cyclic strain energy

Inputs

Outputs

Configurations

Scripting

invariant: scalar invariants (fields container)

Inputs

Outputs

Configurations

Scripting

mapping: find reduced coordinates

Inputs

Outputs

Configurations

Scripting

scoping: rescope property field

Inputs

Outputs

Configurations

Scripting

result: plastic strain principal 1

Inputs

Outputs

Configurations

Scripting

math: -

Inputs

Outputs

Configurations

Scripting

math: total sum

Inputs

Outputs

Configurations

Scripting

math: - (fields container)

Inputs

Outputs

Configurations

Scripting

scoping: intersect scopings

Inputs

Outputs

Configurations

Scripting

math: ^ (field)

Inputs

Outputs

Configurations

Scripting

scoping: elements in mesh

Inputs

Outputs

Configurations

Scripting

math: scale (field)

Inputs

Outputs

Configurations

Scripting

result: enthalpy

Inputs

Outputs

Configurations

Scripting

math: ^ (fields container)

Inputs

Outputs

Configurations

Scripting

result: global eroded internal energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

math: scale fields container

Inputs

Outputs

Configurations

Scripting

math: sweeping phase

Inputs

Outputs

Configurations

Scripting

math: centroid

Inputs

Outputs

Configurations

Scripting

math: sweeping phase (fields container)

Inputs

Outputs

Configurations

Scripting

filter: signed high pass (field)

Inputs

Outputs

Configurations

Scripting

math: centroid (fields container)

Inputs

Outputs

Configurations

Scripting

math: ^2 (field)

Inputs

Outputs

Configurations

Scripting

utility: remove unnecessary labels

Inputs

Outputs

Configurations

Scripting

result: velocity Z

Inputs

Outputs

Configurations

Scripting

result: reaction force Z

Inputs

Outputs

Configurations

Scripting

math: sin (field)

Inputs

Outputs

Configurations

Scripting

math: cos (field)

Inputs

Outputs

Configurations

Scripting

math: cos (fields container)

Inputs

Outputs

Configurations

Scripting

logic: ascending sort

Inputs

Outputs

Configurations

Scripting

result: initial coordinates (LSDyna)

Inputs

Outputs

Configurations

Scripting

utility: convert to fields container

Inputs

Outputs

Configurations

Scripting

math: linear combination

Inputs

Outputs

Configurations

Scripting

math: ^2 (fields container)

Inputs

Outputs

Configurations

Scripting

result: mean static pressure

Inputs

Outputs

Configurations

Scripting

math: exp (field)

Inputs

Outputs

Configurations

Scripting

math: exp (fields container)

Inputs

Outputs

Configurations

Scripting

math: * (component-wise field)

Inputs

Outputs

Configurations

Scripting

result: stress max_shear

Inputs

Outputs

Configurations

Scripting

result: euler nodes

Inputs

Outputs

Configurations

Scripting

math: * (component-wise field) (fields container)

Inputs

Outputs

Configurations

Scripting

result: beam TR shear stress (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: num surface status changes

Inputs

Outputs

Configurations

Scripting

math: ln (field)

Inputs

Outputs

Configurations

Scripting

mesh: mesh to pyvista

Inputs

Outputs

Configurations

Scripting

math: ln (fields container)

Inputs

Outputs

Configurations

Scripting

invariant: scalar invariants (field)

Inputs

Outputs

Configurations

Scripting

math: cross product

Inputs

Outputs

Configurations

Scripting

filter: high pass (timefreq)

Inputs

Outputs

Configurations

Scripting

math: / (component-wise fields container)

Inputs

Outputs

Configurations

Scripting

result: global sliding interface energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

math: kronecker product

Inputs

Outputs

Configurations

Scripting

math: modulus (fields container)

Inputs

Outputs

Configurations

Scripting

result: joint relative angular velocity

Inputs

Outputs

Configurations

Scripting

math: dot (complex fields)

Inputs

Outputs

Configurations

Scripting

result: gasket stress XZ

Inputs

Outputs

Configurations

Scripting

math: / (complex fields)

Inputs

Outputs

Configurations

Scripting

utility: unitary field

Inputs

Outputs

Configurations

Scripting

utility: server path

Inputs

Outputs

Configurations

Scripting

result: beam axial force (LSDyna)

Inputs

Outputs

Configurations

Scripting

math: derivate (complex fields)

Inputs

Outputs

Configurations

Scripting

math: polar to complex fields

Inputs

Outputs

Configurations

Scripting

utility: merge data tree

Inputs

Outputs

Configurations

Scripting

math: dot (fields container)

Inputs

Outputs

Configurations

Scripting

result: nodal moment

Inputs

Outputs

Configurations

Scripting

math: phase (field)

Inputs

Outputs

Configurations

Scripting

math: phase (fields container)

Inputs

Outputs

Configurations

Scripting

math: modulus (field)

Inputs

Outputs

Configurations

Scripting

result: elemental mass

Inputs

Outputs

Configurations

Scripting

result: heat flux

Inputs

Outputs

Configurations

Scripting

math: total sum (fields container)

Inputs

Outputs

Configurations

Scripting

result: co-energy

Inputs

Outputs

Configurations

Scripting

math: dot

Inputs

Outputs

Configurations

Scripting

math: outer product

Inputs

Outputs

Configurations

Scripting

math: overall dot

Inputs

Outputs

Configurations

Scripting

math: relative error

Inputs

Outputs

Configurations

Scripting

result: velocity Y

Inputs

Outputs

Configurations

Scripting

result: reaction force Y

Inputs

Outputs

Configurations

Scripting

result: global velocity (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: superficial velocity

Inputs

Outputs

Configurations

Scripting

math: absolute value by component (field)

Inputs

Outputs

Configurations

Scripting

result: incremental energy

Inputs

Outputs

Configurations

Scripting

result: thermal strain

Inputs

Outputs

Configurations

Scripting

result: stiffness matrix energy

Inputs

Outputs

Configurations

Scripting

math: absolute value by component (fields container)

Inputs

Outputs

Configurations

Scripting

metadata: element types provider

Inputs

Outputs

Configurations

Scripting

result: total temperature

Inputs

Outputs

Configurations

Scripting

result: cyclic equivalent mass

Inputs

Outputs

Configurations

Scripting

result: acceleration Y

Inputs

Outputs

Configurations

Scripting

utility: delegate to operator

Inputs

Outputs

Configurations

Scripting

logic: component selector (fields container)

Inputs

Outputs

Configurations

Scripting

logic: component selector (field)

Inputs

Outputs

Configurations

Scripting

scoping: on property

Inputs

Outputs

Configurations

Scripting

result: stress intensity

Inputs

Outputs

Configurations

Scripting

logic: component transformer (field)

Inputs

Outputs

Configurations

Scripting

logic: component transformer (fields container)

Inputs

Outputs

Configurations

Scripting

logic: same property fields?

Inputs

Outputs

Configurations

Scripting

logic: elementary data selector (fields container)

Inputs

Outputs

Configurations

Scripting

utility: convert to scoping

Inputs

Outputs

Configurations

Scripting

logic: elementary data selector (field)

Inputs

Outputs

Configurations

Scripting

utility: change location

Inputs

Outputs

Configurations

Scripting

utility: extract field

Inputs

Outputs

Configurations

Scripting

mesh: node coordinates

Inputs

Outputs

Configurations

Scripting

mesh: stl export

Inputs

Outputs

Configurations

Scripting

utility: bind support

Inputs

Outputs

Configurations

Scripting

utility: convert to meshes container

Inputs

Outputs

Configurations

Scripting

result: beam torsional moment (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: equivalent stress parameter

Inputs

Outputs

Configurations

Scripting

utility: convert to field

Inputs

Outputs

Configurations

Scripting

result: beam axial total strain (LSDyna)

Inputs

Outputs

Configurations

Scripting

utility: set property

Inputs

Outputs

Configurations

Scripting

result: electric flux density Y

Inputs

Outputs

Configurations

Scripting

utility: forward field

Inputs

Outputs

Configurations

Scripting

utility: forward fields container

Inputs

Outputs

Configurations

Scripting

result: electric flux density

Inputs

Outputs

Configurations

Scripting

geo: integrate over elements

Inputs

Outputs

Configurations

Scripting

result: plastic strain principal 2

Inputs

Outputs

Configurations

Scripting

utility: forward meshes container

Inputs

Outputs

Configurations

Scripting

result: compute total strain X

Configurating operators Only linear analysis are supported without On Demand Expansion. All coordinates are global coordinates. Euler Angles need to be included in the database. - Get the XX normal component (00 component).">

Inputs

Outputs

Configurations

Scripting

utility: forward

Inputs

Outputs

Configurations

Scripting

utility: incremental meshes container

Inputs

Outputs

Configurations

Scripting

utility: txt file to dpf

Inputs

Outputs

Configurations

Scripting

utility: bind support (fields container)

Inputs

Outputs

Configurations

Scripting

result: normal contact moment

Inputs

Outputs

Configurations

Scripting

utility: fields container get attribute

Inputs

Outputs

Configurations

Scripting

result: thermal strain XZ

Inputs

Outputs

Configurations

Scripting

utility: assemble scalars to vector

Inputs

Outputs

Configurations

Scripting

result: global eroded hourglass energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

utility: assemble scalars to vector fc

Inputs

Outputs

Configurations

Scripting

utility: assemble scalars to matrix

Inputs

Outputs

Configurations

Scripting

math: make one on component

Inputs

Outputs

Configurations

Scripting

mesh: from scopings

Inputs

Outputs

Configurations

Scripting

utility: assemble scalars to matrix fc

Inputs

Outputs

Configurations

Scripting

result: interface contact area (LSDyna)

Inputs

Outputs

Configurations

Scripting

mesh: extract from field

Inputs

Outputs

Configurations

Scripting

result: pres to field

Inputs

Outputs

Configurations

Scripting

result: part internal energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: part momentum (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: compute invariant terms rbd

Inputs

Outputs

Configurations

Scripting

utility: default value

Inputs

Outputs

Configurations

Scripting

averaging: elemental nodal to nodal elemental (fields container)

Inputs

Outputs

Configurations

Scripting

result: rms velocity

Inputs

Outputs

Configurations

Scripting

result: acceleration X

Inputs

Outputs

Configurations

Scripting

result: poynting vector

Inputs

Outputs

Configurations

Scripting

utility: extract sub fields container

Inputs

Outputs

Configurations

Scripting

result: total strain (LSDyna)

Inputs

Outputs

Configurations

Scripting

utility: extract sub meshes container

Inputs

Outputs

Configurations

Scripting

utility: extract sub scopings container

Inputs

Outputs

Configurations

Scripting

averaging: elemental difference (fields container)

Inputs

Outputs

Configurations

Scripting

utility: compute time scoping

Inputs

Outputs

Configurations

Scripting

result: static pressure

Inputs

Outputs

Configurations

Scripting

result: elastic strain

Inputs

Outputs

Configurations

Scripting

math: window bartlett (fields container)

Inputs

Outputs

Configurations

Scripting

result: turbulent viscosity

Inputs

Outputs

Configurations

Scripting

utility: python generator

Inputs

Outputs

Configurations

Scripting

utility: make overall

Inputs

Outputs

Configurations

Scripting

geo: elements volume

Inputs

Outputs

Configurations

Scripting

result: pressure

Inputs

Outputs

Configurations

Scripting

result: stress

Inputs

Outputs

Configurations

Scripting

result: stress X

Inputs

Outputs

Configurations

Scripting

result: gasket thermal closure XZ

Inputs

Outputs

Configurations

Scripting

result: stress Y

Inputs

Outputs

Configurations

Scripting

result: stress Z

Inputs

Outputs

Configurations

Scripting

result: gasket thermal closure XY

Inputs

Outputs

Configurations

Scripting

result: stress XY

Inputs

Outputs

Configurations

Scripting

compression: kMeans clustering

Inputs

Outputs

Configurations

Scripting

result: stress YZ

Inputs

Outputs

Configurations

Scripting

result: stress XZ

Inputs

Outputs

Configurations

Scripting

utility: merge string fields

Inputs

Outputs

Configurations

Scripting

result: stress principal 1

Inputs

Outputs

Configurations

Scripting

result: stress principal 2

Inputs

Outputs

Configurations

Scripting

result: tangential contact moment

Inputs

Outputs

Configurations

Scripting

invariant: convertnum bcs to nod

Inputs

Outputs

Configurations

Scripting

result: stress principal 3

Inputs

Outputs

Configurations

Scripting

result: stress von mises

Inputs

Outputs

Configurations

Scripting

result: gasket stress

Inputs

Outputs

Configurations

Scripting

result: contact fluid penetration pressure

Inputs

Outputs

Configurations

Scripting

result: gasket stress X

Inputs

Outputs

Configurations

Scripting

result: gasket stress XY

Inputs

Outputs

Configurations

Scripting

result: gasket deformation

Inputs

Outputs

Configurations

Scripting

result: gasket deformation X

Inputs

Outputs

Configurations

Scripting

geo: elements facets surfaces over time

Inputs

Outputs

Configurations

Scripting

result: gasket deformation XY

Inputs

Outputs

Configurations

Scripting

metadata: property field provider by property name

Inputs

Outputs

Configurations

Scripting

result: gasket deformation XZ

Inputs

Outputs

Configurations

Scripting

mesh: mesh provider

Inputs

Inputs

Outputs

Configurations

Scripting

utility: forward

Inputs

Outputs

Configurations

Scripting

utility: incremental meshes container

Inputs

Outputs

Configurations

Scripting

utility: txt file to dpf

Inputs

Outputs

Configurations

Scripting

utility: bind support (fields container)

Inputs

Outputs

Configurations

Scripting

result: normal contact moment

Inputs

Outputs

Configurations

Scripting

utility: fields container get attribute

Inputs

Outputs

Configurations

Scripting

result: thermal strain XZ

Inputs

Outputs

Configurations

Scripting

utility: assemble scalars to vector

Inputs

Outputs

Configurations

Scripting

result: global eroded hourglass energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

utility: assemble scalars to vector fc

Inputs

Outputs

Configurations

Scripting

utility: assemble scalars to matrix

Inputs

Outputs

Configurations

Scripting

math: make one on component

Inputs

Outputs

Configurations

Scripting

mesh: from scopings

Inputs

Outputs

Configurations

Scripting

utility: assemble scalars to matrix fc

Inputs

Outputs

Configurations

Scripting

result: interface contact area (LSDyna)

Inputs

Outputs

Configurations

Scripting

mesh: extract from field

Inputs

Outputs

Configurations

Scripting

result: pres to field

Inputs

Outputs

Configurations

Scripting

result: part internal energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: part momentum (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: compute invariant terms rbd

Inputs

Outputs

Configurations

Scripting

utility: default value

Inputs

Outputs

Configurations

Scripting

averaging: elemental nodal to nodal elemental (fields container)

Inputs

Outputs

Configurations

Scripting

result: rms velocity

Inputs

Outputs

Configurations

Scripting

result: acceleration X

Inputs

Outputs

Configurations

Scripting

result: poynting vector

Inputs

Outputs

Configurations

Scripting

utility: extract sub fields container

Inputs

Outputs

Configurations

Scripting

result: total strain (LSDyna)

Inputs

Outputs

Configurations

Scripting

utility: extract sub meshes container

Inputs

Outputs

Configurations

Scripting

utility: extract sub scopings container

Inputs

Outputs

Configurations

Scripting

averaging: elemental difference (fields container)

Inputs

Outputs

Configurations

Scripting

utility: compute time scoping

Inputs

Outputs

Configurations

Scripting

result: static pressure

Inputs

Outputs

Configurations

Scripting

result: elastic strain

Inputs

Outputs

Configurations

Scripting

math: window bartlett (fields container)

Inputs

Outputs

Configurations

Scripting

result: turbulent viscosity

Inputs

Outputs

Configurations

Scripting

utility: python generator

Inputs

Outputs

Configurations

Scripting

utility: make overall

Inputs

Outputs

Configurations

Scripting

geo: elements volume

Inputs

Outputs

Configurations

Scripting

result: pressure

Inputs

Outputs

Configurations

Scripting

result: stress

Inputs

Outputs

Configurations

Scripting

result: stress X

Inputs

Outputs

Configurations

Scripting

result: gasket thermal closure XZ

Inputs

Outputs

Configurations

Scripting

result: stress Y

Inputs

Outputs

Configurations

Scripting

result: stress Z

Inputs

Outputs

Configurations

Scripting

result: gasket thermal closure XY

Inputs

Outputs

Configurations

Scripting

result: stress XY

Inputs

Outputs

Configurations

Scripting

compression: kMeans clustering

Inputs

Outputs

Configurations

Scripting

result: stress YZ

Inputs

Outputs

Configurations

Scripting

result: stress XZ

Inputs

Outputs

Configurations

Scripting

utility: merge string fields

Inputs

Outputs

Configurations

Scripting

result: stress principal 1

Inputs

Outputs

Configurations

Scripting

result: stress principal 2

Inputs

Outputs

Configurations

Scripting

result: tangential contact moment

Inputs

Outputs

Configurations

Scripting

invariant: convertnum bcs to nod

Inputs

Outputs

Configurations

Scripting

result: stress principal 3

Inputs

Outputs

Configurations

Scripting

result: stress von mises

Inputs

Outputs

Configurations

Scripting

result: gasket stress

Inputs

Outputs

Configurations

Scripting

result: contact fluid penetration pressure

Inputs

Outputs

Configurations

Scripting

result: gasket stress X

Inputs

Outputs

Configurations

Scripting

result: gasket stress XY

Inputs

Outputs

Configurations

Scripting

result: gasket deformation

Inputs

Outputs

Configurations

Scripting

result: gasket deformation X

Inputs

Outputs

Configurations

Scripting

geo: elements facets surfaces over time

Inputs

Outputs

Configurations

Scripting

result: gasket deformation XY

Inputs

Outputs

Configurations

Scripting

metadata: property field provider by property name

Inputs

Outputs

Configurations

Scripting

result: gasket deformation XZ

Inputs

Outputs

Configurations

Scripting

mesh: mesh provider

Inputs

Outputs

Configurations

Scripting

result: gasket inelastic closure

Inputs

Outputs

Configurations

Scripting

result: gasket inelastic closure X

Inputs

Outputs

Configurations

Scripting

result: write cms rbd file

Inputs

Outputs

Configurations

Scripting

serialization: export symbolic workflow

Inputs

Outputs

Configurations

Scripting

result: gasket inelastic closure XY

Inputs

Outputs

Configurations

Scripting

result: plastic strain eqv

Inputs

Outputs

Configurations

Scripting

mesh: beam properties

Inputs

Outputs

Configurations

Scripting

result: gasket inelastic closure XZ

Inputs

Outputs

Configurations

Scripting

result: gasket thermal closure

Inputs

Outputs

Configurations

Scripting

result: gasket thermal closure X

Inputs

Outputs

Configurations

Scripting

result: elastic strain X

Inputs

Outputs

Configurations

Scripting

result: elastic strain Y

Inputs

Outputs

Configurations

Scripting

result: elastic strain Z

Inputs

Outputs

Configurations

Scripting

math: min/max over time

Inputs

Outputs

Configurations

Scripting

utility: merge fields containers

Inputs

Outputs

Configurations

Scripting

result: global energy ratio without eroded energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

utility: merge weighted fields containers

Inputs

Outputs

Configurations

Scripting

result: elastic strain XY

Inputs

Outputs

Configurations

Scripting

result: elastic strain YZ

Inputs

Outputs

Configurations

Scripting

result: interface contact mass (LSDyna)

Inputs

Outputs

Configurations

Scripting

invariant: eigen values (fields container)

Inputs

Outputs

Configurations

Scripting

result: elastic strain XZ

Inputs

Outputs

Configurations

Scripting

metadata: mesh property provider

Inputs

Outputs

Configurations

Scripting

result: rigid transformation

Inputs

Outputs

Configurations

Scripting

result: elastic strain principal 1

Inputs

Outputs

Configurations

Scripting

result: elastic strain principal 2

Inputs

Outputs

Configurations

Scripting

utility: merge scopings

Inputs

Outputs

Configurations

Scripting

result: elastic strain principal 3

Inputs

Outputs

Configurations

Scripting

result: cyclic analytic disp max

Inputs

Outputs

Configurations

Scripting

result: elastic strain eqv

Inputs

Outputs

Configurations

Scripting

result: electric flux density X

Inputs

Outputs

Configurations

Scripting

result: transform invariant terms rbd

Inputs

Outputs

Configurations

Scripting

result: elastic strain intensity

Inputs

Outputs

Configurations

Scripting

result: elastic strain max_shear

Inputs

Outputs

Configurations

Scripting

result: turbulent dissipation rate (omega)

Inputs

Outputs

Configurations

Scripting

averaging: to elemental (fields container)

Inputs

Outputs

Configurations

Scripting

result: plastic strain

Inputs

Outputs

Configurations

Scripting

scoping: transpose

Inputs

Outputs

Configurations

Scripting

result: mass fraction

Inputs

Outputs

Configurations

Scripting

result: plastic strain X

Inputs

Outputs

Configurations

Scripting

result: coordinates (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: plastic strain Y

Inputs

Outputs

Configurations

Scripting

filter: band pass (fields container)

Inputs

Outputs

Configurations

Scripting

geo: to polar coordinates

Inputs

Outputs

Configurations

Scripting

math: fft evaluation

Inputs

Outputs

Configurations

Scripting

result: global total energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: plastic strain Z

Inputs

Outputs

Configurations

Scripting

utility: merge materials

Inputs

Outputs

Configurations

Scripting

serialization: vtk export

Inputs

Outputs

Configurations

Scripting

result: dynamic viscosity

Inputs

Outputs

Configurations

Scripting

result: plastic strain XY

Inputs

Outputs

Configurations

Scripting

result: hydrostatic pressure

Inputs

Outputs

Configurations

Scripting

result: compute stress von mises

Inputs

Outputs

Configurations

Scripting

filter: low pass (scoping)

Inputs

Outputs

Configurations

Scripting

mesh: iso surfaces

Inputs

Outputs

Configurations

Scripting

result: plastic strain YZ

Inputs

Outputs

Configurations

Scripting

result: plastic strain XZ

Inputs

Outputs

Configurations

Scripting

result: workflow energy per harmonic

Inputs

Outputs

Configurations

Scripting

result: plastic strain principal 3

Inputs

Outputs

Configurations

Scripting

result: plastic strain intensity

Inputs

Outputs

Configurations

Scripting

result: plastic strain max_shear

Inputs

Outputs

Configurations

Scripting

filter: low pass (timefreq)

Inputs

Outputs

Configurations

Scripting

filter: band pass (field)

Inputs

Outputs

Configurations

Scripting

result: thermal strain X

Inputs

Outputs

Configurations

Scripting

result: thermal strain Y

Inputs

Outputs

Configurations

Scripting

result: equivalent radiated power

Inputs

Outputs

Configurations

Scripting

result: thermal strain Z

Inputs

Outputs

Configurations

Scripting

utility: merge scopings containers

Inputs

Outputs

Configurations

Scripting

math: accumulate over label

Inputs

Outputs

Configurations

Scripting

result: thermal strain XY

Inputs

Outputs

Configurations

Scripting

result: thermal strain YZ

Inputs

Outputs

Configurations

Scripting

result: thermal strain principal 1

Inputs

Outputs

Configurations

Scripting

result: thermal strain principal 2

Inputs

Outputs

Configurations

Scripting

result: thermal strain principal 3

Inputs

Outputs

Configurations

Scripting

serialization: serializer

Inputs

Outputs

Configurations

Scripting

result: wall shear stress

Inputs

Outputs

Configurations

Scripting

result: velocity

Inputs

Outputs

Configurations

Scripting

result: reaction force

Inputs

Outputs

Configurations

Scripting

result: velocity X

Inputs

Outputs

Configurations

Scripting

result: reaction force X

Inputs

Outputs

Configurations

Scripting

geo: cartesian to spherical coordinates (fields container)

Inputs

Outputs

Configurations

Scripting

result: global external work (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: acceleration

Inputs

Outputs

Configurations

Scripting

result: element centroids

Inputs

Outputs

Configurations

Scripting

result: acceleration Z

Inputs

Outputs

Configurations

Scripting

scoping: rescope (fields container)

Inputs

Outputs

Configurations

Scripting

serialization: workflow to workflow_topology

Inputs

Outputs

Configurations

Scripting

result: displacement

Inputs

Outputs

Configurations

Scripting

result: electric field Z

Inputs

Outputs

Configurations

Scripting

result: displacement X

Inputs

Outputs

Configurations

Scripting

averaging: force_summation

Inputs

Outputs

Configurations

Scripting

result: displacement Y

Inputs

Outputs

Configurations

Scripting

result: electric field X

Inputs

Outputs

Configurations

Scripting

result: displacement Z

Inputs

Outputs

Configurations

Scripting

result: heat flux X

Inputs

Outputs

Configurations

Scripting

result: heat flux Y

Inputs

Outputs

Configurations

Scripting

result: electric field

Inputs

Outputs

Configurations

Scripting

result: total contact moment

Inputs

Outputs

Configurations

Scripting

result: heat flux Z

Inputs

Outputs

Configurations

Scripting

serialization: serialize to hdf5

Inputs

Outputs

Configurations

Scripting

result: element orientations

Inputs

Outputs

Configurations

Scripting

result: element orientations Y

Inputs

Outputs

Configurations

Scripting

result: magnetic field Z

Inputs

Outputs

Configurations

Scripting

averaging: elemental mean (fields container)

Inputs

Outputs

Configurations

Scripting

result: magnetic field Y

Inputs

Outputs

Configurations

Scripting

mesh: split mesh wrt property

Inputs

Outputs

Configurations

Scripting

result: element orientations Z

Inputs

Outputs

Configurations

Scripting

result: temperature gradient

Inputs

Outputs

Configurations

Scripting

result: cgns result provider

Inputs

Outputs

Configurations

Scripting

result: temperature gradient X

Inputs

Outputs

Configurations

Scripting

result: entropy

Inputs

Outputs

Configurations

Scripting

result: volume fraction

Inputs

Outputs

Configurations

Scripting

result: temperature gradient Y

Inputs

Outputs

Configurations

Scripting

result: temperature gradient Z

Inputs

Outputs

Configurations

Scripting

result: elemental summable miscellaneous data

Inputs

Outputs

Configurations

Scripting

result: magnetic field

Inputs

Outputs

Configurations

Scripting

result: compute stress Z

Inputs

Outputs

Configurations

Scripting

result: part eroded kinetic energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: magnetic field X

Inputs

Outputs

Configurations

Scripting

serialization: string deserializer

Inputs

Outputs

Configurations

Scripting

utility: merge meshes containers

Inputs

Outputs

Configurations

Scripting

result: magnetic flux density

Inputs

Outputs

Configurations

Scripting

result: magnetic flux density X

Inputs

Outputs

Configurations

Scripting

result: magnetic flux density Y

Inputs

Outputs

Configurations

Scripting

result: nodal force

Inputs

Outputs

Configurations

Scripting

result: magnetic flux density Z

Inputs

Outputs

Configurations

Scripting

result: electric field Y

Inputs

Outputs

Configurations

Scripting

result: electric flux density Z

Inputs

Outputs

Configurations

Scripting

result: element nodal forces

Inputs

Outputs

Configurations

Scripting

result: compute total strain Z

Outputs

Configurations

Scripting

result: gasket inelastic closure

Inputs

Outputs

Configurations

Scripting

result: gasket inelastic closure X

Inputs

Outputs

Configurations

Scripting

result: write cms rbd file

Inputs

Outputs

Configurations

Scripting

serialization: export symbolic workflow

Inputs

Outputs

Configurations

Scripting

result: gasket inelastic closure XY

Inputs

Outputs

Configurations

Scripting

result: plastic strain eqv

Inputs

Outputs

Configurations

Scripting

mesh: beam properties

Inputs

Outputs

Configurations

Scripting

result: gasket inelastic closure XZ

Inputs

Outputs

Configurations

Scripting

result: gasket thermal closure

Inputs

Outputs

Configurations

Scripting

result: gasket thermal closure X

Inputs

Outputs

Configurations

Scripting

result: elastic strain X

Inputs

Outputs

Configurations

Scripting

result: elastic strain Y

Inputs

Outputs

Configurations

Scripting

result: elastic strain Z

Inputs

Outputs

Configurations

Scripting

math: min/max over time

Inputs

Outputs

Configurations

Scripting

utility: merge fields containers

Inputs

Outputs

Configurations

Scripting

result: global energy ratio without eroded energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

utility: merge weighted fields containers

Inputs

Outputs

Configurations

Scripting

result: elastic strain XY

Inputs

Outputs

Configurations

Scripting

result: elastic strain YZ

Inputs

Outputs

Configurations

Scripting

result: interface contact mass (LSDyna)

Inputs

Outputs

Configurations

Scripting

invariant: eigen values (fields container)

Inputs

Outputs

Configurations

Scripting

result: elastic strain XZ

Inputs

Outputs

Configurations

Scripting

metadata: mesh property provider

Inputs

Outputs

Configurations

Scripting

result: rigid transformation

Inputs

Outputs

Configurations

Scripting

result: elastic strain principal 1

Inputs

Outputs

Configurations

Scripting

result: elastic strain principal 2

Inputs

Outputs

Configurations

Scripting

utility: merge scopings

Inputs

Outputs

Configurations

Scripting

result: elastic strain principal 3

Inputs

Outputs

Configurations

Scripting

result: cyclic analytic disp max

Inputs

Outputs

Configurations

Scripting

result: elastic strain eqv

Inputs

Outputs

Configurations

Scripting

result: electric flux density X

Inputs

Outputs

Configurations

Scripting

result: transform invariant terms rbd

Inputs

Outputs

Configurations

Scripting

result: elastic strain intensity

Inputs

Outputs

Configurations

Scripting

result: elastic strain max_shear

Inputs

Outputs

Configurations

Scripting

result: turbulent dissipation rate (omega)

Inputs

Outputs

Configurations

Scripting

averaging: to elemental (fields container)

Inputs

Outputs

Configurations

Scripting

result: plastic strain

Inputs

Outputs

Configurations

Scripting

scoping: transpose

Inputs

Outputs

Configurations

Scripting

result: mass fraction

Inputs

Outputs

Configurations

Scripting

result: plastic strain X

Inputs

Outputs

Configurations

Scripting

result: coordinates (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: plastic strain Y

Inputs

Outputs

Configurations

Scripting

filter: band pass (fields container)

Inputs

Outputs

Configurations

Scripting

geo: to polar coordinates

Inputs

Outputs

Configurations

Scripting

math: fft evaluation

Inputs

Outputs

Configurations

Scripting

result: global total energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: plastic strain Z

Inputs

Outputs

Configurations

Scripting

utility: merge materials

Inputs

Outputs

Configurations

Scripting

serialization: vtk export

Inputs

Outputs

Configurations

Scripting

result: dynamic viscosity

Inputs

Outputs

Configurations

Scripting

result: plastic strain XY

Inputs

Outputs

Configurations

Scripting

result: hydrostatic pressure

Inputs

Outputs

Configurations

Scripting

result: compute stress von mises

Inputs

Outputs

Configurations

Scripting

filter: low pass (scoping)

Inputs

Outputs

Configurations

Scripting

mesh: iso surfaces

Inputs

Outputs

Configurations

Scripting

result: plastic strain YZ

Inputs

Outputs

Configurations

Scripting

result: plastic strain XZ

Inputs

Outputs

Configurations

Scripting

result: workflow energy per harmonic

Inputs

Outputs

Configurations

Scripting

result: plastic strain principal 3

Inputs

Outputs

Configurations

Scripting

result: plastic strain intensity

Inputs

Outputs

Configurations

Scripting

result: plastic strain max_shear

Inputs

Outputs

Configurations

Scripting

filter: low pass (timefreq)

Inputs

Outputs

Configurations

Scripting

filter: band pass (field)

Inputs

Outputs

Configurations

Scripting

result: thermal strain X

Inputs

Outputs

Configurations

Scripting

result: thermal strain Y

Inputs

Outputs

Configurations

Scripting

result: equivalent radiated power

Inputs

Outputs

Configurations

Scripting

result: thermal strain Z

Inputs

Outputs

Configurations

Scripting

utility: merge scopings containers

Inputs

Outputs

Configurations

Scripting

math: accumulate over label

Inputs

Outputs

Configurations

Scripting

result: thermal strain XY

Inputs

Outputs

Configurations

Scripting

result: thermal strain YZ

Inputs

Outputs

Configurations

Scripting

result: thermal strain principal 1

Inputs

Outputs

Configurations

Scripting

result: thermal strain principal 2

Inputs

Outputs

Configurations

Scripting

result: thermal strain principal 3

Inputs

Outputs

Configurations

Scripting

serialization: serializer

Inputs

Outputs

Configurations

Scripting

result: wall shear stress

Inputs

Outputs

Configurations

Scripting

result: velocity

Inputs

Outputs

Configurations

Scripting

result: reaction force

Inputs

Outputs

Configurations

Scripting

result: velocity X

Inputs

Outputs

Configurations

Scripting

result: reaction force X

Inputs

Outputs

Configurations

Scripting

geo: cartesian to spherical coordinates (fields container)

Inputs

Outputs

Configurations

Scripting

result: global external work (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: acceleration

Inputs

Outputs

Configurations

Scripting

result: element centroids

Inputs

Outputs

Configurations

Scripting

result: acceleration Z

Inputs

Outputs

Configurations

Scripting

scoping: rescope (fields container)

Inputs

Outputs

Configurations

Scripting

serialization: workflow to workflow_topology

Inputs

Outputs

Configurations

Scripting

result: displacement

Inputs

Outputs

Configurations

Scripting

result: electric field Z

Inputs

Outputs

Configurations

Scripting

result: displacement X

Inputs

Outputs

Configurations

Scripting

averaging: force_summation

Inputs

Outputs

Configurations

Scripting

result: displacement Y

Inputs

Outputs

Configurations

Scripting

result: electric field X

Inputs

Outputs

Configurations

Scripting

result: displacement Z

Inputs

Outputs

Configurations

Scripting

result: heat flux X

Inputs

Outputs

Configurations

Scripting

result: heat flux Y

Inputs

Outputs

Configurations

Scripting

result: electric field

Inputs

Outputs

Configurations

Scripting

result: total contact moment

Inputs

Outputs

Configurations

Scripting

result: heat flux Z

Inputs

Outputs

Configurations

Scripting

serialization: serialize to hdf5

Inputs

Outputs

Configurations

Scripting

result: element orientations

Inputs

Outputs

Configurations

Scripting

result: element orientations Y

Inputs

Outputs

Configurations

Scripting

result: magnetic field Z

Inputs

Outputs

Configurations

Scripting

averaging: elemental mean (fields container)

Inputs

Outputs

Configurations

Scripting

result: magnetic field Y

Inputs

Outputs

Configurations

Scripting

mesh: split mesh wrt property

Inputs

Outputs

Configurations

Scripting

result: element orientations Z

Inputs

Outputs

Configurations

Scripting

result: temperature gradient

Inputs

Outputs

Configurations

Scripting

result: cgns result provider

Inputs

Outputs

Configurations

Scripting

result: temperature gradient X

Inputs

Outputs

Configurations

Scripting

result: entropy

Inputs

Outputs

Configurations

Scripting

result: volume fraction

Inputs

Outputs

Configurations

Scripting

result: temperature gradient Y

Inputs

Outputs

Configurations

Scripting

result: temperature gradient Z

Inputs

Outputs

Configurations

Scripting

result: elemental summable miscellaneous data

Inputs

Outputs

Configurations

Scripting

result: magnetic field

Inputs

Outputs

Configurations

Scripting

result: compute stress Z

Inputs

Outputs

Configurations

Scripting

result: part eroded kinetic energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: magnetic field X

Inputs

Outputs

Configurations

Scripting

serialization: string deserializer

Inputs

Outputs

Configurations

Scripting

utility: merge meshes containers

Inputs

Outputs

Configurations

Scripting

result: magnetic flux density

Inputs

Outputs

Configurations

Scripting

result: magnetic flux density X

Inputs

Outputs

Configurations

Scripting

result: magnetic flux density Y

Inputs

Outputs

Configurations

Scripting

result: nodal force

Inputs

Outputs

Configurations

Scripting

result: magnetic flux density Z

Inputs

Outputs

Configurations

Scripting

result: electric field Y

Inputs

Outputs

Configurations

Scripting

result: electric flux density Z

Inputs

Outputs

Configurations

Scripting

result: element nodal forces

Inputs

Outputs

Configurations

Scripting

result: compute total strain Z

Configurating operators Only linear analysis are supported without On Demand Expansion. All coordinates are global coordinates. Euler Angles need to be included in the database. - Get the ZZ normal component (22 component).">

Inputs

Outputs

Configurations

Scripting

result: structural temperature

Inputs

Outputs

Configurations

Scripting

metadata: result info provider

Inputs

Outputs

Configurations

Scripting

mesh: skin (tri mesh)

Inputs

Outputs

Configurations

Scripting

result: stress ratio

Inputs

Outputs

Configurations

Scripting

filter: band pass (timescoping)

Inputs

Outputs

Configurations

Scripting

compression: sketch matrix

Inputs

Outputs

Configurations

Scripting

result: accu eqv plastic strain

Inputs

Outputs

Configurations

Scripting

result: plastic state variable

Inputs

Outputs

Configurations

Scripting

result: accu eqv creep strain

Inputs

Outputs

Configurations

Scripting

result: plastic strain energy density

Inputs

Outputs

Configurations

Scripting

result: material property of element

Inputs

Outputs

Configurations

Scripting

result: creep strain energy density

Inputs

Outputs

Configurations

Scripting

result: erp radiation efficiency

Inputs

Outputs

Configurations

Scripting

result: elastic strain energy density

Inputs

Outputs

Configurations

Scripting

result: contact status

Inputs

Outputs

Configurations

Scripting

serialization: field to csv

Inputs

Outputs

Configurations

Scripting

result: contact penetration

Inputs

Outputs

Configurations

Scripting

result: contact pressure

Inputs

Outputs

Configurations

Scripting

result: contact friction stress

Inputs

Outputs

Configurations

Scripting

result: contact total stress

Inputs

Outputs

Configurations

Scripting

result: contact sliding distance

Inputs

Outputs

Configurations

Scripting

utility: merge generic data container

Inputs

Outputs

Configurations

Scripting

result: global joint internal energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: cyclic expanded element nodal forces

Inputs

Outputs

Configurations

Scripting

serialization: vtk to fields

Inputs

Outputs

Configurations

Scripting

result: contact gap distance

Inputs

Outputs

Configurations

Scripting

utility: merge any objects

Inputs

Outputs

Configurations

Scripting

result: contact surface heat flux

Inputs

Outputs

Configurations

Scripting

result: elemental volume

Inputs

Outputs

Configurations

Scripting

result: artificial hourglass energy

Inputs

Outputs

Configurations

Scripting

result: kinetic energy

Inputs

Outputs

Configurations

Scripting

result: thermal dissipation energy

Inputs

Outputs

Configurations

Scripting

result: total mass

Inputs

Outputs

Configurations

Scripting

result: rms static pressure

Inputs

Outputs

Configurations

Scripting

result: swelling strains

Inputs

Outputs

Configurations

Scripting

result: total contact force

Inputs

Outputs

Configurations

Scripting

result: temperature

Inputs

Outputs

Configurations

Scripting

result: compute stress

Inputs

Outputs

Configurations

Scripting

result: raw displacement

Inputs

Outputs

Configurations

Scripting

result: raw reaction force

Inputs

Outputs

Configurations

Scripting

result: turbulent kinetic energy (k)

Inputs

Outputs

Configurations

Scripting

result: electric potential

Inputs

Outputs

Configurations

Scripting

result: thickness

Inputs

Outputs

Configurations

Scripting

result: mapdl run

Inputs

Outputs

Configurations

Scripting

result: equivalent mass

Inputs

Outputs

Configurations

Scripting

result: custom result

Inputs

Outputs

Configurations

Scripting

result: elemental heat generation

Inputs

Outputs

Configurations

Scripting

result: magnetic vector potential

Inputs

Outputs

Configurations

Scripting

result: joint force reaction

Inputs

Outputs

Configurations

Scripting

result: joint moment reaction

Inputs

Outputs

Configurations

Scripting

result: beam T shear force (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: joint relative displacement

Inputs

Outputs

Configurations

Scripting

result: joint relative rotation

Inputs

Outputs

Configurations

Scripting

result: joint relative velocity

Inputs

Outputs

Configurations

Scripting

result: joint relative acceleration

Inputs

Outputs

Configurations

Scripting

result: joint relative angular acceleration

Inputs

Outputs

Configurations

Scripting

result: global internal energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

serialization: txt to data tree

Inputs

Outputs

Configurations

Scripting

result: thermal strains eqv

Inputs

Outputs

Configurations

Scripting

result: elemental non summable miscellaneous data

Inputs

Outputs

Configurations

Scripting

utility: merge supports

Inputs

Outputs

Configurations

Scripting

result: global kinetic energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

math: matrix inverse

Inputs

Outputs

Configurations

Scripting

result: global time step (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: global rigid body stopper energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

geo: cartesian to spherical coordinates

Inputs

Outputs

Configurations

Scripting

result: global spring and damper energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: beam T bending moment (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: global hourglass energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: global system damping energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: global eroded kinetic energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: global energy ratio (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: global added mass (LSDyna)

Inputs

Outputs

Configurations

Scripting

mapping: on reduced coordinates

Inputs

Outputs

Configurations

Scripting

invariant: principal invariants (fields container)

Inputs

Outputs

Configurations

Scripting

result: global added mass (percentage) (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: global center of mass (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: beam S shear force (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: beam S bending moment (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: beam RS shear stress (LSDyna)

Inputs

Outputs

Configurations

Scripting

utility: merge fields into field matrix

Inputs

Outputs

Configurations

Scripting

result: beam axial plastic strain (LSDyna)

Inputs

Outputs

Configurations

Scripting

invariant: von mises eqv (field)

Inputs

Outputs

Configurations

Scripting

invariant: segalman von mises eqv (field)

Inputs

Outputs

Configurations

Scripting

result: part eroded internal energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: part kinetic energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

scoping: on mesh property

Inputs

Outputs

Configurations

Scripting

scoping: from mesh

Inputs

Outputs

Configurations

Scripting

result: part added mass (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: part hourglass energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: part rigid body velocity (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: interface contact force (LSDyna)

Inputs

Outputs

Configurations

Scripting

min_max: time of max

Inputs

Outputs

Configurations

Scripting

scoping: nodes in mesh

Inputs

Outputs

Configurations

Scripting

metadata: cyclic support provider

Inputs

Outputs

Configurations

Scripting

result: interface resultant contact force (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: interface contact moment (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: density

Inputs

Outputs

Configurations

Scripting

result: spectrum data

Inputs

Outputs

Configurations

Scripting

averaging: elemental to elemental nodal (fields container)

Inputs

Outputs

Configurations

Scripting

result: total pressure

Inputs

Outputs

Configurations

Scripting

result: mean velocity

Inputs

Outputs

Configurations

Scripting

result: Lighthill tensor divergence

Inputs

Outputs

Configurations

Scripting

result: mass flow rate

Inputs

Outputs

Configurations

Scripting

result: mach number

Inputs

Outputs

Configurations

Scripting

result: rms temperature

Inputs

Outputs

Configurations

Scripting

scoping: scoping get attribute

Inputs

Outputs

Configurations

Scripting

result: read cms_rbd file

Inputs

Outputs

Configurations

Scripting

result: mean temperature

Inputs

Outputs

Configurations

Scripting

result: surface heat rate

Inputs

Outputs

Configurations

Scripting

result: thermal conductivity

Inputs

Outputs

Configurations

Scripting

utility: extract scoping

Inputs

Outputs

Configurations

Scripting

result: specific heat

Inputs

Outputs

Configurations

Scripting

result: turbulent dissipation rate (epsilon)

Inputs

Outputs

Configurations

Scripting

metadata: time freq provider

Inputs

Outputs

Configurations

Scripting

metadata: mesh info provider

Inputs

Outputs

Configurations

Scripting

result: von mises stresses as mechanical

Inputs

Outputs

Configurations

Scripting

metadata: streams provider

Inputs

Outputs

Configurations

Scripting

result: poynting vector surface

Inputs

Outputs

Configurations

Scripting

metadata: datasources provider

Inputs

Outputs

Configurations

Scripting

scoping: rescope

Inputs

Outputs

Configurations

Scripting

filter: low pass (timescoping)

Inputs

Outputs

Configurations

Scripting

utility: data sources get attribute

Inputs

Outputs

Configurations

Scripting

mesh: meshes provider

Inputs

Outputs

Configurations

Scripting

metadata: mesh selection manager provider

Inputs

Outputs

Configurations

Scripting

utility: for each

Inputs

Outputs

Configurations

Scripting

metadata: boundary condition provider

Inputs

Outputs

Configurations

Scripting

utility: merge property fields

Inputs

Outputs

Configurations

Scripting

metadata: cyclic analysis?

Inputs

Outputs

Configurations

Scripting

metadata: material support provider

Inputs

Outputs

Configurations

Scripting

scoping: on named selection

Inputs

Outputs

Configurations

Scripting

scoping: reduce sampling scoping

Inputs

Outputs

Configurations

Scripting

math: accumulation per scoping

Inputs

Outputs

Configurations

Scripting

metadata: real constants provider

Inputs

Outputs

Configurations

Scripting

metadata: coordinate system data provider

Inputs

Outputs

Configurations

Scripting

result: coordinate system

Inputs

Outputs

Configurations

Scripting

logic: splitter::streams

Inputs

Outputs

Configurations

Scripting

serialization: hdf5dpf custom read

Inputs

Outputs

Configurations

Scripting

result: nodal_to_global

Inputs

Outputs

Configurations

Scripting

scoping: rescope custom type field

Inputs

Outputs

Configurations

Scripting

result: global_to_nodal

Inputs

Outputs

Configurations

Scripting

min_max: min max by entity over time

Inputs

Outputs

Configurations

Scripting

result: rigid transformation provider

Inputs

Outputs

Configurations

Scripting

min_max: max over time

Inputs

Outputs

Configurations

Scripting

scoping: connectivity ids

Inputs

Outputs

Configurations

Scripting

utility: remote workflow instantiate

Inputs

Outputs

Configurations

Scripting

utility: remote operator instantiate

Inputs

Outputs

Configurations

Scripting

math: compute residual and error

Inputs

Outputs

Configurations

Scripting

result: structural temperature

Inputs

Outputs

Configurations

Scripting

metadata: result info provider

Inputs

Outputs

Configurations

Scripting

mesh: skin (tri mesh)

Inputs

Outputs

Configurations

Scripting

result: stress ratio

Inputs

Outputs

Configurations

Scripting

filter: band pass (timescoping)

Inputs

Outputs

Configurations

Scripting

compression: sketch matrix

Inputs

Outputs

Configurations

Scripting

result: accu eqv plastic strain

Inputs

Outputs

Configurations

Scripting

result: plastic state variable

Inputs

Outputs

Configurations

Scripting

result: accu eqv creep strain

Inputs

Outputs

Configurations

Scripting

result: plastic strain energy density

Inputs

Outputs

Configurations

Scripting

result: material property of element

Inputs

Outputs

Configurations

Scripting

result: creep strain energy density

Inputs

Outputs

Configurations

Scripting

result: erp radiation efficiency

Inputs

Outputs

Configurations

Scripting

result: elastic strain energy density

Inputs

Outputs

Configurations

Scripting

result: contact status

Inputs

Outputs

Configurations

Scripting

serialization: field to csv

Inputs

Outputs

Configurations

Scripting

result: contact penetration

Inputs

Outputs

Configurations

Scripting

result: contact pressure

Inputs

Outputs

Configurations

Scripting

result: contact friction stress

Inputs

Outputs

Configurations

Scripting

result: contact total stress

Inputs

Outputs

Configurations

Scripting

result: contact sliding distance

Inputs

Outputs

Configurations

Scripting

utility: merge generic data container

Inputs

Outputs

Configurations

Scripting

result: global joint internal energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: cyclic expanded element nodal forces

Inputs

Outputs

Configurations

Scripting

serialization: vtk to fields

Inputs

Outputs

Configurations

Scripting

result: contact gap distance

Inputs

Outputs

Configurations

Scripting

utility: merge any objects

Inputs

Outputs

Configurations

Scripting

result: contact surface heat flux

Inputs

Outputs

Configurations

Scripting

result: elemental volume

Inputs

Outputs

Configurations

Scripting

result: artificial hourglass energy

Inputs

Outputs

Configurations

Scripting

result: kinetic energy

Inputs

Outputs

Configurations

Scripting

result: thermal dissipation energy

Inputs

Outputs

Configurations

Scripting

result: total mass

Inputs

Outputs

Configurations

Scripting

result: rms static pressure

Inputs

Outputs

Configurations

Scripting

result: swelling strains

Inputs

Outputs

Configurations

Scripting

result: total contact force

Inputs

Outputs

Configurations

Scripting

result: temperature

Inputs

Outputs

Configurations

Scripting

result: compute stress

Inputs

Outputs

Configurations

Scripting

result: raw displacement

Inputs

Outputs

Configurations

Scripting

result: raw reaction force

Inputs

Outputs

Configurations

Scripting

result: turbulent kinetic energy (k)

Inputs

Outputs

Configurations

Scripting

result: electric potential

Inputs

Outputs

Configurations

Scripting

result: thickness

Inputs

Outputs

Configurations

Scripting

result: mapdl run

Inputs

Outputs

Configurations

Scripting

result: equivalent mass

Inputs

Outputs

Configurations

Scripting

result: custom result

Inputs

Outputs

Configurations

Scripting

result: elemental heat generation

Inputs

Outputs

Configurations

Scripting

result: magnetic vector potential

Inputs

Outputs

Configurations

Scripting

result: joint force reaction

Inputs

Outputs

Configurations

Scripting

result: joint moment reaction

Inputs

Outputs

Configurations

Scripting

result: beam T shear force (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: joint relative displacement

Inputs

Outputs

Configurations

Scripting

result: joint relative rotation

Inputs

Outputs

Configurations

Scripting

result: joint relative velocity

Inputs

Outputs

Configurations

Scripting

result: joint relative acceleration

Inputs

Outputs

Configurations

Scripting

result: joint relative angular acceleration

Inputs

Outputs

Configurations

Scripting

result: global internal energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

serialization: txt to data tree

Inputs

Outputs

Configurations

Scripting

result: thermal strains eqv

Inputs

Outputs

Configurations

Scripting

result: elemental non summable miscellaneous data

Inputs

Outputs

Configurations

Scripting

utility: merge supports

Inputs

Outputs

Configurations

Scripting

result: global kinetic energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

math: matrix inverse

Inputs

Outputs

Configurations

Scripting

result: global time step (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: global rigid body stopper energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

geo: cartesian to spherical coordinates

Inputs

Outputs

Configurations

Scripting

result: global spring and damper energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: beam T bending moment (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: global hourglass energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: global system damping energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: global eroded kinetic energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: global energy ratio (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: global added mass (LSDyna)

Inputs

Outputs

Configurations

Scripting

mapping: on reduced coordinates

Inputs

Outputs

Configurations

Scripting

invariant: principal invariants (fields container)

Inputs

Outputs

Configurations

Scripting

result: global added mass (percentage) (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: global center of mass (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: beam S shear force (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: beam S bending moment (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: beam RS shear stress (LSDyna)

Inputs

Outputs

Configurations

Scripting

utility: merge fields into field matrix

Inputs

Outputs

Configurations

Scripting

result: beam axial plastic strain (LSDyna)

Inputs

Outputs

Configurations

Scripting

invariant: von mises eqv (field)

Inputs

Outputs

Configurations

Scripting

invariant: segalman von mises eqv (field)

Inputs

Outputs

Configurations

Scripting

result: part eroded internal energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: part kinetic energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

scoping: on mesh property

Inputs

Outputs

Configurations

Scripting

scoping: from mesh

Inputs

Outputs

Configurations

Scripting

result: part added mass (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: part hourglass energy (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: part rigid body velocity (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: interface contact force (LSDyna)

Inputs

Outputs

Configurations

Scripting

min_max: time of max

Inputs

Outputs

Configurations

Scripting

scoping: nodes in mesh

Inputs

Outputs

Configurations

Scripting

metadata: cyclic support provider

Inputs

Outputs

Configurations

Scripting

result: interface resultant contact force (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: interface contact moment (LSDyna)

Inputs

Outputs

Configurations

Scripting

result: density

Inputs

Outputs

Configurations

Scripting

result: spectrum data

Inputs

Outputs

Configurations

Scripting

averaging: elemental to elemental nodal (fields container)

Inputs

Outputs

Configurations

Scripting

result: total pressure

Inputs

Outputs

Configurations

Scripting

result: mean velocity

Inputs

Outputs

Configurations

Scripting

result: Lighthill tensor divergence

Inputs

Outputs

Configurations

Scripting

result: mass flow rate

Inputs

Outputs

Configurations

Scripting

result: mach number

Inputs

Outputs

Configurations

Scripting

result: rms temperature

Inputs

Outputs

Configurations

Scripting

scoping: scoping get attribute

Inputs

Outputs

Configurations

Scripting

result: read cms_rbd file

Inputs

Outputs

Configurations

Scripting

result: mean temperature

Inputs

Outputs

Configurations

Scripting

result: surface heat rate

Inputs

Outputs

Configurations

Scripting

result: thermal conductivity

Inputs

Outputs

Configurations

Scripting

utility: extract scoping

Inputs

Outputs

Configurations

Scripting

result: specific heat

Inputs

Outputs

Configurations

Scripting

result: turbulent dissipation rate (epsilon)

Inputs

Outputs

Configurations

Scripting

metadata: time freq provider

Inputs

Outputs

Configurations

Scripting

metadata: mesh info provider

Inputs

Outputs

Configurations

Scripting

result: von mises stresses as mechanical

Inputs

Outputs

Configurations

Scripting

metadata: streams provider

Inputs

Outputs

Configurations

Scripting

result: poynting vector surface

Inputs

Outputs

Configurations

Scripting

metadata: datasources provider

Inputs

Outputs

Configurations

Scripting

scoping: rescope

Inputs

Outputs

Configurations

Scripting

filter: low pass (timescoping)

Inputs

Outputs

Configurations

Scripting

utility: data sources get attribute

Inputs

Outputs

Configurations

Scripting

mesh: meshes provider

Inputs

Outputs

Configurations

Scripting

metadata: mesh selection manager provider

Inputs

Outputs

Configurations

Scripting

utility: for each

Inputs

Outputs

Configurations

Scripting

metadata: boundary condition provider

Inputs

Outputs

Configurations

Scripting

utility: merge property fields

Inputs

Outputs

Configurations

Scripting

metadata: cyclic analysis?

Inputs

Outputs

Configurations

Scripting

metadata: material support provider

Inputs

Outputs

Configurations

Scripting

scoping: on named selection

Inputs

Outputs

Configurations

Scripting

scoping: reduce sampling scoping

Inputs

Outputs

Configurations

Scripting

math: accumulation per scoping

Inputs

Outputs

Configurations

Scripting

metadata: real constants provider

Inputs

Outputs

Configurations

Scripting

metadata: coordinate system data provider

Inputs

Outputs

Configurations

Scripting

result: coordinate system

Inputs

Outputs

Configurations

Scripting

logic: splitter::streams

Inputs

Outputs

Configurations

Scripting

serialization: hdf5dpf custom read

Inputs

Outputs

Configurations

Scripting

result: nodal_to_global

Inputs

Outputs

Configurations

Scripting

scoping: rescope custom type field

Inputs

Outputs

Configurations

Scripting

result: global_to_nodal

Inputs

Outputs

Configurations

Scripting

min_max: min max by entity over time

Inputs

Outputs

Configurations

Scripting

result: rigid transformation provider

Inputs

Outputs

Configurations

Scripting

min_max: max over time

Inputs

Outputs

Configurations

Scripting

scoping: connectivity ids

Inputs

Outputs

Configurations

Scripting

utility: remote workflow instantiate

Inputs

Outputs

Configurations

Scripting

utility: remote operator instantiate

Inputs

Outputs

Configurations

Scripting

math: compute residual and error

Configurating operators 3 for normalized by the max over all time steps of the first entry or residuals depending on the reference field option" types="int32" optional="true"ellipsis="false"inplace="false">

Outputs

Configurations

Scripting

result: add rigid body motion (fields container)

Inputs

Outputs

Configurations

Scripting

utility: merge time freq supports

Inputs

Outputs

Configurations

Scripting

min_max: incremental over fields container

Inputs

Outputs

Configurations

Scripting

scoping: split on property type

Inputs

Outputs

Configurations

Scripting

utility: overlap fields

Inputs

Outputs

Configurations

Scripting

averaging: elemental nodal to nodal elemental (field)

Inputs

Outputs

Configurations

Scripting

scoping: adapt with scopings container

Inputs

Outputs

Configurations

Scripting

utility: change shell layers

Inputs

Outputs

Configurations

Scripting

utility: merge meshes

Inputs

Outputs

Configurations

Scripting

utility: merge fields

Inputs

Outputs

Configurations

Scripting

utility: merge weighted fields

Inputs

Outputs

Configurations

Scripting

utility: merge fc to fc field matrices

Inputs

Outputs

Configurations

Scripting

filter: high pass (field)

Inputs

Outputs

Configurations

Scripting

utility: weighted merge fields by label

Inputs

Outputs

Configurations

Scripting

min_max: max by component

Inputs

Outputs

Configurations

Scripting

utility: merge fields by label

Inputs

Outputs

Configurations

Scripting

averaging: elemental to elemental nodal (field)

Inputs

Outputs

Configurations

Scripting

min_max: min max by entity

Inputs

Outputs

Configurations

Scripting

utility: merge collections

Inputs

Outputs

Configurations

Scripting

serialization: workflow to pydpf

Inputs

Outputs

Configurations

Scripting

logic: merge solid and shell fields

Inputs

Outputs

Configurations

Scripting

min_max: min over time

Inputs

Outputs

Configurations

Scripting

geo: element nodal contribution

Inputs

Outputs

Configurations

Scripting

min_max: over field

Inputs

Outputs

Configurations

Scripting

result: transient rayleigh integration

Inputs

Outputs

Configurations

Scripting

min_max: over fields container

Inputs

Outputs

Configurations

Scripting

min_max: over label

Inputs

Outputs

Configurations

Scripting

min_max: min by component

Inputs

Outputs

Configurations

Scripting

math: average over label

Inputs

Outputs

Configurations

Scripting

math: accumulate level over label

Inputs

Outputs

Configurations

Scripting

serialization: serializer to string

Inputs

Outputs

Configurations

Scripting

serialization: deserializer

Inputs

Outputs

Configurations

Scripting

result: cyclic expanded velocity

Inputs

Outputs

Configurations

Scripting

mesh: skin

Inputs

Outputs

Configurations

Scripting

utility: split in for each range

Inputs

Outputs

Configurations

Scripting

utility: make for each range

Inputs

Outputs

Configurations

Scripting

utility: incremental field

Inputs

Outputs

Configurations

Scripting

utility: incremental fields container

Inputs

Outputs

Configurations

Scripting

geo: rotate (fields container)

Inputs

Outputs

Configurations

Scripting

utility: incremental property field

Inputs

Outputs

Configurations

Scripting

utility: incremental mesh

Inputs

Outputs

Configurations

Scripting

mesh: points from coordinates

Inputs

Outputs

Configurations

Scripting

utility: incremental concantenate as fields container.

Inputs

Outputs

Configurations

Scripting

utility: make producer consumer for each iterator

Inputs

Outputs

Configurations

Scripting

utility: producer consumer for each

Inputs

Outputs

Configurations

Scripting

averaging: extend to mid nodes (field)

Inputs

Outputs

Configurations

Scripting

invariant: eigen vectors (on fields container)

Inputs

Outputs

Configurations

Scripting

mesh: mesh get attribute

Inputs

Outputs

Configurations

Scripting

metadata: time freq support get attribute

Inputs

Outputs

Configurations

Scripting

utility: set attribute

Inputs

Outputs

Configurations

Scripting

utility: field get attribute

Inputs

Outputs

Configurations

Scripting

min_max: time of min

Inputs

Outputs

Configurations

Scripting

min_max: max over phase

Inputs

Outputs

Configurations

Scripting

min_max: phase of max

Inputs

Outputs

Configurations

Scripting

utility: voigt to standard strains

Inputs

Outputs

Configurations

Scripting

utility: voigt to standard strains (fields container)

Inputs

Outputs

Configurations

Scripting

min_max: incremental over field

Inputs

Outputs

Configurations

Scripting

logic: same string fields?

Inputs

Outputs

Configurations

Scripting

logic: same meshes?

Inputs

Outputs

Configurations

Scripting

logic: same fields?

Inputs

Outputs

Configurations

Scripting

logic: fields included?

Inputs

Outputs

Configurations

Scripting

logic: same fields container?

Inputs

Outputs

Configurations

Scripting

filter: high pass (scoping)

Inputs

Outputs

Configurations

Scripting

filter: high pass (timescoping)

Inputs

Outputs

Configurations

Scripting

filter: high pass (fields container)

Inputs

Outputs

Configurations

Scripting

filter: low pass (field)

Inputs

Outputs

Configurations

Scripting

filter: low pass (fields container)

Inputs

Outputs

Configurations

Scripting

filter: band pass (scoping)

Inputs

Outputs

Configurations

Scripting

filter: band pass (timefreq)

Inputs

Outputs

Configurations

Scripting

filter: signed high pass (scoping)

Inputs

Outputs

Configurations

Scripting

filter: signed high pass (timescoping)

Inputs

Outputs

Configurations

Scripting

filter: signed high pass (timefreq)

Inputs

Outputs

Configurations

Scripting

filter: signed high pass (fields container)

Inputs

Outputs

Configurations

Scripting

serialization: csv to field

Inputs

Outputs

Configurations

Scripting

result: members in compression not certified

Inputs

Outputs

Configurations

Scripting

result: members in bending not certified

Inputs

Outputs

Configurations

Scripting

result: members in linear compression bending not certified

Inputs

Outputs

Configurations

Scripting

invariant: convertnum nod to bcs

Inputs

Outputs

Configurations

Scripting

geo: rotate

Inputs

Outputs

Configurations

Scripting

logic: enrich materials

Inputs

Outputs

Configurations

Scripting

serialization: data tree to json

Inputs

Outputs

Configurations

Scripting

serialization: data tree to txt

Inputs

Outputs

Configurations

Scripting

serialization: json to data tree

Inputs

Outputs

Configurations

Scripting

averaging: nodal difference (fields container)

Inputs

Outputs

Configurations

Scripting

logic: descending sort

Inputs

Outputs

Configurations

Scripting

logic: ascending sort (fields container)

Inputs

Outputs

Configurations

Scripting

logic: descending sort (fields container)

Inputs

Outputs

Configurations

Scripting

serialization: import symbolic workflow

Inputs

Outputs

Configurations

Scripting

filter: filtering max over time workflow

Inputs

Outputs

Configurations

Scripting

metadata: integrate over time freq

Inputs

Outputs

Configurations

Scripting

utility: extract time freq

Inputs

Outputs

Configurations

Scripting

averaging: nodal difference (field)

Inputs

Outputs

Configurations

Scripting

result: compute stress YZ

Inputs

Outputs

Configurations

Scripting

logic: splitter::data_sources

Inputs

Outputs

Configurations

Scripting

averaging: to elemental nodal (fields container)

Inputs

Outputs

Configurations

Scripting

server: grpc start server

Inputs

Outputs

Configurations

Scripting

result: compute stress XY

Inputs

Outputs

Configurations

Scripting

utility: operator id

Inputs

Outputs

Configurations

Scripting

averaging: elemental nodal to nodal (field)

Inputs

Outputs

Configurations

Scripting

averaging: elemental nodal to nodal (fields container)

Inputs

Outputs

Configurations

Scripting

averaging: elemental to nodal (field)

Inputs

Outputs

Configurations

Scripting

logic: merge solid and shell fields

Inputs

Outputs

Configurations

Scripting

min_max: min over time

Inputs

Outputs

Configurations

Scripting

geo: element nodal contribution

Inputs

Outputs

Configurations

Scripting

min_max: over field

Inputs

Outputs

Configurations

Scripting

result: transient rayleigh integration

Inputs

Outputs

Configurations

Scripting

min_max: over fields container

Inputs

Outputs

Configurations

Scripting

min_max: over label

Inputs

Outputs

Configurations

Scripting

min_max: min by component

Inputs

Outputs

Configurations

Scripting

math: average over label

Inputs

Outputs

Configurations

Scripting

math: accumulate level over label

Inputs

Outputs

Configurations

Scripting

serialization: serializer to string

Inputs

Outputs

Configurations

Scripting

serialization: deserializer

Inputs

Outputs

Configurations

Scripting

result: cyclic expanded velocity

Inputs

Outputs

Configurations

Scripting

mesh: skin

Inputs

Outputs

Configurations

Scripting

utility: split in for each range

Inputs

Outputs

Configurations

Scripting

utility: make for each range

Inputs

Outputs

Configurations

Scripting

utility: incremental field

Inputs

Outputs

Configurations

Scripting

utility: incremental fields container

Inputs

Outputs

Configurations

Scripting

geo: rotate (fields container)

Inputs

Outputs

Configurations

Scripting

utility: incremental property field

Inputs

Outputs

Configurations

Scripting

utility: incremental mesh

Inputs

Outputs

Configurations

Scripting

mesh: points from coordinates

Inputs

Outputs

Configurations

Scripting

utility: incremental concantenate as fields container.

Inputs

Outputs

Configurations

Scripting

utility: make producer consumer for each iterator

Inputs

Outputs

Configurations

Scripting

utility: producer consumer for each

Inputs

Outputs

Configurations

Scripting

averaging: extend to mid nodes (field)

Inputs

Outputs

Configurations

Scripting

invariant: eigen vectors (on fields container)

Inputs

Outputs

Configurations

Scripting

mesh: mesh get attribute

Inputs

Outputs

Configurations

Scripting

metadata: time freq support get attribute

Inputs

Outputs

Configurations

Scripting

utility: set attribute

Inputs

Outputs

Configurations

Scripting

utility: field get attribute

Inputs

Outputs

Configurations

Scripting

min_max: time of min

Inputs

Outputs

Configurations

Scripting

min_max: max over phase

Inputs

Outputs

Configurations

Scripting

min_max: phase of max

Inputs

Outputs

Configurations

Scripting

utility: voigt to standard strains

Inputs

Outputs

Configurations

Scripting

utility: voigt to standard strains (fields container)

Inputs

Outputs

Configurations

Scripting

min_max: incremental over field

Inputs

Outputs

Configurations

Scripting

logic: same string fields?

Inputs

Outputs

Configurations

Scripting

logic: same meshes?

Inputs

Outputs

Configurations

Scripting

logic: same fields?

Inputs

Outputs

Configurations

Scripting

logic: fields included?

Inputs

Outputs

Configurations

Scripting

logic: same fields container?

Inputs

Outputs

Configurations

Scripting

filter: high pass (scoping)

Inputs

Outputs

Configurations

Scripting

filter: high pass (timescoping)

Inputs

Outputs

Configurations

Scripting

filter: high pass (fields container)

Inputs

Outputs

Configurations

Scripting

filter: low pass (field)

Inputs

Outputs

Configurations

Scripting

filter: low pass (fields container)

Inputs

Outputs

Configurations

Scripting

filter: band pass (scoping)

Inputs

Outputs

Configurations

Scripting

filter: band pass (timefreq)

Inputs

Outputs

Configurations

Scripting

filter: signed high pass (scoping)

Inputs

Outputs

Configurations

Scripting

filter: signed high pass (timescoping)

Inputs

Outputs

Configurations

Scripting

filter: signed high pass (timefreq)

Inputs

Outputs

Configurations

Scripting

filter: signed high pass (fields container)

Inputs

Outputs

Configurations

Scripting

serialization: csv to field

Inputs

Outputs

Configurations

Scripting

result: members in compression not certified

Inputs

Outputs

Configurations

Scripting

result: members in bending not certified

Inputs

Outputs

Configurations

Scripting

result: members in linear compression bending not certified

Inputs

Outputs

Configurations

Scripting

invariant: convertnum nod to bcs

Inputs

Outputs

Configurations

Scripting

geo: rotate

Inputs

Outputs

Configurations

Scripting

logic: enrich materials

Inputs

Outputs

Configurations

Scripting

serialization: data tree to json

Inputs

Outputs

Configurations

Scripting

serialization: data tree to txt

Inputs

Outputs

Configurations

Scripting

serialization: json to data tree

Inputs

Outputs

Configurations

Scripting

averaging: nodal difference (fields container)

Inputs

Outputs

Configurations

Scripting

logic: descending sort

Inputs

Outputs

Configurations

Scripting

logic: ascending sort (fields container)

Inputs

Outputs

Configurations

Scripting

logic: descending sort (fields container)

Inputs

Outputs

Configurations

Scripting

serialization: import symbolic workflow

Inputs

Outputs

Configurations

Scripting

filter: filtering max over time workflow

Inputs

Outputs

Configurations

Scripting

metadata: integrate over time freq

Inputs

Outputs

Configurations

Scripting

utility: extract time freq

Inputs

Outputs

Configurations

Scripting

averaging: nodal difference (field)

Inputs

Outputs

Configurations

Scripting

result: compute stress YZ

Inputs

Outputs

Configurations

Scripting

logic: splitter::data_sources

Inputs

Outputs

Configurations

Scripting

averaging: to elemental nodal (fields container)

Inputs

Outputs

Configurations

Scripting

server: grpc start server

Inputs

Outputs

Configurations

Scripting

result: compute stress XY

Inputs

Outputs

Configurations

Scripting

utility: operator id

Inputs

Outputs

Configurations

Scripting

averaging: elemental nodal to nodal (field)

Inputs

Outputs

Configurations

Scripting

averaging: elemental nodal to nodal (fields container)

Inputs

Outputs

Configurations

Scripting

averaging: elemental to nodal (field)

Configurating operators - If the determinant of the I matrix is zero, switch to an inverse distance weighted average. - If not, compute the Frink weights and apply the Holmes' weight clip. - If the clipping produces a large overshoot, inverse volume weighted average is used.. -3. For a face finite volume mesh inverse distance weighted average is used.">

Inputs

Outputs

Configurations

Scripting

averaging: to nodal (field)

Inputs

Outputs

Configurations

Scripting

averaging: to nodal (fields container)

Inputs

Outputs

Configurations

Scripting

averaging: elemental mean (field)

Inputs

Outputs

Configurations

Scripting

averaging: nodal to elemental (field)

Inputs

Outputs

Configurations

Scripting

averaging: nodal to elemental (fields container)

Inputs

Outputs

Configurations

Scripting

averaging: nodal to elemental nodal (field)

Inputs

Outputs

Configurations

Scripting

averaging: nodal to elemental nodal (fields container)

Inputs

Outputs

Configurations

Scripting

invariant: eigen values (field)

Inputs

Outputs

Configurations

Scripting

invariant: principal invariants (field)

Inputs

Outputs

Configurations

Scripting

invariant: von mises eqv (fields container)

Inputs

Outputs

Configurations

Scripting

invariant: segalman von mises eqv (fields container)

Inputs

Outputs

Configurations

Scripting

scoping: compute element centroids

Inputs

Outputs

Configurations

Scripting

math: entity extractor

Inputs

Outputs

Configurations

Scripting

metadata: cyclic mesh expansion

Inputs

Outputs

Configurations

Scripting

result: cyclic analytic stress eqv max

Inputs

Outputs

Configurations

Scripting

result: remove rigid body motion (fields container)

Inputs

Outputs

Configurations

Scripting

result: cyclic expansion

Inputs

Outputs

Configurations

Scripting

averaging: nodal fraction (fields container)

Inputs

Outputs

Configurations

Scripting

result: recombine cyclic harmonic indices

Inputs

Outputs

Configurations

Scripting

mapping: on coordinates

Inputs

Outputs

Configurations

Scripting

mapping: scoping on coordinates

Inputs

Outputs

Configurations

Scripting

filter: abc weightings

Inputs

Outputs

Configurations

Scripting

mapping: solid to skin

Inputs

Outputs

Configurations

Scripting

mapping: solid to skin (fields container)

Inputs

Outputs

Configurations

Scripting

averaging: elemental difference (field)

Inputs

Outputs

Configurations

Scripting

averaging: elemental fraction (fields container)

Inputs

Outputs

Configurations

Scripting

averaging: extend to mid nodes (fields container)

Inputs

Outputs

Configurations

Scripting

geo: rotate cylindrical coordinates

Inputs

Outputs

Configurations

Scripting

geo: rotate in cylindrical coordinates (fields container)

Inputs

Outputs

Configurations

Scripting

geo: spherical to cartesian coordinates (fields container)

Inputs

Outputs

Configurations

Scripting

geo: spherical to cartesian coordinates

Inputs

Outputs

Configurations

Scripting

mesh: change cs (meshes)

Inputs

Outputs

Configurations

Scripting

geo: normals provider nl (nodes, faces, or elements)

Inputs

Outputs

Configurations

Scripting

geo: elements volumes over time

Inputs

Outputs

Configurations

Scripting

math: window bartlett

Inputs

Outputs

Configurations

Scripting

mesh: from scoping

Inputs

Outputs

Configurations

Scripting

mesh: split field wrt mesh regions

Inputs

Outputs

Configurations

Scripting

result: torque

Inputs

Outputs

Configurations

Scripting

result: euler load buckling

Inputs

Outputs

Configurations

Scripting

geo: faces area

Inputs

Outputs

Configurations

Scripting

result: compute stress 3

Inputs

Outputs

Configurations

Scripting

geo: gauss to node (field)

Inputs

Outputs

Configurations

Scripting

averaging: gauss to node (fields container)

Inputs

Outputs

Configurations

Scripting

math: correlation

Inputs

Outputs

Configurations

Scripting

math: mac

Inputs

Outputs

Configurations

Scripting

result: workflow energy per component

Inputs

Outputs

Configurations

Scripting

result: add rigid body motion (field)

Inputs

Outputs

Configurations

Scripting

result: split on facet indices

Inputs

Outputs

Configurations

Scripting

result: enf solution to global cs

Inputs

Outputs

Configurations

Scripting

result: cms matrices provider

Inputs

Outputs

Configurations

Scripting

result: rom data provider

Inputs

Outputs

Configurations

Scripting

result: prns to field

Inputs

Outputs

Configurations

Scripting

result: remove rigid body motion (field)

Inputs

Outputs

Configurations

Scripting

result: cyclic expanded displacement

Inputs

Outputs

Configurations

Scripting

result: cyclic expanded acceleration

Inputs

Outputs

Configurations

Scripting

result: cyclic expanded stress

Inputs

Outputs

Configurations

Scripting

result: cyclic expanded el strain

Inputs

Outputs

Configurations

Scripting

result: cms subfile info provider

Inputs

Outputs

Configurations

Scripting

result: cyclic volume

Inputs

Outputs

Configurations

Scripting

result: cyclic nmisc

Inputs

Outputs

Configurations

Scripting

invariant: convertnum operator

Inputs

Outputs

Configurations

Scripting

result: compute total strain XZ

Inputs

Outputs

Configurations

Scripting

averaging: to nodal (field)

Inputs

Outputs

Configurations

Scripting

averaging: to nodal (fields container)

Inputs

Outputs

Configurations

Scripting

averaging: elemental mean (field)

Inputs

Outputs

Configurations

Scripting

averaging: nodal to elemental (field)

Inputs

Outputs

Configurations

Scripting

averaging: nodal to elemental (fields container)

Inputs

Outputs

Configurations

Scripting

averaging: nodal to elemental nodal (field)

Inputs

Outputs

Configurations

Scripting

averaging: nodal to elemental nodal (fields container)

Inputs

Outputs

Configurations

Scripting

invariant: eigen values (field)

Inputs

Outputs

Configurations

Scripting

invariant: principal invariants (field)

Inputs

Outputs

Configurations

Scripting

invariant: von mises eqv (fields container)

Inputs

Outputs

Configurations

Scripting

invariant: segalman von mises eqv (fields container)

Inputs

Outputs

Configurations

Scripting

scoping: compute element centroids

Inputs

Outputs

Configurations

Scripting

math: entity extractor

Inputs

Outputs

Configurations

Scripting

metadata: cyclic mesh expansion

Inputs

Outputs

Configurations

Scripting

result: cyclic analytic stress eqv max

Inputs

Outputs

Configurations

Scripting

result: remove rigid body motion (fields container)

Inputs

Outputs

Configurations

Scripting

result: cyclic expansion

Inputs

Outputs

Configurations

Scripting

averaging: nodal fraction (fields container)

Inputs

Outputs

Configurations

Scripting

result: recombine cyclic harmonic indices

Inputs

Outputs

Configurations

Scripting

mapping: on coordinates

Inputs

Outputs

Configurations

Scripting

mapping: scoping on coordinates

Inputs

Outputs

Configurations

Scripting

filter: abc weightings

Inputs

Outputs

Configurations

Scripting

mapping: solid to skin

Inputs

Outputs

Configurations

Scripting

mapping: solid to skin (fields container)

Inputs

Outputs

Configurations

Scripting

averaging: elemental difference (field)

Inputs

Outputs

Configurations

Scripting

averaging: elemental fraction (fields container)

Inputs

Outputs

Configurations

Scripting

averaging: extend to mid nodes (fields container)

Inputs

Outputs

Configurations

Scripting

geo: rotate cylindrical coordinates

Inputs

Outputs

Configurations

Scripting

geo: rotate in cylindrical coordinates (fields container)

Inputs

Outputs

Configurations

Scripting

geo: spherical to cartesian coordinates (fields container)

Inputs

Outputs

Configurations

Scripting

geo: spherical to cartesian coordinates

Inputs

Outputs

Configurations

Scripting

mesh: change cs (meshes)

Inputs

Outputs

Configurations

Scripting

geo: normals provider nl (nodes, faces, or elements)

Inputs

Outputs

Configurations

Scripting

geo: elements volumes over time

Inputs

Outputs

Configurations

Scripting

math: window bartlett

Inputs

Outputs

Configurations

Scripting

mesh: from scoping

Inputs

Outputs

Configurations

Scripting

mesh: split field wrt mesh regions

Inputs

Outputs

Configurations

Scripting

result: torque

Inputs

Outputs

Configurations

Scripting

result: euler load buckling

Inputs

Outputs

Configurations

Scripting

geo: faces area

Inputs

Outputs

Configurations

Scripting

result: compute stress 3

Inputs

Outputs

Configurations

Scripting

geo: gauss to node (field)

Inputs

Outputs

Configurations

Scripting

averaging: gauss to node (fields container)

Inputs

Outputs

Configurations

Scripting

math: correlation

Inputs

Outputs

Configurations

Scripting

math: mac

Inputs

Outputs

Configurations

Scripting

result: workflow energy per component

Inputs

Outputs

Configurations

Scripting

result: add rigid body motion (field)

Inputs

Outputs

Configurations

Scripting

result: split on facet indices

Inputs

Outputs

Configurations

Scripting

result: cyclic expanded temperature

Inputs

Outputs

Configurations

Scripting

result: enf solution to global cs

Inputs

Outputs

Configurations

Scripting

result: cms matrices provider

Inputs

Outputs

Configurations

Scripting

result: rom data provider

Inputs

Outputs

Configurations

Scripting

result: prns to field

Inputs

Outputs

Configurations

Scripting

result: remove rigid body motion (field)

Inputs

Outputs

Configurations

Scripting

result: cyclic expanded displacement

Inputs

Outputs

Configurations

Scripting

result: cyclic expanded acceleration

Inputs

Outputs

Configurations

Scripting

result: cyclic expanded stress

Inputs

Outputs

Configurations

Scripting

result: cyclic expanded el strain

Inputs

Outputs

Configurations

Scripting

result: cms subfile info provider

Inputs

Outputs

Configurations

Scripting

result: cyclic volume

Inputs

Outputs

Configurations

Scripting

result: cyclic nmisc

Inputs

Outputs

Configurations

Scripting

result: cyclic expanded element heat flux

Inputs

Outputs

Configurations

Scripting

result: stress solution to global cs

Inputs

Outputs

Configurations

Scripting

invariant: convertnum operator

Inputs

Outputs

Configurations

Scripting

result: compute total strain XZ

Configurating operators Only linear analysis are supported without On Demand Expansion. All coordinates are global coordinates. Euler Angles need to be included in the database. - Get the XZ shear component (02 component).">

Inputs

Outputs

Configurations

Scripting

result: cms dst table provider

Inputs

Outputs

Configurations

Scripting

result: write motion dfmf file

Inputs

Outputs

Configurations

Scripting

invariant: eigen vectors (on field)

Inputs

Outputs

Configurations

Scripting

result: mapdl material properties

Inputs

Outputs

Configurations

Scripting

result: mapdl_section

Inputs

Outputs

Configurations

Scripting

result: compute invariant terms motion

Inputs

Outputs

Configurations

Scripting

result: split to acmo facet indices

Inputs

Outputs

Configurations

Scripting

result: cyclic expanded element heat flux

Inputs

Outputs

Configurations

Scripting

result: stress solution to global cs

Inputs

Outputs

Configurations

Scripting

result: elastic strain solution to global cs

Inputs

Outputs

Configurations

Scripting

result: plastic strain to global cs

Inputs

Outputs

Configurations

Scripting

math: qr solve

Inputs

Outputs

Configurations

Scripting

result: von mises strains as mechanical workflow

Inputs

Outputs

Configurations

Scripting

mesh: mesh clipper

Inputs

Outputs

Configurations

Scripting

serialization: migrate to vtk

Inputs

Outputs

Configurations

Scripting

result: cyclic expanded temperature

Inputs

Outputs

Configurations

Scripting

mesh: external layer

Inputs

Outputs

Configurations

Scripting

mesh: mesh cutter

Inputs

Outputs

Configurations

Scripting

mesh: mesh plan clipper

Inputs

Outputs

Configurations

Scripting

mesh: mesh_to_graphics

Inputs

Outputs

Configurations

Scripting

mesh: mesh_to_graphics_edges

Inputs

Outputs

Configurations

Scripting

geo: scoping normals

Inputs

Outputs

Configurations

Scripting

mesh: combine levelset

Inputs

Outputs

Configurations

Scripting

mesh: exclude levelset

Inputs

Outputs

Configurations

Scripting

mesh: make plane levelset

Inputs

Outputs

Configurations

Scripting

mesh: make sphere levelset

Inputs

Outputs

Configurations

Scripting

mesh: mesh extraction

Inputs

Outputs

Configurations

Scripting

mesh: wireframe

Inputs

Outputs

Configurations

Scripting

mesh: mesh to tetra

Inputs

Outputs

Configurations

Scripting

mapping: fft

Inputs

Outputs

Configurations

Scripting

math: fft gradient evaluation

Inputs

Outputs

Configurations

Scripting

math: fft multi harmonic solution minmax

Inputs

Outputs

Configurations

Scripting

math: svd

Inputs

Outputs

Configurations

Scripting

math: time integration

Inputs

Outputs

Configurations

Scripting

math: time derivation

Inputs

Outputs

Configurations

Scripting

mapping: prep sampling fft

Inputs

Outputs

Configurations

Scripting

math: fft filtering and cubic fitting

Inputs

Outputs

Configurations

Scripting

result: cms dst table provider

Inputs

Outputs

Configurations

Scripting

result: write motion dfmf file

Inputs

Outputs

Configurations

Scripting

invariant: eigen vectors (on field)

Inputs

Outputs

Configurations

Scripting

result: mapdl material properties

Inputs

Outputs

Configurations

Scripting

result: mapdl_section

Inputs

Outputs

Configurations

Scripting

result: compute invariant terms motion

Inputs

Outputs

Configurations

Scripting

result: split to acmo facet indices

Inputs

Outputs

Configurations

Scripting

result: elastic strain solution to global cs

Inputs

Outputs

Configurations

Scripting

result: plastic strain to global cs

Inputs

Outputs

Configurations

Scripting

math: qr solve

Inputs

Outputs

Configurations

Scripting

result: von mises strains as mechanical workflow

Inputs

Outputs

Configurations

Scripting

mesh: mesh clipper

Inputs

Outputs

Configurations

Scripting

serialization: migrate to vtk

Inputs

Outputs

Configurations

Scripting

mesh: external layer

Inputs

Outputs

Configurations

Scripting

mesh: mesh cutter

Inputs

Outputs

Configurations

Scripting

mesh: mesh plan clipper

Inputs

Outputs

Configurations

Scripting

mesh: mesh_to_graphics

Inputs

Outputs

Configurations

Scripting

mesh: mesh_to_graphics_edges

Inputs

Outputs

Configurations

Scripting

geo: scoping normals

Inputs

Outputs

Configurations

Scripting

mesh: combine levelset

Inputs

Outputs

Configurations

Scripting

mesh: exclude levelset

Inputs

Outputs

Configurations

Scripting

mesh: make plane levelset

Inputs

Outputs

Configurations

Scripting

mesh: make sphere levelset

Inputs

Outputs

Configurations

Scripting

mesh: mesh extraction

Inputs

Outputs

Configurations

Scripting

mesh: wireframe

Inputs

Outputs

Configurations

Scripting

mesh: mesh to tetra

Inputs

Outputs

Configurations

Scripting

mapping: fft

Inputs

Outputs

Configurations

Scripting

math: fft gradient evaluation

Inputs

Outputs

Configurations

Scripting

math: fft multi harmonic solution minmax

Inputs

Outputs

Configurations

Scripting

math: svd

Inputs

Outputs

Configurations

Scripting

math: time integration

Inputs

Outputs

Configurations

Scripting

math: time derivation

Inputs

Outputs

Configurations

Scripting

mapping: prep sampling fft

Inputs

Outputs

Configurations

Scripting

math: fft filtering and cubic fitting

Inputs

Outputs

Configurations

Scripting

math: window triangular

Inputs

Outputs

Configurations

Scripting

math: window hanning

Inputs

Outputs

Configurations

Scripting

math: window hamming

Inputs

Outputs

Configurations

Scripting

math: window welch

Inputs

Outputs

Configurations

Scripting

math: window blackman

Inputs

Outputs

Configurations

Scripting

math: window triangular (fields container)

Inputs

Outputs

Configurations

Scripting

math: window hanning (fields container)

Inputs

Outputs

Configurations

Scripting

math: window hamming (fields container)

Inputs

Outputs

Configurations

Scripting

math: window welch (fields container)

Inputs

Outputs

Configurations

Scripting

math: window blackman (fields container)

Inputs

Outputs

Configurations

Scripting

math: expansion psd

Inputs

Outputs

Configurations

Scripting

serialization: hdf5dpf generate result file

Inputs

Outputs

Configurations

Scripting

result: migrate to h5dpf

Inputs

Outputs

Configurations

Scripting

result: von mises stresses as mechanical workflow

Inputs

Outputs

Configurations

Scripting

utility: hdf5dpf workflow provider

Inputs

Outputs

Configurations

Scripting

other: hdf5dpf mesh property provider

Inputs

Outputs

Configurations

Scripting

serialization: migrate to vtu

Inputs

Outputs

Configurations

Scripting

serialization: vtu export

Inputs

Outputs

Configurations

Scripting

result: compute total strain Y

", "scoping", "scopings_container"], + optional=True, + document="""Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done.""", + ), + 19: PinSpecification( + name="phi", + type_names=["double"], + optional=True, + document="""Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done.""", + ), }, map_output_pin_spec={ 0: PinSpecification( @@ -313,6 +365,12 @@ class InputsAcceleration(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) """ def __init__(self, op: Operator): @@ -335,6 +393,14 @@ def __init__(self, op: Operator): self._inputs.append(self._mesh) self._read_cyclic = Input(acceleration._spec().input_pin(14), 14, op, -1) self._inputs.append(self._read_cyclic) + self._expanded_meshed_region = Input( + acceleration._spec().input_pin(15), 15, op, -1 + ) + self._inputs.append(self._expanded_meshed_region) + self._sectors_to_expand = Input(acceleration._spec().input_pin(18), 18, op, -1) + self._inputs.append(self._sectors_to_expand) + self._phi = Input(acceleration._spec().input_pin(19), 19, op, -1) + self._inputs.append(self._phi) @property def time_scoping(self): @@ -488,8 +554,8 @@ def bool_rotate_to_global(self): def mesh(self): """Allows to connect mesh input to the operator. - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector Parameters ---------- @@ -529,6 +595,71 @@ def read_cyclic(self): """ return self._read_cyclic + @property + def expanded_meshed_region(self): + """Allows to connect expanded_meshed_region input to the operator. + + Mesh expanded, use if cyclic expansion is to + be done. + + Parameters + ---------- + my_expanded_meshed_region : MeshedRegion or MeshesContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.acceleration() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> # or + >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region) + """ + return self._expanded_meshed_region + + @property + def sectors_to_expand(self): + """Allows to connect sectors_to_expand input to the operator. + + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + + Parameters + ---------- + my_sectors_to_expand : Scoping or ScopingsContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.acceleration() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> # or + >>> op.inputs.sectors_to_expand(my_sectors_to_expand) + """ + return self._sectors_to_expand + + @property + def phi(self): + """Allows to connect phi input to the operator. + + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. + + Parameters + ---------- + my_phi : float + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.acceleration() + >>> op.inputs.phi.connect(my_phi) + >>> # or + >>> op.inputs.phi(my_phi) + """ + return self._phi + class OutputsAcceleration(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/accu_eqv_creep_strain.py b/src/ansys/dpf/core/operators/result/accu_eqv_creep_strain.py index 833b20e431..efc42c3ce3 100644 --- a/src/ansys/dpf/core/operators/result/accu_eqv_creep_strain.py +++ b/src/ansys/dpf/core/operators/result/accu_eqv_creep_strain.py @@ -65,12 +65,6 @@ class accu_eqv_creep_strain(Operator): requested_location : str, optional Requested location nodal, elemental or elementalnodal - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -120,8 +114,6 @@ class accu_eqv_creep_strain(Operator): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -139,7 +131,6 @@ class accu_eqv_creep_strain(Operator): ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, ... requested_location=my_requested_location, - ... read_cyclic=my_read_cyclic, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -159,7 +150,6 @@ def __init__( bool_rotate_to_global=None, mesh=None, requested_location=None, - read_cyclic=None, read_beams=None, split_shells=None, shell_layer=None, @@ -185,8 +175,6 @@ def __init__( self.inputs.mesh.connect(mesh) if requested_location is not None: self.inputs.requested_location.connect(requested_location) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -287,16 +275,6 @@ def _spec(): optional=True, document="""Requested location nodal, elemental or elementalnodal""", - ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", ), 22: PinSpecification( name="read_beams", @@ -403,8 +381,6 @@ class InputsAccuEqvCreepStrain(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -445,10 +421,6 @@ def __init__(self, op: Operator): accu_eqv_creep_strain._spec().input_pin(9), 9, op, -1 ) self._inputs.append(self._requested_location) - self._read_cyclic = Input( - accu_eqv_creep_strain._spec().input_pin(14), 14, op, -1 - ) - self._inputs.append(self._read_cyclic) self._read_beams = Input( accu_eqv_creep_strain._spec().input_pin(22), 22, op, -1 ) @@ -652,30 +624,6 @@ def requested_location(self): """ return self._requested_location - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.accu_eqv_creep_strain() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/accu_eqv_plastic_strain.py b/src/ansys/dpf/core/operators/result/accu_eqv_plastic_strain.py index 0366a08b72..d3ef9061ad 100644 --- a/src/ansys/dpf/core/operators/result/accu_eqv_plastic_strain.py +++ b/src/ansys/dpf/core/operators/result/accu_eqv_plastic_strain.py @@ -65,12 +65,6 @@ class accu_eqv_plastic_strain(Operator): requested_location : str, optional Requested location nodal, elemental or elementalnodal - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -120,8 +114,6 @@ class accu_eqv_plastic_strain(Operator): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -139,7 +131,6 @@ class accu_eqv_plastic_strain(Operator): ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, ... requested_location=my_requested_location, - ... read_cyclic=my_read_cyclic, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -159,7 +150,6 @@ def __init__( bool_rotate_to_global=None, mesh=None, requested_location=None, - read_cyclic=None, read_beams=None, split_shells=None, shell_layer=None, @@ -185,8 +175,6 @@ def __init__( self.inputs.mesh.connect(mesh) if requested_location is not None: self.inputs.requested_location.connect(requested_location) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -287,16 +275,6 @@ def _spec(): optional=True, document="""Requested location nodal, elemental or elementalnodal""", - ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", ), 22: PinSpecification( name="read_beams", @@ -403,8 +381,6 @@ class InputsAccuEqvPlasticStrain(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -445,10 +421,6 @@ def __init__(self, op: Operator): accu_eqv_plastic_strain._spec().input_pin(9), 9, op, -1 ) self._inputs.append(self._requested_location) - self._read_cyclic = Input( - accu_eqv_plastic_strain._spec().input_pin(14), 14, op, -1 - ) - self._inputs.append(self._read_cyclic) self._read_beams = Input( accu_eqv_plastic_strain._spec().input_pin(22), 22, op, -1 ) @@ -652,30 +624,6 @@ def requested_location(self): """ return self._requested_location - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.accu_eqv_plastic_strain() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/artificial_hourglass_energy.py b/src/ansys/dpf/core/operators/result/artificial_hourglass_energy.py index e326388f11..90ffa9aac8 100644 --- a/src/ansys/dpf/core/operators/result/artificial_hourglass_energy.py +++ b/src/ansys/dpf/core/operators/result/artificial_hourglass_energy.py @@ -60,12 +60,6 @@ class artificial_hourglass_energy(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class artificial_hourglass_energy(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.artificial_hourglass_energy( @@ -105,7 +97,6 @@ class artificial_hourglass_energy(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsArtificialHourglassEnergy(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -343,10 +319,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(artificial_hourglass_energy._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input( - artificial_hourglass_energy._spec().input_pin(14), 14, op, -1 - ) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -517,30 +489,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.artificial_hourglass_energy() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsArtificialHourglassEnergy(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/co_energy.py b/src/ansys/dpf/core/operators/result/co_energy.py index 5991787162..7835dd91bf 100644 --- a/src/ansys/dpf/core/operators/result/co_energy.py +++ b/src/ansys/dpf/core/operators/result/co_energy.py @@ -60,12 +60,6 @@ class co_energy(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class co_energy(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.co_energy( @@ -105,7 +97,6 @@ class co_energy(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsCoEnergy(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -331,8 +307,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(co_energy._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input(co_energy._spec().input_pin(14), 14, op, -1) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -503,30 +477,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.co_energy() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsCoEnergy(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/contact_fluid_penetration_pressure.py b/src/ansys/dpf/core/operators/result/contact_fluid_penetration_pressure.py index 065e38ec95..e722647845 100644 --- a/src/ansys/dpf/core/operators/result/contact_fluid_penetration_pressure.py +++ b/src/ansys/dpf/core/operators/result/contact_fluid_penetration_pressure.py @@ -60,8 +60,8 @@ class contact_fluid_penetration_pressure(Operator): If true the field is rotated to global coordinate system (default true) mesh : MeshedRegion or MeshesContainer, optional - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector requested_location : str, optional Requested location nodal, elemental or elementalnodal @@ -71,6 +71,17 @@ class contact_fluid_penetration_pressure(Operator): is done, if 3 cyclic expansion is done and stages are merged (default is 1) + expanded_meshed_region : MeshedRegion or MeshesContainer, optional + Mesh expanded, use if cyclic expansion is to + be done. + sectors_to_expand : Scoping or ScopingsContainer, optional + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + phi : float, optional + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -122,6 +133,12 @@ class contact_fluid_penetration_pressure(Operator): >>> op.inputs.requested_location.connect(my_requested_location) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -140,6 +157,9 @@ class contact_fluid_penetration_pressure(Operator): ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, + ... expanded_meshed_region=my_expanded_meshed_region, + ... sectors_to_expand=my_sectors_to_expand, + ... phi=my_phi, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -160,6 +180,9 @@ def __init__( mesh=None, requested_location=None, read_cyclic=None, + expanded_meshed_region=None, + sectors_to_expand=None, + phi=None, read_beams=None, split_shells=None, shell_layer=None, @@ -187,6 +210,12 @@ def __init__( self.inputs.requested_location.connect(requested_location) if read_cyclic is not None: self.inputs.read_cyclic.connect(read_cyclic) + if expanded_meshed_region is not None: + self.inputs.expanded_meshed_region.connect(expanded_meshed_region) + if sectors_to_expand is not None: + self.inputs.sectors_to_expand.connect(sectors_to_expand) + if phi is not None: + self.inputs.phi.connect(phi) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -278,8 +307,8 @@ def _spec(): name="mesh", type_names=["abstract_meshed_region", "meshes_container"], optional=True, - document="""Prevents from reading the mesh in the result - files""", + document="""Mesh. if cylic expansion is to be done, mesh + of the base sector""", ), 9: PinSpecification( name="requested_location", @@ -297,6 +326,29 @@ def _spec(): is done, if 3 cyclic expansion is done and stages are merged (default is 1)""", + ), + 15: PinSpecification( + name="expanded_meshed_region", + type_names=["abstract_meshed_region", "meshes_container"], + optional=True, + document="""Mesh expanded, use if cyclic expansion is to + be done.""", + ), + 18: PinSpecification( + name="sectors_to_expand", + type_names=["vector", "scoping", "scopings_container"], + optional=True, + document="""Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done.""", + ), + 19: PinSpecification( + name="phi", + type_names=["double"], + optional=True, + document="""Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done.""", ), 22: PinSpecification( name="read_beams", @@ -405,6 +457,12 @@ class InputsContactFluidPenetrationPressure(_Inputs): >>> op.inputs.requested_location.connect(my_requested_location) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -451,6 +509,18 @@ def __init__(self, op: Operator): contact_fluid_penetration_pressure._spec().input_pin(14), 14, op, -1 ) self._inputs.append(self._read_cyclic) + self._expanded_meshed_region = Input( + contact_fluid_penetration_pressure._spec().input_pin(15), 15, op, -1 + ) + self._inputs.append(self._expanded_meshed_region) + self._sectors_to_expand = Input( + contact_fluid_penetration_pressure._spec().input_pin(18), 18, op, -1 + ) + self._inputs.append(self._sectors_to_expand) + self._phi = Input( + contact_fluid_penetration_pressure._spec().input_pin(19), 19, op, -1 + ) + self._inputs.append(self._phi) self._read_beams = Input( contact_fluid_penetration_pressure._spec().input_pin(22), 22, op, -1 ) @@ -616,8 +686,8 @@ def bool_rotate_to_global(self): def mesh(self): """Allows to connect mesh input to the operator. - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector Parameters ---------- @@ -678,6 +748,71 @@ def read_cyclic(self): """ return self._read_cyclic + @property + def expanded_meshed_region(self): + """Allows to connect expanded_meshed_region input to the operator. + + Mesh expanded, use if cyclic expansion is to + be done. + + Parameters + ---------- + my_expanded_meshed_region : MeshedRegion or MeshesContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.contact_fluid_penetration_pressure() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> # or + >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region) + """ + return self._expanded_meshed_region + + @property + def sectors_to_expand(self): + """Allows to connect sectors_to_expand input to the operator. + + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + + Parameters + ---------- + my_sectors_to_expand : Scoping or ScopingsContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.contact_fluid_penetration_pressure() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> # or + >>> op.inputs.sectors_to_expand(my_sectors_to_expand) + """ + return self._sectors_to_expand + + @property + def phi(self): + """Allows to connect phi input to the operator. + + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. + + Parameters + ---------- + my_phi : float + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.contact_fluid_penetration_pressure() + >>> op.inputs.phi.connect(my_phi) + >>> # or + >>> op.inputs.phi(my_phi) + """ + return self._phi + @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/contact_friction_stress.py b/src/ansys/dpf/core/operators/result/contact_friction_stress.py index 5bef350f6d..869ea7da16 100644 --- a/src/ansys/dpf/core/operators/result/contact_friction_stress.py +++ b/src/ansys/dpf/core/operators/result/contact_friction_stress.py @@ -60,8 +60,8 @@ class contact_friction_stress(Operator): If true the field is rotated to global coordinate system (default true) mesh : MeshedRegion or MeshesContainer, optional - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector requested_location : str, optional Requested location nodal, elemental or elementalnodal @@ -71,6 +71,17 @@ class contact_friction_stress(Operator): is done, if 3 cyclic expansion is done and stages are merged (default is 1) + expanded_meshed_region : MeshedRegion or MeshesContainer, optional + Mesh expanded, use if cyclic expansion is to + be done. + sectors_to_expand : Scoping or ScopingsContainer, optional + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + phi : float, optional + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -122,6 +133,12 @@ class contact_friction_stress(Operator): >>> op.inputs.requested_location.connect(my_requested_location) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -140,6 +157,9 @@ class contact_friction_stress(Operator): ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, + ... expanded_meshed_region=my_expanded_meshed_region, + ... sectors_to_expand=my_sectors_to_expand, + ... phi=my_phi, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -160,6 +180,9 @@ def __init__( mesh=None, requested_location=None, read_cyclic=None, + expanded_meshed_region=None, + sectors_to_expand=None, + phi=None, read_beams=None, split_shells=None, shell_layer=None, @@ -187,6 +210,12 @@ def __init__( self.inputs.requested_location.connect(requested_location) if read_cyclic is not None: self.inputs.read_cyclic.connect(read_cyclic) + if expanded_meshed_region is not None: + self.inputs.expanded_meshed_region.connect(expanded_meshed_region) + if sectors_to_expand is not None: + self.inputs.sectors_to_expand.connect(sectors_to_expand) + if phi is not None: + self.inputs.phi.connect(phi) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -278,8 +307,8 @@ def _spec(): name="mesh", type_names=["abstract_meshed_region", "meshes_container"], optional=True, - document="""Prevents from reading the mesh in the result - files""", + document="""Mesh. if cylic expansion is to be done, mesh + of the base sector""", ), 9: PinSpecification( name="requested_location", @@ -297,6 +326,29 @@ def _spec(): is done, if 3 cyclic expansion is done and stages are merged (default is 1)""", + ), + 15: PinSpecification( + name="expanded_meshed_region", + type_names=["abstract_meshed_region", "meshes_container"], + optional=True, + document="""Mesh expanded, use if cyclic expansion is to + be done.""", + ), + 18: PinSpecification( + name="sectors_to_expand", + type_names=["vector", "scoping", "scopings_container"], + optional=True, + document="""Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done.""", + ), + 19: PinSpecification( + name="phi", + type_names=["double"], + optional=True, + document="""Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done.""", ), 22: PinSpecification( name="read_beams", @@ -405,6 +457,12 @@ class InputsContactFrictionStress(_Inputs): >>> op.inputs.requested_location.connect(my_requested_location) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -449,6 +507,16 @@ def __init__(self, op: Operator): contact_friction_stress._spec().input_pin(14), 14, op, -1 ) self._inputs.append(self._read_cyclic) + self._expanded_meshed_region = Input( + contact_friction_stress._spec().input_pin(15), 15, op, -1 + ) + self._inputs.append(self._expanded_meshed_region) + self._sectors_to_expand = Input( + contact_friction_stress._spec().input_pin(18), 18, op, -1 + ) + self._inputs.append(self._sectors_to_expand) + self._phi = Input(contact_friction_stress._spec().input_pin(19), 19, op, -1) + self._inputs.append(self._phi) self._read_beams = Input( contact_friction_stress._spec().input_pin(22), 22, op, -1 ) @@ -614,8 +682,8 @@ def bool_rotate_to_global(self): def mesh(self): """Allows to connect mesh input to the operator. - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector Parameters ---------- @@ -676,6 +744,71 @@ def read_cyclic(self): """ return self._read_cyclic + @property + def expanded_meshed_region(self): + """Allows to connect expanded_meshed_region input to the operator. + + Mesh expanded, use if cyclic expansion is to + be done. + + Parameters + ---------- + my_expanded_meshed_region : MeshedRegion or MeshesContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.contact_friction_stress() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> # or + >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region) + """ + return self._expanded_meshed_region + + @property + def sectors_to_expand(self): + """Allows to connect sectors_to_expand input to the operator. + + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + + Parameters + ---------- + my_sectors_to_expand : Scoping or ScopingsContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.contact_friction_stress() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> # or + >>> op.inputs.sectors_to_expand(my_sectors_to_expand) + """ + return self._sectors_to_expand + + @property + def phi(self): + """Allows to connect phi input to the operator. + + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. + + Parameters + ---------- + my_phi : float + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.contact_friction_stress() + >>> op.inputs.phi.connect(my_phi) + >>> # or + >>> op.inputs.phi(my_phi) + """ + return self._phi + @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/contact_gap_distance.py b/src/ansys/dpf/core/operators/result/contact_gap_distance.py index 9d7af4fe44..99dfd522bc 100644 --- a/src/ansys/dpf/core/operators/result/contact_gap_distance.py +++ b/src/ansys/dpf/core/operators/result/contact_gap_distance.py @@ -60,8 +60,8 @@ class contact_gap_distance(Operator): If true the field is rotated to global coordinate system (default true) mesh : MeshedRegion or MeshesContainer, optional - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector requested_location : str, optional Requested location nodal, elemental or elementalnodal @@ -71,6 +71,17 @@ class contact_gap_distance(Operator): is done, if 3 cyclic expansion is done and stages are merged (default is 1) + expanded_meshed_region : MeshedRegion or MeshesContainer, optional + Mesh expanded, use if cyclic expansion is to + be done. + sectors_to_expand : Scoping or ScopingsContainer, optional + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + phi : float, optional + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -122,6 +133,12 @@ class contact_gap_distance(Operator): >>> op.inputs.requested_location.connect(my_requested_location) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -140,6 +157,9 @@ class contact_gap_distance(Operator): ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, + ... expanded_meshed_region=my_expanded_meshed_region, + ... sectors_to_expand=my_sectors_to_expand, + ... phi=my_phi, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -160,6 +180,9 @@ def __init__( mesh=None, requested_location=None, read_cyclic=None, + expanded_meshed_region=None, + sectors_to_expand=None, + phi=None, read_beams=None, split_shells=None, shell_layer=None, @@ -187,6 +210,12 @@ def __init__( self.inputs.requested_location.connect(requested_location) if read_cyclic is not None: self.inputs.read_cyclic.connect(read_cyclic) + if expanded_meshed_region is not None: + self.inputs.expanded_meshed_region.connect(expanded_meshed_region) + if sectors_to_expand is not None: + self.inputs.sectors_to_expand.connect(sectors_to_expand) + if phi is not None: + self.inputs.phi.connect(phi) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -278,8 +307,8 @@ def _spec(): name="mesh", type_names=["abstract_meshed_region", "meshes_container"], optional=True, - document="""Prevents from reading the mesh in the result - files""", + document="""Mesh. if cylic expansion is to be done, mesh + of the base sector""", ), 9: PinSpecification( name="requested_location", @@ -297,6 +326,29 @@ def _spec(): is done, if 3 cyclic expansion is done and stages are merged (default is 1)""", + ), + 15: PinSpecification( + name="expanded_meshed_region", + type_names=["abstract_meshed_region", "meshes_container"], + optional=True, + document="""Mesh expanded, use if cyclic expansion is to + be done.""", + ), + 18: PinSpecification( + name="sectors_to_expand", + type_names=["vector", "scoping", "scopings_container"], + optional=True, + document="""Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done.""", + ), + 19: PinSpecification( + name="phi", + type_names=["double"], + optional=True, + document="""Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done.""", ), 22: PinSpecification( name="read_beams", @@ -405,6 +457,12 @@ class InputsContactGapDistance(_Inputs): >>> op.inputs.requested_location.connect(my_requested_location) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -443,6 +501,16 @@ def __init__(self, op: Operator): contact_gap_distance._spec().input_pin(14), 14, op, -1 ) self._inputs.append(self._read_cyclic) + self._expanded_meshed_region = Input( + contact_gap_distance._spec().input_pin(15), 15, op, -1 + ) + self._inputs.append(self._expanded_meshed_region) + self._sectors_to_expand = Input( + contact_gap_distance._spec().input_pin(18), 18, op, -1 + ) + self._inputs.append(self._sectors_to_expand) + self._phi = Input(contact_gap_distance._spec().input_pin(19), 19, op, -1) + self._inputs.append(self._phi) self._read_beams = Input(contact_gap_distance._spec().input_pin(22), 22, op, -1) self._inputs.append(self._read_beams) self._split_shells = Input( @@ -606,8 +674,8 @@ def bool_rotate_to_global(self): def mesh(self): """Allows to connect mesh input to the operator. - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector Parameters ---------- @@ -668,6 +736,71 @@ def read_cyclic(self): """ return self._read_cyclic + @property + def expanded_meshed_region(self): + """Allows to connect expanded_meshed_region input to the operator. + + Mesh expanded, use if cyclic expansion is to + be done. + + Parameters + ---------- + my_expanded_meshed_region : MeshedRegion or MeshesContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.contact_gap_distance() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> # or + >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region) + """ + return self._expanded_meshed_region + + @property + def sectors_to_expand(self): + """Allows to connect sectors_to_expand input to the operator. + + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + + Parameters + ---------- + my_sectors_to_expand : Scoping or ScopingsContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.contact_gap_distance() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> # or + >>> op.inputs.sectors_to_expand(my_sectors_to_expand) + """ + return self._sectors_to_expand + + @property + def phi(self): + """Allows to connect phi input to the operator. + + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. + + Parameters + ---------- + my_phi : float + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.contact_gap_distance() + >>> op.inputs.phi.connect(my_phi) + >>> # or + >>> op.inputs.phi(my_phi) + """ + return self._phi + @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/contact_penetration.py b/src/ansys/dpf/core/operators/result/contact_penetration.py index a0a947a2bb..1edeed3f7c 100644 --- a/src/ansys/dpf/core/operators/result/contact_penetration.py +++ b/src/ansys/dpf/core/operators/result/contact_penetration.py @@ -60,8 +60,8 @@ class contact_penetration(Operator): If true the field is rotated to global coordinate system (default true) mesh : MeshedRegion or MeshesContainer, optional - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector requested_location : str, optional Requested location nodal, elemental or elementalnodal @@ -71,6 +71,17 @@ class contact_penetration(Operator): is done, if 3 cyclic expansion is done and stages are merged (default is 1) + expanded_meshed_region : MeshedRegion or MeshesContainer, optional + Mesh expanded, use if cyclic expansion is to + be done. + sectors_to_expand : Scoping or ScopingsContainer, optional + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + phi : float, optional + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -122,6 +133,12 @@ class contact_penetration(Operator): >>> op.inputs.requested_location.connect(my_requested_location) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -140,6 +157,9 @@ class contact_penetration(Operator): ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, + ... expanded_meshed_region=my_expanded_meshed_region, + ... sectors_to_expand=my_sectors_to_expand, + ... phi=my_phi, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -160,6 +180,9 @@ def __init__( mesh=None, requested_location=None, read_cyclic=None, + expanded_meshed_region=None, + sectors_to_expand=None, + phi=None, read_beams=None, split_shells=None, shell_layer=None, @@ -187,6 +210,12 @@ def __init__( self.inputs.requested_location.connect(requested_location) if read_cyclic is not None: self.inputs.read_cyclic.connect(read_cyclic) + if expanded_meshed_region is not None: + self.inputs.expanded_meshed_region.connect(expanded_meshed_region) + if sectors_to_expand is not None: + self.inputs.sectors_to_expand.connect(sectors_to_expand) + if phi is not None: + self.inputs.phi.connect(phi) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -278,8 +307,8 @@ def _spec(): name="mesh", type_names=["abstract_meshed_region", "meshes_container"], optional=True, - document="""Prevents from reading the mesh in the result - files""", + document="""Mesh. if cylic expansion is to be done, mesh + of the base sector""", ), 9: PinSpecification( name="requested_location", @@ -297,6 +326,29 @@ def _spec(): is done, if 3 cyclic expansion is done and stages are merged (default is 1)""", + ), + 15: PinSpecification( + name="expanded_meshed_region", + type_names=["abstract_meshed_region", "meshes_container"], + optional=True, + document="""Mesh expanded, use if cyclic expansion is to + be done.""", + ), + 18: PinSpecification( + name="sectors_to_expand", + type_names=["vector", "scoping", "scopings_container"], + optional=True, + document="""Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done.""", + ), + 19: PinSpecification( + name="phi", + type_names=["double"], + optional=True, + document="""Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done.""", ), 22: PinSpecification( name="read_beams", @@ -405,6 +457,12 @@ class InputsContactPenetration(_Inputs): >>> op.inputs.requested_location.connect(my_requested_location) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -441,6 +499,16 @@ def __init__(self, op: Operator): self._inputs.append(self._requested_location) self._read_cyclic = Input(contact_penetration._spec().input_pin(14), 14, op, -1) self._inputs.append(self._read_cyclic) + self._expanded_meshed_region = Input( + contact_penetration._spec().input_pin(15), 15, op, -1 + ) + self._inputs.append(self._expanded_meshed_region) + self._sectors_to_expand = Input( + contact_penetration._spec().input_pin(18), 18, op, -1 + ) + self._inputs.append(self._sectors_to_expand) + self._phi = Input(contact_penetration._spec().input_pin(19), 19, op, -1) + self._inputs.append(self._phi) self._read_beams = Input(contact_penetration._spec().input_pin(22), 22, op, -1) self._inputs.append(self._read_beams) self._split_shells = Input( @@ -602,8 +670,8 @@ def bool_rotate_to_global(self): def mesh(self): """Allows to connect mesh input to the operator. - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector Parameters ---------- @@ -664,6 +732,71 @@ def read_cyclic(self): """ return self._read_cyclic + @property + def expanded_meshed_region(self): + """Allows to connect expanded_meshed_region input to the operator. + + Mesh expanded, use if cyclic expansion is to + be done. + + Parameters + ---------- + my_expanded_meshed_region : MeshedRegion or MeshesContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.contact_penetration() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> # or + >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region) + """ + return self._expanded_meshed_region + + @property + def sectors_to_expand(self): + """Allows to connect sectors_to_expand input to the operator. + + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + + Parameters + ---------- + my_sectors_to_expand : Scoping or ScopingsContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.contact_penetration() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> # or + >>> op.inputs.sectors_to_expand(my_sectors_to_expand) + """ + return self._sectors_to_expand + + @property + def phi(self): + """Allows to connect phi input to the operator. + + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. + + Parameters + ---------- + my_phi : float + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.contact_penetration() + >>> op.inputs.phi.connect(my_phi) + >>> # or + >>> op.inputs.phi(my_phi) + """ + return self._phi + @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/contact_pressure.py b/src/ansys/dpf/core/operators/result/contact_pressure.py index 33b6c5161c..9f2db8be17 100644 --- a/src/ansys/dpf/core/operators/result/contact_pressure.py +++ b/src/ansys/dpf/core/operators/result/contact_pressure.py @@ -60,8 +60,8 @@ class contact_pressure(Operator): If true the field is rotated to global coordinate system (default true) mesh : MeshedRegion or MeshesContainer, optional - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector requested_location : str, optional Requested location nodal, elemental or elementalnodal @@ -71,6 +71,17 @@ class contact_pressure(Operator): is done, if 3 cyclic expansion is done and stages are merged (default is 1) + expanded_meshed_region : MeshedRegion or MeshesContainer, optional + Mesh expanded, use if cyclic expansion is to + be done. + sectors_to_expand : Scoping or ScopingsContainer, optional + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + phi : float, optional + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -122,6 +133,12 @@ class contact_pressure(Operator): >>> op.inputs.requested_location.connect(my_requested_location) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -140,6 +157,9 @@ class contact_pressure(Operator): ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, + ... expanded_meshed_region=my_expanded_meshed_region, + ... sectors_to_expand=my_sectors_to_expand, + ... phi=my_phi, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -160,6 +180,9 @@ def __init__( mesh=None, requested_location=None, read_cyclic=None, + expanded_meshed_region=None, + sectors_to_expand=None, + phi=None, read_beams=None, split_shells=None, shell_layer=None, @@ -187,6 +210,12 @@ def __init__( self.inputs.requested_location.connect(requested_location) if read_cyclic is not None: self.inputs.read_cyclic.connect(read_cyclic) + if expanded_meshed_region is not None: + self.inputs.expanded_meshed_region.connect(expanded_meshed_region) + if sectors_to_expand is not None: + self.inputs.sectors_to_expand.connect(sectors_to_expand) + if phi is not None: + self.inputs.phi.connect(phi) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -278,8 +307,8 @@ def _spec(): name="mesh", type_names=["abstract_meshed_region", "meshes_container"], optional=True, - document="""Prevents from reading the mesh in the result - files""", + document="""Mesh. if cylic expansion is to be done, mesh + of the base sector""", ), 9: PinSpecification( name="requested_location", @@ -297,6 +326,29 @@ def _spec(): is done, if 3 cyclic expansion is done and stages are merged (default is 1)""", + ), + 15: PinSpecification( + name="expanded_meshed_region", + type_names=["abstract_meshed_region", "meshes_container"], + optional=True, + document="""Mesh expanded, use if cyclic expansion is to + be done.""", + ), + 18: PinSpecification( + name="sectors_to_expand", + type_names=["vector", "scoping", "scopings_container"], + optional=True, + document="""Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done.""", + ), + 19: PinSpecification( + name="phi", + type_names=["double"], + optional=True, + document="""Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done.""", ), 22: PinSpecification( name="read_beams", @@ -405,6 +457,12 @@ class InputsContactPressure(_Inputs): >>> op.inputs.requested_location.connect(my_requested_location) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -439,6 +497,16 @@ def __init__(self, op: Operator): self._inputs.append(self._requested_location) self._read_cyclic = Input(contact_pressure._spec().input_pin(14), 14, op, -1) self._inputs.append(self._read_cyclic) + self._expanded_meshed_region = Input( + contact_pressure._spec().input_pin(15), 15, op, -1 + ) + self._inputs.append(self._expanded_meshed_region) + self._sectors_to_expand = Input( + contact_pressure._spec().input_pin(18), 18, op, -1 + ) + self._inputs.append(self._sectors_to_expand) + self._phi = Input(contact_pressure._spec().input_pin(19), 19, op, -1) + self._inputs.append(self._phi) self._read_beams = Input(contact_pressure._spec().input_pin(22), 22, op, -1) self._inputs.append(self._read_beams) self._split_shells = Input(contact_pressure._spec().input_pin(26), 26, op, -1) @@ -598,8 +666,8 @@ def bool_rotate_to_global(self): def mesh(self): """Allows to connect mesh input to the operator. - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector Parameters ---------- @@ -660,6 +728,71 @@ def read_cyclic(self): """ return self._read_cyclic + @property + def expanded_meshed_region(self): + """Allows to connect expanded_meshed_region input to the operator. + + Mesh expanded, use if cyclic expansion is to + be done. + + Parameters + ---------- + my_expanded_meshed_region : MeshedRegion or MeshesContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.contact_pressure() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> # or + >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region) + """ + return self._expanded_meshed_region + + @property + def sectors_to_expand(self): + """Allows to connect sectors_to_expand input to the operator. + + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + + Parameters + ---------- + my_sectors_to_expand : Scoping or ScopingsContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.contact_pressure() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> # or + >>> op.inputs.sectors_to_expand(my_sectors_to_expand) + """ + return self._sectors_to_expand + + @property + def phi(self): + """Allows to connect phi input to the operator. + + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. + + Parameters + ---------- + my_phi : float + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.contact_pressure() + >>> op.inputs.phi.connect(my_phi) + >>> # or + >>> op.inputs.phi(my_phi) + """ + return self._phi + @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/contact_sliding_distance.py b/src/ansys/dpf/core/operators/result/contact_sliding_distance.py index e9019d1bd0..6f0f93fac9 100644 --- a/src/ansys/dpf/core/operators/result/contact_sliding_distance.py +++ b/src/ansys/dpf/core/operators/result/contact_sliding_distance.py @@ -60,8 +60,8 @@ class contact_sliding_distance(Operator): If true the field is rotated to global coordinate system (default true) mesh : MeshedRegion or MeshesContainer, optional - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector requested_location : str, optional Requested location nodal, elemental or elementalnodal @@ -71,6 +71,17 @@ class contact_sliding_distance(Operator): is done, if 3 cyclic expansion is done and stages are merged (default is 1) + expanded_meshed_region : MeshedRegion or MeshesContainer, optional + Mesh expanded, use if cyclic expansion is to + be done. + sectors_to_expand : Scoping or ScopingsContainer, optional + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + phi : float, optional + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -122,6 +133,12 @@ class contact_sliding_distance(Operator): >>> op.inputs.requested_location.connect(my_requested_location) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -140,6 +157,9 @@ class contact_sliding_distance(Operator): ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, + ... expanded_meshed_region=my_expanded_meshed_region, + ... sectors_to_expand=my_sectors_to_expand, + ... phi=my_phi, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -160,6 +180,9 @@ def __init__( mesh=None, requested_location=None, read_cyclic=None, + expanded_meshed_region=None, + sectors_to_expand=None, + phi=None, read_beams=None, split_shells=None, shell_layer=None, @@ -187,6 +210,12 @@ def __init__( self.inputs.requested_location.connect(requested_location) if read_cyclic is not None: self.inputs.read_cyclic.connect(read_cyclic) + if expanded_meshed_region is not None: + self.inputs.expanded_meshed_region.connect(expanded_meshed_region) + if sectors_to_expand is not None: + self.inputs.sectors_to_expand.connect(sectors_to_expand) + if phi is not None: + self.inputs.phi.connect(phi) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -278,8 +307,8 @@ def _spec(): name="mesh", type_names=["abstract_meshed_region", "meshes_container"], optional=True, - document="""Prevents from reading the mesh in the result - files""", + document="""Mesh. if cylic expansion is to be done, mesh + of the base sector""", ), 9: PinSpecification( name="requested_location", @@ -297,6 +326,29 @@ def _spec(): is done, if 3 cyclic expansion is done and stages are merged (default is 1)""", + ), + 15: PinSpecification( + name="expanded_meshed_region", + type_names=["abstract_meshed_region", "meshes_container"], + optional=True, + document="""Mesh expanded, use if cyclic expansion is to + be done.""", + ), + 18: PinSpecification( + name="sectors_to_expand", + type_names=["vector", "scoping", "scopings_container"], + optional=True, + document="""Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done.""", + ), + 19: PinSpecification( + name="phi", + type_names=["double"], + optional=True, + document="""Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done.""", ), 22: PinSpecification( name="read_beams", @@ -405,6 +457,12 @@ class InputsContactSlidingDistance(_Inputs): >>> op.inputs.requested_location.connect(my_requested_location) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -449,6 +507,16 @@ def __init__(self, op: Operator): contact_sliding_distance._spec().input_pin(14), 14, op, -1 ) self._inputs.append(self._read_cyclic) + self._expanded_meshed_region = Input( + contact_sliding_distance._spec().input_pin(15), 15, op, -1 + ) + self._inputs.append(self._expanded_meshed_region) + self._sectors_to_expand = Input( + contact_sliding_distance._spec().input_pin(18), 18, op, -1 + ) + self._inputs.append(self._sectors_to_expand) + self._phi = Input(contact_sliding_distance._spec().input_pin(19), 19, op, -1) + self._inputs.append(self._phi) self._read_beams = Input( contact_sliding_distance._spec().input_pin(22), 22, op, -1 ) @@ -614,8 +682,8 @@ def bool_rotate_to_global(self): def mesh(self): """Allows to connect mesh input to the operator. - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector Parameters ---------- @@ -676,6 +744,71 @@ def read_cyclic(self): """ return self._read_cyclic + @property + def expanded_meshed_region(self): + """Allows to connect expanded_meshed_region input to the operator. + + Mesh expanded, use if cyclic expansion is to + be done. + + Parameters + ---------- + my_expanded_meshed_region : MeshedRegion or MeshesContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.contact_sliding_distance() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> # or + >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region) + """ + return self._expanded_meshed_region + + @property + def sectors_to_expand(self): + """Allows to connect sectors_to_expand input to the operator. + + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + + Parameters + ---------- + my_sectors_to_expand : Scoping or ScopingsContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.contact_sliding_distance() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> # or + >>> op.inputs.sectors_to_expand(my_sectors_to_expand) + """ + return self._sectors_to_expand + + @property + def phi(self): + """Allows to connect phi input to the operator. + + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. + + Parameters + ---------- + my_phi : float + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.contact_sliding_distance() + >>> op.inputs.phi.connect(my_phi) + >>> # or + >>> op.inputs.phi(my_phi) + """ + return self._phi + @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/contact_status.py b/src/ansys/dpf/core/operators/result/contact_status.py index 27c86a41b0..60c40ad8dd 100644 --- a/src/ansys/dpf/core/operators/result/contact_status.py +++ b/src/ansys/dpf/core/operators/result/contact_status.py @@ -60,8 +60,8 @@ class contact_status(Operator): If true the field is rotated to global coordinate system (default true) mesh : MeshedRegion or MeshesContainer, optional - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector requested_location : str, optional Requested location nodal, elemental or elementalnodal @@ -71,6 +71,17 @@ class contact_status(Operator): is done, if 3 cyclic expansion is done and stages are merged (default is 1) + expanded_meshed_region : MeshedRegion or MeshesContainer, optional + Mesh expanded, use if cyclic expansion is to + be done. + sectors_to_expand : Scoping or ScopingsContainer, optional + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + phi : float, optional + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -122,6 +133,12 @@ class contact_status(Operator): >>> op.inputs.requested_location.connect(my_requested_location) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -140,6 +157,9 @@ class contact_status(Operator): ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, + ... expanded_meshed_region=my_expanded_meshed_region, + ... sectors_to_expand=my_sectors_to_expand, + ... phi=my_phi, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -160,6 +180,9 @@ def __init__( mesh=None, requested_location=None, read_cyclic=None, + expanded_meshed_region=None, + sectors_to_expand=None, + phi=None, read_beams=None, split_shells=None, shell_layer=None, @@ -187,6 +210,12 @@ def __init__( self.inputs.requested_location.connect(requested_location) if read_cyclic is not None: self.inputs.read_cyclic.connect(read_cyclic) + if expanded_meshed_region is not None: + self.inputs.expanded_meshed_region.connect(expanded_meshed_region) + if sectors_to_expand is not None: + self.inputs.sectors_to_expand.connect(sectors_to_expand) + if phi is not None: + self.inputs.phi.connect(phi) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -278,8 +307,8 @@ def _spec(): name="mesh", type_names=["abstract_meshed_region", "meshes_container"], optional=True, - document="""Prevents from reading the mesh in the result - files""", + document="""Mesh. if cylic expansion is to be done, mesh + of the base sector""", ), 9: PinSpecification( name="requested_location", @@ -297,6 +326,29 @@ def _spec(): is done, if 3 cyclic expansion is done and stages are merged (default is 1)""", + ), + 15: PinSpecification( + name="expanded_meshed_region", + type_names=["abstract_meshed_region", "meshes_container"], + optional=True, + document="""Mesh expanded, use if cyclic expansion is to + be done.""", + ), + 18: PinSpecification( + name="sectors_to_expand", + type_names=["vector", "scoping", "scopings_container"], + optional=True, + document="""Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done.""", + ), + 19: PinSpecification( + name="phi", + type_names=["double"], + optional=True, + document="""Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done.""", ), 22: PinSpecification( name="read_beams", @@ -405,6 +457,12 @@ class InputsContactStatus(_Inputs): >>> op.inputs.requested_location.connect(my_requested_location) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -435,6 +493,16 @@ def __init__(self, op: Operator): self._inputs.append(self._requested_location) self._read_cyclic = Input(contact_status._spec().input_pin(14), 14, op, -1) self._inputs.append(self._read_cyclic) + self._expanded_meshed_region = Input( + contact_status._spec().input_pin(15), 15, op, -1 + ) + self._inputs.append(self._expanded_meshed_region) + self._sectors_to_expand = Input( + contact_status._spec().input_pin(18), 18, op, -1 + ) + self._inputs.append(self._sectors_to_expand) + self._phi = Input(contact_status._spec().input_pin(19), 19, op, -1) + self._inputs.append(self._phi) self._read_beams = Input(contact_status._spec().input_pin(22), 22, op, -1) self._inputs.append(self._read_beams) self._split_shells = Input(contact_status._spec().input_pin(26), 26, op, -1) @@ -594,8 +662,8 @@ def bool_rotate_to_global(self): def mesh(self): """Allows to connect mesh input to the operator. - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector Parameters ---------- @@ -656,6 +724,71 @@ def read_cyclic(self): """ return self._read_cyclic + @property + def expanded_meshed_region(self): + """Allows to connect expanded_meshed_region input to the operator. + + Mesh expanded, use if cyclic expansion is to + be done. + + Parameters + ---------- + my_expanded_meshed_region : MeshedRegion or MeshesContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.contact_status() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> # or + >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region) + """ + return self._expanded_meshed_region + + @property + def sectors_to_expand(self): + """Allows to connect sectors_to_expand input to the operator. + + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + + Parameters + ---------- + my_sectors_to_expand : Scoping or ScopingsContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.contact_status() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> # or + >>> op.inputs.sectors_to_expand(my_sectors_to_expand) + """ + return self._sectors_to_expand + + @property + def phi(self): + """Allows to connect phi input to the operator. + + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. + + Parameters + ---------- + my_phi : float + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.contact_status() + >>> op.inputs.phi.connect(my_phi) + >>> # or + >>> op.inputs.phi(my_phi) + """ + return self._phi + @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/contact_surface_heat_flux.py b/src/ansys/dpf/core/operators/result/contact_surface_heat_flux.py index 2b1dffdd21..8f57effa53 100644 --- a/src/ansys/dpf/core/operators/result/contact_surface_heat_flux.py +++ b/src/ansys/dpf/core/operators/result/contact_surface_heat_flux.py @@ -60,8 +60,8 @@ class contact_surface_heat_flux(Operator): If true the field is rotated to global coordinate system (default true) mesh : MeshedRegion or MeshesContainer, optional - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector requested_location : str, optional Requested location nodal, elemental or elementalnodal @@ -71,6 +71,17 @@ class contact_surface_heat_flux(Operator): is done, if 3 cyclic expansion is done and stages are merged (default is 1) + expanded_meshed_region : MeshedRegion or MeshesContainer, optional + Mesh expanded, use if cyclic expansion is to + be done. + sectors_to_expand : Scoping or ScopingsContainer, optional + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + phi : float, optional + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -122,6 +133,12 @@ class contact_surface_heat_flux(Operator): >>> op.inputs.requested_location.connect(my_requested_location) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -140,6 +157,9 @@ class contact_surface_heat_flux(Operator): ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, + ... expanded_meshed_region=my_expanded_meshed_region, + ... sectors_to_expand=my_sectors_to_expand, + ... phi=my_phi, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -160,6 +180,9 @@ def __init__( mesh=None, requested_location=None, read_cyclic=None, + expanded_meshed_region=None, + sectors_to_expand=None, + phi=None, read_beams=None, split_shells=None, shell_layer=None, @@ -187,6 +210,12 @@ def __init__( self.inputs.requested_location.connect(requested_location) if read_cyclic is not None: self.inputs.read_cyclic.connect(read_cyclic) + if expanded_meshed_region is not None: + self.inputs.expanded_meshed_region.connect(expanded_meshed_region) + if sectors_to_expand is not None: + self.inputs.sectors_to_expand.connect(sectors_to_expand) + if phi is not None: + self.inputs.phi.connect(phi) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -278,8 +307,8 @@ def _spec(): name="mesh", type_names=["abstract_meshed_region", "meshes_container"], optional=True, - document="""Prevents from reading the mesh in the result - files""", + document="""Mesh. if cylic expansion is to be done, mesh + of the base sector""", ), 9: PinSpecification( name="requested_location", @@ -297,6 +326,29 @@ def _spec(): is done, if 3 cyclic expansion is done and stages are merged (default is 1)""", + ), + 15: PinSpecification( + name="expanded_meshed_region", + type_names=["abstract_meshed_region", "meshes_container"], + optional=True, + document="""Mesh expanded, use if cyclic expansion is to + be done.""", + ), + 18: PinSpecification( + name="sectors_to_expand", + type_names=["vector", "scoping", "scopings_container"], + optional=True, + document="""Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done.""", + ), + 19: PinSpecification( + name="phi", + type_names=["double"], + optional=True, + document="""Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done.""", ), 22: PinSpecification( name="read_beams", @@ -405,6 +457,12 @@ class InputsContactSurfaceHeatFlux(_Inputs): >>> op.inputs.requested_location.connect(my_requested_location) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -449,6 +507,16 @@ def __init__(self, op: Operator): contact_surface_heat_flux._spec().input_pin(14), 14, op, -1 ) self._inputs.append(self._read_cyclic) + self._expanded_meshed_region = Input( + contact_surface_heat_flux._spec().input_pin(15), 15, op, -1 + ) + self._inputs.append(self._expanded_meshed_region) + self._sectors_to_expand = Input( + contact_surface_heat_flux._spec().input_pin(18), 18, op, -1 + ) + self._inputs.append(self._sectors_to_expand) + self._phi = Input(contact_surface_heat_flux._spec().input_pin(19), 19, op, -1) + self._inputs.append(self._phi) self._read_beams = Input( contact_surface_heat_flux._spec().input_pin(22), 22, op, -1 ) @@ -614,8 +682,8 @@ def bool_rotate_to_global(self): def mesh(self): """Allows to connect mesh input to the operator. - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector Parameters ---------- @@ -676,6 +744,71 @@ def read_cyclic(self): """ return self._read_cyclic + @property + def expanded_meshed_region(self): + """Allows to connect expanded_meshed_region input to the operator. + + Mesh expanded, use if cyclic expansion is to + be done. + + Parameters + ---------- + my_expanded_meshed_region : MeshedRegion or MeshesContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.contact_surface_heat_flux() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> # or + >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region) + """ + return self._expanded_meshed_region + + @property + def sectors_to_expand(self): + """Allows to connect sectors_to_expand input to the operator. + + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + + Parameters + ---------- + my_sectors_to_expand : Scoping or ScopingsContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.contact_surface_heat_flux() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> # or + >>> op.inputs.sectors_to_expand(my_sectors_to_expand) + """ + return self._sectors_to_expand + + @property + def phi(self): + """Allows to connect phi input to the operator. + + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. + + Parameters + ---------- + my_phi : float + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.contact_surface_heat_flux() + >>> op.inputs.phi.connect(my_phi) + >>> # or + >>> op.inputs.phi(my_phi) + """ + return self._phi + @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/contact_total_stress.py b/src/ansys/dpf/core/operators/result/contact_total_stress.py index 2c7221eba3..314141a746 100644 --- a/src/ansys/dpf/core/operators/result/contact_total_stress.py +++ b/src/ansys/dpf/core/operators/result/contact_total_stress.py @@ -60,8 +60,8 @@ class contact_total_stress(Operator): If true the field is rotated to global coordinate system (default true) mesh : MeshedRegion or MeshesContainer, optional - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector requested_location : str, optional Requested location nodal, elemental or elementalnodal @@ -71,6 +71,17 @@ class contact_total_stress(Operator): is done, if 3 cyclic expansion is done and stages are merged (default is 1) + expanded_meshed_region : MeshedRegion or MeshesContainer, optional + Mesh expanded, use if cyclic expansion is to + be done. + sectors_to_expand : Scoping or ScopingsContainer, optional + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + phi : float, optional + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -122,6 +133,12 @@ class contact_total_stress(Operator): >>> op.inputs.requested_location.connect(my_requested_location) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -140,6 +157,9 @@ class contact_total_stress(Operator): ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, + ... expanded_meshed_region=my_expanded_meshed_region, + ... sectors_to_expand=my_sectors_to_expand, + ... phi=my_phi, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -160,6 +180,9 @@ def __init__( mesh=None, requested_location=None, read_cyclic=None, + expanded_meshed_region=None, + sectors_to_expand=None, + phi=None, read_beams=None, split_shells=None, shell_layer=None, @@ -187,6 +210,12 @@ def __init__( self.inputs.requested_location.connect(requested_location) if read_cyclic is not None: self.inputs.read_cyclic.connect(read_cyclic) + if expanded_meshed_region is not None: + self.inputs.expanded_meshed_region.connect(expanded_meshed_region) + if sectors_to_expand is not None: + self.inputs.sectors_to_expand.connect(sectors_to_expand) + if phi is not None: + self.inputs.phi.connect(phi) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -278,8 +307,8 @@ def _spec(): name="mesh", type_names=["abstract_meshed_region", "meshes_container"], optional=True, - document="""Prevents from reading the mesh in the result - files""", + document="""Mesh. if cylic expansion is to be done, mesh + of the base sector""", ), 9: PinSpecification( name="requested_location", @@ -297,6 +326,29 @@ def _spec(): is done, if 3 cyclic expansion is done and stages are merged (default is 1)""", + ), + 15: PinSpecification( + name="expanded_meshed_region", + type_names=["abstract_meshed_region", "meshes_container"], + optional=True, + document="""Mesh expanded, use if cyclic expansion is to + be done.""", + ), + 18: PinSpecification( + name="sectors_to_expand", + type_names=["vector", "scoping", "scopings_container"], + optional=True, + document="""Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done.""", + ), + 19: PinSpecification( + name="phi", + type_names=["double"], + optional=True, + document="""Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done.""", ), 22: PinSpecification( name="read_beams", @@ -405,6 +457,12 @@ class InputsContactTotalStress(_Inputs): >>> op.inputs.requested_location.connect(my_requested_location) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -443,6 +501,16 @@ def __init__(self, op: Operator): contact_total_stress._spec().input_pin(14), 14, op, -1 ) self._inputs.append(self._read_cyclic) + self._expanded_meshed_region = Input( + contact_total_stress._spec().input_pin(15), 15, op, -1 + ) + self._inputs.append(self._expanded_meshed_region) + self._sectors_to_expand = Input( + contact_total_stress._spec().input_pin(18), 18, op, -1 + ) + self._inputs.append(self._sectors_to_expand) + self._phi = Input(contact_total_stress._spec().input_pin(19), 19, op, -1) + self._inputs.append(self._phi) self._read_beams = Input(contact_total_stress._spec().input_pin(22), 22, op, -1) self._inputs.append(self._read_beams) self._split_shells = Input( @@ -606,8 +674,8 @@ def bool_rotate_to_global(self): def mesh(self): """Allows to connect mesh input to the operator. - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector Parameters ---------- @@ -668,6 +736,71 @@ def read_cyclic(self): """ return self._read_cyclic + @property + def expanded_meshed_region(self): + """Allows to connect expanded_meshed_region input to the operator. + + Mesh expanded, use if cyclic expansion is to + be done. + + Parameters + ---------- + my_expanded_meshed_region : MeshedRegion or MeshesContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.contact_total_stress() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> # or + >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region) + """ + return self._expanded_meshed_region + + @property + def sectors_to_expand(self): + """Allows to connect sectors_to_expand input to the operator. + + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + + Parameters + ---------- + my_sectors_to_expand : Scoping or ScopingsContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.contact_total_stress() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> # or + >>> op.inputs.sectors_to_expand(my_sectors_to_expand) + """ + return self._sectors_to_expand + + @property + def phi(self): + """Allows to connect phi input to the operator. + + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. + + Parameters + ---------- + my_phi : float + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.contact_total_stress() + >>> op.inputs.phi.connect(my_phi) + >>> # or + >>> op.inputs.phi(my_phi) + """ + return self._phi + @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/coordinates.py b/src/ansys/dpf/core/operators/result/coordinates.py index 49eebabe7a..1b3fcb9adb 100644 --- a/src/ansys/dpf/core/operators/result/coordinates.py +++ b/src/ansys/dpf/core/operators/result/coordinates.py @@ -60,12 +60,6 @@ class coordinates(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class coordinates(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.coordinates( @@ -105,7 +97,6 @@ class coordinates(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsCoordinates(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -331,8 +307,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(coordinates._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input(coordinates._spec().input_pin(14), 14, op, -1) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -503,30 +477,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.coordinates() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsCoordinates(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/creep_strain_energy_density.py b/src/ansys/dpf/core/operators/result/creep_strain_energy_density.py index 28ac276ea3..c4f98d6a03 100644 --- a/src/ansys/dpf/core/operators/result/creep_strain_energy_density.py +++ b/src/ansys/dpf/core/operators/result/creep_strain_energy_density.py @@ -65,12 +65,6 @@ class creep_strain_energy_density(Operator): requested_location : str, optional Requested location nodal, elemental or elementalnodal - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -120,8 +114,6 @@ class creep_strain_energy_density(Operator): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -139,7 +131,6 @@ class creep_strain_energy_density(Operator): ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, ... requested_location=my_requested_location, - ... read_cyclic=my_read_cyclic, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -159,7 +150,6 @@ def __init__( bool_rotate_to_global=None, mesh=None, requested_location=None, - read_cyclic=None, read_beams=None, split_shells=None, shell_layer=None, @@ -185,8 +175,6 @@ def __init__( self.inputs.mesh.connect(mesh) if requested_location is not None: self.inputs.requested_location.connect(requested_location) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -287,16 +275,6 @@ def _spec(): optional=True, document="""Requested location nodal, elemental or elementalnodal""", - ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", ), 22: PinSpecification( name="read_beams", @@ -403,8 +381,6 @@ class InputsCreepStrainEnergyDensity(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -445,10 +421,6 @@ def __init__(self, op: Operator): creep_strain_energy_density._spec().input_pin(9), 9, op, -1 ) self._inputs.append(self._requested_location) - self._read_cyclic = Input( - creep_strain_energy_density._spec().input_pin(14), 14, op, -1 - ) - self._inputs.append(self._read_cyclic) self._read_beams = Input( creep_strain_energy_density._spec().input_pin(22), 22, op, -1 ) @@ -652,30 +624,6 @@ def requested_location(self): """ return self._requested_location - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.creep_strain_energy_density() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/current_density.py b/src/ansys/dpf/core/operators/result/current_density.py index e05e5ab5cf..5c530bbb01 100644 --- a/src/ansys/dpf/core/operators/result/current_density.py +++ b/src/ansys/dpf/core/operators/result/current_density.py @@ -60,12 +60,6 @@ class current_density(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class current_density(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.current_density( @@ -105,7 +97,6 @@ class current_density(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsCurrentDensity(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -333,8 +309,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(current_density._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input(current_density._spec().input_pin(14), 14, op, -1) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -505,30 +479,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.current_density() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsCurrentDensity(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/custom.py b/src/ansys/dpf/core/operators/result/custom.py index 1e47fa8331..8648059fa7 100644 --- a/src/ansys/dpf/core/operators/result/custom.py +++ b/src/ansys/dpf/core/operators/result/custom.py @@ -60,12 +60,6 @@ class custom(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) result_name : Name of the result that must be extracted from the file @@ -96,8 +90,6 @@ class custom(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_result_name = dpf.() >>> op.inputs.result_name.connect(my_result_name) @@ -110,7 +102,6 @@ class custom(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... result_name=my_result_name, ... ) @@ -127,7 +118,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, result_name=None, config=None, server=None, @@ -149,8 +139,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) if result_name is not None: self.inputs.result_name.connect(result_name) @@ -238,16 +226,6 @@ def _spec(): optional=True, document="""Prevents from reading the mesh in the result files""", - ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", ), 60: PinSpecification( name="result_name", @@ -327,8 +305,6 @@ class InputsCustom(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_result_name = dpf.() >>> op.inputs.result_name.connect(my_result_name) """ @@ -349,8 +325,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(custom._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input(custom._spec().input_pin(14), 14, op, -1) - self._inputs.append(self._read_cyclic) self._result_name = Input(custom._spec().input_pin(60), 60, op, -1) self._inputs.append(self._result_name) @@ -523,30 +497,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.custom() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - @property def result_name(self): """Allows to connect result_name input to the operator. diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_acceleration.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_acceleration.py index 832da0800d..ce21537ff2 100644 --- a/src/ansys/dpf/core/operators/result/cyclic_expanded_acceleration.py +++ b/src/ansys/dpf/core/operators/result/cyclic_expanded_acceleration.py @@ -12,7 +12,9 @@ class cyclic_expanded_acceleration(Operator): - """Read acceleration from an rst file and expand it with cyclic symmetry. + """This operator is deprecated: use the operator acceleration with the + read_cyclic pin instead. Read acceleration from an rst file and + expand it with cyclic symmetry. Parameters ---------- @@ -171,9 +173,9 @@ def __init__( @staticmethod def _spec(): - description = ( - """Read acceleration from an rst file and expand it with cyclic symmetry.""" - ) + description = """This operator is deprecated: use the operator acceleration with the + read_cyclic pin instead. Read acceleration from an rst + file and expand it with cyclic symmetry.""" spec = Specification( description=description, map_input_pin_spec={ diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_displacement.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_displacement.py index 5ee07ccd50..bad20a0582 100644 --- a/src/ansys/dpf/core/operators/result/cyclic_expanded_displacement.py +++ b/src/ansys/dpf/core/operators/result/cyclic_expanded_displacement.py @@ -12,8 +12,9 @@ class cyclic_expanded_displacement(Operator): - """Read displacements from an rst file and expand it with cyclic - symmetry. + """This operator is deprecated: use the operator displacements with the + read_cyclic pin instead. Read displacements from an rst file and + expand it with cyclic symmetry. Parameters ---------- @@ -172,8 +173,9 @@ def __init__( @staticmethod def _spec(): - description = """Read displacements from an rst file and expand it with cyclic - symmetry.""" + description = """This operator is deprecated: use the operator displacements with the + read_cyclic pin instead. Read displacements from an rst + file and expand it with cyclic symmetry.""" spec = Specification( description=description, map_input_pin_spec={ diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_el_strain.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_el_strain.py index 6605bcf82d..0de5ac903c 100644 --- a/src/ansys/dpf/core/operators/result/cyclic_expanded_el_strain.py +++ b/src/ansys/dpf/core/operators/result/cyclic_expanded_el_strain.py @@ -12,8 +12,9 @@ class cyclic_expanded_el_strain(Operator): - """Read mapdl::rst::EPEL from an rst file and expand it with cyclic - symmetry. + """This operator is deprecated: use the operator mapdl::rst::EPEL with + the read_cyclic pin instead. Read mapdl::rst::EPEL from an rst + file and expand it with cyclic symmetry. Parameters ---------- @@ -172,8 +173,9 @@ def __init__( @staticmethod def _spec(): - description = """Read mapdl::rst::EPEL from an rst file and expand it with cyclic - symmetry.""" + description = """This operator is deprecated: use the operator mapdl::rst::EPEL with + the read_cyclic pin instead. Read mapdl::rst::EPEL from an + rst file and expand it with cyclic symmetry.""" spec = Specification( description=description, map_input_pin_spec={ diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_enf.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_enf.py index 6fcf1575cf..64b0991647 100644 --- a/src/ansys/dpf/core/operators/result/cyclic_expanded_enf.py +++ b/src/ansys/dpf/core/operators/result/cyclic_expanded_enf.py @@ -12,7 +12,9 @@ class cyclic_expanded_enf(Operator): - """Read ENF from an rst file and expand it with cyclic symmetry. + """This operator is deprecated: use the operator ENF with the read_cyclic + pin instead. Read ENF from an rst file and expand it with cyclic + symmetry. Parameters ---------- @@ -171,9 +173,9 @@ def __init__( @staticmethod def _spec(): - description = ( - """Read ENF from an rst file and expand it with cyclic symmetry.""" - ) + description = """This operator is deprecated: use the operator ENF with the read_cyclic + pin instead. Read ENF from an rst file and expand it with + cyclic symmetry.""" spec = Specification( description=description, map_input_pin_spec={ diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_heat_flux.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_heat_flux.py index f6ecda5a51..b90ce6a489 100644 --- a/src/ansys/dpf/core/operators/result/cyclic_expanded_heat_flux.py +++ b/src/ansys/dpf/core/operators/result/cyclic_expanded_heat_flux.py @@ -12,8 +12,9 @@ class cyclic_expanded_heat_flux(Operator): - """Read mapdl::rst::TF from an rst file and expand it with cyclic - symmetry. + """This operator is deprecated: use the operator mapdl::rst::TF with the + read_cyclic pin instead. Read mapdl::rst::TF from an rst file and + expand it with cyclic symmetry. Parameters ---------- @@ -172,8 +173,9 @@ def __init__( @staticmethod def _spec(): - description = """Read mapdl::rst::TF from an rst file and expand it with cyclic - symmetry.""" + description = """This operator is deprecated: use the operator mapdl::rst::TF with the + read_cyclic pin instead. Read mapdl::rst::TF from an rst + file and expand it with cyclic symmetry.""" spec = Specification( description=description, map_input_pin_spec={ diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_stress.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_stress.py index 4047c5de50..6e7e4f0dde 100644 --- a/src/ansys/dpf/core/operators/result/cyclic_expanded_stress.py +++ b/src/ansys/dpf/core/operators/result/cyclic_expanded_stress.py @@ -12,8 +12,9 @@ class cyclic_expanded_stress(Operator): - """Read mapdl::rst::S from an rst file and expand it with cyclic - symmetry. + """This operator is deprecated: use the operator mapdl::rst::S with the + read_cyclic pin instead. Read mapdl::rst::S from an rst file and + expand it with cyclic symmetry. Parameters ---------- @@ -172,8 +173,9 @@ def __init__( @staticmethod def _spec(): - description = """Read mapdl::rst::S from an rst file and expand it with cyclic - symmetry.""" + description = """This operator is deprecated: use the operator mapdl::rst::S with the + read_cyclic pin instead. Read mapdl::rst::S from an rst + file and expand it with cyclic symmetry.""" spec = Specification( description=description, map_input_pin_spec={ diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_temperature.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_temperature.py index efe19cbf06..6d4540964b 100644 --- a/src/ansys/dpf/core/operators/result/cyclic_expanded_temperature.py +++ b/src/ansys/dpf/core/operators/result/cyclic_expanded_temperature.py @@ -12,7 +12,9 @@ class cyclic_expanded_temperature(Operator): - """Read temperature from an rst file and expand it with cyclic symmetry. + """This operator is deprecated: use the operator temperature with the + read_cyclic pin instead. Read temperature from an rst file and + expand it with cyclic symmetry. Parameters ---------- @@ -171,9 +173,9 @@ def __init__( @staticmethod def _spec(): - description = ( - """Read temperature from an rst file and expand it with cyclic symmetry.""" - ) + description = """This operator is deprecated: use the operator temperature with the + read_cyclic pin instead. Read temperature from an rst file + and expand it with cyclic symmetry.""" spec = Specification( description=description, map_input_pin_spec={ diff --git a/src/ansys/dpf/core/operators/result/cyclic_expanded_velocity.py b/src/ansys/dpf/core/operators/result/cyclic_expanded_velocity.py index f633bfee00..1974da96a8 100644 --- a/src/ansys/dpf/core/operators/result/cyclic_expanded_velocity.py +++ b/src/ansys/dpf/core/operators/result/cyclic_expanded_velocity.py @@ -12,7 +12,9 @@ class cyclic_expanded_velocity(Operator): - """Read velocity from an rst file and expand it with cyclic symmetry. + """This operator is deprecated: use the operator velocity with the + read_cyclic pin instead. Read velocity from an rst file and expand + it with cyclic symmetry. Parameters ---------- @@ -171,9 +173,9 @@ def __init__( @staticmethod def _spec(): - description = ( - """Read velocity from an rst file and expand it with cyclic symmetry.""" - ) + description = """This operator is deprecated: use the operator velocity with the + read_cyclic pin instead. Read velocity from an rst file + and expand it with cyclic symmetry.""" spec = Specification( description=description, map_input_pin_spec={ diff --git a/src/ansys/dpf/core/operators/result/cyclic_kinetic_energy.py b/src/ansys/dpf/core/operators/result/cyclic_kinetic_energy.py index d35b767341..f969e09718 100644 --- a/src/ansys/dpf/core/operators/result/cyclic_kinetic_energy.py +++ b/src/ansys/dpf/core/operators/result/cyclic_kinetic_energy.py @@ -12,7 +12,9 @@ class cyclic_kinetic_energy(Operator): - """Computes mapdl::rst::ENG_KE from an rst file. + """This operator is deprecated: use the operator mapdl::rst::ENG_KE with + the read_cyclic pin instead. Compute mapdl::rst::ENG_KE from an + rst file and expand it with cyclic symmetry. Parameters ---------- @@ -146,7 +148,9 @@ def __init__( @staticmethod def _spec(): - description = """Computes mapdl::rst::ENG_KE from an rst file.""" + description = """This operator is deprecated: use the operator mapdl::rst::ENG_KE with + the read_cyclic pin instead. Compute mapdl::rst::ENG_KE + from an rst file and expand it with cyclic symmetry.""" spec = Specification( description=description, map_input_pin_spec={ diff --git a/src/ansys/dpf/core/operators/result/cyclic_nmisc.py b/src/ansys/dpf/core/operators/result/cyclic_nmisc.py index 82ca251b0b..4ce658597c 100644 --- a/src/ansys/dpf/core/operators/result/cyclic_nmisc.py +++ b/src/ansys/dpf/core/operators/result/cyclic_nmisc.py @@ -12,7 +12,9 @@ class cyclic_nmisc(Operator): - """Computes mapdl::rst::NMISC from an rst file. + """This operator is deprecated: use the operator mapdl::rst::NMISC with + the read_cyclic pin instead. Compute mapdl::rst::NMISC from an rst + file and expand it with cyclic symmetry. Parameters ---------- @@ -146,7 +148,9 @@ def __init__( @staticmethod def _spec(): - description = """Computes mapdl::rst::NMISC from an rst file.""" + description = """This operator is deprecated: use the operator mapdl::rst::NMISC with + the read_cyclic pin instead. Compute mapdl::rst::NMISC + from an rst file and expand it with cyclic symmetry.""" spec = Specification( description=description, map_input_pin_spec={ diff --git a/src/ansys/dpf/core/operators/result/cyclic_strain_energy.py b/src/ansys/dpf/core/operators/result/cyclic_strain_energy.py index b6ff092fcc..80e58c119a 100644 --- a/src/ansys/dpf/core/operators/result/cyclic_strain_energy.py +++ b/src/ansys/dpf/core/operators/result/cyclic_strain_energy.py @@ -12,7 +12,9 @@ class cyclic_strain_energy(Operator): - """Computes mapdl::rst::ENG_SE from an rst file. + """This operator is deprecated: use the operator mapdl::rst::ENG_SE with + the read_cyclic pin instead. Compute mapdl::rst::ENG_SE from an + rst file and expand it with cyclic symmetry. Parameters ---------- @@ -146,7 +148,9 @@ def __init__( @staticmethod def _spec(): - description = """Computes mapdl::rst::ENG_SE from an rst file.""" + description = """This operator is deprecated: use the operator mapdl::rst::ENG_SE with + the read_cyclic pin instead. Compute mapdl::rst::ENG_SE + from an rst file and expand it with cyclic symmetry.""" spec = Specification( description=description, map_input_pin_spec={ diff --git a/src/ansys/dpf/core/operators/result/cyclic_volume.py b/src/ansys/dpf/core/operators/result/cyclic_volume.py index 5a5f6dd7f4..694861a56f 100644 --- a/src/ansys/dpf/core/operators/result/cyclic_volume.py +++ b/src/ansys/dpf/core/operators/result/cyclic_volume.py @@ -12,7 +12,9 @@ class cyclic_volume(Operator): - """Read mapdl::rst::ENG_VOL from an rst file. + """This operator is deprecated: use the operator mapdl::rst::ENG_VOL with + the read_cyclic pin instead. Read mapdl::rst::ENG_VOL from an rst + file and expand it with cyclic symmetry. Parameters ---------- @@ -148,7 +150,9 @@ def __init__( @staticmethod def _spec(): - description = """Read mapdl::rst::ENG_VOL from an rst file.""" + description = """This operator is deprecated: use the operator mapdl::rst::ENG_VOL with + the read_cyclic pin instead. Read mapdl::rst::ENG_VOL from + an rst file and expand it with cyclic symmetry.""" spec = Specification( description=description, map_input_pin_spec={ diff --git a/src/ansys/dpf/core/operators/result/displacement.py b/src/ansys/dpf/core/operators/result/displacement.py index ef517940e9..93dff34699 100644 --- a/src/ansys/dpf/core/operators/result/displacement.py +++ b/src/ansys/dpf/core/operators/result/displacement.py @@ -58,14 +58,25 @@ class displacement(Operator): If true the field is rotated to global coordinate system (default true) mesh : MeshedRegion or MeshesContainer, optional - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector read_cyclic : int, optional If 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1) + expanded_meshed_region : MeshedRegion or MeshesContainer, optional + Mesh expanded, use if cyclic expansion is to + be done. + sectors_to_expand : Scoping or ScopingsContainer, optional + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + phi : float, optional + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. Returns ------- @@ -95,6 +106,12 @@ class displacement(Operator): >>> op.inputs.mesh.connect(my_mesh) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.displacement( @@ -106,6 +123,9 @@ class displacement(Operator): ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, ... read_cyclic=my_read_cyclic, + ... expanded_meshed_region=my_expanded_meshed_region, + ... sectors_to_expand=my_sectors_to_expand, + ... phi=my_phi, ... ) >>> # Get output data @@ -122,6 +142,9 @@ def __init__( bool_rotate_to_global=None, mesh=None, read_cyclic=None, + expanded_meshed_region=None, + sectors_to_expand=None, + phi=None, config=None, server=None, ): @@ -144,6 +167,12 @@ def __init__( self.inputs.mesh.connect(mesh) if read_cyclic is not None: self.inputs.read_cyclic.connect(read_cyclic) + if expanded_meshed_region is not None: + self.inputs.expanded_meshed_region.connect(expanded_meshed_region) + if sectors_to_expand is not None: + self.inputs.sectors_to_expand.connect(sectors_to_expand) + if phi is not None: + self.inputs.phi.connect(phi) @staticmethod def _spec(): @@ -227,8 +256,8 @@ def _spec(): name="mesh", type_names=["abstract_meshed_region", "meshes_container"], optional=True, - document="""Prevents from reading the mesh in the result - files""", + document="""Mesh. if cylic expansion is to be done, mesh + of the base sector""", ), 14: PinSpecification( name="read_cyclic", @@ -240,6 +269,29 @@ def _spec(): done and stages are merged (default is 1)""", ), + 15: PinSpecification( + name="expanded_meshed_region", + type_names=["abstract_meshed_region", "meshes_container"], + optional=True, + document="""Mesh expanded, use if cyclic expansion is to + be done.""", + ), + 18: PinSpecification( + name="sectors_to_expand", + type_names=["vector", "scoping", "scopings_container"], + optional=True, + document="""Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done.""", + ), + 19: PinSpecification( + name="phi", + type_names=["double"], + optional=True, + document="""Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done.""", + ), }, map_output_pin_spec={ 0: PinSpecification( @@ -313,6 +365,12 @@ class InputsDisplacement(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) """ def __init__(self, op: Operator): @@ -335,6 +393,14 @@ def __init__(self, op: Operator): self._inputs.append(self._mesh) self._read_cyclic = Input(displacement._spec().input_pin(14), 14, op, -1) self._inputs.append(self._read_cyclic) + self._expanded_meshed_region = Input( + displacement._spec().input_pin(15), 15, op, -1 + ) + self._inputs.append(self._expanded_meshed_region) + self._sectors_to_expand = Input(displacement._spec().input_pin(18), 18, op, -1) + self._inputs.append(self._sectors_to_expand) + self._phi = Input(displacement._spec().input_pin(19), 19, op, -1) + self._inputs.append(self._phi) @property def time_scoping(self): @@ -488,8 +554,8 @@ def bool_rotate_to_global(self): def mesh(self): """Allows to connect mesh input to the operator. - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector Parameters ---------- @@ -529,6 +595,71 @@ def read_cyclic(self): """ return self._read_cyclic + @property + def expanded_meshed_region(self): + """Allows to connect expanded_meshed_region input to the operator. + + Mesh expanded, use if cyclic expansion is to + be done. + + Parameters + ---------- + my_expanded_meshed_region : MeshedRegion or MeshesContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.displacement() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> # or + >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region) + """ + return self._expanded_meshed_region + + @property + def sectors_to_expand(self): + """Allows to connect sectors_to_expand input to the operator. + + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + + Parameters + ---------- + my_sectors_to_expand : Scoping or ScopingsContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.displacement() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> # or + >>> op.inputs.sectors_to_expand(my_sectors_to_expand) + """ + return self._sectors_to_expand + + @property + def phi(self): + """Allows to connect phi input to the operator. + + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. + + Parameters + ---------- + my_phi : float + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.displacement() + >>> op.inputs.phi.connect(my_phi) + >>> # or + >>> op.inputs.phi(my_phi) + """ + return self._phi + class OutputsDisplacement(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/elastic_strain.py b/src/ansys/dpf/core/operators/result/elastic_strain.py index 6372d4c020..3c1e68e86f 100644 --- a/src/ansys/dpf/core/operators/result/elastic_strain.py +++ b/src/ansys/dpf/core/operators/result/elastic_strain.py @@ -60,8 +60,8 @@ class elastic_strain(Operator): If true the field is rotated to global coordinate system (default true) mesh : MeshedRegion or MeshesContainer, optional - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector requested_location : str, optional Requested location nodal, elemental or elementalnodal @@ -71,6 +71,17 @@ class elastic_strain(Operator): is done, if 3 cyclic expansion is done and stages are merged (default is 1) + expanded_meshed_region : MeshedRegion or MeshesContainer, optional + Mesh expanded, use if cyclic expansion is to + be done. + sectors_to_expand : Scoping or ScopingsContainer, optional + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + phi : float, optional + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -122,6 +133,12 @@ class elastic_strain(Operator): >>> op.inputs.requested_location.connect(my_requested_location) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -140,6 +157,9 @@ class elastic_strain(Operator): ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, + ... expanded_meshed_region=my_expanded_meshed_region, + ... sectors_to_expand=my_sectors_to_expand, + ... phi=my_phi, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -160,6 +180,9 @@ def __init__( mesh=None, requested_location=None, read_cyclic=None, + expanded_meshed_region=None, + sectors_to_expand=None, + phi=None, read_beams=None, split_shells=None, shell_layer=None, @@ -187,6 +210,12 @@ def __init__( self.inputs.requested_location.connect(requested_location) if read_cyclic is not None: self.inputs.read_cyclic.connect(read_cyclic) + if expanded_meshed_region is not None: + self.inputs.expanded_meshed_region.connect(expanded_meshed_region) + if sectors_to_expand is not None: + self.inputs.sectors_to_expand.connect(sectors_to_expand) + if phi is not None: + self.inputs.phi.connect(phi) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -278,8 +307,8 @@ def _spec(): name="mesh", type_names=["abstract_meshed_region", "meshes_container"], optional=True, - document="""Prevents from reading the mesh in the result - files""", + document="""Mesh. if cylic expansion is to be done, mesh + of the base sector""", ), 9: PinSpecification( name="requested_location", @@ -297,6 +326,29 @@ def _spec(): is done, if 3 cyclic expansion is done and stages are merged (default is 1)""", + ), + 15: PinSpecification( + name="expanded_meshed_region", + type_names=["abstract_meshed_region", "meshes_container"], + optional=True, + document="""Mesh expanded, use if cyclic expansion is to + be done.""", + ), + 18: PinSpecification( + name="sectors_to_expand", + type_names=["vector", "scoping", "scopings_container"], + optional=True, + document="""Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done.""", + ), + 19: PinSpecification( + name="phi", + type_names=["double"], + optional=True, + document="""Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done.""", ), 22: PinSpecification( name="read_beams", @@ -405,6 +457,12 @@ class InputsElasticStrain(_Inputs): >>> op.inputs.requested_location.connect(my_requested_location) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -435,6 +493,16 @@ def __init__(self, op: Operator): self._inputs.append(self._requested_location) self._read_cyclic = Input(elastic_strain._spec().input_pin(14), 14, op, -1) self._inputs.append(self._read_cyclic) + self._expanded_meshed_region = Input( + elastic_strain._spec().input_pin(15), 15, op, -1 + ) + self._inputs.append(self._expanded_meshed_region) + self._sectors_to_expand = Input( + elastic_strain._spec().input_pin(18), 18, op, -1 + ) + self._inputs.append(self._sectors_to_expand) + self._phi = Input(elastic_strain._spec().input_pin(19), 19, op, -1) + self._inputs.append(self._phi) self._read_beams = Input(elastic_strain._spec().input_pin(22), 22, op, -1) self._inputs.append(self._read_beams) self._split_shells = Input(elastic_strain._spec().input_pin(26), 26, op, -1) @@ -594,8 +662,8 @@ def bool_rotate_to_global(self): def mesh(self): """Allows to connect mesh input to the operator. - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector Parameters ---------- @@ -656,6 +724,71 @@ def read_cyclic(self): """ return self._read_cyclic + @property + def expanded_meshed_region(self): + """Allows to connect expanded_meshed_region input to the operator. + + Mesh expanded, use if cyclic expansion is to + be done. + + Parameters + ---------- + my_expanded_meshed_region : MeshedRegion or MeshesContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.elastic_strain() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> # or + >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region) + """ + return self._expanded_meshed_region + + @property + def sectors_to_expand(self): + """Allows to connect sectors_to_expand input to the operator. + + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + + Parameters + ---------- + my_sectors_to_expand : Scoping or ScopingsContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.elastic_strain() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> # or + >>> op.inputs.sectors_to_expand(my_sectors_to_expand) + """ + return self._sectors_to_expand + + @property + def phi(self): + """Allows to connect phi input to the operator. + + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. + + Parameters + ---------- + my_phi : float + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.elastic_strain() + >>> op.inputs.phi.connect(my_phi) + >>> # or + >>> op.inputs.phi(my_phi) + """ + return self._phi + @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/elastic_strain_energy_density.py b/src/ansys/dpf/core/operators/result/elastic_strain_energy_density.py index be8b9f226b..5b6e22bc7c 100644 --- a/src/ansys/dpf/core/operators/result/elastic_strain_energy_density.py +++ b/src/ansys/dpf/core/operators/result/elastic_strain_energy_density.py @@ -65,12 +65,6 @@ class elastic_strain_energy_density(Operator): requested_location : str, optional Requested location nodal, elemental or elementalnodal - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -120,8 +114,6 @@ class elastic_strain_energy_density(Operator): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -139,7 +131,6 @@ class elastic_strain_energy_density(Operator): ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, ... requested_location=my_requested_location, - ... read_cyclic=my_read_cyclic, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -159,7 +150,6 @@ def __init__( bool_rotate_to_global=None, mesh=None, requested_location=None, - read_cyclic=None, read_beams=None, split_shells=None, shell_layer=None, @@ -185,8 +175,6 @@ def __init__( self.inputs.mesh.connect(mesh) if requested_location is not None: self.inputs.requested_location.connect(requested_location) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -287,16 +275,6 @@ def _spec(): optional=True, document="""Requested location nodal, elemental or elementalnodal""", - ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", ), 22: PinSpecification( name="read_beams", @@ -403,8 +381,6 @@ class InputsElasticStrainEnergyDensity(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -447,10 +423,6 @@ def __init__(self, op: Operator): elastic_strain_energy_density._spec().input_pin(9), 9, op, -1 ) self._inputs.append(self._requested_location) - self._read_cyclic = Input( - elastic_strain_energy_density._spec().input_pin(14), 14, op, -1 - ) - self._inputs.append(self._read_cyclic) self._read_beams = Input( elastic_strain_energy_density._spec().input_pin(22), 22, op, -1 ) @@ -654,30 +626,6 @@ def requested_location(self): """ return self._requested_location - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.elastic_strain_energy_density() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/elastic_strain_eqv.py b/src/ansys/dpf/core/operators/result/elastic_strain_eqv.py index 365e390378..698e124fbf 100644 --- a/src/ansys/dpf/core/operators/result/elastic_strain_eqv.py +++ b/src/ansys/dpf/core/operators/result/elastic_strain_eqv.py @@ -65,12 +65,6 @@ class elastic_strain_eqv(Operator): requested_location : str, optional Requested location nodal, elemental or elementalnodal - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -120,8 +114,6 @@ class elastic_strain_eqv(Operator): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -139,7 +131,6 @@ class elastic_strain_eqv(Operator): ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, ... requested_location=my_requested_location, - ... read_cyclic=my_read_cyclic, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -159,7 +150,6 @@ def __init__( bool_rotate_to_global=None, mesh=None, requested_location=None, - read_cyclic=None, read_beams=None, split_shells=None, shell_layer=None, @@ -185,8 +175,6 @@ def __init__( self.inputs.mesh.connect(mesh) if requested_location is not None: self.inputs.requested_location.connect(requested_location) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -287,16 +275,6 @@ def _spec(): optional=True, document="""Requested location nodal, elemental or elementalnodal""", - ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", ), 22: PinSpecification( name="read_beams", @@ -403,8 +381,6 @@ class InputsElasticStrainEqv(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -439,8 +415,6 @@ def __init__(self, op: Operator): elastic_strain_eqv._spec().input_pin(9), 9, op, -1 ) self._inputs.append(self._requested_location) - self._read_cyclic = Input(elastic_strain_eqv._spec().input_pin(14), 14, op, -1) - self._inputs.append(self._read_cyclic) self._read_beams = Input(elastic_strain_eqv._spec().input_pin(22), 22, op, -1) self._inputs.append(self._read_beams) self._split_shells = Input(elastic_strain_eqv._spec().input_pin(26), 26, op, -1) @@ -638,30 +612,6 @@ def requested_location(self): """ return self._requested_location - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.elastic_strain_eqv() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/electric_field.py b/src/ansys/dpf/core/operators/result/electric_field.py index 567cadb9af..b48f312968 100644 --- a/src/ansys/dpf/core/operators/result/electric_field.py +++ b/src/ansys/dpf/core/operators/result/electric_field.py @@ -65,12 +65,6 @@ class electric_field(Operator): requested_location : str, optional Requested location nodal, elemental or elementalnodal - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -120,8 +114,6 @@ class electric_field(Operator): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -139,7 +131,6 @@ class electric_field(Operator): ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, ... requested_location=my_requested_location, - ... read_cyclic=my_read_cyclic, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -159,7 +150,6 @@ def __init__( bool_rotate_to_global=None, mesh=None, requested_location=None, - read_cyclic=None, read_beams=None, split_shells=None, shell_layer=None, @@ -185,8 +175,6 @@ def __init__( self.inputs.mesh.connect(mesh) if requested_location is not None: self.inputs.requested_location.connect(requested_location) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -287,16 +275,6 @@ def _spec(): optional=True, document="""Requested location nodal, elemental or elementalnodal""", - ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", ), 22: PinSpecification( name="read_beams", @@ -403,8 +381,6 @@ class InputsElectricField(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -433,8 +409,6 @@ def __init__(self, op: Operator): self._inputs.append(self._mesh) self._requested_location = Input(electric_field._spec().input_pin(9), 9, op, -1) self._inputs.append(self._requested_location) - self._read_cyclic = Input(electric_field._spec().input_pin(14), 14, op, -1) - self._inputs.append(self._read_cyclic) self._read_beams = Input(electric_field._spec().input_pin(22), 22, op, -1) self._inputs.append(self._read_beams) self._split_shells = Input(electric_field._spec().input_pin(26), 26, op, -1) @@ -632,30 +606,6 @@ def requested_location(self): """ return self._requested_location - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.electric_field() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/electric_flux_density.py b/src/ansys/dpf/core/operators/result/electric_flux_density.py index 36dd8c06da..09cb74cfa8 100644 --- a/src/ansys/dpf/core/operators/result/electric_flux_density.py +++ b/src/ansys/dpf/core/operators/result/electric_flux_density.py @@ -65,12 +65,6 @@ class electric_flux_density(Operator): requested_location : str, optional Requested location nodal, elemental or elementalnodal - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -120,8 +114,6 @@ class electric_flux_density(Operator): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -139,7 +131,6 @@ class electric_flux_density(Operator): ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, ... requested_location=my_requested_location, - ... read_cyclic=my_read_cyclic, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -159,7 +150,6 @@ def __init__( bool_rotate_to_global=None, mesh=None, requested_location=None, - read_cyclic=None, read_beams=None, split_shells=None, shell_layer=None, @@ -185,8 +175,6 @@ def __init__( self.inputs.mesh.connect(mesh) if requested_location is not None: self.inputs.requested_location.connect(requested_location) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -287,16 +275,6 @@ def _spec(): optional=True, document="""Requested location nodal, elemental or elementalnodal""", - ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", ), 22: PinSpecification( name="read_beams", @@ -403,8 +381,6 @@ class InputsElectricFluxDensity(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -445,10 +421,6 @@ def __init__(self, op: Operator): electric_flux_density._spec().input_pin(9), 9, op, -1 ) self._inputs.append(self._requested_location) - self._read_cyclic = Input( - electric_flux_density._spec().input_pin(14), 14, op, -1 - ) - self._inputs.append(self._read_cyclic) self._read_beams = Input( electric_flux_density._spec().input_pin(22), 22, op, -1 ) @@ -652,30 +624,6 @@ def requested_location(self): """ return self._requested_location - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.electric_flux_density() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/electric_potential.py b/src/ansys/dpf/core/operators/result/electric_potential.py index f600fc2f12..73a8a28792 100644 --- a/src/ansys/dpf/core/operators/result/electric_potential.py +++ b/src/ansys/dpf/core/operators/result/electric_potential.py @@ -60,12 +60,6 @@ class electric_potential(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class electric_potential(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.electric_potential( @@ -105,7 +97,6 @@ class electric_potential(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsElectricPotential(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -337,8 +313,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(electric_potential._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input(electric_potential._spec().input_pin(14), 14, op, -1) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -509,30 +483,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.electric_potential() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsElectricPotential(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/element_centroids.py b/src/ansys/dpf/core/operators/result/element_centroids.py index bf3a02c718..7ab1504792 100644 --- a/src/ansys/dpf/core/operators/result/element_centroids.py +++ b/src/ansys/dpf/core/operators/result/element_centroids.py @@ -60,12 +60,6 @@ class element_centroids(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class element_centroids(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.element_centroids( @@ -105,7 +97,6 @@ class element_centroids(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsElementCentroids(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -337,8 +313,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(element_centroids._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input(element_centroids._spec().input_pin(14), 14, op, -1) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -509,30 +483,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.element_centroids() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsElementCentroids(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/element_nodal_forces.py b/src/ansys/dpf/core/operators/result/element_nodal_forces.py index 2a5772361f..cb3e43b5a4 100644 --- a/src/ansys/dpf/core/operators/result/element_nodal_forces.py +++ b/src/ansys/dpf/core/operators/result/element_nodal_forces.py @@ -60,8 +60,8 @@ class element_nodal_forces(Operator): If true the field is rotated to global coordinate system (default true) mesh : MeshedRegion or MeshesContainer, optional - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector requested_location : str, optional Requested location nodal, elemental or elementalnodal @@ -71,6 +71,17 @@ class element_nodal_forces(Operator): is done, if 3 cyclic expansion is done and stages are merged (default is 1) + expanded_meshed_region : MeshedRegion or MeshesContainer, optional + Mesh expanded, use if cyclic expansion is to + be done. + sectors_to_expand : Scoping or ScopingsContainer, optional + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + phi : float, optional + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -132,6 +143,12 @@ class element_nodal_forces(Operator): >>> op.inputs.requested_location.connect(my_requested_location) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -152,6 +169,9 @@ class element_nodal_forces(Operator): ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, + ... expanded_meshed_region=my_expanded_meshed_region, + ... sectors_to_expand=my_sectors_to_expand, + ... phi=my_phi, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -173,6 +193,9 @@ def __init__( mesh=None, requested_location=None, read_cyclic=None, + expanded_meshed_region=None, + sectors_to_expand=None, + phi=None, read_beams=None, split_shells=None, shell_layer=None, @@ -201,6 +224,12 @@ def __init__( self.inputs.requested_location.connect(requested_location) if read_cyclic is not None: self.inputs.read_cyclic.connect(read_cyclic) + if expanded_meshed_region is not None: + self.inputs.expanded_meshed_region.connect(expanded_meshed_region) + if sectors_to_expand is not None: + self.inputs.sectors_to_expand.connect(sectors_to_expand) + if phi is not None: + self.inputs.phi.connect(phi) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -294,8 +323,8 @@ def _spec(): name="mesh", type_names=["abstract_meshed_region", "meshes_container"], optional=True, - document="""Prevents from reading the mesh in the result - files""", + document="""Mesh. if cylic expansion is to be done, mesh + of the base sector""", ), 9: PinSpecification( name="requested_location", @@ -313,6 +342,29 @@ def _spec(): is done, if 3 cyclic expansion is done and stages are merged (default is 1)""", + ), + 15: PinSpecification( + name="expanded_meshed_region", + type_names=["abstract_meshed_region", "meshes_container"], + optional=True, + document="""Mesh expanded, use if cyclic expansion is to + be done.""", + ), + 18: PinSpecification( + name="sectors_to_expand", + type_names=["vector", "scoping", "scopings_container"], + optional=True, + document="""Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done.""", + ), + 19: PinSpecification( + name="phi", + type_names=["double"], + optional=True, + document="""Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done.""", ), 22: PinSpecification( name="read_beams", @@ -435,6 +487,12 @@ class InputsElementNodalForces(_Inputs): >>> op.inputs.requested_location.connect(my_requested_location) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -475,6 +533,16 @@ def __init__(self, op: Operator): element_nodal_forces._spec().input_pin(14), 14, op, -1 ) self._inputs.append(self._read_cyclic) + self._expanded_meshed_region = Input( + element_nodal_forces._spec().input_pin(15), 15, op, -1 + ) + self._inputs.append(self._expanded_meshed_region) + self._sectors_to_expand = Input( + element_nodal_forces._spec().input_pin(18), 18, op, -1 + ) + self._inputs.append(self._sectors_to_expand) + self._phi = Input(element_nodal_forces._spec().input_pin(19), 19, op, -1) + self._inputs.append(self._phi) self._read_beams = Input(element_nodal_forces._spec().input_pin(22), 22, op, -1) self._inputs.append(self._read_beams) self._split_shells = Input( @@ -642,8 +710,8 @@ def bool_rotate_to_global(self): def mesh(self): """Allows to connect mesh input to the operator. - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector Parameters ---------- @@ -704,6 +772,71 @@ def read_cyclic(self): """ return self._read_cyclic + @property + def expanded_meshed_region(self): + """Allows to connect expanded_meshed_region input to the operator. + + Mesh expanded, use if cyclic expansion is to + be done. + + Parameters + ---------- + my_expanded_meshed_region : MeshedRegion or MeshesContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.element_nodal_forces() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> # or + >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region) + """ + return self._expanded_meshed_region + + @property + def sectors_to_expand(self): + """Allows to connect sectors_to_expand input to the operator. + + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + + Parameters + ---------- + my_sectors_to_expand : Scoping or ScopingsContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.element_nodal_forces() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> # or + >>> op.inputs.sectors_to_expand(my_sectors_to_expand) + """ + return self._sectors_to_expand + + @property + def phi(self): + """Allows to connect phi input to the operator. + + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. + + Parameters + ---------- + my_phi : float + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.element_nodal_forces() + >>> op.inputs.phi.connect(my_phi) + >>> # or + >>> op.inputs.phi(my_phi) + """ + return self._phi + @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/element_orientations.py b/src/ansys/dpf/core/operators/result/element_orientations.py index 758121801c..70bb8c5d85 100644 --- a/src/ansys/dpf/core/operators/result/element_orientations.py +++ b/src/ansys/dpf/core/operators/result/element_orientations.py @@ -65,12 +65,6 @@ class element_orientations(Operator): requested_location : str, optional Requested location nodal, elemental or elementalnodal - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -120,8 +114,6 @@ class element_orientations(Operator): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -139,7 +131,6 @@ class element_orientations(Operator): ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, ... requested_location=my_requested_location, - ... read_cyclic=my_read_cyclic, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -159,7 +150,6 @@ def __init__( bool_rotate_to_global=None, mesh=None, requested_location=None, - read_cyclic=None, read_beams=None, split_shells=None, shell_layer=None, @@ -185,8 +175,6 @@ def __init__( self.inputs.mesh.connect(mesh) if requested_location is not None: self.inputs.requested_location.connect(requested_location) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -287,16 +275,6 @@ def _spec(): optional=True, document="""Requested location nodal, elemental or elementalnodal""", - ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", ), 22: PinSpecification( name="read_beams", @@ -403,8 +381,6 @@ class InputsElementOrientations(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -439,10 +415,6 @@ def __init__(self, op: Operator): element_orientations._spec().input_pin(9), 9, op, -1 ) self._inputs.append(self._requested_location) - self._read_cyclic = Input( - element_orientations._spec().input_pin(14), 14, op, -1 - ) - self._inputs.append(self._read_cyclic) self._read_beams = Input(element_orientations._spec().input_pin(22), 22, op, -1) self._inputs.append(self._read_beams) self._split_shells = Input( @@ -644,30 +616,6 @@ def requested_location(self): """ return self._requested_location - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.element_orientations() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/elemental_heat_generation.py b/src/ansys/dpf/core/operators/result/elemental_heat_generation.py index 21868bcf0f..78e55e065e 100644 --- a/src/ansys/dpf/core/operators/result/elemental_heat_generation.py +++ b/src/ansys/dpf/core/operators/result/elemental_heat_generation.py @@ -60,12 +60,6 @@ class elemental_heat_generation(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class elemental_heat_generation(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.elemental_heat_generation( @@ -105,7 +97,6 @@ class elemental_heat_generation(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsElementalHeatGeneration(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -343,10 +319,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(elemental_heat_generation._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input( - elemental_heat_generation._spec().input_pin(14), 14, op, -1 - ) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -517,30 +489,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.elemental_heat_generation() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsElementalHeatGeneration(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/elemental_mass.py b/src/ansys/dpf/core/operators/result/elemental_mass.py index 6ff608bc8f..4400e850a6 100644 --- a/src/ansys/dpf/core/operators/result/elemental_mass.py +++ b/src/ansys/dpf/core/operators/result/elemental_mass.py @@ -60,12 +60,6 @@ class elemental_mass(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class elemental_mass(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.elemental_mass( @@ -105,7 +97,6 @@ class elemental_mass(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsElementalMass(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -333,8 +309,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(elemental_mass._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input(elemental_mass._spec().input_pin(14), 14, op, -1) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -505,30 +479,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.elemental_mass() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsElementalMass(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/elemental_volume.py b/src/ansys/dpf/core/operators/result/elemental_volume.py index ec4bd635fb..8f1dfe912b 100644 --- a/src/ansys/dpf/core/operators/result/elemental_volume.py +++ b/src/ansys/dpf/core/operators/result/elemental_volume.py @@ -58,14 +58,25 @@ class elemental_volume(Operator): If true the field is rotated to global coordinate system (default true) mesh : MeshedRegion or MeshesContainer, optional - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector read_cyclic : int, optional If 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1) + expanded_meshed_region : MeshedRegion or MeshesContainer, optional + Mesh expanded, use if cyclic expansion is to + be done. + sectors_to_expand : Scoping or ScopingsContainer, optional + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + phi : float, optional + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. Returns ------- @@ -95,6 +106,12 @@ class elemental_volume(Operator): >>> op.inputs.mesh.connect(my_mesh) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.elemental_volume( @@ -106,6 +123,9 @@ class elemental_volume(Operator): ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, ... read_cyclic=my_read_cyclic, + ... expanded_meshed_region=my_expanded_meshed_region, + ... sectors_to_expand=my_sectors_to_expand, + ... phi=my_phi, ... ) >>> # Get output data @@ -122,6 +142,9 @@ def __init__( bool_rotate_to_global=None, mesh=None, read_cyclic=None, + expanded_meshed_region=None, + sectors_to_expand=None, + phi=None, config=None, server=None, ): @@ -144,6 +167,12 @@ def __init__( self.inputs.mesh.connect(mesh) if read_cyclic is not None: self.inputs.read_cyclic.connect(read_cyclic) + if expanded_meshed_region is not None: + self.inputs.expanded_meshed_region.connect(expanded_meshed_region) + if sectors_to_expand is not None: + self.inputs.sectors_to_expand.connect(sectors_to_expand) + if phi is not None: + self.inputs.phi.connect(phi) @staticmethod def _spec(): @@ -227,8 +256,8 @@ def _spec(): name="mesh", type_names=["abstract_meshed_region", "meshes_container"], optional=True, - document="""Prevents from reading the mesh in the result - files""", + document="""Mesh. if cylic expansion is to be done, mesh + of the base sector""", ), 14: PinSpecification( name="read_cyclic", @@ -240,6 +269,29 @@ def _spec(): done and stages are merged (default is 1)""", ), + 15: PinSpecification( + name="expanded_meshed_region", + type_names=["abstract_meshed_region", "meshes_container"], + optional=True, + document="""Mesh expanded, use if cyclic expansion is to + be done.""", + ), + 18: PinSpecification( + name="sectors_to_expand", + type_names=["vector", "scoping", "scopings_container"], + optional=True, + document="""Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done.""", + ), + 19: PinSpecification( + name="phi", + type_names=["double"], + optional=True, + document="""Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done.""", + ), }, map_output_pin_spec={ 0: PinSpecification( @@ -313,6 +365,12 @@ class InputsElementalVolume(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) """ def __init__(self, op: Operator): @@ -337,6 +395,16 @@ def __init__(self, op: Operator): self._inputs.append(self._mesh) self._read_cyclic = Input(elemental_volume._spec().input_pin(14), 14, op, -1) self._inputs.append(self._read_cyclic) + self._expanded_meshed_region = Input( + elemental_volume._spec().input_pin(15), 15, op, -1 + ) + self._inputs.append(self._expanded_meshed_region) + self._sectors_to_expand = Input( + elemental_volume._spec().input_pin(18), 18, op, -1 + ) + self._inputs.append(self._sectors_to_expand) + self._phi = Input(elemental_volume._spec().input_pin(19), 19, op, -1) + self._inputs.append(self._phi) @property def time_scoping(self): @@ -490,8 +558,8 @@ def bool_rotate_to_global(self): def mesh(self): """Allows to connect mesh input to the operator. - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector Parameters ---------- @@ -531,6 +599,71 @@ def read_cyclic(self): """ return self._read_cyclic + @property + def expanded_meshed_region(self): + """Allows to connect expanded_meshed_region input to the operator. + + Mesh expanded, use if cyclic expansion is to + be done. + + Parameters + ---------- + my_expanded_meshed_region : MeshedRegion or MeshesContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.elemental_volume() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> # or + >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region) + """ + return self._expanded_meshed_region + + @property + def sectors_to_expand(self): + """Allows to connect sectors_to_expand input to the operator. + + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + + Parameters + ---------- + my_sectors_to_expand : Scoping or ScopingsContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.elemental_volume() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> # or + >>> op.inputs.sectors_to_expand(my_sectors_to_expand) + """ + return self._sectors_to_expand + + @property + def phi(self): + """Allows to connect phi input to the operator. + + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. + + Parameters + ---------- + my_phi : float + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.elemental_volume() + >>> op.inputs.phi.connect(my_phi) + >>> # or + >>> op.inputs.phi(my_phi) + """ + return self._phi + class OutputsElementalVolume(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/equivalent_mass.py b/src/ansys/dpf/core/operators/result/equivalent_mass.py index 3268997ef7..596f0e1415 100644 --- a/src/ansys/dpf/core/operators/result/equivalent_mass.py +++ b/src/ansys/dpf/core/operators/result/equivalent_mass.py @@ -59,12 +59,6 @@ class equivalent_mass(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -92,8 +86,6 @@ class equivalent_mass(Operator): >>> op.inputs.all_dofs.connect(my_all_dofs) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.equivalent_mass( @@ -104,7 +96,6 @@ class equivalent_mass(Operator): ... data_sources=my_data_sources, ... all_dofs=my_all_dofs, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -120,7 +111,6 @@ def __init__( data_sources=None, all_dofs=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -141,8 +131,6 @@ def __init__( self.inputs.all_dofs.connect(all_dofs) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -228,16 +216,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -309,8 +287,6 @@ class InputsEquivalentMass(_Inputs): >>> op.inputs.all_dofs.connect(my_all_dofs) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -329,8 +305,6 @@ def __init__(self, op: Operator): self._inputs.append(self._all_dofs) self._mesh = Input(equivalent_mass._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input(equivalent_mass._spec().input_pin(14), 14, op, -1) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -500,30 +474,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.equivalent_mass() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsEquivalentMass(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/eqv_stress_parameter.py b/src/ansys/dpf/core/operators/result/eqv_stress_parameter.py index c050e2355a..9eb6c55c73 100644 --- a/src/ansys/dpf/core/operators/result/eqv_stress_parameter.py +++ b/src/ansys/dpf/core/operators/result/eqv_stress_parameter.py @@ -65,12 +65,6 @@ class eqv_stress_parameter(Operator): requested_location : str, optional Requested location nodal, elemental or elementalnodal - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -120,8 +114,6 @@ class eqv_stress_parameter(Operator): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -139,7 +131,6 @@ class eqv_stress_parameter(Operator): ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, ... requested_location=my_requested_location, - ... read_cyclic=my_read_cyclic, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -159,7 +150,6 @@ def __init__( bool_rotate_to_global=None, mesh=None, requested_location=None, - read_cyclic=None, read_beams=None, split_shells=None, shell_layer=None, @@ -185,8 +175,6 @@ def __init__( self.inputs.mesh.connect(mesh) if requested_location is not None: self.inputs.requested_location.connect(requested_location) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -287,16 +275,6 @@ def _spec(): optional=True, document="""Requested location nodal, elemental or elementalnodal""", - ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", ), 22: PinSpecification( name="read_beams", @@ -403,8 +381,6 @@ class InputsEqvStressParameter(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -439,10 +415,6 @@ def __init__(self, op: Operator): eqv_stress_parameter._spec().input_pin(9), 9, op, -1 ) self._inputs.append(self._requested_location) - self._read_cyclic = Input( - eqv_stress_parameter._spec().input_pin(14), 14, op, -1 - ) - self._inputs.append(self._read_cyclic) self._read_beams = Input(eqv_stress_parameter._spec().input_pin(22), 22, op, -1) self._inputs.append(self._read_beams) self._split_shells = Input( @@ -644,30 +616,6 @@ def requested_location(self): """ return self._requested_location - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.eqv_stress_parameter() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/gasket_deformation.py b/src/ansys/dpf/core/operators/result/gasket_deformation.py index 05dd1a5da9..70749af4c5 100644 --- a/src/ansys/dpf/core/operators/result/gasket_deformation.py +++ b/src/ansys/dpf/core/operators/result/gasket_deformation.py @@ -65,12 +65,6 @@ class gasket_deformation(Operator): requested_location : str, optional Requested location nodal, elemental or elementalnodal - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -120,8 +114,6 @@ class gasket_deformation(Operator): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -139,7 +131,6 @@ class gasket_deformation(Operator): ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, ... requested_location=my_requested_location, - ... read_cyclic=my_read_cyclic, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -159,7 +150,6 @@ def __init__( bool_rotate_to_global=None, mesh=None, requested_location=None, - read_cyclic=None, read_beams=None, split_shells=None, shell_layer=None, @@ -185,8 +175,6 @@ def __init__( self.inputs.mesh.connect(mesh) if requested_location is not None: self.inputs.requested_location.connect(requested_location) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -287,16 +275,6 @@ def _spec(): optional=True, document="""Requested location nodal, elemental or elementalnodal""", - ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", ), 22: PinSpecification( name="read_beams", @@ -403,8 +381,6 @@ class InputsGasketDeformation(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -439,8 +415,6 @@ def __init__(self, op: Operator): gasket_deformation._spec().input_pin(9), 9, op, -1 ) self._inputs.append(self._requested_location) - self._read_cyclic = Input(gasket_deformation._spec().input_pin(14), 14, op, -1) - self._inputs.append(self._read_cyclic) self._read_beams = Input(gasket_deformation._spec().input_pin(22), 22, op, -1) self._inputs.append(self._read_beams) self._split_shells = Input(gasket_deformation._spec().input_pin(26), 26, op, -1) @@ -638,30 +612,6 @@ def requested_location(self): """ return self._requested_location - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.gasket_deformation() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/gasket_inelastic_closure.py b/src/ansys/dpf/core/operators/result/gasket_inelastic_closure.py index 673879628f..655e59c365 100644 --- a/src/ansys/dpf/core/operators/result/gasket_inelastic_closure.py +++ b/src/ansys/dpf/core/operators/result/gasket_inelastic_closure.py @@ -65,12 +65,6 @@ class gasket_inelastic_closure(Operator): requested_location : str, optional Requested location nodal, elemental or elementalnodal - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -120,8 +114,6 @@ class gasket_inelastic_closure(Operator): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -139,7 +131,6 @@ class gasket_inelastic_closure(Operator): ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, ... requested_location=my_requested_location, - ... read_cyclic=my_read_cyclic, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -159,7 +150,6 @@ def __init__( bool_rotate_to_global=None, mesh=None, requested_location=None, - read_cyclic=None, read_beams=None, split_shells=None, shell_layer=None, @@ -185,8 +175,6 @@ def __init__( self.inputs.mesh.connect(mesh) if requested_location is not None: self.inputs.requested_location.connect(requested_location) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -287,16 +275,6 @@ def _spec(): optional=True, document="""Requested location nodal, elemental or elementalnodal""", - ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", ), 22: PinSpecification( name="read_beams", @@ -403,8 +381,6 @@ class InputsGasketInelasticClosure(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -445,10 +421,6 @@ def __init__(self, op: Operator): gasket_inelastic_closure._spec().input_pin(9), 9, op, -1 ) self._inputs.append(self._requested_location) - self._read_cyclic = Input( - gasket_inelastic_closure._spec().input_pin(14), 14, op, -1 - ) - self._inputs.append(self._read_cyclic) self._read_beams = Input( gasket_inelastic_closure._spec().input_pin(22), 22, op, -1 ) @@ -652,30 +624,6 @@ def requested_location(self): """ return self._requested_location - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.gasket_inelastic_closure() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/gasket_stress.py b/src/ansys/dpf/core/operators/result/gasket_stress.py index b7932498e3..9ed8435d47 100644 --- a/src/ansys/dpf/core/operators/result/gasket_stress.py +++ b/src/ansys/dpf/core/operators/result/gasket_stress.py @@ -65,12 +65,6 @@ class gasket_stress(Operator): requested_location : str, optional Requested location nodal, elemental or elementalnodal - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -120,8 +114,6 @@ class gasket_stress(Operator): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -139,7 +131,6 @@ class gasket_stress(Operator): ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, ... requested_location=my_requested_location, - ... read_cyclic=my_read_cyclic, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -159,7 +150,6 @@ def __init__( bool_rotate_to_global=None, mesh=None, requested_location=None, - read_cyclic=None, read_beams=None, split_shells=None, shell_layer=None, @@ -185,8 +175,6 @@ def __init__( self.inputs.mesh.connect(mesh) if requested_location is not None: self.inputs.requested_location.connect(requested_location) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -287,16 +275,6 @@ def _spec(): optional=True, document="""Requested location nodal, elemental or elementalnodal""", - ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", ), 22: PinSpecification( name="read_beams", @@ -403,8 +381,6 @@ class InputsGasketStress(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -433,8 +409,6 @@ def __init__(self, op: Operator): self._inputs.append(self._mesh) self._requested_location = Input(gasket_stress._spec().input_pin(9), 9, op, -1) self._inputs.append(self._requested_location) - self._read_cyclic = Input(gasket_stress._spec().input_pin(14), 14, op, -1) - self._inputs.append(self._read_cyclic) self._read_beams = Input(gasket_stress._spec().input_pin(22), 22, op, -1) self._inputs.append(self._read_beams) self._split_shells = Input(gasket_stress._spec().input_pin(26), 26, op, -1) @@ -632,30 +606,6 @@ def requested_location(self): """ return self._requested_location - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.gasket_stress() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/gasket_thermal_closure.py b/src/ansys/dpf/core/operators/result/gasket_thermal_closure.py index 3b7ad16437..28a0da1853 100644 --- a/src/ansys/dpf/core/operators/result/gasket_thermal_closure.py +++ b/src/ansys/dpf/core/operators/result/gasket_thermal_closure.py @@ -65,12 +65,6 @@ class gasket_thermal_closure(Operator): requested_location : str, optional Requested location nodal, elemental or elementalnodal - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -120,8 +114,6 @@ class gasket_thermal_closure(Operator): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -139,7 +131,6 @@ class gasket_thermal_closure(Operator): ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, ... requested_location=my_requested_location, - ... read_cyclic=my_read_cyclic, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -159,7 +150,6 @@ def __init__( bool_rotate_to_global=None, mesh=None, requested_location=None, - read_cyclic=None, read_beams=None, split_shells=None, shell_layer=None, @@ -185,8 +175,6 @@ def __init__( self.inputs.mesh.connect(mesh) if requested_location is not None: self.inputs.requested_location.connect(requested_location) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -287,16 +275,6 @@ def _spec(): optional=True, document="""Requested location nodal, elemental or elementalnodal""", - ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", ), 22: PinSpecification( name="read_beams", @@ -403,8 +381,6 @@ class InputsGasketThermalClosure(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -445,10 +421,6 @@ def __init__(self, op: Operator): gasket_thermal_closure._spec().input_pin(9), 9, op, -1 ) self._inputs.append(self._requested_location) - self._read_cyclic = Input( - gasket_thermal_closure._spec().input_pin(14), 14, op, -1 - ) - self._inputs.append(self._read_cyclic) self._read_beams = Input( gasket_thermal_closure._spec().input_pin(22), 22, op, -1 ) @@ -652,30 +624,6 @@ def requested_location(self): """ return self._requested_location - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.gasket_thermal_closure() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/heat_flux.py b/src/ansys/dpf/core/operators/result/heat_flux.py index fb1cc090ce..cd5a7bc7da 100644 --- a/src/ansys/dpf/core/operators/result/heat_flux.py +++ b/src/ansys/dpf/core/operators/result/heat_flux.py @@ -60,8 +60,8 @@ class heat_flux(Operator): If true the field is rotated to global coordinate system (default true) mesh : MeshedRegion or MeshesContainer, optional - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector requested_location : str, optional Requested location nodal, elemental or elementalnodal @@ -71,6 +71,17 @@ class heat_flux(Operator): is done, if 3 cyclic expansion is done and stages are merged (default is 1) + expanded_meshed_region : MeshedRegion or MeshesContainer, optional + Mesh expanded, use if cyclic expansion is to + be done. + sectors_to_expand : Scoping or ScopingsContainer, optional + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + phi : float, optional + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -122,6 +133,12 @@ class heat_flux(Operator): >>> op.inputs.requested_location.connect(my_requested_location) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -140,6 +157,9 @@ class heat_flux(Operator): ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, + ... expanded_meshed_region=my_expanded_meshed_region, + ... sectors_to_expand=my_sectors_to_expand, + ... phi=my_phi, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -160,6 +180,9 @@ def __init__( mesh=None, requested_location=None, read_cyclic=None, + expanded_meshed_region=None, + sectors_to_expand=None, + phi=None, read_beams=None, split_shells=None, shell_layer=None, @@ -187,6 +210,12 @@ def __init__( self.inputs.requested_location.connect(requested_location) if read_cyclic is not None: self.inputs.read_cyclic.connect(read_cyclic) + if expanded_meshed_region is not None: + self.inputs.expanded_meshed_region.connect(expanded_meshed_region) + if sectors_to_expand is not None: + self.inputs.sectors_to_expand.connect(sectors_to_expand) + if phi is not None: + self.inputs.phi.connect(phi) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -278,8 +307,8 @@ def _spec(): name="mesh", type_names=["abstract_meshed_region", "meshes_container"], optional=True, - document="""Prevents from reading the mesh in the result - files""", + document="""Mesh. if cylic expansion is to be done, mesh + of the base sector""", ), 9: PinSpecification( name="requested_location", @@ -297,6 +326,29 @@ def _spec(): is done, if 3 cyclic expansion is done and stages are merged (default is 1)""", + ), + 15: PinSpecification( + name="expanded_meshed_region", + type_names=["abstract_meshed_region", "meshes_container"], + optional=True, + document="""Mesh expanded, use if cyclic expansion is to + be done.""", + ), + 18: PinSpecification( + name="sectors_to_expand", + type_names=["vector", "scoping", "scopings_container"], + optional=True, + document="""Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done.""", + ), + 19: PinSpecification( + name="phi", + type_names=["double"], + optional=True, + document="""Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done.""", ), 22: PinSpecification( name="read_beams", @@ -405,6 +457,12 @@ class InputsHeatFlux(_Inputs): >>> op.inputs.requested_location.connect(my_requested_location) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -433,6 +491,14 @@ def __init__(self, op: Operator): self._inputs.append(self._requested_location) self._read_cyclic = Input(heat_flux._spec().input_pin(14), 14, op, -1) self._inputs.append(self._read_cyclic) + self._expanded_meshed_region = Input( + heat_flux._spec().input_pin(15), 15, op, -1 + ) + self._inputs.append(self._expanded_meshed_region) + self._sectors_to_expand = Input(heat_flux._spec().input_pin(18), 18, op, -1) + self._inputs.append(self._sectors_to_expand) + self._phi = Input(heat_flux._spec().input_pin(19), 19, op, -1) + self._inputs.append(self._phi) self._read_beams = Input(heat_flux._spec().input_pin(22), 22, op, -1) self._inputs.append(self._read_beams) self._split_shells = Input(heat_flux._spec().input_pin(26), 26, op, -1) @@ -592,8 +658,8 @@ def bool_rotate_to_global(self): def mesh(self): """Allows to connect mesh input to the operator. - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector Parameters ---------- @@ -654,6 +720,71 @@ def read_cyclic(self): """ return self._read_cyclic + @property + def expanded_meshed_region(self): + """Allows to connect expanded_meshed_region input to the operator. + + Mesh expanded, use if cyclic expansion is to + be done. + + Parameters + ---------- + my_expanded_meshed_region : MeshedRegion or MeshesContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.heat_flux() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> # or + >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region) + """ + return self._expanded_meshed_region + + @property + def sectors_to_expand(self): + """Allows to connect sectors_to_expand input to the operator. + + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + + Parameters + ---------- + my_sectors_to_expand : Scoping or ScopingsContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.heat_flux() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> # or + >>> op.inputs.sectors_to_expand(my_sectors_to_expand) + """ + return self._sectors_to_expand + + @property + def phi(self): + """Allows to connect phi input to the operator. + + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. + + Parameters + ---------- + my_phi : float + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.heat_flux() + >>> op.inputs.phi.connect(my_phi) + >>> # or + >>> op.inputs.phi(my_phi) + """ + return self._phi + @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/hydrostatic_pressure.py b/src/ansys/dpf/core/operators/result/hydrostatic_pressure.py index 0cafa72cb0..8ff0484a8a 100644 --- a/src/ansys/dpf/core/operators/result/hydrostatic_pressure.py +++ b/src/ansys/dpf/core/operators/result/hydrostatic_pressure.py @@ -65,12 +65,6 @@ class hydrostatic_pressure(Operator): requested_location : str, optional Requested location nodal, elemental or elementalnodal - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -120,8 +114,6 @@ class hydrostatic_pressure(Operator): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -139,7 +131,6 @@ class hydrostatic_pressure(Operator): ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, ... requested_location=my_requested_location, - ... read_cyclic=my_read_cyclic, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -159,7 +150,6 @@ def __init__( bool_rotate_to_global=None, mesh=None, requested_location=None, - read_cyclic=None, read_beams=None, split_shells=None, shell_layer=None, @@ -185,8 +175,6 @@ def __init__( self.inputs.mesh.connect(mesh) if requested_location is not None: self.inputs.requested_location.connect(requested_location) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -287,16 +275,6 @@ def _spec(): optional=True, document="""Requested location nodal, elemental or elementalnodal""", - ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", ), 22: PinSpecification( name="read_beams", @@ -403,8 +381,6 @@ class InputsHydrostaticPressure(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -439,10 +415,6 @@ def __init__(self, op: Operator): hydrostatic_pressure._spec().input_pin(9), 9, op, -1 ) self._inputs.append(self._requested_location) - self._read_cyclic = Input( - hydrostatic_pressure._spec().input_pin(14), 14, op, -1 - ) - self._inputs.append(self._read_cyclic) self._read_beams = Input(hydrostatic_pressure._spec().input_pin(22), 22, op, -1) self._inputs.append(self._read_beams) self._split_shells = Input( @@ -644,30 +616,6 @@ def requested_location(self): """ return self._requested_location - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.hydrostatic_pressure() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/incremental_energy.py b/src/ansys/dpf/core/operators/result/incremental_energy.py index 3158c70df1..12a38c03e2 100644 --- a/src/ansys/dpf/core/operators/result/incremental_energy.py +++ b/src/ansys/dpf/core/operators/result/incremental_energy.py @@ -60,12 +60,6 @@ class incremental_energy(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class incremental_energy(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.incremental_energy( @@ -105,7 +97,6 @@ class incremental_energy(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsIncrementalEnergy(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -337,8 +313,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(incremental_energy._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input(incremental_energy._spec().input_pin(14), 14, op, -1) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -509,30 +483,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.incremental_energy() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsIncrementalEnergy(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/initial_coordinates.py b/src/ansys/dpf/core/operators/result/initial_coordinates.py index b724654b77..17c834ea4b 100644 --- a/src/ansys/dpf/core/operators/result/initial_coordinates.py +++ b/src/ansys/dpf/core/operators/result/initial_coordinates.py @@ -60,12 +60,6 @@ class initial_coordinates(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class initial_coordinates(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.initial_coordinates( @@ -105,7 +97,6 @@ class initial_coordinates(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsInitialCoordinates(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -337,8 +313,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(initial_coordinates._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input(initial_coordinates._spec().input_pin(14), 14, op, -1) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -509,30 +483,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.initial_coordinates() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsInitialCoordinates(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/joint_force_reaction.py b/src/ansys/dpf/core/operators/result/joint_force_reaction.py index 878b35d0bb..a3043a20a4 100644 --- a/src/ansys/dpf/core/operators/result/joint_force_reaction.py +++ b/src/ansys/dpf/core/operators/result/joint_force_reaction.py @@ -60,12 +60,6 @@ class joint_force_reaction(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class joint_force_reaction(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.joint_force_reaction( @@ -105,7 +97,6 @@ class joint_force_reaction(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsJointForceReaction(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -337,10 +313,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(joint_force_reaction._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input( - joint_force_reaction._spec().input_pin(14), 14, op, -1 - ) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -511,30 +483,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.joint_force_reaction() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsJointForceReaction(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/joint_moment_reaction.py b/src/ansys/dpf/core/operators/result/joint_moment_reaction.py index c0b54be8e9..0c833189ae 100644 --- a/src/ansys/dpf/core/operators/result/joint_moment_reaction.py +++ b/src/ansys/dpf/core/operators/result/joint_moment_reaction.py @@ -60,12 +60,6 @@ class joint_moment_reaction(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class joint_moment_reaction(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.joint_moment_reaction( @@ -105,7 +97,6 @@ class joint_moment_reaction(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsJointMomentReaction(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -343,10 +319,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(joint_moment_reaction._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input( - joint_moment_reaction._spec().input_pin(14), 14, op, -1 - ) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -517,30 +489,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.joint_moment_reaction() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsJointMomentReaction(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/joint_relative_acceleration.py b/src/ansys/dpf/core/operators/result/joint_relative_acceleration.py index 6c6780d057..1129078fd5 100644 --- a/src/ansys/dpf/core/operators/result/joint_relative_acceleration.py +++ b/src/ansys/dpf/core/operators/result/joint_relative_acceleration.py @@ -60,12 +60,6 @@ class joint_relative_acceleration(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class joint_relative_acceleration(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.joint_relative_acceleration( @@ -105,7 +97,6 @@ class joint_relative_acceleration(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsJointRelativeAcceleration(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -343,10 +319,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(joint_relative_acceleration._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input( - joint_relative_acceleration._spec().input_pin(14), 14, op, -1 - ) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -517,30 +489,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.joint_relative_acceleration() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsJointRelativeAcceleration(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/joint_relative_angular_acceleration.py b/src/ansys/dpf/core/operators/result/joint_relative_angular_acceleration.py index 9564acdbea..27621d98a8 100644 --- a/src/ansys/dpf/core/operators/result/joint_relative_angular_acceleration.py +++ b/src/ansys/dpf/core/operators/result/joint_relative_angular_acceleration.py @@ -60,12 +60,6 @@ class joint_relative_angular_acceleration(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class joint_relative_angular_acceleration(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.joint_relative_angular_acceleration( @@ -105,7 +97,6 @@ class joint_relative_angular_acceleration(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsJointRelativeAngularAcceleration(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -345,10 +321,6 @@ def __init__(self, op: Operator): joint_relative_angular_acceleration._spec().input_pin(7), 7, op, -1 ) self._inputs.append(self._mesh) - self._read_cyclic = Input( - joint_relative_angular_acceleration._spec().input_pin(14), 14, op, -1 - ) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -519,30 +491,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.joint_relative_angular_acceleration() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsJointRelativeAngularAcceleration(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/joint_relative_angular_velocity.py b/src/ansys/dpf/core/operators/result/joint_relative_angular_velocity.py index 491166c68f..5fa7bc8142 100644 --- a/src/ansys/dpf/core/operators/result/joint_relative_angular_velocity.py +++ b/src/ansys/dpf/core/operators/result/joint_relative_angular_velocity.py @@ -60,12 +60,6 @@ class joint_relative_angular_velocity(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class joint_relative_angular_velocity(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.joint_relative_angular_velocity( @@ -105,7 +97,6 @@ class joint_relative_angular_velocity(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsJointRelativeAngularVelocity(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -345,10 +321,6 @@ def __init__(self, op: Operator): joint_relative_angular_velocity._spec().input_pin(7), 7, op, -1 ) self._inputs.append(self._mesh) - self._read_cyclic = Input( - joint_relative_angular_velocity._spec().input_pin(14), 14, op, -1 - ) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -519,30 +491,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.joint_relative_angular_velocity() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsJointRelativeAngularVelocity(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/joint_relative_displacement.py b/src/ansys/dpf/core/operators/result/joint_relative_displacement.py index f33e740725..b757e149e3 100644 --- a/src/ansys/dpf/core/operators/result/joint_relative_displacement.py +++ b/src/ansys/dpf/core/operators/result/joint_relative_displacement.py @@ -60,12 +60,6 @@ class joint_relative_displacement(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class joint_relative_displacement(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.joint_relative_displacement( @@ -105,7 +97,6 @@ class joint_relative_displacement(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsJointRelativeDisplacement(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -343,10 +319,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(joint_relative_displacement._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input( - joint_relative_displacement._spec().input_pin(14), 14, op, -1 - ) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -517,30 +489,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.joint_relative_displacement() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsJointRelativeDisplacement(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/joint_relative_rotation.py b/src/ansys/dpf/core/operators/result/joint_relative_rotation.py index 578f719811..bc63e7543f 100644 --- a/src/ansys/dpf/core/operators/result/joint_relative_rotation.py +++ b/src/ansys/dpf/core/operators/result/joint_relative_rotation.py @@ -60,12 +60,6 @@ class joint_relative_rotation(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class joint_relative_rotation(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.joint_relative_rotation( @@ -105,7 +97,6 @@ class joint_relative_rotation(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsJointRelativeRotation(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -343,10 +319,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(joint_relative_rotation._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input( - joint_relative_rotation._spec().input_pin(14), 14, op, -1 - ) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -517,30 +489,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.joint_relative_rotation() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsJointRelativeRotation(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/joint_relative_velocity.py b/src/ansys/dpf/core/operators/result/joint_relative_velocity.py index 1024f16dd2..a63ba48b3d 100644 --- a/src/ansys/dpf/core/operators/result/joint_relative_velocity.py +++ b/src/ansys/dpf/core/operators/result/joint_relative_velocity.py @@ -60,12 +60,6 @@ class joint_relative_velocity(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class joint_relative_velocity(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.joint_relative_velocity( @@ -105,7 +97,6 @@ class joint_relative_velocity(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsJointRelativeVelocity(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -343,10 +319,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(joint_relative_velocity._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input( - joint_relative_velocity._spec().input_pin(14), 14, op, -1 - ) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -517,30 +489,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.joint_relative_velocity() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsJointRelativeVelocity(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/kinetic_energy.py b/src/ansys/dpf/core/operators/result/kinetic_energy.py index 58f6ea07f8..c654958792 100644 --- a/src/ansys/dpf/core/operators/result/kinetic_energy.py +++ b/src/ansys/dpf/core/operators/result/kinetic_energy.py @@ -58,14 +58,25 @@ class kinetic_energy(Operator): If true the field is rotated to global coordinate system (default true) mesh : MeshedRegion or MeshesContainer, optional - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector read_cyclic : int, optional If 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1) + expanded_meshed_region : MeshedRegion or MeshesContainer, optional + Mesh expanded, use if cyclic expansion is to + be done. + sectors_to_expand : Scoping or ScopingsContainer, optional + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + phi : float, optional + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. Returns ------- @@ -95,6 +106,12 @@ class kinetic_energy(Operator): >>> op.inputs.mesh.connect(my_mesh) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.kinetic_energy( @@ -106,6 +123,9 @@ class kinetic_energy(Operator): ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, ... read_cyclic=my_read_cyclic, + ... expanded_meshed_region=my_expanded_meshed_region, + ... sectors_to_expand=my_sectors_to_expand, + ... phi=my_phi, ... ) >>> # Get output data @@ -122,6 +142,9 @@ def __init__( bool_rotate_to_global=None, mesh=None, read_cyclic=None, + expanded_meshed_region=None, + sectors_to_expand=None, + phi=None, config=None, server=None, ): @@ -144,6 +167,12 @@ def __init__( self.inputs.mesh.connect(mesh) if read_cyclic is not None: self.inputs.read_cyclic.connect(read_cyclic) + if expanded_meshed_region is not None: + self.inputs.expanded_meshed_region.connect(expanded_meshed_region) + if sectors_to_expand is not None: + self.inputs.sectors_to_expand.connect(sectors_to_expand) + if phi is not None: + self.inputs.phi.connect(phi) @staticmethod def _spec(): @@ -227,8 +256,8 @@ def _spec(): name="mesh", type_names=["abstract_meshed_region", "meshes_container"], optional=True, - document="""Prevents from reading the mesh in the result - files""", + document="""Mesh. if cylic expansion is to be done, mesh + of the base sector""", ), 14: PinSpecification( name="read_cyclic", @@ -240,6 +269,29 @@ def _spec(): done and stages are merged (default is 1)""", ), + 15: PinSpecification( + name="expanded_meshed_region", + type_names=["abstract_meshed_region", "meshes_container"], + optional=True, + document="""Mesh expanded, use if cyclic expansion is to + be done.""", + ), + 18: PinSpecification( + name="sectors_to_expand", + type_names=["vector", "scoping", "scopings_container"], + optional=True, + document="""Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done.""", + ), + 19: PinSpecification( + name="phi", + type_names=["double"], + optional=True, + document="""Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done.""", + ), }, map_output_pin_spec={ 0: PinSpecification( @@ -313,6 +365,12 @@ class InputsKineticEnergy(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) """ def __init__(self, op: Operator): @@ -335,6 +393,16 @@ def __init__(self, op: Operator): self._inputs.append(self._mesh) self._read_cyclic = Input(kinetic_energy._spec().input_pin(14), 14, op, -1) self._inputs.append(self._read_cyclic) + self._expanded_meshed_region = Input( + kinetic_energy._spec().input_pin(15), 15, op, -1 + ) + self._inputs.append(self._expanded_meshed_region) + self._sectors_to_expand = Input( + kinetic_energy._spec().input_pin(18), 18, op, -1 + ) + self._inputs.append(self._sectors_to_expand) + self._phi = Input(kinetic_energy._spec().input_pin(19), 19, op, -1) + self._inputs.append(self._phi) @property def time_scoping(self): @@ -488,8 +556,8 @@ def bool_rotate_to_global(self): def mesh(self): """Allows to connect mesh input to the operator. - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector Parameters ---------- @@ -529,6 +597,71 @@ def read_cyclic(self): """ return self._read_cyclic + @property + def expanded_meshed_region(self): + """Allows to connect expanded_meshed_region input to the operator. + + Mesh expanded, use if cyclic expansion is to + be done. + + Parameters + ---------- + my_expanded_meshed_region : MeshedRegion or MeshesContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.kinetic_energy() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> # or + >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region) + """ + return self._expanded_meshed_region + + @property + def sectors_to_expand(self): + """Allows to connect sectors_to_expand input to the operator. + + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + + Parameters + ---------- + my_sectors_to_expand : Scoping or ScopingsContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.kinetic_energy() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> # or + >>> op.inputs.sectors_to_expand(my_sectors_to_expand) + """ + return self._sectors_to_expand + + @property + def phi(self): + """Allows to connect phi input to the operator. + + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. + + Parameters + ---------- + my_phi : float + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.kinetic_energy() + >>> op.inputs.phi.connect(my_phi) + >>> # or + >>> op.inputs.phi(my_phi) + """ + return self._phi + class OutputsKineticEnergy(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/magnetic_field.py b/src/ansys/dpf/core/operators/result/magnetic_field.py index 9bdf441bbd..c3c7cf36cf 100644 --- a/src/ansys/dpf/core/operators/result/magnetic_field.py +++ b/src/ansys/dpf/core/operators/result/magnetic_field.py @@ -65,12 +65,6 @@ class magnetic_field(Operator): requested_location : str, optional Requested location nodal, elemental or elementalnodal - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -120,8 +114,6 @@ class magnetic_field(Operator): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -139,7 +131,6 @@ class magnetic_field(Operator): ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, ... requested_location=my_requested_location, - ... read_cyclic=my_read_cyclic, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -159,7 +150,6 @@ def __init__( bool_rotate_to_global=None, mesh=None, requested_location=None, - read_cyclic=None, read_beams=None, split_shells=None, shell_layer=None, @@ -185,8 +175,6 @@ def __init__( self.inputs.mesh.connect(mesh) if requested_location is not None: self.inputs.requested_location.connect(requested_location) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -287,16 +275,6 @@ def _spec(): optional=True, document="""Requested location nodal, elemental or elementalnodal""", - ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", ), 22: PinSpecification( name="read_beams", @@ -403,8 +381,6 @@ class InputsMagneticField(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -433,8 +409,6 @@ def __init__(self, op: Operator): self._inputs.append(self._mesh) self._requested_location = Input(magnetic_field._spec().input_pin(9), 9, op, -1) self._inputs.append(self._requested_location) - self._read_cyclic = Input(magnetic_field._spec().input_pin(14), 14, op, -1) - self._inputs.append(self._read_cyclic) self._read_beams = Input(magnetic_field._spec().input_pin(22), 22, op, -1) self._inputs.append(self._read_beams) self._split_shells = Input(magnetic_field._spec().input_pin(26), 26, op, -1) @@ -632,30 +606,6 @@ def requested_location(self): """ return self._requested_location - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.magnetic_field() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/magnetic_flux_density.py b/src/ansys/dpf/core/operators/result/magnetic_flux_density.py index 11dfed4f02..7857f134e9 100644 --- a/src/ansys/dpf/core/operators/result/magnetic_flux_density.py +++ b/src/ansys/dpf/core/operators/result/magnetic_flux_density.py @@ -65,12 +65,6 @@ class magnetic_flux_density(Operator): requested_location : str, optional Requested location nodal, elemental or elementalnodal - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -120,8 +114,6 @@ class magnetic_flux_density(Operator): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -139,7 +131,6 @@ class magnetic_flux_density(Operator): ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, ... requested_location=my_requested_location, - ... read_cyclic=my_read_cyclic, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -159,7 +150,6 @@ def __init__( bool_rotate_to_global=None, mesh=None, requested_location=None, - read_cyclic=None, read_beams=None, split_shells=None, shell_layer=None, @@ -185,8 +175,6 @@ def __init__( self.inputs.mesh.connect(mesh) if requested_location is not None: self.inputs.requested_location.connect(requested_location) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -287,16 +275,6 @@ def _spec(): optional=True, document="""Requested location nodal, elemental or elementalnodal""", - ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", ), 22: PinSpecification( name="read_beams", @@ -403,8 +381,6 @@ class InputsMagneticFluxDensity(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -445,10 +421,6 @@ def __init__(self, op: Operator): magnetic_flux_density._spec().input_pin(9), 9, op, -1 ) self._inputs.append(self._requested_location) - self._read_cyclic = Input( - magnetic_flux_density._spec().input_pin(14), 14, op, -1 - ) - self._inputs.append(self._read_cyclic) self._read_beams = Input( magnetic_flux_density._spec().input_pin(22), 22, op, -1 ) @@ -652,30 +624,6 @@ def requested_location(self): """ return self._requested_location - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.magnetic_flux_density() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/magnetic_scalar_potential.py b/src/ansys/dpf/core/operators/result/magnetic_scalar_potential.py index 7cfe3fb8a3..680a528e5d 100644 --- a/src/ansys/dpf/core/operators/result/magnetic_scalar_potential.py +++ b/src/ansys/dpf/core/operators/result/magnetic_scalar_potential.py @@ -60,12 +60,6 @@ class magnetic_scalar_potential(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class magnetic_scalar_potential(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.magnetic_scalar_potential( @@ -105,7 +97,6 @@ class magnetic_scalar_potential(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsMagneticScalarPotential(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -343,10 +319,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(magnetic_scalar_potential._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input( - magnetic_scalar_potential._spec().input_pin(14), 14, op, -1 - ) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -517,30 +489,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.magnetic_scalar_potential() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsMagneticScalarPotential(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/magnetic_vector_potential.py b/src/ansys/dpf/core/operators/result/magnetic_vector_potential.py index 62aadc142d..a5b46b27e8 100644 --- a/src/ansys/dpf/core/operators/result/magnetic_vector_potential.py +++ b/src/ansys/dpf/core/operators/result/magnetic_vector_potential.py @@ -60,12 +60,6 @@ class magnetic_vector_potential(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class magnetic_vector_potential(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.magnetic_vector_potential( @@ -105,7 +97,6 @@ class magnetic_vector_potential(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsMagneticVectorPotential(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -343,10 +319,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(magnetic_vector_potential._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input( - magnetic_vector_potential._spec().input_pin(14), 14, op, -1 - ) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -517,30 +489,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.magnetic_vector_potential() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsMagneticVectorPotential(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/modal_basis.py b/src/ansys/dpf/core/operators/result/modal_basis.py index 7e5892b33b..f2590951e9 100644 --- a/src/ansys/dpf/core/operators/result/modal_basis.py +++ b/src/ansys/dpf/core/operators/result/modal_basis.py @@ -60,12 +60,6 @@ class modal_basis(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class modal_basis(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.modal_basis( @@ -105,7 +97,6 @@ class modal_basis(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsModalBasis(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -331,8 +307,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(modal_basis._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input(modal_basis._spec().input_pin(14), 14, op, -1) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -503,30 +477,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.modal_basis() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsModalBasis(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/nmisc.py b/src/ansys/dpf/core/operators/result/nmisc.py index 6c8910c2da..afed5c8926 100644 --- a/src/ansys/dpf/core/operators/result/nmisc.py +++ b/src/ansys/dpf/core/operators/result/nmisc.py @@ -60,8 +60,8 @@ class nmisc(Operator): If true the field is rotated to global coordinate system (default true) mesh : MeshedRegion or MeshesContainer, optional - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector item_index : int, optional Index of requested item. num_components : int, optional @@ -72,6 +72,17 @@ class nmisc(Operator): is done, if 3 cyclic expansion is done and stages are merged (default is 1) + expanded_meshed_region : MeshedRegion or MeshesContainer, optional + Mesh expanded, use if cyclic expansion is to + be done. + sectors_to_expand : Scoping or ScopingsContainer, optional + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + phi : float, optional + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. Returns ------- @@ -105,6 +116,12 @@ class nmisc(Operator): >>> op.inputs.num_components.connect(my_num_components) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.nmisc( @@ -118,6 +135,9 @@ class nmisc(Operator): ... item_index=my_item_index, ... num_components=my_num_components, ... read_cyclic=my_read_cyclic, + ... expanded_meshed_region=my_expanded_meshed_region, + ... sectors_to_expand=my_sectors_to_expand, + ... phi=my_phi, ... ) >>> # Get output data @@ -136,6 +156,9 @@ def __init__( item_index=None, num_components=None, read_cyclic=None, + expanded_meshed_region=None, + sectors_to_expand=None, + phi=None, config=None, server=None, ): @@ -162,6 +185,12 @@ def __init__( self.inputs.num_components.connect(num_components) if read_cyclic is not None: self.inputs.read_cyclic.connect(read_cyclic) + if expanded_meshed_region is not None: + self.inputs.expanded_meshed_region.connect(expanded_meshed_region) + if sectors_to_expand is not None: + self.inputs.sectors_to_expand.connect(sectors_to_expand) + if phi is not None: + self.inputs.phi.connect(phi) @staticmethod def _spec(): @@ -247,8 +276,8 @@ def _spec(): name="mesh", type_names=["abstract_meshed_region", "meshes_container"], optional=True, - document="""Prevents from reading the mesh in the result - files""", + document="""Mesh. if cylic expansion is to be done, mesh + of the base sector""", ), 10: PinSpecification( name="item_index", @@ -272,6 +301,29 @@ def _spec(): done and stages are merged (default is 1)""", ), + 15: PinSpecification( + name="expanded_meshed_region", + type_names=["abstract_meshed_region", "meshes_container"], + optional=True, + document="""Mesh expanded, use if cyclic expansion is to + be done.""", + ), + 18: PinSpecification( + name="sectors_to_expand", + type_names=["vector", "scoping", "scopings_container"], + optional=True, + document="""Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done.""", + ), + 19: PinSpecification( + name="phi", + type_names=["double"], + optional=True, + document="""Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done.""", + ), }, map_output_pin_spec={ 0: PinSpecification( @@ -349,6 +401,12 @@ class InputsNmisc(_Inputs): >>> op.inputs.num_components.connect(my_num_components) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) """ def __init__(self, op: Operator): @@ -373,6 +431,12 @@ def __init__(self, op: Operator): self._inputs.append(self._num_components) self._read_cyclic = Input(nmisc._spec().input_pin(14), 14, op, -1) self._inputs.append(self._read_cyclic) + self._expanded_meshed_region = Input(nmisc._spec().input_pin(15), 15, op, -1) + self._inputs.append(self._expanded_meshed_region) + self._sectors_to_expand = Input(nmisc._spec().input_pin(18), 18, op, -1) + self._inputs.append(self._sectors_to_expand) + self._phi = Input(nmisc._spec().input_pin(19), 19, op, -1) + self._inputs.append(self._phi) @property def time_scoping(self): @@ -526,8 +590,8 @@ def bool_rotate_to_global(self): def mesh(self): """Allows to connect mesh input to the operator. - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector Parameters ---------- @@ -607,6 +671,71 @@ def read_cyclic(self): """ return self._read_cyclic + @property + def expanded_meshed_region(self): + """Allows to connect expanded_meshed_region input to the operator. + + Mesh expanded, use if cyclic expansion is to + be done. + + Parameters + ---------- + my_expanded_meshed_region : MeshedRegion or MeshesContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.nmisc() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> # or + >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region) + """ + return self._expanded_meshed_region + + @property + def sectors_to_expand(self): + """Allows to connect sectors_to_expand input to the operator. + + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + + Parameters + ---------- + my_sectors_to_expand : Scoping or ScopingsContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.nmisc() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> # or + >>> op.inputs.sectors_to_expand(my_sectors_to_expand) + """ + return self._sectors_to_expand + + @property + def phi(self): + """Allows to connect phi input to the operator. + + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. + + Parameters + ---------- + my_phi : float + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.nmisc() + >>> op.inputs.phi.connect(my_phi) + >>> # or + >>> op.inputs.phi(my_phi) + """ + return self._phi + class OutputsNmisc(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/nodal_force.py b/src/ansys/dpf/core/operators/result/nodal_force.py index e2b08cd443..584f2935cd 100644 --- a/src/ansys/dpf/core/operators/result/nodal_force.py +++ b/src/ansys/dpf/core/operators/result/nodal_force.py @@ -60,12 +60,6 @@ class nodal_force(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class nodal_force(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.nodal_force( @@ -105,7 +97,6 @@ class nodal_force(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsNodalForce(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -331,8 +307,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(nodal_force._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input(nodal_force._spec().input_pin(14), 14, op, -1) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -503,30 +477,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.nodal_force() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsNodalForce(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/nodal_moment.py b/src/ansys/dpf/core/operators/result/nodal_moment.py index e487fe3455..99c3f72f59 100644 --- a/src/ansys/dpf/core/operators/result/nodal_moment.py +++ b/src/ansys/dpf/core/operators/result/nodal_moment.py @@ -60,12 +60,6 @@ class nodal_moment(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class nodal_moment(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.nodal_moment( @@ -105,7 +97,6 @@ class nodal_moment(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsNodalMoment(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -333,8 +309,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(nodal_moment._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input(nodal_moment._spec().input_pin(14), 14, op, -1) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -505,30 +479,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.nodal_moment() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsNodalMoment(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/normal_contact_force.py b/src/ansys/dpf/core/operators/result/normal_contact_force.py index b30eb42ca3..e68e11242f 100644 --- a/src/ansys/dpf/core/operators/result/normal_contact_force.py +++ b/src/ansys/dpf/core/operators/result/normal_contact_force.py @@ -60,12 +60,6 @@ class normal_contact_force(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class normal_contact_force(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.normal_contact_force( @@ -105,7 +97,6 @@ class normal_contact_force(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsNormalContactForce(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -337,10 +313,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(normal_contact_force._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input( - normal_contact_force._spec().input_pin(14), 14, op, -1 - ) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -511,30 +483,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.normal_contact_force() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsNormalContactForce(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/normal_contact_moment.py b/src/ansys/dpf/core/operators/result/normal_contact_moment.py index 614fc6cc52..3670ce9f02 100644 --- a/src/ansys/dpf/core/operators/result/normal_contact_moment.py +++ b/src/ansys/dpf/core/operators/result/normal_contact_moment.py @@ -60,12 +60,6 @@ class normal_contact_moment(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class normal_contact_moment(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.normal_contact_moment( @@ -105,7 +97,6 @@ class normal_contact_moment(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsNormalContactMoment(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -343,10 +319,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(normal_contact_moment._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input( - normal_contact_moment._spec().input_pin(14), 14, op, -1 - ) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -517,30 +489,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.normal_contact_moment() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsNormalContactMoment(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/num_surface_status_changes.py b/src/ansys/dpf/core/operators/result/num_surface_status_changes.py index 6d428e587f..86709ad80f 100644 --- a/src/ansys/dpf/core/operators/result/num_surface_status_changes.py +++ b/src/ansys/dpf/core/operators/result/num_surface_status_changes.py @@ -60,8 +60,8 @@ class num_surface_status_changes(Operator): If true the field is rotated to global coordinate system (default true) mesh : MeshedRegion or MeshesContainer, optional - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector requested_location : str, optional Requested location nodal, elemental or elementalnodal @@ -71,6 +71,17 @@ class num_surface_status_changes(Operator): is done, if 3 cyclic expansion is done and stages are merged (default is 1) + expanded_meshed_region : MeshedRegion or MeshesContainer, optional + Mesh expanded, use if cyclic expansion is to + be done. + sectors_to_expand : Scoping or ScopingsContainer, optional + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + phi : float, optional + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -122,6 +133,12 @@ class num_surface_status_changes(Operator): >>> op.inputs.requested_location.connect(my_requested_location) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -140,6 +157,9 @@ class num_surface_status_changes(Operator): ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, + ... expanded_meshed_region=my_expanded_meshed_region, + ... sectors_to_expand=my_sectors_to_expand, + ... phi=my_phi, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -160,6 +180,9 @@ def __init__( mesh=None, requested_location=None, read_cyclic=None, + expanded_meshed_region=None, + sectors_to_expand=None, + phi=None, read_beams=None, split_shells=None, shell_layer=None, @@ -187,6 +210,12 @@ def __init__( self.inputs.requested_location.connect(requested_location) if read_cyclic is not None: self.inputs.read_cyclic.connect(read_cyclic) + if expanded_meshed_region is not None: + self.inputs.expanded_meshed_region.connect(expanded_meshed_region) + if sectors_to_expand is not None: + self.inputs.sectors_to_expand.connect(sectors_to_expand) + if phi is not None: + self.inputs.phi.connect(phi) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -279,8 +308,8 @@ def _spec(): name="mesh", type_names=["abstract_meshed_region", "meshes_container"], optional=True, - document="""Prevents from reading the mesh in the result - files""", + document="""Mesh. if cylic expansion is to be done, mesh + of the base sector""", ), 9: PinSpecification( name="requested_location", @@ -298,6 +327,29 @@ def _spec(): is done, if 3 cyclic expansion is done and stages are merged (default is 1)""", + ), + 15: PinSpecification( + name="expanded_meshed_region", + type_names=["abstract_meshed_region", "meshes_container"], + optional=True, + document="""Mesh expanded, use if cyclic expansion is to + be done.""", + ), + 18: PinSpecification( + name="sectors_to_expand", + type_names=["vector", "scoping", "scopings_container"], + optional=True, + document="""Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done.""", + ), + 19: PinSpecification( + name="phi", + type_names=["double"], + optional=True, + document="""Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done.""", ), 22: PinSpecification( name="read_beams", @@ -406,6 +458,12 @@ class InputsNumSurfaceStatusChanges(_Inputs): >>> op.inputs.requested_location.connect(my_requested_location) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -450,6 +508,16 @@ def __init__(self, op: Operator): num_surface_status_changes._spec().input_pin(14), 14, op, -1 ) self._inputs.append(self._read_cyclic) + self._expanded_meshed_region = Input( + num_surface_status_changes._spec().input_pin(15), 15, op, -1 + ) + self._inputs.append(self._expanded_meshed_region) + self._sectors_to_expand = Input( + num_surface_status_changes._spec().input_pin(18), 18, op, -1 + ) + self._inputs.append(self._sectors_to_expand) + self._phi = Input(num_surface_status_changes._spec().input_pin(19), 19, op, -1) + self._inputs.append(self._phi) self._read_beams = Input( num_surface_status_changes._spec().input_pin(22), 22, op, -1 ) @@ -615,8 +683,8 @@ def bool_rotate_to_global(self): def mesh(self): """Allows to connect mesh input to the operator. - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector Parameters ---------- @@ -677,6 +745,71 @@ def read_cyclic(self): """ return self._read_cyclic + @property + def expanded_meshed_region(self): + """Allows to connect expanded_meshed_region input to the operator. + + Mesh expanded, use if cyclic expansion is to + be done. + + Parameters + ---------- + my_expanded_meshed_region : MeshedRegion or MeshesContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.num_surface_status_changes() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> # or + >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region) + """ + return self._expanded_meshed_region + + @property + def sectors_to_expand(self): + """Allows to connect sectors_to_expand input to the operator. + + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + + Parameters + ---------- + my_sectors_to_expand : Scoping or ScopingsContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.num_surface_status_changes() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> # or + >>> op.inputs.sectors_to_expand(my_sectors_to_expand) + """ + return self._sectors_to_expand + + @property + def phi(self): + """Allows to connect phi input to the operator. + + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. + + Parameters + ---------- + my_phi : float + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.num_surface_status_changes() + >>> op.inputs.phi.connect(my_phi) + >>> # or + >>> op.inputs.phi(my_phi) + """ + return self._phi + @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/plastic_state_variable.py b/src/ansys/dpf/core/operators/result/plastic_state_variable.py index 9284bd30db..aec0c2acf9 100644 --- a/src/ansys/dpf/core/operators/result/plastic_state_variable.py +++ b/src/ansys/dpf/core/operators/result/plastic_state_variable.py @@ -65,12 +65,6 @@ class plastic_state_variable(Operator): requested_location : str, optional Requested location nodal, elemental or elementalnodal - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -120,8 +114,6 @@ class plastic_state_variable(Operator): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -139,7 +131,6 @@ class plastic_state_variable(Operator): ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, ... requested_location=my_requested_location, - ... read_cyclic=my_read_cyclic, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -159,7 +150,6 @@ def __init__( bool_rotate_to_global=None, mesh=None, requested_location=None, - read_cyclic=None, read_beams=None, split_shells=None, shell_layer=None, @@ -185,8 +175,6 @@ def __init__( self.inputs.mesh.connect(mesh) if requested_location is not None: self.inputs.requested_location.connect(requested_location) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -287,16 +275,6 @@ def _spec(): optional=True, document="""Requested location nodal, elemental or elementalnodal""", - ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", ), 22: PinSpecification( name="read_beams", @@ -403,8 +381,6 @@ class InputsPlasticStateVariable(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -445,10 +421,6 @@ def __init__(self, op: Operator): plastic_state_variable._spec().input_pin(9), 9, op, -1 ) self._inputs.append(self._requested_location) - self._read_cyclic = Input( - plastic_state_variable._spec().input_pin(14), 14, op, -1 - ) - self._inputs.append(self._read_cyclic) self._read_beams = Input( plastic_state_variable._spec().input_pin(22), 22, op, -1 ) @@ -652,30 +624,6 @@ def requested_location(self): """ return self._requested_location - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.plastic_state_variable() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/plastic_strain.py b/src/ansys/dpf/core/operators/result/plastic_strain.py index 4fb9d65836..0ce21b439b 100644 --- a/src/ansys/dpf/core/operators/result/plastic_strain.py +++ b/src/ansys/dpf/core/operators/result/plastic_strain.py @@ -65,12 +65,6 @@ class plastic_strain(Operator): requested_location : str, optional Requested location nodal, elemental or elementalnodal - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -120,8 +114,6 @@ class plastic_strain(Operator): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -139,7 +131,6 @@ class plastic_strain(Operator): ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, ... requested_location=my_requested_location, - ... read_cyclic=my_read_cyclic, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -159,7 +150,6 @@ def __init__( bool_rotate_to_global=None, mesh=None, requested_location=None, - read_cyclic=None, read_beams=None, split_shells=None, shell_layer=None, @@ -185,8 +175,6 @@ def __init__( self.inputs.mesh.connect(mesh) if requested_location is not None: self.inputs.requested_location.connect(requested_location) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -287,16 +275,6 @@ def _spec(): optional=True, document="""Requested location nodal, elemental or elementalnodal""", - ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", ), 22: PinSpecification( name="read_beams", @@ -403,8 +381,6 @@ class InputsPlasticStrain(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -433,8 +409,6 @@ def __init__(self, op: Operator): self._inputs.append(self._mesh) self._requested_location = Input(plastic_strain._spec().input_pin(9), 9, op, -1) self._inputs.append(self._requested_location) - self._read_cyclic = Input(plastic_strain._spec().input_pin(14), 14, op, -1) - self._inputs.append(self._read_cyclic) self._read_beams = Input(plastic_strain._spec().input_pin(22), 22, op, -1) self._inputs.append(self._read_beams) self._split_shells = Input(plastic_strain._spec().input_pin(26), 26, op, -1) @@ -632,30 +606,6 @@ def requested_location(self): """ return self._requested_location - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.plastic_strain() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/plastic_strain_energy_density.py b/src/ansys/dpf/core/operators/result/plastic_strain_energy_density.py index 3128cd3289..b06a589517 100644 --- a/src/ansys/dpf/core/operators/result/plastic_strain_energy_density.py +++ b/src/ansys/dpf/core/operators/result/plastic_strain_energy_density.py @@ -65,12 +65,6 @@ class plastic_strain_energy_density(Operator): requested_location : str, optional Requested location nodal, elemental or elementalnodal - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -120,8 +114,6 @@ class plastic_strain_energy_density(Operator): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -139,7 +131,6 @@ class plastic_strain_energy_density(Operator): ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, ... requested_location=my_requested_location, - ... read_cyclic=my_read_cyclic, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -159,7 +150,6 @@ def __init__( bool_rotate_to_global=None, mesh=None, requested_location=None, - read_cyclic=None, read_beams=None, split_shells=None, shell_layer=None, @@ -185,8 +175,6 @@ def __init__( self.inputs.mesh.connect(mesh) if requested_location is not None: self.inputs.requested_location.connect(requested_location) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -287,16 +275,6 @@ def _spec(): optional=True, document="""Requested location nodal, elemental or elementalnodal""", - ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", ), 22: PinSpecification( name="read_beams", @@ -403,8 +381,6 @@ class InputsPlasticStrainEnergyDensity(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -447,10 +423,6 @@ def __init__(self, op: Operator): plastic_strain_energy_density._spec().input_pin(9), 9, op, -1 ) self._inputs.append(self._requested_location) - self._read_cyclic = Input( - plastic_strain_energy_density._spec().input_pin(14), 14, op, -1 - ) - self._inputs.append(self._read_cyclic) self._read_beams = Input( plastic_strain_energy_density._spec().input_pin(22), 22, op, -1 ) @@ -654,30 +626,6 @@ def requested_location(self): """ return self._requested_location - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.plastic_strain_energy_density() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/plastic_strain_eqv.py b/src/ansys/dpf/core/operators/result/plastic_strain_eqv.py index b62faf5502..73ef98f44d 100644 --- a/src/ansys/dpf/core/operators/result/plastic_strain_eqv.py +++ b/src/ansys/dpf/core/operators/result/plastic_strain_eqv.py @@ -65,12 +65,6 @@ class plastic_strain_eqv(Operator): requested_location : str, optional Requested location nodal, elemental or elementalnodal - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -120,8 +114,6 @@ class plastic_strain_eqv(Operator): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -139,7 +131,6 @@ class plastic_strain_eqv(Operator): ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, ... requested_location=my_requested_location, - ... read_cyclic=my_read_cyclic, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -159,7 +150,6 @@ def __init__( bool_rotate_to_global=None, mesh=None, requested_location=None, - read_cyclic=None, read_beams=None, split_shells=None, shell_layer=None, @@ -185,8 +175,6 @@ def __init__( self.inputs.mesh.connect(mesh) if requested_location is not None: self.inputs.requested_location.connect(requested_location) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -287,16 +275,6 @@ def _spec(): optional=True, document="""Requested location nodal, elemental or elementalnodal""", - ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", ), 22: PinSpecification( name="read_beams", @@ -403,8 +381,6 @@ class InputsPlasticStrainEqv(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -439,8 +415,6 @@ def __init__(self, op: Operator): plastic_strain_eqv._spec().input_pin(9), 9, op, -1 ) self._inputs.append(self._requested_location) - self._read_cyclic = Input(plastic_strain_eqv._spec().input_pin(14), 14, op, -1) - self._inputs.append(self._read_cyclic) self._read_beams = Input(plastic_strain_eqv._spec().input_pin(22), 22, op, -1) self._inputs.append(self._read_beams) self._split_shells = Input(plastic_strain_eqv._spec().input_pin(26), 26, op, -1) @@ -638,30 +612,6 @@ def requested_location(self): """ return self._requested_location - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.plastic_strain_eqv() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/pressure.py b/src/ansys/dpf/core/operators/result/pressure.py index 0f7d14a689..d37d22d507 100644 --- a/src/ansys/dpf/core/operators/result/pressure.py +++ b/src/ansys/dpf/core/operators/result/pressure.py @@ -60,12 +60,6 @@ class pressure(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class pressure(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.pressure( @@ -105,7 +97,6 @@ class pressure(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsPressure(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -331,8 +307,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(pressure._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input(pressure._spec().input_pin(14), 14, op, -1) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -503,30 +477,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.pressure() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsPressure(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/raw_displacement.py b/src/ansys/dpf/core/operators/result/raw_displacement.py index df73c62ef2..8d38e9e455 100644 --- a/src/ansys/dpf/core/operators/result/raw_displacement.py +++ b/src/ansys/dpf/core/operators/result/raw_displacement.py @@ -60,12 +60,6 @@ class raw_displacement(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class raw_displacement(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.raw_displacement( @@ -105,7 +97,6 @@ class raw_displacement(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsRawDisplacement(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -335,8 +311,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(raw_displacement._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input(raw_displacement._spec().input_pin(14), 14, op, -1) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -507,30 +481,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.raw_displacement() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsRawDisplacement(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/raw_reaction_force.py b/src/ansys/dpf/core/operators/result/raw_reaction_force.py index 6d290d9cf0..0bbdc34cb6 100644 --- a/src/ansys/dpf/core/operators/result/raw_reaction_force.py +++ b/src/ansys/dpf/core/operators/result/raw_reaction_force.py @@ -60,12 +60,6 @@ class raw_reaction_force(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class raw_reaction_force(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.raw_reaction_force( @@ -105,7 +97,6 @@ class raw_reaction_force(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsRawReactionForce(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -337,8 +313,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(raw_reaction_force._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input(raw_reaction_force._spec().input_pin(14), 14, op, -1) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -509,30 +483,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.raw_reaction_force() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsRawReactionForce(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/reaction_force.py b/src/ansys/dpf/core/operators/result/reaction_force.py index 891726deca..217c6a0992 100644 --- a/src/ansys/dpf/core/operators/result/reaction_force.py +++ b/src/ansys/dpf/core/operators/result/reaction_force.py @@ -60,12 +60,6 @@ class reaction_force(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class reaction_force(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.reaction_force( @@ -105,7 +97,6 @@ class reaction_force(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsReactionForce(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -333,8 +309,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(reaction_force._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input(reaction_force._spec().input_pin(14), 14, op, -1) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -505,30 +479,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.reaction_force() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsReactionForce(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/smisc.py b/src/ansys/dpf/core/operators/result/smisc.py index c25280af35..42a0e3f1ba 100644 --- a/src/ansys/dpf/core/operators/result/smisc.py +++ b/src/ansys/dpf/core/operators/result/smisc.py @@ -62,8 +62,8 @@ class smisc(Operator): If true the field is rotated to global coordinate system (default true) mesh : MeshedRegion or MeshesContainer, optional - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector item_index : int, optional Index of requested item. num_components : int, optional @@ -74,6 +74,17 @@ class smisc(Operator): is done, if 3 cyclic expansion is done and stages are merged (default is 1) + expanded_meshed_region : MeshedRegion or MeshesContainer, optional + Mesh expanded, use if cyclic expansion is to + be done. + sectors_to_expand : Scoping or ScopingsContainer, optional + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + phi : float, optional + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. Returns ------- @@ -107,6 +118,12 @@ class smisc(Operator): >>> op.inputs.num_components.connect(my_num_components) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.smisc( @@ -120,6 +137,9 @@ class smisc(Operator): ... item_index=my_item_index, ... num_components=my_num_components, ... read_cyclic=my_read_cyclic, + ... expanded_meshed_region=my_expanded_meshed_region, + ... sectors_to_expand=my_sectors_to_expand, + ... phi=my_phi, ... ) >>> # Get output data @@ -138,6 +158,9 @@ def __init__( item_index=None, num_components=None, read_cyclic=None, + expanded_meshed_region=None, + sectors_to_expand=None, + phi=None, config=None, server=None, ): @@ -164,6 +187,12 @@ def __init__( self.inputs.num_components.connect(num_components) if read_cyclic is not None: self.inputs.read_cyclic.connect(read_cyclic) + if expanded_meshed_region is not None: + self.inputs.expanded_meshed_region.connect(expanded_meshed_region) + if sectors_to_expand is not None: + self.inputs.sectors_to_expand.connect(sectors_to_expand) + if phi is not None: + self.inputs.phi.connect(phi) @staticmethod def _spec(): @@ -252,8 +281,8 @@ def _spec(): name="mesh", type_names=["abstract_meshed_region", "meshes_container"], optional=True, - document="""Prevents from reading the mesh in the result - files""", + document="""Mesh. if cylic expansion is to be done, mesh + of the base sector""", ), 10: PinSpecification( name="item_index", @@ -277,6 +306,29 @@ def _spec(): done and stages are merged (default is 1)""", ), + 15: PinSpecification( + name="expanded_meshed_region", + type_names=["abstract_meshed_region", "meshes_container"], + optional=True, + document="""Mesh expanded, use if cyclic expansion is to + be done.""", + ), + 18: PinSpecification( + name="sectors_to_expand", + type_names=["vector", "scoping", "scopings_container"], + optional=True, + document="""Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done.""", + ), + 19: PinSpecification( + name="phi", + type_names=["double"], + optional=True, + document="""Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done.""", + ), }, map_output_pin_spec={ 0: PinSpecification( @@ -354,6 +406,12 @@ class InputsSmisc(_Inputs): >>> op.inputs.num_components.connect(my_num_components) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) """ def __init__(self, op: Operator): @@ -378,6 +436,12 @@ def __init__(self, op: Operator): self._inputs.append(self._num_components) self._read_cyclic = Input(smisc._spec().input_pin(14), 14, op, -1) self._inputs.append(self._read_cyclic) + self._expanded_meshed_region = Input(smisc._spec().input_pin(15), 15, op, -1) + self._inputs.append(self._expanded_meshed_region) + self._sectors_to_expand = Input(smisc._spec().input_pin(18), 18, op, -1) + self._inputs.append(self._sectors_to_expand) + self._phi = Input(smisc._spec().input_pin(19), 19, op, -1) + self._inputs.append(self._phi) @property def time_scoping(self): @@ -531,8 +595,8 @@ def bool_rotate_to_global(self): def mesh(self): """Allows to connect mesh input to the operator. - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector Parameters ---------- @@ -612,6 +676,71 @@ def read_cyclic(self): """ return self._read_cyclic + @property + def expanded_meshed_region(self): + """Allows to connect expanded_meshed_region input to the operator. + + Mesh expanded, use if cyclic expansion is to + be done. + + Parameters + ---------- + my_expanded_meshed_region : MeshedRegion or MeshesContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.smisc() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> # or + >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region) + """ + return self._expanded_meshed_region + + @property + def sectors_to_expand(self): + """Allows to connect sectors_to_expand input to the operator. + + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + + Parameters + ---------- + my_sectors_to_expand : Scoping or ScopingsContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.smisc() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> # or + >>> op.inputs.sectors_to_expand(my_sectors_to_expand) + """ + return self._sectors_to_expand + + @property + def phi(self): + """Allows to connect phi input to the operator. + + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. + + Parameters + ---------- + my_phi : float + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.smisc() + >>> op.inputs.phi.connect(my_phi) + >>> # or + >>> op.inputs.phi(my_phi) + """ + return self._phi + class OutputsSmisc(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/stiffness_matrix_energy.py b/src/ansys/dpf/core/operators/result/stiffness_matrix_energy.py index b4fbcab3e6..23bce35e6f 100644 --- a/src/ansys/dpf/core/operators/result/stiffness_matrix_energy.py +++ b/src/ansys/dpf/core/operators/result/stiffness_matrix_energy.py @@ -58,14 +58,25 @@ class stiffness_matrix_energy(Operator): If true the field is rotated to global coordinate system (default true) mesh : MeshedRegion or MeshesContainer, optional - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector read_cyclic : int, optional If 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1) + expanded_meshed_region : MeshedRegion or MeshesContainer, optional + Mesh expanded, use if cyclic expansion is to + be done. + sectors_to_expand : Scoping or ScopingsContainer, optional + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + phi : float, optional + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. Returns ------- @@ -95,6 +106,12 @@ class stiffness_matrix_energy(Operator): >>> op.inputs.mesh.connect(my_mesh) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.stiffness_matrix_energy( @@ -106,6 +123,9 @@ class stiffness_matrix_energy(Operator): ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, ... read_cyclic=my_read_cyclic, + ... expanded_meshed_region=my_expanded_meshed_region, + ... sectors_to_expand=my_sectors_to_expand, + ... phi=my_phi, ... ) >>> # Get output data @@ -122,6 +142,9 @@ def __init__( bool_rotate_to_global=None, mesh=None, read_cyclic=None, + expanded_meshed_region=None, + sectors_to_expand=None, + phi=None, config=None, server=None, ): @@ -144,6 +167,12 @@ def __init__( self.inputs.mesh.connect(mesh) if read_cyclic is not None: self.inputs.read_cyclic.connect(read_cyclic) + if expanded_meshed_region is not None: + self.inputs.expanded_meshed_region.connect(expanded_meshed_region) + if sectors_to_expand is not None: + self.inputs.sectors_to_expand.connect(sectors_to_expand) + if phi is not None: + self.inputs.phi.connect(phi) @staticmethod def _spec(): @@ -227,8 +256,8 @@ def _spec(): name="mesh", type_names=["abstract_meshed_region", "meshes_container"], optional=True, - document="""Prevents from reading the mesh in the result - files""", + document="""Mesh. if cylic expansion is to be done, mesh + of the base sector""", ), 14: PinSpecification( name="read_cyclic", @@ -240,6 +269,29 @@ def _spec(): done and stages are merged (default is 1)""", ), + 15: PinSpecification( + name="expanded_meshed_region", + type_names=["abstract_meshed_region", "meshes_container"], + optional=True, + document="""Mesh expanded, use if cyclic expansion is to + be done.""", + ), + 18: PinSpecification( + name="sectors_to_expand", + type_names=["vector", "scoping", "scopings_container"], + optional=True, + document="""Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done.""", + ), + 19: PinSpecification( + name="phi", + type_names=["double"], + optional=True, + document="""Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done.""", + ), }, map_output_pin_spec={ 0: PinSpecification( @@ -313,6 +365,12 @@ class InputsStiffnessMatrixEnergy(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) """ def __init__(self, op: Operator): @@ -347,6 +405,16 @@ def __init__(self, op: Operator): stiffness_matrix_energy._spec().input_pin(14), 14, op, -1 ) self._inputs.append(self._read_cyclic) + self._expanded_meshed_region = Input( + stiffness_matrix_energy._spec().input_pin(15), 15, op, -1 + ) + self._inputs.append(self._expanded_meshed_region) + self._sectors_to_expand = Input( + stiffness_matrix_energy._spec().input_pin(18), 18, op, -1 + ) + self._inputs.append(self._sectors_to_expand) + self._phi = Input(stiffness_matrix_energy._spec().input_pin(19), 19, op, -1) + self._inputs.append(self._phi) @property def time_scoping(self): @@ -500,8 +568,8 @@ def bool_rotate_to_global(self): def mesh(self): """Allows to connect mesh input to the operator. - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector Parameters ---------- @@ -541,6 +609,71 @@ def read_cyclic(self): """ return self._read_cyclic + @property + def expanded_meshed_region(self): + """Allows to connect expanded_meshed_region input to the operator. + + Mesh expanded, use if cyclic expansion is to + be done. + + Parameters + ---------- + my_expanded_meshed_region : MeshedRegion or MeshesContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.stiffness_matrix_energy() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> # or + >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region) + """ + return self._expanded_meshed_region + + @property + def sectors_to_expand(self): + """Allows to connect sectors_to_expand input to the operator. + + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + + Parameters + ---------- + my_sectors_to_expand : Scoping or ScopingsContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.stiffness_matrix_energy() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> # or + >>> op.inputs.sectors_to_expand(my_sectors_to_expand) + """ + return self._sectors_to_expand + + @property + def phi(self): + """Allows to connect phi input to the operator. + + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. + + Parameters + ---------- + my_phi : float + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.stiffness_matrix_energy() + >>> op.inputs.phi.connect(my_phi) + >>> # or + >>> op.inputs.phi(my_phi) + """ + return self._phi + class OutputsStiffnessMatrixEnergy(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/stress.py b/src/ansys/dpf/core/operators/result/stress.py index 0136ad1142..2546c5fa11 100644 --- a/src/ansys/dpf/core/operators/result/stress.py +++ b/src/ansys/dpf/core/operators/result/stress.py @@ -60,8 +60,8 @@ class stress(Operator): If true the field is rotated to global coordinate system (default true) mesh : MeshedRegion or MeshesContainer, optional - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector requested_location : str, optional Requested location nodal, elemental or elementalnodal @@ -71,6 +71,17 @@ class stress(Operator): is done, if 3 cyclic expansion is done and stages are merged (default is 1) + expanded_meshed_region : MeshedRegion or MeshesContainer, optional + Mesh expanded, use if cyclic expansion is to + be done. + sectors_to_expand : Scoping or ScopingsContainer, optional + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + phi : float, optional + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -122,6 +133,12 @@ class stress(Operator): >>> op.inputs.requested_location.connect(my_requested_location) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -140,6 +157,9 @@ class stress(Operator): ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, + ... expanded_meshed_region=my_expanded_meshed_region, + ... sectors_to_expand=my_sectors_to_expand, + ... phi=my_phi, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -160,6 +180,9 @@ def __init__( mesh=None, requested_location=None, read_cyclic=None, + expanded_meshed_region=None, + sectors_to_expand=None, + phi=None, read_beams=None, split_shells=None, shell_layer=None, @@ -187,6 +210,12 @@ def __init__( self.inputs.requested_location.connect(requested_location) if read_cyclic is not None: self.inputs.read_cyclic.connect(read_cyclic) + if expanded_meshed_region is not None: + self.inputs.expanded_meshed_region.connect(expanded_meshed_region) + if sectors_to_expand is not None: + self.inputs.sectors_to_expand.connect(sectors_to_expand) + if phi is not None: + self.inputs.phi.connect(phi) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -278,8 +307,8 @@ def _spec(): name="mesh", type_names=["abstract_meshed_region", "meshes_container"], optional=True, - document="""Prevents from reading the mesh in the result - files""", + document="""Mesh. if cylic expansion is to be done, mesh + of the base sector""", ), 9: PinSpecification( name="requested_location", @@ -297,6 +326,29 @@ def _spec(): is done, if 3 cyclic expansion is done and stages are merged (default is 1)""", + ), + 15: PinSpecification( + name="expanded_meshed_region", + type_names=["abstract_meshed_region", "meshes_container"], + optional=True, + document="""Mesh expanded, use if cyclic expansion is to + be done.""", + ), + 18: PinSpecification( + name="sectors_to_expand", + type_names=["vector", "scoping", "scopings_container"], + optional=True, + document="""Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done.""", + ), + 19: PinSpecification( + name="phi", + type_names=["double"], + optional=True, + document="""Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done.""", ), 22: PinSpecification( name="read_beams", @@ -405,6 +457,12 @@ class InputsStress(_Inputs): >>> op.inputs.requested_location.connect(my_requested_location) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -433,6 +491,12 @@ def __init__(self, op: Operator): self._inputs.append(self._requested_location) self._read_cyclic = Input(stress._spec().input_pin(14), 14, op, -1) self._inputs.append(self._read_cyclic) + self._expanded_meshed_region = Input(stress._spec().input_pin(15), 15, op, -1) + self._inputs.append(self._expanded_meshed_region) + self._sectors_to_expand = Input(stress._spec().input_pin(18), 18, op, -1) + self._inputs.append(self._sectors_to_expand) + self._phi = Input(stress._spec().input_pin(19), 19, op, -1) + self._inputs.append(self._phi) self._read_beams = Input(stress._spec().input_pin(22), 22, op, -1) self._inputs.append(self._read_beams) self._split_shells = Input(stress._spec().input_pin(26), 26, op, -1) @@ -592,8 +656,8 @@ def bool_rotate_to_global(self): def mesh(self): """Allows to connect mesh input to the operator. - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector Parameters ---------- @@ -654,6 +718,71 @@ def read_cyclic(self): """ return self._read_cyclic + @property + def expanded_meshed_region(self): + """Allows to connect expanded_meshed_region input to the operator. + + Mesh expanded, use if cyclic expansion is to + be done. + + Parameters + ---------- + my_expanded_meshed_region : MeshedRegion or MeshesContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.stress() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> # or + >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region) + """ + return self._expanded_meshed_region + + @property + def sectors_to_expand(self): + """Allows to connect sectors_to_expand input to the operator. + + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + + Parameters + ---------- + my_sectors_to_expand : Scoping or ScopingsContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.stress() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> # or + >>> op.inputs.sectors_to_expand(my_sectors_to_expand) + """ + return self._sectors_to_expand + + @property + def phi(self): + """Allows to connect phi input to the operator. + + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. + + Parameters + ---------- + my_phi : float + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.stress() + >>> op.inputs.phi.connect(my_phi) + >>> # or + >>> op.inputs.phi(my_phi) + """ + return self._phi + @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/stress_ratio.py b/src/ansys/dpf/core/operators/result/stress_ratio.py index 1a0d012e75..ed821924bd 100644 --- a/src/ansys/dpf/core/operators/result/stress_ratio.py +++ b/src/ansys/dpf/core/operators/result/stress_ratio.py @@ -65,12 +65,6 @@ class stress_ratio(Operator): requested_location : str, optional Requested location nodal, elemental or elementalnodal - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -120,8 +114,6 @@ class stress_ratio(Operator): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -139,7 +131,6 @@ class stress_ratio(Operator): ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, ... requested_location=my_requested_location, - ... read_cyclic=my_read_cyclic, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -159,7 +150,6 @@ def __init__( bool_rotate_to_global=None, mesh=None, requested_location=None, - read_cyclic=None, read_beams=None, split_shells=None, shell_layer=None, @@ -185,8 +175,6 @@ def __init__( self.inputs.mesh.connect(mesh) if requested_location is not None: self.inputs.requested_location.connect(requested_location) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -287,16 +275,6 @@ def _spec(): optional=True, document="""Requested location nodal, elemental or elementalnodal""", - ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", ), 22: PinSpecification( name="read_beams", @@ -403,8 +381,6 @@ class InputsStressRatio(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -433,8 +409,6 @@ def __init__(self, op: Operator): self._inputs.append(self._mesh) self._requested_location = Input(stress_ratio._spec().input_pin(9), 9, op, -1) self._inputs.append(self._requested_location) - self._read_cyclic = Input(stress_ratio._spec().input_pin(14), 14, op, -1) - self._inputs.append(self._read_cyclic) self._read_beams = Input(stress_ratio._spec().input_pin(22), 22, op, -1) self._inputs.append(self._read_beams) self._split_shells = Input(stress_ratio._spec().input_pin(26), 26, op, -1) @@ -632,30 +606,6 @@ def requested_location(self): """ return self._requested_location - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.stress_ratio() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/structural_temperature.py b/src/ansys/dpf/core/operators/result/structural_temperature.py index 3b79b60f38..f19385c01f 100644 --- a/src/ansys/dpf/core/operators/result/structural_temperature.py +++ b/src/ansys/dpf/core/operators/result/structural_temperature.py @@ -65,12 +65,6 @@ class structural_temperature(Operator): requested_location : str, optional Requested location nodal, elemental or elementalnodal - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -120,8 +114,6 @@ class structural_temperature(Operator): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -139,7 +131,6 @@ class structural_temperature(Operator): ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, ... requested_location=my_requested_location, - ... read_cyclic=my_read_cyclic, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -159,7 +150,6 @@ def __init__( bool_rotate_to_global=None, mesh=None, requested_location=None, - read_cyclic=None, read_beams=None, split_shells=None, shell_layer=None, @@ -185,8 +175,6 @@ def __init__( self.inputs.mesh.connect(mesh) if requested_location is not None: self.inputs.requested_location.connect(requested_location) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -287,16 +275,6 @@ def _spec(): optional=True, document="""Requested location nodal, elemental or elementalnodal""", - ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", ), 22: PinSpecification( name="read_beams", @@ -403,8 +381,6 @@ class InputsStructuralTemperature(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -445,10 +421,6 @@ def __init__(self, op: Operator): structural_temperature._spec().input_pin(9), 9, op, -1 ) self._inputs.append(self._requested_location) - self._read_cyclic = Input( - structural_temperature._spec().input_pin(14), 14, op, -1 - ) - self._inputs.append(self._read_cyclic) self._read_beams = Input( structural_temperature._spec().input_pin(22), 22, op, -1 ) @@ -652,30 +624,6 @@ def requested_location(self): """ return self._requested_location - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.structural_temperature() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/swelling_strains.py b/src/ansys/dpf/core/operators/result/swelling_strains.py index 207783173c..4e4a781534 100644 --- a/src/ansys/dpf/core/operators/result/swelling_strains.py +++ b/src/ansys/dpf/core/operators/result/swelling_strains.py @@ -65,12 +65,6 @@ class swelling_strains(Operator): requested_location : str, optional Requested location nodal, elemental or elementalnodal - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -120,8 +114,6 @@ class swelling_strains(Operator): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -139,7 +131,6 @@ class swelling_strains(Operator): ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, ... requested_location=my_requested_location, - ... read_cyclic=my_read_cyclic, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -159,7 +150,6 @@ def __init__( bool_rotate_to_global=None, mesh=None, requested_location=None, - read_cyclic=None, read_beams=None, split_shells=None, shell_layer=None, @@ -185,8 +175,6 @@ def __init__( self.inputs.mesh.connect(mesh) if requested_location is not None: self.inputs.requested_location.connect(requested_location) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -287,16 +275,6 @@ def _spec(): optional=True, document="""Requested location nodal, elemental or elementalnodal""", - ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", ), 22: PinSpecification( name="read_beams", @@ -403,8 +381,6 @@ class InputsSwellingStrains(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -437,8 +413,6 @@ def __init__(self, op: Operator): swelling_strains._spec().input_pin(9), 9, op, -1 ) self._inputs.append(self._requested_location) - self._read_cyclic = Input(swelling_strains._spec().input_pin(14), 14, op, -1) - self._inputs.append(self._read_cyclic) self._read_beams = Input(swelling_strains._spec().input_pin(22), 22, op, -1) self._inputs.append(self._read_beams) self._split_shells = Input(swelling_strains._spec().input_pin(26), 26, op, -1) @@ -636,30 +610,6 @@ def requested_location(self): """ return self._requested_location - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.swelling_strains() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/tangential_contact_force.py b/src/ansys/dpf/core/operators/result/tangential_contact_force.py index 815dfef73f..d602302cb7 100644 --- a/src/ansys/dpf/core/operators/result/tangential_contact_force.py +++ b/src/ansys/dpf/core/operators/result/tangential_contact_force.py @@ -60,12 +60,6 @@ class tangential_contact_force(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class tangential_contact_force(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.tangential_contact_force( @@ -105,7 +97,6 @@ class tangential_contact_force(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsTangentialContactForce(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -343,10 +319,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(tangential_contact_force._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input( - tangential_contact_force._spec().input_pin(14), 14, op, -1 - ) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -517,30 +489,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.tangential_contact_force() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsTangentialContactForce(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/tangential_contact_moment.py b/src/ansys/dpf/core/operators/result/tangential_contact_moment.py index 0ca5a5c1da..3ab7e4cea9 100644 --- a/src/ansys/dpf/core/operators/result/tangential_contact_moment.py +++ b/src/ansys/dpf/core/operators/result/tangential_contact_moment.py @@ -60,12 +60,6 @@ class tangential_contact_moment(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class tangential_contact_moment(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.tangential_contact_moment( @@ -105,7 +97,6 @@ class tangential_contact_moment(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsTangentialContactMoment(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -343,10 +319,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(tangential_contact_moment._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input( - tangential_contact_moment._spec().input_pin(14), 14, op, -1 - ) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -517,30 +489,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.tangential_contact_moment() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsTangentialContactMoment(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/temperature.py b/src/ansys/dpf/core/operators/result/temperature.py index 4c161ca1b2..75c94aa6d0 100644 --- a/src/ansys/dpf/core/operators/result/temperature.py +++ b/src/ansys/dpf/core/operators/result/temperature.py @@ -58,14 +58,25 @@ class temperature(Operator): If true the field is rotated to global coordinate system (default true) mesh : MeshedRegion or MeshesContainer, optional - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector read_cyclic : int, optional If 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1) + expanded_meshed_region : MeshedRegion or MeshesContainer, optional + Mesh expanded, use if cyclic expansion is to + be done. + sectors_to_expand : Scoping or ScopingsContainer, optional + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + phi : float, optional + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. region_scoping : Scoping or int, optional Region id (integer) or vector of region ids (vector) or region scoping (scoping) @@ -109,6 +120,12 @@ class temperature(Operator): >>> op.inputs.mesh.connect(my_mesh) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> my_region_scoping = dpf.Scoping() >>> op.inputs.region_scoping.connect(my_region_scoping) >>> my_qualifiers1 = dict() @@ -126,6 +143,9 @@ class temperature(Operator): ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, ... read_cyclic=my_read_cyclic, + ... expanded_meshed_region=my_expanded_meshed_region, + ... sectors_to_expand=my_sectors_to_expand, + ... phi=my_phi, ... region_scoping=my_region_scoping, ... qualifiers1=my_qualifiers1, ... qualifiers2=my_qualifiers2, @@ -145,6 +165,9 @@ def __init__( bool_rotate_to_global=None, mesh=None, read_cyclic=None, + expanded_meshed_region=None, + sectors_to_expand=None, + phi=None, region_scoping=None, qualifiers1=None, qualifiers2=None, @@ -170,6 +193,12 @@ def __init__( self.inputs.mesh.connect(mesh) if read_cyclic is not None: self.inputs.read_cyclic.connect(read_cyclic) + if expanded_meshed_region is not None: + self.inputs.expanded_meshed_region.connect(expanded_meshed_region) + if sectors_to_expand is not None: + self.inputs.sectors_to_expand.connect(sectors_to_expand) + if phi is not None: + self.inputs.phi.connect(phi) if region_scoping is not None: self.inputs.region_scoping.connect(region_scoping) if qualifiers1 is not None: @@ -259,8 +288,8 @@ def _spec(): name="mesh", type_names=["abstract_meshed_region", "meshes_container"], optional=True, - document="""Prevents from reading the mesh in the result - files""", + document="""Mesh. if cylic expansion is to be done, mesh + of the base sector""", ), 14: PinSpecification( name="read_cyclic", @@ -271,6 +300,29 @@ def _spec(): is done, if 3 cyclic expansion is done and stages are merged (default is 1)""", + ), + 15: PinSpecification( + name="expanded_meshed_region", + type_names=["abstract_meshed_region", "meshes_container"], + optional=True, + document="""Mesh expanded, use if cyclic expansion is to + be done.""", + ), + 18: PinSpecification( + name="sectors_to_expand", + type_names=["vector", "scoping", "scopings_container"], + optional=True, + document="""Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done.""", + ), + 19: PinSpecification( + name="phi", + type_names=["double"], + optional=True, + document="""Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done.""", ), 25: PinSpecification( name="region_scoping", @@ -371,6 +423,12 @@ class InputsTemperature(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> my_region_scoping = dpf.Scoping() >>> op.inputs.region_scoping.connect(my_region_scoping) >>> my_qualifiers1 = dict() @@ -397,6 +455,14 @@ def __init__(self, op: Operator): self._inputs.append(self._mesh) self._read_cyclic = Input(temperature._spec().input_pin(14), 14, op, -1) self._inputs.append(self._read_cyclic) + self._expanded_meshed_region = Input( + temperature._spec().input_pin(15), 15, op, -1 + ) + self._inputs.append(self._expanded_meshed_region) + self._sectors_to_expand = Input(temperature._spec().input_pin(18), 18, op, -1) + self._inputs.append(self._sectors_to_expand) + self._phi = Input(temperature._spec().input_pin(19), 19, op, -1) + self._inputs.append(self._phi) self._region_scoping = Input(temperature._spec().input_pin(25), 25, op, -1) self._inputs.append(self._region_scoping) self._qualifiers1 = Input(temperature._spec().input_pin(1000), 1000, op, 0) @@ -556,8 +622,8 @@ def bool_rotate_to_global(self): def mesh(self): """Allows to connect mesh input to the operator. - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector Parameters ---------- @@ -597,6 +663,71 @@ def read_cyclic(self): """ return self._read_cyclic + @property + def expanded_meshed_region(self): + """Allows to connect expanded_meshed_region input to the operator. + + Mesh expanded, use if cyclic expansion is to + be done. + + Parameters + ---------- + my_expanded_meshed_region : MeshedRegion or MeshesContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.temperature() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> # or + >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region) + """ + return self._expanded_meshed_region + + @property + def sectors_to_expand(self): + """Allows to connect sectors_to_expand input to the operator. + + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + + Parameters + ---------- + my_sectors_to_expand : Scoping or ScopingsContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.temperature() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> # or + >>> op.inputs.sectors_to_expand(my_sectors_to_expand) + """ + return self._sectors_to_expand + + @property + def phi(self): + """Allows to connect phi input to the operator. + + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. + + Parameters + ---------- + my_phi : float + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.temperature() + >>> op.inputs.phi.connect(my_phi) + >>> # or + >>> op.inputs.phi(my_phi) + """ + return self._phi + @property def region_scoping(self): """Allows to connect region_scoping input to the operator. diff --git a/src/ansys/dpf/core/operators/result/temperature_grad.py b/src/ansys/dpf/core/operators/result/temperature_grad.py index af673f59c6..ba05f95902 100644 --- a/src/ansys/dpf/core/operators/result/temperature_grad.py +++ b/src/ansys/dpf/core/operators/result/temperature_grad.py @@ -65,12 +65,6 @@ class temperature_grad(Operator): requested_location : str, optional Requested location nodal, elemental or elementalnodal - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -120,8 +114,6 @@ class temperature_grad(Operator): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -139,7 +131,6 @@ class temperature_grad(Operator): ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, ... requested_location=my_requested_location, - ... read_cyclic=my_read_cyclic, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -159,7 +150,6 @@ def __init__( bool_rotate_to_global=None, mesh=None, requested_location=None, - read_cyclic=None, read_beams=None, split_shells=None, shell_layer=None, @@ -185,8 +175,6 @@ def __init__( self.inputs.mesh.connect(mesh) if requested_location is not None: self.inputs.requested_location.connect(requested_location) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -287,16 +275,6 @@ def _spec(): optional=True, document="""Requested location nodal, elemental or elementalnodal""", - ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", ), 22: PinSpecification( name="read_beams", @@ -403,8 +381,6 @@ class InputsTemperatureGrad(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -437,8 +413,6 @@ def __init__(self, op: Operator): temperature_grad._spec().input_pin(9), 9, op, -1 ) self._inputs.append(self._requested_location) - self._read_cyclic = Input(temperature_grad._spec().input_pin(14), 14, op, -1) - self._inputs.append(self._read_cyclic) self._read_beams = Input(temperature_grad._spec().input_pin(22), 22, op, -1) self._inputs.append(self._read_beams) self._split_shells = Input(temperature_grad._spec().input_pin(26), 26, op, -1) @@ -636,30 +610,6 @@ def requested_location(self): """ return self._requested_location - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.temperature_grad() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/thermal_dissipation_energy.py b/src/ansys/dpf/core/operators/result/thermal_dissipation_energy.py index fab41f83d5..5de6669f3f 100644 --- a/src/ansys/dpf/core/operators/result/thermal_dissipation_energy.py +++ b/src/ansys/dpf/core/operators/result/thermal_dissipation_energy.py @@ -60,12 +60,6 @@ class thermal_dissipation_energy(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class thermal_dissipation_energy(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.thermal_dissipation_energy( @@ -105,7 +97,6 @@ class thermal_dissipation_energy(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsThermalDissipationEnergy(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -343,10 +319,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(thermal_dissipation_energy._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input( - thermal_dissipation_energy._spec().input_pin(14), 14, op, -1 - ) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -517,30 +489,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.thermal_dissipation_energy() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsThermalDissipationEnergy(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/thermal_strain.py b/src/ansys/dpf/core/operators/result/thermal_strain.py index 6c9d3a13a6..231a80bd70 100644 --- a/src/ansys/dpf/core/operators/result/thermal_strain.py +++ b/src/ansys/dpf/core/operators/result/thermal_strain.py @@ -65,12 +65,6 @@ class thermal_strain(Operator): requested_location : str, optional Requested location nodal, elemental or elementalnodal - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -120,8 +114,6 @@ class thermal_strain(Operator): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -139,7 +131,6 @@ class thermal_strain(Operator): ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, ... requested_location=my_requested_location, - ... read_cyclic=my_read_cyclic, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -159,7 +150,6 @@ def __init__( bool_rotate_to_global=None, mesh=None, requested_location=None, - read_cyclic=None, read_beams=None, split_shells=None, shell_layer=None, @@ -185,8 +175,6 @@ def __init__( self.inputs.mesh.connect(mesh) if requested_location is not None: self.inputs.requested_location.connect(requested_location) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -287,16 +275,6 @@ def _spec(): optional=True, document="""Requested location nodal, elemental or elementalnodal""", - ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", ), 22: PinSpecification( name="read_beams", @@ -403,8 +381,6 @@ class InputsThermalStrain(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -433,8 +409,6 @@ def __init__(self, op: Operator): self._inputs.append(self._mesh) self._requested_location = Input(thermal_strain._spec().input_pin(9), 9, op, -1) self._inputs.append(self._requested_location) - self._read_cyclic = Input(thermal_strain._spec().input_pin(14), 14, op, -1) - self._inputs.append(self._read_cyclic) self._read_beams = Input(thermal_strain._spec().input_pin(22), 22, op, -1) self._inputs.append(self._read_beams) self._split_shells = Input(thermal_strain._spec().input_pin(26), 26, op, -1) @@ -632,30 +606,6 @@ def requested_location(self): """ return self._requested_location - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.thermal_strain() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/thermal_strains_eqv.py b/src/ansys/dpf/core/operators/result/thermal_strains_eqv.py index 252b802937..5cb2fdb623 100644 --- a/src/ansys/dpf/core/operators/result/thermal_strains_eqv.py +++ b/src/ansys/dpf/core/operators/result/thermal_strains_eqv.py @@ -65,12 +65,6 @@ class thermal_strains_eqv(Operator): requested_location : str, optional Requested location nodal, elemental or elementalnodal - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) read_beams : bool, optional Elemental nodal beam results are read if this pin is set to true (default is false) @@ -120,8 +114,6 @@ class thermal_strains_eqv(Operator): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -139,7 +131,6 @@ class thermal_strains_eqv(Operator): ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, ... requested_location=my_requested_location, - ... read_cyclic=my_read_cyclic, ... read_beams=my_read_beams, ... split_shells=my_split_shells, ... shell_layer=my_shell_layer, @@ -159,7 +150,6 @@ def __init__( bool_rotate_to_global=None, mesh=None, requested_location=None, - read_cyclic=None, read_beams=None, split_shells=None, shell_layer=None, @@ -185,8 +175,6 @@ def __init__( self.inputs.mesh.connect(mesh) if requested_location is not None: self.inputs.requested_location.connect(requested_location) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) if read_beams is not None: self.inputs.read_beams.connect(read_beams) if split_shells is not None: @@ -287,16 +275,6 @@ def _spec(): optional=True, document="""Requested location nodal, elemental or elementalnodal""", - ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", ), 22: PinSpecification( name="read_beams", @@ -403,8 +381,6 @@ class InputsThermalStrainsEqv(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_read_beams = bool() >>> op.inputs.read_beams.connect(my_read_beams) >>> my_split_shells = bool() @@ -439,8 +415,6 @@ def __init__(self, op: Operator): thermal_strains_eqv._spec().input_pin(9), 9, op, -1 ) self._inputs.append(self._requested_location) - self._read_cyclic = Input(thermal_strains_eqv._spec().input_pin(14), 14, op, -1) - self._inputs.append(self._read_cyclic) self._read_beams = Input(thermal_strains_eqv._spec().input_pin(22), 22, op, -1) self._inputs.append(self._read_beams) self._split_shells = Input( @@ -640,30 +614,6 @@ def requested_location(self): """ return self._requested_location - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.thermal_strains_eqv() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - @property def read_beams(self): """Allows to connect read_beams input to the operator. diff --git a/src/ansys/dpf/core/operators/result/thickness.py b/src/ansys/dpf/core/operators/result/thickness.py index d5958f1199..68e47168e7 100644 --- a/src/ansys/dpf/core/operators/result/thickness.py +++ b/src/ansys/dpf/core/operators/result/thickness.py @@ -60,12 +60,6 @@ class thickness(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class thickness(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.thickness( @@ -105,7 +97,6 @@ class thickness(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsThickness(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -331,8 +307,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(thickness._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input(thickness._spec().input_pin(14), 14, op, -1) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -503,30 +477,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.thickness() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsThickness(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/total_contact_force.py b/src/ansys/dpf/core/operators/result/total_contact_force.py index 9f8878453c..4fbe767bde 100644 --- a/src/ansys/dpf/core/operators/result/total_contact_force.py +++ b/src/ansys/dpf/core/operators/result/total_contact_force.py @@ -60,12 +60,6 @@ class total_contact_force(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class total_contact_force(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.total_contact_force( @@ -105,7 +97,6 @@ class total_contact_force(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsTotalContactForce(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -337,8 +313,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(total_contact_force._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input(total_contact_force._spec().input_pin(14), 14, op, -1) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -509,30 +483,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.total_contact_force() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsTotalContactForce(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/total_contact_moment.py b/src/ansys/dpf/core/operators/result/total_contact_moment.py index b5d771adb6..43b3bd9ff4 100644 --- a/src/ansys/dpf/core/operators/result/total_contact_moment.py +++ b/src/ansys/dpf/core/operators/result/total_contact_moment.py @@ -60,12 +60,6 @@ class total_contact_moment(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class total_contact_moment(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.total_contact_moment( @@ -105,7 +97,6 @@ class total_contact_moment(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsTotalContactMoment(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -337,10 +313,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(total_contact_moment._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input( - total_contact_moment._spec().input_pin(14), 14, op, -1 - ) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -511,30 +483,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.total_contact_moment() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsTotalContactMoment(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/total_strain.py b/src/ansys/dpf/core/operators/result/total_strain.py index 6ad219ba2f..cbc5b9f4e9 100644 --- a/src/ansys/dpf/core/operators/result/total_strain.py +++ b/src/ansys/dpf/core/operators/result/total_strain.py @@ -60,12 +60,6 @@ class total_strain(Operator): mesh : MeshedRegion or MeshesContainer, optional Prevents from reading the mesh in the result files - read_cyclic : int, optional - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) Returns ------- @@ -93,8 +87,6 @@ class total_strain(Operator): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.result.total_strain( @@ -105,7 +97,6 @@ class total_strain(Operator): ... data_sources=my_data_sources, ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, - ... read_cyclic=my_read_cyclic, ... ) >>> # Get output data @@ -121,7 +112,6 @@ def __init__( data_sources=None, bool_rotate_to_global=None, mesh=None, - read_cyclic=None, config=None, server=None, ): @@ -142,8 +132,6 @@ def __init__( self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) if mesh is not None: self.inputs.mesh.connect(mesh) - if read_cyclic is not None: - self.inputs.read_cyclic.connect(read_cyclic) @staticmethod def _spec(): @@ -230,16 +218,6 @@ def _spec(): document="""Prevents from reading the mesh in the result files""", ), - 14: PinSpecification( - name="read_cyclic", - type_names=["enum dataProcessing::ECyclicReading", "int32"], - optional=True, - document="""If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1)""", - ), }, map_output_pin_spec={ 0: PinSpecification( @@ -311,8 +289,6 @@ class InputsTotalStrain(_Inputs): >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) - >>> my_read_cyclic = int() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) """ def __init__(self, op: Operator): @@ -333,8 +309,6 @@ def __init__(self, op: Operator): self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(total_strain._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) - self._read_cyclic = Input(total_strain._spec().input_pin(14), 14, op, -1) - self._inputs.append(self._read_cyclic) @property def time_scoping(self): @@ -505,30 +479,6 @@ def mesh(self): """ return self._mesh - @property - def read_cyclic(self): - """Allows to connect read_cyclic input to the operator. - - If 0 cyclic symmetry is ignored, if 1 cyclic - sector is read, if 2 cyclic expansion - is done, if 3 cyclic expansion is - done and stages are merged (default - is 1) - - Parameters - ---------- - my_read_cyclic : int - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.total_strain() - >>> op.inputs.read_cyclic.connect(my_read_cyclic) - >>> # or - >>> op.inputs.read_cyclic(my_read_cyclic) - """ - return self._read_cyclic - class OutputsTotalStrain(_Outputs): """Intermediate class used to get outputs from diff --git a/src/ansys/dpf/core/operators/result/velocity.py b/src/ansys/dpf/core/operators/result/velocity.py index d14544cf43..33e700eb18 100644 --- a/src/ansys/dpf/core/operators/result/velocity.py +++ b/src/ansys/dpf/core/operators/result/velocity.py @@ -58,14 +58,25 @@ class velocity(Operator): If true the field is rotated to global coordinate system (default true) mesh : MeshedRegion or MeshesContainer, optional - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector read_cyclic : int, optional If 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1) + expanded_meshed_region : MeshedRegion or MeshesContainer, optional + Mesh expanded, use if cyclic expansion is to + be done. + sectors_to_expand : Scoping or ScopingsContainer, optional + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + phi : float, optional + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. region_scoping : Scoping or int, optional Region id (integer) or vector of region ids (vector) or region scoping (scoping) @@ -109,6 +120,12 @@ class velocity(Operator): >>> op.inputs.mesh.connect(my_mesh) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> my_region_scoping = dpf.Scoping() >>> op.inputs.region_scoping.connect(my_region_scoping) >>> my_qualifiers1 = dict() @@ -126,6 +143,9 @@ class velocity(Operator): ... bool_rotate_to_global=my_bool_rotate_to_global, ... mesh=my_mesh, ... read_cyclic=my_read_cyclic, + ... expanded_meshed_region=my_expanded_meshed_region, + ... sectors_to_expand=my_sectors_to_expand, + ... phi=my_phi, ... region_scoping=my_region_scoping, ... qualifiers1=my_qualifiers1, ... qualifiers2=my_qualifiers2, @@ -145,6 +165,9 @@ def __init__( bool_rotate_to_global=None, mesh=None, read_cyclic=None, + expanded_meshed_region=None, + sectors_to_expand=None, + phi=None, region_scoping=None, qualifiers1=None, qualifiers2=None, @@ -170,6 +193,12 @@ def __init__( self.inputs.mesh.connect(mesh) if read_cyclic is not None: self.inputs.read_cyclic.connect(read_cyclic) + if expanded_meshed_region is not None: + self.inputs.expanded_meshed_region.connect(expanded_meshed_region) + if sectors_to_expand is not None: + self.inputs.sectors_to_expand.connect(sectors_to_expand) + if phi is not None: + self.inputs.phi.connect(phi) if region_scoping is not None: self.inputs.region_scoping.connect(region_scoping) if qualifiers1 is not None: @@ -259,8 +288,8 @@ def _spec(): name="mesh", type_names=["abstract_meshed_region", "meshes_container"], optional=True, - document="""Prevents from reading the mesh in the result - files""", + document="""Mesh. if cylic expansion is to be done, mesh + of the base sector""", ), 14: PinSpecification( name="read_cyclic", @@ -271,6 +300,29 @@ def _spec(): is done, if 3 cyclic expansion is done and stages are merged (default is 1)""", + ), + 15: PinSpecification( + name="expanded_meshed_region", + type_names=["abstract_meshed_region", "meshes_container"], + optional=True, + document="""Mesh expanded, use if cyclic expansion is to + be done.""", + ), + 18: PinSpecification( + name="sectors_to_expand", + type_names=["vector", "scoping", "scopings_container"], + optional=True, + document="""Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done.""", + ), + 19: PinSpecification( + name="phi", + type_names=["double"], + optional=True, + document="""Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done.""", ), 25: PinSpecification( name="region_scoping", @@ -371,6 +423,12 @@ class InputsVelocity(_Inputs): >>> op.inputs.mesh.connect(my_mesh) >>> my_read_cyclic = int() >>> op.inputs.read_cyclic.connect(my_read_cyclic) + >>> my_expanded_meshed_region = dpf.MeshedRegion() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> my_sectors_to_expand = dpf.Scoping() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> my_phi = float() + >>> op.inputs.phi.connect(my_phi) >>> my_region_scoping = dpf.Scoping() >>> op.inputs.region_scoping.connect(my_region_scoping) >>> my_qualifiers1 = dict() @@ -397,6 +455,12 @@ def __init__(self, op: Operator): self._inputs.append(self._mesh) self._read_cyclic = Input(velocity._spec().input_pin(14), 14, op, -1) self._inputs.append(self._read_cyclic) + self._expanded_meshed_region = Input(velocity._spec().input_pin(15), 15, op, -1) + self._inputs.append(self._expanded_meshed_region) + self._sectors_to_expand = Input(velocity._spec().input_pin(18), 18, op, -1) + self._inputs.append(self._sectors_to_expand) + self._phi = Input(velocity._spec().input_pin(19), 19, op, -1) + self._inputs.append(self._phi) self._region_scoping = Input(velocity._spec().input_pin(25), 25, op, -1) self._inputs.append(self._region_scoping) self._qualifiers1 = Input(velocity._spec().input_pin(1000), 1000, op, 0) @@ -556,8 +620,8 @@ def bool_rotate_to_global(self): def mesh(self): """Allows to connect mesh input to the operator. - Prevents from reading the mesh in the result - files + Mesh. if cylic expansion is to be done, mesh + of the base sector Parameters ---------- @@ -597,6 +661,71 @@ def read_cyclic(self): """ return self._read_cyclic + @property + def expanded_meshed_region(self): + """Allows to connect expanded_meshed_region input to the operator. + + Mesh expanded, use if cyclic expansion is to + be done. + + Parameters + ---------- + my_expanded_meshed_region : MeshedRegion or MeshesContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.velocity() + >>> op.inputs.expanded_meshed_region.connect(my_expanded_meshed_region) + >>> # or + >>> op.inputs.expanded_meshed_region(my_expanded_meshed_region) + """ + return self._expanded_meshed_region + + @property + def sectors_to_expand(self): + """Allows to connect sectors_to_expand input to the operator. + + Sectors to expand (start at 0), for + multistage: use scopings container + with 'stage' label, use if cyclic + expansion is to be done. + + Parameters + ---------- + my_sectors_to_expand : Scoping or ScopingsContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.velocity() + >>> op.inputs.sectors_to_expand.connect(my_sectors_to_expand) + >>> # or + >>> op.inputs.sectors_to_expand(my_sectors_to_expand) + """ + return self._sectors_to_expand + + @property + def phi(self): + """Allows to connect phi input to the operator. + + Angle phi in degrees (default value 0.0), use + if cyclic expansion is to be done. + + Parameters + ---------- + my_phi : float + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.velocity() + >>> op.inputs.phi.connect(my_phi) + >>> # or + >>> op.inputs.phi(my_phi) + """ + return self._phi + @property def region_scoping(self): """Allows to connect region_scoping input to the operator. diff --git a/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll b/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll index 820e11a95a..d36431ba4d 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 48cf3e1086..edc3900512 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 bdbe4661d7..87091e9909 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 b6e54728f3..d7de6667b4 100644 Binary files a/src/ansys/dpf/gatebin/libDPFClientAPI.so and b/src/ansys/dpf/gatebin/libDPFClientAPI.so differ