For the model I have built, I want to read strain data from four different positions, but I have set four different positions. Why are the results read the same? #3634
Unanswered
COOLEST-GET
asked this question in
Q&A
Replies: 0 comments 1 reply
-
Hi @COOLEST-GET |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
mapdl.post1()
1.
mapdl.nsel('s', 'loc', "x", -d1-d2-4.5, -d1-d2+4.5)
mapdl.nsel('s', 'loc', "y", -4.5, 4.5)
mapdl.nsel('s', 'loc', "z", 4.5, 4.5)
cmd1 = mapdl.prnsol(item="EPTO")
with open("./ansys_module/Result_left1.txt", "w") as fo:
fo.write(cmd1)
2.
mapdl.nsel('s', 'loc', "x", -d1-4.5, -d1+4.5)
mapdl.nsel('s', 'loc', "y", -4.5, 4.5)
mapdl.nsel('s', 'loc', "z", 4.5, 4.5)
cmd2 = mapdl.prnsol(item="EPTO")
with open("./ansys_module/Result_left2.txt", "w") as fo:
fo.write(cmd2)
3.
mapdl.nsel('s', 'loc', "x", d1-4.5, d1+4.5)
mapdl.nsel('s', 'loc', "y", -4.5, 4.5)
mapdl.nsel('s', 'loc', "z", 4.5, 4.5)
cmd3 = mapdl.prnsol(item="EPTO")
with open("./ansys_module/Result_right1.txt", "w") as fo:
fo.write(cmd3)
4.
mapdl.nsel('s', 'loc', "x", d1+d2-4.5, d1+d2+4.5)
mapdl.nsel('s', 'loc', "y", -4.5, 4.5)
mapdl.nsel('s', 'loc', "z", 4.5, 4.5)
cmd4 = mapdl.prnsol(item="EPTO")
with open("./ansys_module/Result_right2.txt", "w") as fo:
fo.write(cmd4)
Beta Was this translation helpful? Give feedback.
All reactions