General Mechanical

General Mechanical

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

How to access individual boundary conditions in Commands script

    • brede
      Subscriber

      I have set up dozens of radiation enclosure boundary conditions manually in Ansys Mechanical Workbench (Radiation, Radiation 2, ... Radiation 36). I would like to loop through these in a Commands APDL script to customize some of the behavior before issuing the RSURF command. How do I access the surfaces (nodes) associated with each individual radiation boundary condition in the loop? For example, do the surfaces selected in Radiation 24 have a nodal component like "radiation_24"?

      These surfaces would also be helpful to access in post processing scripts as well.

    • Ashish Khemka
      Forum Moderator

      Hi,

      You can check the ds.dat file in the Solver Files directory which will give you the components created. ds.dat file is input to the solver. Right click on Solution Information and you will see the option to open solver files directory and there you will see ds.dat file.

       

      Regards,

      Ashish Khemka

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