Skip to content

Commit f266646

Browse files
authored
Merge pull request #15147 from ericvmueller/master
FDS Source: add TANGENTIAL VELOCITY output for B1%U_TANG
2 parents 3fba98d + 881f8ed commit f266646

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

Manuals/FDS_User_Guide/FDS_User_Guide.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2271,7 +2271,7 @@ \subsubsection{Default Convective Heat Transfer Model}
22712271
\end{center}
22722272
\end{table}
22732273

2274-
The length scale, $L$, is specified by \ct{CONVECTION_LENGTH_SCALE} on the \ct{SURF} line. By default, it is 1~m for plates, and the diameter of a sphere or cylinder.
2274+
The length scale, $L$, is specified by \ct{CONVECTION_LENGTH_SCALE} on the \ct{SURF} line. By default, it is 1~m for plates, and the diameter of a sphere or cylinder. The velocity used to compute Re can be output with the solid phase quantity \ct{'TANGENTIAL VELOCITY'}.
22752275

22762276
\subsubsection{Output for Convective Heat Transfer Regime}
22772277
\label{info:convection_regime}
@@ -11737,6 +11737,7 @@ \section{Solid Phase Output Quantities}
1173711737
\ct{SUBSTEPS} & Section~\ref{info:solid_phase_stability} & & B,D \\ \hline
1173811738
\ct{SURFACE DENSITY}$^4$ & Section~\ref{info:material_components} & kg/m$^2$ & B,D \\ \hline
1173911739
\ct{SURFACE DEPOSITION}$^1$ & Section~\ref{info:deposition} & kg/m$^2$ & B,D \\ \hline
11740+
\ct{TANGENTIAL VELOCITY} & Section~\ref{info:convection} & m/s & B,D \\ \hline
1174011741
\ct{TOTAL MASS FLUX WALL}$^1$ & Section~\ref{info:wallflux} & kg/s/m$^2$ & B,D \\ \hline
1174111742
\ct{VELOCITY ERROR} & Section~\ref{info:PRES} & m/s & B,D \\ \hline
1174211743
\ct{VISCOUS STRESS WALL} & Section~\ref{info:distributed_forces} & Pa & B,D \\ \hline

Source/data.f90

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1752,6 +1752,10 @@ SUBROUTINE DEFINE_OUTPUT_QUANTITIES
17521752
OUTPUT_QUANTITY(-100)%SPEC_ID_REQUIRED = .FALSE.
17531753
OUTPUT_QUANTITY(-100)%BNDF_APPROPRIATE = .TRUE.
17541754

1755+
OUTPUT_QUANTITY(-101)%NAME = 'TANGENTIAL VELOCITY'
1756+
OUTPUT_QUANTITY(-101)%UNITS= 'm/s'
1757+
OUTPUT_QUANTITY(-101)%SHORT_NAME = 'u_tang'
1758+
17551759
END SUBROUTINE DEFINE_OUTPUT_QUANTITIES
17561760

17571761

Source/dump.f90

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9538,6 +9538,9 @@ REAL(EB) FUNCTION SOLID_PHASE_OUTPUT(INDX,Y_INDEX,Z_INDEX,PART_INDEX,OPT_WALL_IN
95389538
CASE(100) ! CONDENSATION HEAT FLUX
95399539
SOLID_PHASE_OUTPUT = B1%Q_CONDENSE * 0.001_EB
95409540

9541+
CASE(101) ! TANGENTIAL VELOCITY
9542+
IF (ASSOCIATED(B1)) SOLID_PHASE_OUTPUT = B1%U_TANG
9543+
95419544
END SELECT SOLID_PHASE_SELECT
95429545

95439546
END FUNCTION SOLID_PHASE_OUTPUT

0 commit comments

Comments
 (0)