General Mechanical

General Mechanical

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

Temperature dependent heat generation (APDL Commands)

    • rbaheti
      Subscriber

      Hi,

      Not if this is the right place to post my question.

      I'm trying to solve a transient thermal simulation where the volumetric heat generation in every mesh volume/node is temperature dependent.

      Assume if there's a non-uniform body in which heat is being generated such that as the temperature at any node increases the amount of heat generation at that node decreases (Assume for the sake of this question that heat generation happens at the node). The amount of heat generation follows a linear curve as shown below

    • Ashish Khemka
      Forum Moderator

      You can apply heat generation as a tabular load. Please refer the details below from following link:
      BFE (ansys.com)

      ================
      Specifying a Table
      You can specify a table name (VAL1) when using temperature (TEMP), diffusing substance generation rate (DGEN), heat generation rate (HGEN), and current density (JS) body load labels.

      For the body-force-density label (FORC), you can specify a table for any of the VAL1 through VAL3 arguments. Both 1-D and 2-D tables are valid; however, only 1-D tables are valid in mode-superposition harmonic and mode-superposition transient analyses.

      Enclose the table name (tabname) in percent signs (%), for example:

      BFE,Elem, Lab,STLOC,%tabname%

      Use the *DIM command to define a table.

      ===========

      Regards Ashish Khemka
    • rbaheti
      Subscriber
      Thanks for explanation.
      Since asking the question I've been implementing External Data tab.
      As mentioned previously, I'm using temperature dependent heat generation. Once I created the 'External Data' module and uploaded an external .csv file (which has 2 columns - Temperature and Heat Generation), I linked the 'External Data' module to the Setup tab of the Transient Thermal Module. After updating the External Data module I opened Setup tab in the module. I then inserted Heat Generation in the Imported Load section (as shown below)

      I selected the 2 bodies in my simulation but am not able to 'import load'.

      With respect to using APDL Commands: I'm not sure how to implement the code. I understand I need to create the table but do I create the table in the script or upload an external .csv file. So far I'm using the method as shown in the image below.
      I'm still confused about the command on line 12. Plus, how are the units for TEMP and HGEN defined? For me they are [C] and [W/m3].
      What exactly am I doing wrong and how to rectify it (for both methods if possible)?

      Thank you so much!
    • rbaheti
      Subscriber

    • rbaheti
      Subscriber
      Small correction:
      I realize that I made a couple of mistakes in the APDL script above - the modified image is below.
      The code still seems to run without any type of heat generation and only accounts for convection.

    • rbaheti
      Subscriber
      So I figured out where I was doing wrong and rectified it (I think...)
      The sim now works. Is there a way terminate the heat generation once the temperature of the entire body (i.e. the last node in the volume) crosses a temperature threshold?

Viewing 5 reply threads
  • The topic ‘Temperature dependent heat generation (APDL Commands)’ is closed to new replies.