| 117 | |
| 118 | |
| 119 | What about boundary conditions? |
| 120 | |
| 121 | At coarse fine boundaries, we can use time interpolated energy fields and opacities. |
| 122 | == At physical boundaries we can have the following == |
| 123 | |
| 124 | === Open boundaries === |
| 125 | We would like the radiation to leave at the free streaming limit. So |
| 126 | [[latex(\frac{c \lambda}{\kappa_{0R}} \nabla E = \mathbf{F} = cE\mathbf{n} = \frac{c \lambda_g}{\kappa_g}\frac{ \left ( E-E_g \right ) }{\Delta x})]] |
| 127 | |
| 128 | |
| 129 | Clearly if we set [[latex(E_g = 0)]] and [[latex(\lambda_g =\kappa_g \Delta x)]] we should get the correct flux. |
| 130 | |
| 131 | This corresponds to an |
| 132 | [[latex(\alpha = c \frac{\Delta t}{\Delta x})]] |
| 133 | |
| 134 | So we would just modify [[latex(\alpha)]] and zero out the matrix coefficient to the ghost zone |
| 135 | |
| 136 | == Thermally emitting boundary == |
| 137 | |
| 138 | Another possible boundary condition would be to have the edge of the grid be adjacent to some thermal emitter. This corresponds to setting the radiation energy density in the ghost zones to the Planck function. |
| 139 | |
| 140 | [[latex(E_g = \frac{4 \pi}{c} B(T_g))]] however, we still need an opacity which could be defined from the fluid properties of the ghost region... This would essentially be a thermally emitting boundary with the temperature, density, opacity, etc... derived from the hydro boundary type. If the boundary type was extrapolating, and the density and temperature uniform, one could have a constant thermal energy spectrum... However we would need to either specify the opacity and temperature of the ghost zone - or the various fluid properties needed to reconstruct the opacity and temperature of the ghost zone - or make an extra call to set physicalBC - since this may happen in between a hydro step and a physical boundary update. |
| 141 | |
| 142 | == Reflecting Boundary == |
| 143 | Reflecting boundary should be fairly straightforward. This an be achieved by setting [[latex(\alpha_g = 0)]] which zeros out any flux - and has the same effect as setting [[latex(E^{n+1}_g=E^{n+1}_i)]] |
| 144 | |
| 145 | == Constant radiative flux == |
| 146 | Having a contant radiative flux |