programmer's documentation
Functions/Subroutines
cs_user_radiative_transfer_bcs.f90 File Reference

User subroutine for input of radiative transfer parameters: boundary conditions. More...

Functions/Subroutines

subroutine cs_user_radiative_transfer_bcs (nvar, nscal, itypfb, icodcl, izfrdp, isothp, tmin, tmax, tx, dt, rcodcl, thwall, qincid, hfcnvp, flcnvp, xlamp, epap, epsp, textp, tintp)
 See. More...
 

Detailed Description

User subroutine for input of radiative transfer parameters: boundary conditions.

Function/Subroutine Documentation

subroutine cs_user_radiative_transfer_bcs ( integer  nvar,
integer  nscal,
integer, dimension(nfabor)  itypfb,
integer, dimension(nfabor,nvarcl)  icodcl,
integer, dimension(nfabor)  izfrdp,
integer, dimension(nfabor)  isothp,
double precision  tmin,
double precision  tmax,
double precision  tx,
double precision, dimension(ncelet)  dt,
double precision, dimension(nfabor,nvarcl,3)  rcodcl,
double precision, dimension(nfabor)  thwall,
double precision, dimension(nfabor)  qincid,
double precision, dimension(nfabor)  hfcnvp,
double precision, dimension(nfabor)  flcnvp,
double precision, dimension(nfabor)  xlamp,
double precision, dimension(nfabor)  epap,
double precision, dimension(nfabor)  epsp,
double precision, dimension(nfabor)  textp,
double precision, dimension(nfabor)  tintp 
)

See.

Examples of data settings for radiative transfers for more information.

Parameters
[in]nvartotal number of variables
[in]nscaltotal number of scalars
[in]itypfbboundary face types
[in]icodclboundary condition code
  • 1 -> Dirichlet
  • 2 -> convective outelet
  • 3 -> flux density
  • 4 -> sliding wall and u.n=0 (velocity)
  • 5 -> friction and u.n=0 (velocity)
  • 6 -> roughness and u.n=0 (velocity)
  • 9 -> free inlet/outlet (velocity) inflowing possibly blocked
[in]izfrdpboundary faces -> zone number
[in]isothpboundary face type for radative transfer
  • itpimp -> Gray wall with fixed inside temp
  • ipgrno -> Gray wall with fixed outside temp
  • iprefl -> Reflecting wall with fixed outside temp
  • ifgrno -> Gray wall with fixed conduction flux
  • ifrefl -> Reflecting wall with fixed conduction flux
[in]tminmin value of the wall temperature
[in]tmaxmax value of the wall temperature
[in]txrelaxation coefficient (0 < tx < 1)
[in]dttime step (per cell)
[in]rcodclboundary condition values rcodcl(3) = flux density value (negative for gain) in W/m2
[in]thwallinside current wall temperature (K)
[in]qincidradiative incident flux (W/m2)
[in]hfcnvpconvective exchange coefficient (W/m2/K)
[in]flcnvpconvective flux (W/m2)
[out]xlampconductivity (W/m/K)
[out]epapthickness (m)
[out]epspemissivity (>0)
[out]textpoutside temperature (K)
[out]tintpinitial inside temperature (K)