--- 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: Difference between revisions

From ADCIRCWiki
Jump to navigation Jump to search
(Format edits)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
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 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.
== File Format ==


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.
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==  
==='''<code>BCFLAG_TEMP=1'''</code>===


for i=1 to [[numberOfDataSets]]
''for i=1 to [[numberOfDataSets]]''


: for k=1 to [[NP]]
: ''for k=1 to [[NP]]''


:: k, [[q_heat(k)]]
:: '''<code>k'''</code>, '''<code>[[q_heat(k)]]'''</code>


:: end k loop
:: ''end k loop''


: end i loop
: ''end i loop''




==BCFLAG_TEMP=2==  
==='''<code>BCFLAG_TEMP=2'''</code>===


for i=1 to numberOfDataSets
''for i=1 to [[numberOfDataSets]]''


:: (K, (TMP(K,J), J=1,6),K=1,NP)
:: ('''<code>K'''</code>, ('''<code>TMP(K,J)'''</code>, J=1,6),K=1,[[NP]])


end i loop
''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.
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==
==='''<code>BCFLAG_TEMP=3'''</code>===


for i=1 to numberOfDataSets
''for i=1 to [[numberOfDataSets]]''


:: (K, (TMP(K,J), J=1,4),K=1,NP)
:: ('''<code>K'''</code>, ('''<code>TMP(K,J)'''</code>, J=1,4),K=1,[[NP]])


end i loop
''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.
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==
===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.
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.



Latest revision as of 12:52, 24 June 2022

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.

File Format

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.