General Mechanical

General Mechanical

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

Film Coefficient as function of temperature and coordinate

    • Francesco Miccoli
      Subscriber

      Hello everyone, I am implementing a thermal transient thermal simulation in Ansys Mechanical and would like to set the film coefficient for convection as a function of temperature and space alike. As you can see in the first picture I can easily select the film coefficient to be a function.

      My problem is that I can't find any reference regarding the possible variables (and their names) to be used in this field. By trial and error I figured that 'x','y','z','s' refer to coordinates and 'time' to the time value but I am not able to use temperature as a variable here.

      As you can see in the second picture it is very easy to set the film coefficient as a tabulated function of a surface temperature alone. What I need is to be able to have it function of both temperature and coordinate.

      Any help is greatly appreciated, thank you!

    • dlooman
      Ansys Employee

      Mechanical doesn't support a 4D table.  You would need to use APDL commands for that.  The commands below create a table that is a function TIME, TEMP, X and Y, but you could replace TIME with Z.  

      *dim,t4d,TAB4,3,2,2,2,TIME,TEMP,X,Y
      *taxis,t4d(1),1,0.0,1.0,2.0         ! TIME index values
      *taxis,t4d(1),2,22.0,200.0          ! TEMP index values
      *taxis,t4d(1),3,0.0,2.0             ! X index values
      *taxis,t4d(1),4,0.0,3.0             ! Y index values
       
      !!! Ymin values
      t4d(1,1,1,1)=10,20,30
      t4d(1,2,1,1)=20,40,60
      t4d(1,1,2,1)=100,200,300
      t4d(1,2,2,1)=200,400,600
       
      !!! Ymax values
      t4d(1,1,1,2)=1.0,2.0,3.0
      t4d(1,2,1,2)=2.0,4.0,6.0
      t4d(1,1,2,2)=10.0,20.0,30.0
      t4d(1,2,2,2)=20.0,40.0,60.0
       
      The table would be input with % signs like below:
      sf,all,conv,%t4d%
      • Francesco Miccoli
        Subscriber

        Is it possible to do something like that with pyAPDL?

Viewing 1 reply thread
  • The topic ‘Film Coefficient as function of temperature and coordinate’ is closed to new replies.