General Mechanical

General Mechanical

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

How to create increments to a load, using a do-loop in commands (APDL)?

    • William_Garcia
      Subscriber

      I'm simulating a simply suported beam, where i need to begin from a load of 0,1 N, for example, and then i want to increase this load from n = 1 to 100, where "n" is the counter variable. So that i want to have the maximum stress provided by each load.

    • danielshaw
      Ansys Employee
      You just need to apply the final load and specify a number of substeps. For example, if the final load is 100 N and you want to evaluate the model for every 1 N of load, just apply the 100 N load and specify 100 substeps. Substep 1 will have 1 N, substep 2 will have 2N, etc. The load per substep is just the final load divided by the number of substeps.
      The number of substeps in specified using either the NSUBST or DELTIM command.
      A common "trick" to simplify post-processing is to also set the end time (TIME command) equal to the applied load. For the above example, if the end time is 100, then the time for substep 1 would be 1, 2 would be 3, etc. By setting time = load, your know the load for any result set based on its time. If you post-process the results at time=54.5, you know that the results are for a load = 54.5N.
      You should review Section 3.2 in the MAPDL Basic Analysis Guide.


    • William_Garcia
      Subscriber
      Do you have any practical example or know some video that could show me how it's done? Can you also leave me the link of APDL Basic Analysis Guide?
      Thank you for your support.
    • danielshaw
      Ansys Employee
      I cannot provide a link to the Help, because mine is installed locally on my PC. You should be able to access Ansys Help on your system. The Basic Analysis Guide is part of the Mechanical APDL (MAPDL) help section.
      Ansys has a learning hub (ALH) that contains many examples/videos/training material. You can look there: https://catalog.ansys.com/ALH.cshtml#Shell-home
      Ansys also has several video based Innovation courses (AIC). Some of them might be helpful: /courses/index.php/structures/


Viewing 3 reply threads
  • The topic ‘How to create increments to a load, using a do-loop in commands (APDL)?’ is closed to new replies.