# 7.3.1. Time-dependent tables for heat flux and heat transfer coefficient in sinkdef

Similar as surfatab(2,j,i), sinkhftab(2,j,i) and sinkhtctab(2,j,i) can be used to define time-dependent tables for heat flux and heat transfer coefficient in sinkdef.

<figure><img src="https://4265438985-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdhqtzdFGgZTppLdxTCcJ%2Fuploads%2FEEvbodTmpHqqt643PvCS%2Fimage.png?alt=media&#x26;token=fd170fb8-6b7a-42d9-8447-af62d1e32e65" alt=""><figcaption></figcaption></figure>

An example is provided below to demonstrate their usage.

In the case of the first sinkdef(1:17,1) definition, if isinkhftab(1) > 0, it indicates the use of a time-dependent heat flux table for the first sinkdef(1:17,1). The symbol \* in isinkhftab(\*) should correspond to the # in sinkdef(1:17,#), which is 1 in this instance. Additionally, in sinkhftab(1:2,1:7,\*), the \* is associated with the # in sinkdef(16,1) = #, where \* and # are 3 here. Similarly, if isinkhtctab(1) > 0, it signifies the utilization of a time-dependent heat transfer coefficient table for the first sinkdef(1:17,1). The \* in isinkhtctab(\*) should match the # in sinkdef(1:17,#), which is 1 in this case. Moreover, in sinkhtctab(1:2,1:5,\*), the \* is linked to the # in sinkdef(17,1) = #, with \* and # being 2 here.

The second sinkdef(1:17,2) is similar as the first one.

In the case of the third sinkdef(1:17,3), if isinkhftab(3) = 0 (default), it indicates the use of a constant value given by sinkdef(16,3). Similarly, if isinkhtctab(3) = 0 (default), it signifies the use of a constant value given by sinkdef(17,3).

{% hint style="info" %}
$rheat&#x20;

…&#x20;

ihtflag = 1,&#x20;

sinkdef(1:17,1) = 1,2, 1,2, 1,2, 1, 7, 3.2632e+6, 0.01, 0.0, 390.0, 0.0,0,-1,3,2,&#x20;

isinkhftab(1) = 1,&#x20;

sinkhftab(1:2,1:7,3) =   0.0, -1.0e5,&#x20;

&#x20;                                      500, 5.0e5,&#x20;

&#x20;                                    1000, -8.0e5,&#x20;

&#x20;                                    1500, 8.0e5,&#x20;

&#x20;                                    2000, -5.0e5,&#x20;

&#x20;                                    2500, 5.0e5,&#x20;

&#x20;                                    3500, -5.0e5,&#x20;

isinkhtctab(1) = 1,&#x20;

sinkhtctab(1:2,1:5,2) = 0.0, 1.0e4,&#x20;

&#x20;                                       100, 4.0e4,&#x20;

&#x20;                                       300, 6.0e4,&#x20;

&#x20;                                       1500, 10.0e4,&#x20;

&#x20;                                       3000, 15.0e4,&#x20;

sinkdef(1:17,2) = 3,4, 3,4, 3,4, 1, 7, 3.2632e+6, 0.01, 0.0, 370.0, 0.0,0,-1,5,4,&#x20;

isinkhftab(2) = 1,&#x20;

sinkhftab(1:2,1:8,5) =   0.0, -1.0e5,&#x20;

&#x20;                                      500, 1.0e6,&#x20;

&#x20;                                      1000, -3.0e6,&#x20;

&#x20;                                      1300, 9.0e6,&#x20;

&#x20;                                      1500, 3.0e6,&#x20;

&#x20;                                      2000, -1.0e6,&#x20;

&#x20;                                      2500, 1.0e6,&#x20;

&#x20;                                      3000, -1.0e6,

isinkhtctab(2) = 1,&#x20;

sinkhtctab(1:2,1:6,4) =   0.0, 5.0e4,&#x20;

&#x20;                                         500, 8.0e4,&#x20;

&#x20;                                         750, 3.0e4,&#x20;

&#x20;                                         1000, 10.0e4,&#x20;

&#x20;                                         1500, 13.0e4,&#x20;

&#x20;                                         3000, 23.0e4,&#x20;

sinkdef(1:17,3) = 2,3, 2, 3, 2,3, 1, 7, 3.2632e+6, 0.01, 0.0, 380.0, 0.0,0,-1, -1.0e5,8.0e4,&#x20;

isinkhftab(3) = 0,&#x20;

isinkhtctab(3) = 0,&#x20;

…&#x20;

$end
{% endhint %}

## Input example

{% file src="<https://4265438985-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdhqtzdFGgZTppLdxTCcJ%2Fuploads%2FQouDNuyPTlYrQZxpEHjl%2Fsinkhftab-sinkhtctab.ingf?alt=media&token=3ecc55e7-800a-4d03-ab37-93949476b61f>" %}
