Fort.38: Surface Temperature Boundary Values Input File
The Surface Temperature Boundary Values Input File (fort.38
) is used when the RES_BC_FLAG parameter is set to -3, 3, -4, or 4 in the fort.15
file (i.e., when a lateral temperature boundary condition is being used). The format of this file depends on the BCFLAG_TEMP parameter in the fort.15
, which controls the surface heat flux parameterization in ADCIRC.
File Structure
The file format varies depending on the value of BCFLAG_TEMP:
If BCFLAG_TEMP=1:
for i=1 to numberOfDataSets for k=1 to NP k, q_heat(k) end k loop end i loop
If BCFLAG_TEMP=2:
for i=1 to numberOfDataSets (K, (TMP(K,J), J=1,6),K=1, NP) end i loop
If BCFLAG_TEMP=3:
for i=1 to numberOfDataSets (K, (TMP(K,J), J=1,4),K=1, NP) end i loop
Notes
This file is only required when running simulations with RES_BC_FLAG = -3, 3, -4, or 4
NP is the number of nodes in the horizontal mesh (i.e., the 2D fulldomain number of nodes)
For BCFLAG_TEMP=2 and 3: - TMP(K,J) represents the Jth heat flux component for the Kth horizontal mesh node - The data are read using an implicit Fortran i/o loop, hence the parentheses - BCFLAG_TEMP=2 requires 6 heat flux components - BCFLAG_TEMP=3 requires 4 heat flux components
For BCFLAG_TEMP=1: - q_heat(k) represents the heat flux at node k