Skip to content

Commit 42657f5

Browse files
committed
FDS Source: Issue #14279. Set default HTC for particle devices
1 parent a3dac28 commit 42657f5

File tree

2 files changed

+18
-13
lines changed

2 files changed

+18
-13
lines changed

Manuals/FDS_User_Guide/FDS_User_Guide.tex

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6374,7 +6374,7 @@ \subsection{Electrical Cables}
63746374
\subsubsection{Target Particles}
63756375
\label{info:target_particles}
63766376

6377-
To declare solid particle as being just a target for heat transfer, specify \ct{TARGET_ONLY} on \ct{PART}. When this flag is set and material properties are given, then FDS will compute the particle temperature using the local gas temperature and radiative conditions; however, the particle will not exchange energy or momentum with the gas. When this flag is set, a \ct{CARTESIAN} particle's \ct{SURF} will no longer be treated as a half-thickness plate. This allows the use of backside boundary conditions on \ct{SURF} such as \ct{TMP_GAS_BACK} and \ct{EMISSIVITY_BACK}. If it is still desired to have the \ct{THICKNESS} represent half the thickness of a plate heated from both sides, then set \ct{BACKING='INSULTATED'} on the \ct{SURF} line. Target particles are treated as \ct{STATIC} but can be positioned using \ct{PATH_RAMP} and/or \ct{ORIENTATION_RAMP} on \ct{INIT}.
6377+
To declare that a solid particle is only for recording the heat flux to a location away from a solid surface, specify \ct{TARGET_ONLY=T} on the \ct{PART} line. When this flag is set and material properties are given, FDS will compute the particle temperature using the local gas temperature and radiative conditions; however, the particle will not exchange energy or momentum with the gas. When this flag is set, a \ct{CARTESIAN} particle's \ct{SURF} will no longer be treated as a half-thickness plate. This allows the use of backside boundary conditions on \ct{SURF} such as \ct{TMP_GAS_BACK} and \ct{EMISSIVITY_BACK}. If it is still desired to have the \ct{THICKNESS} represent half the thickness of a plate heated from both sides, then set \ct{BACKING='INSULTATED'} on the \ct{SURF} line. Target particles are treated as \ct{STATIC} but can be positioned using \ct{PATH_RAMP} and/or \ct{ORIENTATION_RAMP} on \ct{INIT}.
63786378

63796379
\newpage
63806380

@@ -10554,11 +10554,15 @@ \subsection{Heat Flux}
1055410554
\end{lstlisting}
1055510555
By default, the heat transfer coefficient, $h_{\rm c}$, in Eq.~(\ref{gauge_heat_flux}) is calculated at the solid surface to which the device is attached, based on the specified surface properties and characteristics of the surrounding flow field. However, you may specify a fixed \ct{HEAT_TRANSFER_COEFFICIENT} (W/(m$^2 \cdot$K)) for the gauge on the \ct{PROP} line.
1055610556

