We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
General Mechanical

General Mechanical

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

How to apply a tabular node-temperature in Mechanical Apdl

    • alexandre.gomes
      Subscriber

      Hi,

      I am trying to apply Thermal load using the command BF, Node.

      I have a number of csv files, with two columns, column 1 is the node number and column 2 is the temperature.

      I intend to import and read the tables using the following commands:

      /Inquire, nLinFil, Lines, C:\xxxx\yyyy.csv

      *dim, yyyy, Table, nLinFil, 1, 1

      *TRead, yyyy,      C:\xxxx\xxxx.csv

      Normally i create a component that includes the nodes but in this case i would like to apply a different temperature value to each node (110000 nodes in total).

      Is there a way to do this? 

       

      Thank you!

    • mrife
      Ansys Employee

      Hi Alex1EDP

      Yes, see the publically available Mechanical APDL help here.  Essentially when defining the load instead of a value the table name is substituted and is enclosed in % characters.  Mike

    • dlooman
      Ansys Employee

      In this case, the *dim command would be *dim,yyyy,Table,110000,,,NODE  The primary variable NODE indicates that column zero of the table (column 1 of your csv file) are node numbers.  Then as Mike says, you input the table array by entering it in quotes:  BF,ALL,TEMP,%yyyy%

Viewing 2 reply threads
  • You must be logged in to reply to this topic.