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

Compute wall temperature for radiative transfer, and update BCs. More...

Functions/Subroutines

subroutine raycli (nvar, nscal, icodcl, itypfb, izfrad, dt, propce, rcodcl)
 
subroutine sync_rad_bc_err (nerloc, nerrcd, znferr, rvferr)
 synchronize radiative boundary condition error logging across More...
 

Detailed Description

Compute wall temperature for radiative transfer, and update BCs.

1) Compute wall temperature for radiative transfer

2) Update BCs for the energy computation

Function/Subroutine Documentation

subroutine raycli ( integer  nvar,
integer  nscal,
integer, dimension(ndimfb,nvarcl)  icodcl,
integer, dimension(ndimfb)  itypfb,
integer, dimension(ndimfb)  izfrad,
double precision, dimension(ncelet)  dt,
double precision, dimension(ncelet,*)  propce,
double precision, dimension(ndimfb,nvarcl,3)  rcodcl 
)
Parameters
[in]nvartotal number of variables
[in]nscaltotal number of scalars
[in,out]icodclface boundary condition code:
  • 1 Dirichlet
  • 2 Radiative outlet
  • 3 Neumann
  • 4 sliding and $ \vect{u} \cdot \vect{n} = 0 $
  • 5 smooth wall and $ \vect{u} \cdot \vect{n} = 0 $
  • 6 rough wall and $ \vect{u} \cdot \vect{n} = 0 $
  • 9 free inlet/outlet (input mass flux blocked to 0)
  • 13 Dirichlet for the advection operator and Neumann for the diffusion operator
[in]itypfbface boundary condition type
[in]izfradzone index for boundary faces and reference face index
[in]dttime step (per cell)
[in]propcephysical properties at cell centers
[in,out]rcodclboundary condition values:
  • rcodcl(1) value of the dirichlet
  • rcodcl(2) value of the exterior exchange coefficient (infinite if no exchange)
  • rcodcl(3) value flux density (negative if gain) in w/m2 or roughness in m if icodcl=6
    1. for the velocity $ (\mu+\mu_T) \gradv \vect{u} \cdot \vect{n} $
    2. for the pressure $ \Delta t \grad P \cdot \vect{n} $
    3. for a scalar $ cp \left( K + \dfrac{K_T}{\sigma_T} \right) \grad T \cdot \vect{n} $
subroutine sync_rad_bc_err ( integer  nerloc,
integer  nerrcd,
integer  znferr,
double precision, dimension(nerrcd)  rvferr 
)

synchronize radiative boundary condition error logging across

Parameters
[in,out]nerlocnumber of errors (local rank in, global out)
[in]nerrcdnumber of codes saved at error faces
[in,out]znferrzone number for one error face (local in,
[in,out]rvferrvalues saved at one error face (local in,