General Mechanical

General Mechanical

Topics relate to Mechanical Enterprise, Motion, Additive Print and more

Material assignment in named selection

    • Vassilis
      Subscriber
      Hi everybody!nI am working on Static Structural Analysis in ANSYS R20.1 and here goes my question. nI have a single body, that is meshed and I need to select some of the elements within this mesh and assign different material properties than the rest of the structure. Some primitive questions arise within this context:ni) Can I somehow select elements that correspond to a certain value in space (e.g. pointcloud match) in an automated manner?nii) I have found out about the APDL commands (mpchg, emodif) where it is allowed that the attributes of an element can change, such as material. Given that I have derived a named selection of my points/elements could I make use of a Command Snippet at the Static Structural interface, probably combining this with the REAL CONSTANT of the named selection? If so, where should I place the snippet?nIn the Static Structural context, I have noticed that I can assign a material based on a named selection, but not when the named selection is either elemental or nodal.nI have been following this wonderful forum for more than the past year. I have to thank you all for putting time and effort on publicly discussing your modeling issues, it's been insightful! Exceptional forum operators/moderators and community overall!nThanks a lot!nVassilisn
    • Rahul Kumbhar
      Ansys Employee
      nYou can use APDL command snippet under the Anaysis Setting. Select the elements that you want and change their material properties.nYou can use ESEL command to select elements and create component of it. Else if you have defined Named Selection in Mechanical, you can use it as component name in command snippet.nYou can place the command snippet under Analysis setting. Then you have add first few commands as belownFINISHn/PREP7nAt the end of snippet, you have add commands to go back to solution entrynFINISHn/SOLU.
    • Vassilis
      Subscriber
      thanks a lot for taking the time!nI will give it a try and will come back.nDo you happen to know if there is any build-in functionality, or respective commands that match points in space with elements that have been generated through meshing?nOtherwise, the elements that should be selected should be calculated in a script outside ANSYS.nnThanks again!n
    • Govindan Nagappan
      Ansys Employee
      nCheck the named selection worksheet method. You can set criteria such as nPick elements in X coordinate between range and provide a min and max valuenThen reselect/filter using Y coordinatenCheck this help link:nhttps://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v202/en/wb_sim/ds_NS_Criteria.htmlnOr you will have to use APDLcommand such as ESEL as suggested by n
    • Vassilis
      Subscriber
      Thanks! I will update during the weekend that I have some time to implement some of the suggestions.n
Viewing 4 reply threads
  • The topic ‘Material assignment in named selection’ is closed to new replies.