We’re putting the final touches on our new badges platform. Badge issuance remains temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.
General Mechanical

General Mechanical

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

How to apply a heat flux which depends on the Z axis ?

    • Mathilde31
      Subscriber

      Dear everyone,

      I would like to apply a heat flux which depends on the Z axis. I can defined a heat flux with tabular data but it is only depending on the time.

      I tried to do it with an apdl command : I create a table, I read the file with my data, I write the data in the table and then I apply a heat flux with the values of the table. This doesn't work, the file cannot be read when I try to apply the heat flux.

      I have also a polynomial function if needed to define the heat flux.

      If someone know how to do it, please help me ! I am using Workbench 2019 R3.

      Thank you

      Mathilde

    • Erik Kostson
      Ansys Employee


      So it should work in general - the below x dependent feat flux works:

      *dim,hftab,table,5,,,X
      hftab(1,0)=0.0,0.25,0.5,0.75,1 ! x-pos.
      hftab(1,1)=-100.0,-200.00,-300.0,-400.00,-500 ! - heat flux
      CMSEL,S,HFBC,NODE
      SF,ALL,HFLUX,%hftab%
      ALLSEL,ALL

      So define the table manually as done above, or if you do it via reading in a file, then see/search posts on how to do this:

      There are many posts about this

      Thank you

      Erik


    • Mathilde31
      Subscriber

      Thank you very much for your answer.
      It is working, except the line "CMSEL,S,HFBC,NODE", what is its purpose ? I found it in the help but I don't understand why you use it here.
      To read a file, I know how to do it, I used *TREAD and VREAD but it isn't working. No worries, I will use your commands, it is easier :)

      Mathilde
    • Erik Kostson
      Ansys Employee


      You are welcome - first we need to have/create a named selection (say of a face) in mechanical where we want to apply the flux, and that I called HFBC.

      Once we have that we can use : CMSEL,S,HFBC,NODE, to select all the nodes on that face.

      later in the SF command we use all, which apply to all nodes selected by the cmsel command.

      All the best

      Erik


    • Mathilde31
      Subscriber
      Perfect I understand !
      Thanks a lot
      Kind regards
      Mathilde
Viewing 4 reply threads
  • The topic ‘How to apply a heat flux which depends on the Z axis ?’ is closed to new replies.