--- Welcome to the official ADCIRCWiki site! The site is currently under construction, with limited information. ---

For general information, see the ADCIRC site, ADCIRC FAQ, or the ADCIRC Wikipedia page. For model documentation not yet available on the wiki, see the ADCIRC site. New content is being continuously added to the ADCIRCWiki, and material from the main ADCIRC site will be gradually transitioned over to the wiki.

Fort.38 file

From ADCIRCWiki
Jump to navigation Jump to search

The surface temperature boundary condition input file (fort.38) is read in when the RES_BC_FLAG is set to -3, 3, -4, or 4 in the fort.15 file (i.e., when a lateral temperature boundary condition is being used) and its format depends on the BCFLAG_TEMP parameter in the fort.15 file, which controls the surface heat flux parameterization in ADCIRC.

The basic file structure is shown below. Each line of input is represented by a line containing the input variable name(s) in bold face type. Blank lines are to enhance readability. Loops indicate multiple lines of input.

BCFLAG_TEMP=1

for i=1 to numberOfDataSets

for k=1 to NP
k, q_heat(k)
end k loop
end i loop


BCFLAG_TEMP=2

for i=1 to numberOfDataSets

(K, (TMP(K,J), J=1,6),K=1,NP)

end i loop

where TMP(K,J) is the surface heat flux parameter Jth heat flux component for the Kth horizontal mesh node. The data are read using an implicit Fortran i/o loop, thus the parentheses around the statement.

BCFLAG_TEMP=3

for i=1 to numberOfDataSets

(K, (TMP(K,J), J=1,4),K=1,NP)

end i loop

where TMP(K,J) is the surface heat flux parameter Jth heat flux component for the Kth horizontal mesh node. The data are read using an implicit Fortran i/o loop, thus the parentheses around the statement.

Note

In all the above cases, NP is the number of nodes in the horizontal mesh (i.e., the 2D fulldomain number of nodes). See the fort.15 file documentation on 3D baroclinic physics (particularly the explanation of various BCFLAG_TEMP values) for more details.