![]() |
KASKADE 7 development version
|
Flux density concept. More...
#include <radiativeTransfer.hh>
Public Types | |
| using | Real = double |
Public Member Functions | |
| template<class Cell, class LocalPosition> | |
| std::array< Real, 3 > | operator() (Cell cell, LocalPosition xi, Cell oCell, LocalPosition oXi) const |
| computes the flux density coefficients along the line between two given points | |
| template<class Cell, class LocalPosition, class GlobalPosition> | |
| std::array< Real, 2 > | operator() (Cell cell, LocalPosition xi, GlobalPosition ray) const |
| computes the unilateral flux density coefficients along a background direction | |
Flux density concept.
This is the interface that has to be implemented by flux density objects for direction dependent flux simulations such as radiation.
The total flux is defined as the integral over the visible hemisphere \( S = \{ s\in \R^d \mid \|s\|=1 \wedge s^T n > 0 \}\):
\[ f = \frac{1}{|S|}\int_S n^T s \left[ (1-\chi(s)) (f_c(s) + f_l(s) T(x)) + \chi(s) (f_l(x,y) T(x) + f_s(x,y) (T(y)-T(x)))\right] \,ds. \]
Here, \( |S| = \int_S n^T s \, ds \) is the angle-weighted hemisphere surface, \( \chi \) is the characteristic function of view directions \( s \) in which an opposite boundary point \( y \in \partial\Omega \) is visible. \( f_l \) corresponds to the unilateral flux component unaffected by \( T(y) \), such as may arise from convective heat transfer. \( f_s \) corresponds to the symmetric exchange of flux between two boundary points, generally from warmer to colder.
Definition at line 47 of file radiativeTransfer.hh.
| using Kaskade::FluxDensityConcept::Real = double |
Definition at line 50 of file radiativeTransfer.hh.
| std::array< Real, 3 > Kaskade::FluxDensityConcept::operator() | ( | Cell | cell, |
| LocalPosition | xi, | ||
| Cell | oCell, | ||
| LocalPosition | oXi ) const |
computes the flux density coefficients along the line between two given points
| cell | a grid cell |
| xi | the local position within the cell, specifying a boundary point |
| oCell | the grid cell of the opposite boundary point |
| oXi | the cell-local position of the opposite point |
The method must be thread-safe, as it is called in parallel.
| std::array< Real, 2 > Kaskade::FluxDensityConcept::operator() | ( | Cell | cell, |
| LocalPosition | xi, | ||
| GlobalPosition | ray ) const |
computes the unilateral flux density coefficients along a background direction
| cell | a grid cell |
| xi | the local position within the cell, specifying a boundary point |
| ray | the view direction |
The method must be thread-safe, as it is called in parallel.