We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
General Mechanical

General Mechanical

Topics related to Mechanical Enterprise, Motion, Additive Print and more.

Moving a pilot node with APDL commands between timesteps.

TAGGED: ,

    • mark.gjeloshaj
      Subscriber

      I have an analysis i'm performing with multiple time steps and i'm trying to move a pilot node imbetween the time steps. I'm doing this in mechanical with APDL command snippets.I have 5 command snippets and 6 time steps. The intention was to move the node for each step 2,3,4,5, and 6 using identical command snippets that work via step selection mode. I noticed that it is skipping steps 1/2/3/4/5 and just solving step 6 outputting only one time step. an example of one of the snippets is below:

      compression= -.741

      /PREP7 csys,0 NSEL,S,,,GP2

      N,GP2,  NX(GP2), NY(GP2)+compression, NZ(GP2)
      

      ALLSEL,ALL

      /Solution

      I think the issue is due to the solver trying to enter /prep7 between each command snippet. is there anyway around this? LSwrite? I would think its possible to define time steps when a node is moved.

    • dlooman
      Ansys Employee

      Hi Mark,

      I think you're right about the reason.  When I do something like you're doing I try not to leave solution.  I think you can issue the command NMOD,GP2,NX(GP2), NY(GP2)+compression, NZ(GP2) without leaving solution.  You'd have to test whether the MPC contact really got updated.  Or you could issue antype,,restart after re-entering solution.

      Dave

Viewing 1 reply thread
  • You must be logged in to reply to this topic.