My Project
programmer's documentation
Functions/Subroutines
cs_tagmri.f90 File Reference

The 1D thermal model to compute the temperature to impose at the cold wall. This one is used by the COPAIN model to estimate the heat flux at the wall where the condensation occurs. More...

Functions/Subroutines

subroutine cs_tagmri (nfabor, isvtb, icodcl, rcodcl)
 

Detailed Description

The 1D thermal model to compute the temperature to impose at the cold wall. This one is used by the COPAIN model to estimate the heat flux at the wall where the condensation occurs.

This subroutine is used to compute at each face the $ \mbox{tmur} $ at cold wall.

Function/Subroutine Documentation

◆ cs_tagmri()

subroutine cs_tagmri ( integer  nfabor,
integer  isvtb,
integer, dimension(nfabor,nvar icodcl,
double precision, dimension(nfabor,nvar,3)  rcodcl 
)
Parameters
[in]nfabornumber of boundary faces
[in]isvtbscalar number coupled
[in,out]icodclboundary 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)
[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) \gradt \, \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) $