General Mechanical

General Mechanical

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

Load Step definition for a transient analysis

    • Pedro Henrique de Melo Casado Matos
      Subscriber

      Hello everyone,

      I am trying to perform a transient analysis of a cylindrical shell subject to a transient load in one end and fixed one the other. My goal is to see a pulse propagating along the pipe from the position of the load until the fixed end. This is the code I used to do the pre-processing:

      ""

      /CLEAR
      !Parameters 
      *SET,diameter , 85.4
      *SET,thick , 11 
      *SET,length , 100   
      !Geometry   
      /PREP7  
      ET,1,SHELL181   
      KEYOPT,1,8,2
      SECTYPE,1,SHELL 
      SECDATA,thick   
      MP,EX,1,2000
      MP,PRXY,1,0.35  
      MP,DENS,1,900   
      k,1 
      k,2,diameter
      circle,1,2  
      k,7,,,length
      l,1,7   
      ADRAG,1,2,3,4,,,5   
      !Mesh   
      ESIZE,0.5   
      amesh,all   
       
      !* Fixed boundary condition
       
      FLST,2,28,1,ORDE,8  
      FITEM,2,1   
      FITEM,2,-8  
      FITEM,2,1609
      FITEM,2,-1615   
      FITEM,2,3016
      FITEM,2,-3022   
      FITEM,2,4423
      FITEM,2,-4428   
      !*  
      /GO 
      D,P51X,ALL,0, , , , , , , , ,   
       
      FINISH  
      /SOL
      !*  
       
      ANTYPE,4
       
      !*  
       
      TRNOPT,FULL 
      LUMPM,0 
       
      ""
       
      Now, the problem I am having and trying to learn how to do properly is how to define the Load Step. 
       
      If I understood correctly, for each load step we define the time duration of that load step and in which time it starts. So for example, the following command define the load step duration of 0.0001 seconds, that happens at the time stamp of 0.0000001 second. Would that be correct?
       
      DELTIM,0.0001,0,0,ON 
       
      TIME,0.000001
      FLST,2,28,1,ORDE,11
      FITEM,2,9
      FITEM,2,209
      FITEM,2,-215
      FITEM,2,1616
      FITEM,2,1816
      FITEM,2,-1821
      FITEM,2,3023
      FITEM,2,3223
      FITEM,2,-3228
      FITEM,2,4429
      FITEM,2,-4434
      /GO
      F,P51X,FZ,100,  %Here is the force value
      LSWRITE,1,
       
      Then For the next time step I want the force value to change a then give the command 
       
      DELTIM,0.0001,0,0,ON 
      TIME,0.000002
      FLST,2,28,1,ORDE,11
      FITEM,2,9
      FITEM,2,209
      FITEM,2,-215
      FITEM,2,1616
      FITEM,2,1816
      FITEM,2,-1821
      FITEM,2,3023
      FITEM,2,3223
      FITEM,2,-3228
      FITEM,2,4429
      FITEM,2,-4434
      /GO
      F,P51X,FZ, 25,  %Here is the new force value
      LSWRITE,2,
       
      and then I repeat this process for the number of load steps I would like to have and ask to solve.
      The code is solved but the results appears as if this was a static load, where instead it should be an impulsive load.
       
      I have looked the manuals and tutorials through Ansys and could not find an answer to that.
       
      My final goal is to observe how a pulse propagates through an elastic medium, but the results I am getting are a static load beeing applied slowly to the structure.
       
      Could anyone give me some light on this matter ? If I was not very clear I could try to reformulate my problem!
       
      I appreciate any advice
       
      Kind regards
      Pedro
       
      P.S.:
       
      This is the time history I am getting at one of the nodes:
       
       
      and this is the countour plot at the final time step
       
       
      See how the load gets concentrated at the point of application? Even though I set the force to zero after the tenth time step
       
      In summary:
      I defined 100 load steps each with a duration of 0.000001 second
      The force value of each load step changes until the time step 20 when it becomes 0
      I would expected that the loads of the first 20 load steps would start to propagate through the structure but they dont
       
       
       
    • Erik Kostson
      Ansys Employee

       

       

       

      Hi

      One could have instead 1 step, and define a tabular loading (myload say called) and solve that.

      tabular load see here: https://www.padtinc.com/2012/08/24/what-every-user-should-know-about-tables-in-ansys-mechanical-apdl/

       

      Also make sure to include all commands like:
      —-

      /solu
      antype,4                   ! transient analysis
      kbc,1                      ! stepped BC’s
      trnopt,full,,,,,hht,,,yes        ! HHT time integration method
      F,all nodes changed as needed here so add,FZ,%myload%
      autots,on                   ! User turned on automatic time stepping
      deltim
      time
      timint,on ! dynamic effects on 
       
      —

      All the best

      Erik

       

       

       

    • Pedro Henrique de Melo Casado Matos
      Subscriber

       

      Hello Erik!

      Thank you for your reply!

      So, I have had a look at the post you referenced and tried to implement a single Load Step with a varying load using the table. 

      I have created a table as a function of time with three entries only. So then force would be 0 N at the time 0, 100 N at the time 0.000001 and then 0 N again at the time 0.000002. 

      Here is the code I used

      !*  
       
      ANTYPE,4  !Transient Analysis
      kbc,1                      ! stepped BC’s
      trnopt,full,,,,,hht,,,yes        ! HHT time integration method
      autots,on                   ! User turned on automatic time stepping
      timint,on ! dynamic effects on 
      !*  
       
      TRNOPT,FULL !Full solution method
      LUMPM,0  !No lump mass
       
      DELTIM,0.000001,0,0 !Time step size
      TIME,0.0001 !Load step duration
       
      !*
       
      *dim,frctbl,table,3,1,,TIME !Create the table frctbl
      *taxis,frctbl(1),1,0,.000001,.000002  !Define the time values
      frctbl(1,1)=0,100,0 !Define the force values
       
       
      !*  
       
      FLST,2,28,1,ORDE,11 !Select the nodes to apply the force
      FITEM,2,9
      FITEM,2,209
      FITEM,2,-215
      FITEM,2,1616
      FITEM,2,1816
      FITEM,2,-1821
      FITEM,2,3023
      FITEM,2,3223
      FITEM,2,-3228
      FITEM,2,4429
      FITEM,2,-4434
      /GO
      F,P51X,FZ,%frctbl%,  !Apply the force at the nodes using the table frctbl
      LSWRITE,1, ! Write the loas step file

      then I ask the solver to solve it

      This time however, I get no result of the time history (it comes just the axes)

      and no result for the contour plots..

       

      What could I be doing wrong this time? I have checked if the table was correctly created going thorugh Parameters -> Array Parameters -> Define/edit… and the table was there with the correct values.

      Once again thanks for the assitance

       

      Kind regards

      Pedro

       

       

       

       

    • Erik Kostson
      Ansys Employee

       

       

       

       

      Hi

      I would have a deltime smaller to get 10-20 steps at least in the pulse duration.

      DELTIM,0.0000001,0.0000001,0.0000001 !Time step size

      Use NSEL,S,LOC,Z for instance to select end nodes and then use F,ALL,FZ,…..  – see help manual for more on nsel.

      Finally take away LSWRITE and add instead of it SOLVE.

      ALso the material properties with EX equal to 2000 ??, and density is 900 ?? – so look at using consistent units say SI I would suggest – see here:

      https://www.dynasupport.com/howtos/general/consistent-units

      Finally for short duration events explicit dynamics is used (Explicit Dynamics or LS-Dyna).

      https://www.mechead.com/what-is-explicit-dynamics-in-ansys/

       

      Erik

       

       

       

       

       

       

Viewing 3 reply threads
  • The topic ‘Load Step definition for a transient analysis’ is closed to new replies.