uy#
- Query.uy(n)#
Returns y-component of structural displacement at a node.
Y-component of structural displacement at node
n
.Examples
In this example we create a simple block of 6 cubic elements, fix one end in place, and then bend the other perpendicular to it. We can then examine the displacement of one of the nodes in the y-direction at the deformed end (node number 7).
>>> from ansys.mapdl.core import launch_mapdl >>> mapdl = launch_mapdl() >>> mapdl.prep7() >>> mapdl.et(1, 'SOLID5') >>> mapdl.block(0, 10, 0, 20, 0, 30) >>> mapdl.esize(10) >>> mapdl.vmesh('ALL') >>> mapdl.mp('EX', 1, 210E9) >>> mapdl.nsel('S', 'LOC', 'Z', 0) >>> mapdl.d('ALL', 'UX') >>> mapdl.d('ALL', 'UY') >>> mapdl.d('ALL', 'UZ') >>> mapdl.nsel('S', 'LOC', 'Z', 30) >>> mapdl.f('ALL', 'FY', 1000) >>> mapdl.run('/SOLU') >>> mapdl.antype('STATIC') >>> mapdl.solve() >>> mapdl.finish() >>> mapdl.queries.uy(7) 5.803680779e-10