General Mechanical

General Mechanical

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

ANSYS APDL COMMANDS

    • Amin
      Subscriber

      Hi, 


      I am doing a numerical analysis using ANSYS workbench 15.0


      The model contain 130 concrete body, 160 steel bars, and about 300 contact elements between the bodies. 


      To select SOLID65, or LINK180 in ANSYS workbench it must use command objects.


      1- Because of the high number of elements, It takes a while to input the material properties for all elements.


      I want to ask, How can I use an APDL code to assign the material properties for all concrete elements only at once and also for the Steel elements. (For example, how to select all the concrete bodies through command then assign the material properties of concrete, after,  select all steel bars and assign to them the material  properties of steel, and the same things for contacts)


      2- Sometimes, when I solved the model ANSYS recommended to switch the solver to unsymmetrical, Knowing that I am using a Static Analyses and this solver type does not exist in Workbench, only Direct and Iteration solvers exist in Solver Type.


      How can I select the Unsymmetrical solver?


      3- The above message (unsymmetrical solver) appears when I use the frictional contact type with a friction coefficient greater then 0.2


      I would like to know, why ANSYS recommended a friction coefficient less or equal to 0.2 and didn't allow a higher value?

    • jpasquerell
      Ansys Employee

      1. Make a unique named selection for each group of bodies that have the same mat properties.  insert a command object that runs prior to the solve with these commands


      fini


      /prep7


      use *get to get the max defined material  into mpnum


      ! repeat for each material


      cmsel,s,bod001 ! selects the applicable elements


      add 1 to mpnum


      ! issue MP and TB commands for the properties using id of mpnum


      emod,all,mat,mpnum


      ! repeat for other named selections


      allsel


      fini


      /solu


       


      2. see eqslv command - it can be in a separate command object prior to solve or added to the one that defines the material props.


      3. check the help. it may be based on a developer consensus where models seem to fail to solve.


        


       

    • Amin
      Subscriber

      Hi jpasquerell,


      Thank you your reply. I hope you can give me an example of how to do it

Viewing 2 reply threads
  • The topic ‘ANSYS APDL COMMANDS’ is closed to new replies.