10557-
\item \ct{'GAUGE HEAT FLUX GAS'} The same as \ct{'GAUGE HEAT FLUX'}, except that it can be located anywhere within the computational domain and not just at a solid surface. It also has an arbitrary \ct{ORIENTATION} vector that points in any desired direction, much like a heat flux gauge. The \ct{ORIENTATION} vector need not be normalized, as in the following:
10557+
\item \ct{'GAUGE HEAT FLUX GAS'} The same as \ct{'GAUGE HEAT FLUX'}, except that it can be located anywhere within the computational domain and not just at a solid surface. It also has an arbitrary \ct{ORIENTATION} vector that points in any desired direction. The \ct{ORIENTATION} vector need not be normalized, as in the following:
1055810558
\begin{lstlisting}
10559-
&DEVC ID='hf', QUANTITY='GAUGE HEAT FLUX GAS', XYZ=..., ORIENTATION=-1,1,0/
10559+
&DEVC ID='hf', QUANTITY='GAUGE HEAT FLUX GAS', XYZ=..., ORIENTATION=-1,1,0,
10560+
PROP_ID='my gauge' /
10561+
&PROP ID='my gauge', GAUGE_EMISSIVITY=0.85, HEAT_TRANSFER_COEFFICIENT=15. /
1056010562
\end{lstlisting}
10561-
Note that the parameter \ct{SPATIAL_STATISTIC} is not appropriate for this quantity, meaning that you cannot integrate this quantity over a plane or volume. However, you can use the parameter \ct{POINTS} to create a one-dimensional array of these devices (see Sec.~\ref{info:line_file}). Also, the convective component of the heat flux is calculated based on the assumption that the virtual target is a flat plate normal to the \ct{ORIENTATION} vector, and that the heat transfer coefficient is a function of the local gas temperature and velocity which will not be affected by the virtual device. Alternatively, you can specify \ct{HEAT_TRANSFER_COEFFICIENT} on a \ct{PROP} line whose \ct{ID} is specified on the \ct{DEVC} line.
10563+
The \ct{GAUGE_TEMPERATURE}, $T_{\rm gauge}$, \ct{GAUGE_EMISSIVITY}, $\epsilon_{\rm gauge}$, and \ct{HEAT_TRANSFER_COEFFICIENT}, $h_{\rm c}$ (W/(m$^2$~K)), can be specified using a \ct{PROP} line that is referenced by the \ct{DEVC} line. Their default values are \ct{TMPA}, 1, and 10, respectively.
10564+
10565+
Note that the parameter \ct{SPATIAL_STATISTIC} is not appropriate for this quantity, meaning that you cannot integrate this quantity over a plane or volume. However, you can use the parameter \ct{POINTS} to create a one-dimensional array of these devices (see Sec.~\ref{info:line_file}).
1056210566

1056310567
\item \ct{'RADIOMETER'} Similar to a water-cooled heat flux gauge, except that this quantity measures only the net radiative component:
1056410568
\be

Source/wall.f90

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -411,17 +411,18 @@ SUBROUTINE SURFACE_HEAT_TRANSFER(NM,T,SF,BC,B1,WALL_INDEX,CFACE_INDEX,PARTICLE_I
411411
LPC => LAGRANGIAN_PARTICLE_CLASS(LP%CLASS_INDEX)
412412
RSUM_G = RSUM(BC%IIG,BC%JJG,BC%KKG)
413413
MU_G = MU(BC%IIG,BC%JJG,BC%KKG)
414-
IF (LPC%MASSLESS_TARGET) THEN
414+
IF (LPC%MASSLESS_TARGET) THEN ! the particle's sole purpose is to record a heat flux
415415
PY => PROPERTY(LP%PROP_INDEX)
416-
IF (PY%HEAT_TRANSFER_COEFFICIENT>0._EB) THEN
416+
IF (PY%HEAT_TRANSFER_COEFFICIENT>0._EB) THEN ! the user has added a PROP line with a specified HTC
417417
B1%HEAT_TRANS_COEF = PY%HEAT_TRANSFER_COEFFICIENT
418-
ELSE
419-
IF (SF%H_FIXED >= 0._EB) THEN
420-
SF_HTC = SF%H_FIXED
421-
IF (SF%RAMP_H_FIXED_INDEX > 0) SF_HTC = SF_HTC * EVALUATE_RAMP(T-T_BEGIN,SF%RAMP_H_FIXED_INDEX)
422-
ELSE
423-
SF_HTC = -1._EB
424-
ENDIF
418+
ELSEIF (SF%H_FIXED>=0._EB) THEN ! the user has assigned a SURF_ID to the PART line with HTC>0
419+
SF_HTC = SF%H_FIXED
420+
IF (SF%RAMP_H_FIXED_INDEX>0) SF_HTC = SF_HTC * EVALUATE_RAMP(T-T_BEGIN,SF%RAMP_H_FIXED_INDEX)
421+
B1%HEAT_TRANS_COEF = SF_HTC
422+
ELSEIF (SF%ID=='MASSLESS TARGET') THEN ! the particle for the gas phase device is not explicitly defined and needs an HTC
423+
B1%HEAT_TRANS_COEF = 10._EB
424+
ELSE ! the HTC will be computed using the surrounding gas phase environment
425+
SF_HTC = -1._EB
425426
B1%HEAT_TRANS_COEF = HEAT_TRANSFER_COEFFICIENT(NM,B1%TMP_G-PY%GAUGE_TEMPERATURE,SF_HTC,SF,&
426427
PARTICLE_INDEX_IN=PARTICLE_INDEX)
427428
ENDIF

0 commit comments

Comments
 (0)