wiki:FluxLimitedDiffusion

Version 24 (modified by Jonathan, 12 years ago) ( diff )

Physics of Radiation Transfer

streaming limit
static diffusion limit
dynamic diffusion limit

Equations of Radiation Hydrodynamics

where

and

Simplifying assumptions

  • If the flux spectrum of the radiation is direction-independent then we can write the radiation four-force density in terms of the moments of the radiation field

where

comoving-frame Planck function weighted opacity
comoving-frame radiation energy weighted opacity
comoving-frame radiation flux weighted opacity
  • If the radiation has a blackbody spectrum then
  • If the radiation is optically thick, then

which implies that
  • In the optically thin regime, so we would have however assuming a blackbody temperature in the optically thin limit may be any more accurate than assuming that

Flux limited diffusion

The flux limited diffusion approximation drops the radiation momentum equation in favor of

where is the flux-limiter

which corresponds to a pressure tensor

If we Lorentz boost the comoving terms into the lab frame and keep terms necessary to maintain accuracy we get:

Numerics of Flux Limited Diffusion

If we plug the expressions for the radiation 4-momentum back into the gas equations and keep terms necessary to maintain accuracy we get:

For static diffusion, the terms in blue with v2/c can be dropped and the system can be split into the usual hydro update (black), radiative source terms (green) using time centered radiation energy, and a coupled implicit solve (red) for the radiation energy density and thermal energy density (ie temperature). If the opacity is independent of temperature and radiation energy density, then the implicit solve only involves the radiation energy density. Otherwise some sort of sub-cycling would be required.

Operator splitting

Krumholz et al. perform Implicit Radiative, Explicit Hydro, Explicit Radiative In AstroBEAR this would look like:

  • Initialization
    • Prolongate, d, p, e, E, Edot
  • Step 1
    • Overlap d, p, e, E and do physical BC's
    • Do IR which updates e0, and E0 using d1, e1, E1
    • Update E2*mbc using Edot2*mbc
    • Update e2*mbc using E2*mbc, Edot2*mbc, and e2*mbc
    • Update Edot0 using pre IR and post IR E0
    • Ghost e2*mbc, Embc+1, Edotmbc+1
    • Do first EHmbc
    • Do ERmbc —- Terms with grad E can be done without ghosting since EH did not change E. The del dot vE term needs time centered face centered velocities which can be stored during the hydro update.
    • Store Edot in child arrays to be prolongated
  • Step 2
    • Overlap d, p, e, E, and do physical BCs
    • Do IR which updates e0, and E0 using d1, e1, E1
    • Update Edot0 using pre IR and post IR E0
    • Update E1 using Edot1
    • Ghost embc, E1, Edot1
    • Do second EH0
    • Do ER0 —- Terms with grad E can be done without ghosting since EH did not change E. The del dot vE term needs time centered face centered velocities which can be stored during the hydro update.

Implicit Discretization

For now we will assume that and are constant over the implicit update and we will treat the energy as the total internal energy ignoring kinetic and magnetic contributions. In this case we can solve the radiation energy equations:

where

Expanding about e0

Of course even if the opacity is independent of energy and radiation energy, the above combined system of equations is still non-linear due to the dependence on Temperature of the Planck Function .

If we ignore the changes in the Temperature due to heating during the implicit step which would feed back into the source function. We can improve this by writing

where

Then the system of equations becomes

1D

Which we can discretize for (1D) as

where the diffusion coefficient is given by

and where

and

represents the number of absorption/emissions during the time step

and

and we can think of the radiative flux as

Now all the terms on the right hand side that are linear in E or e have been written as E* or e* because there are different ways to approximate E* (e*). For Backward Euler we have and for Crank Nicholson we have or we can parameterize the solution where

Backward Euler has and Crank Nicholson has

Forward Euler has

In any event in 1D we have the following matrix coefficients

Clearly the second equation is trivial to solve after the first system of equations has been solved. So if we treat the temperature as being constant we can calculate the local heating/cooling due to radiative emission/absorption

2D etc…

For 2D the matrix coefficients would be

and the source term would be unchanged from 1D

Coarse-Fine Boundaries

Since we are doing our implicit solves first, we can use time interpolated solutions for the implicit solve for non-refined ghost zones. To do this we just need Edot. The opacities etc… in the ghost zones can be obtained from the hydro terms.

What about radiative implicit heating in coarse ghost cells which we will need to do hydro update? Could do this explicitly using E and Edot

Physical Boundary Conditions

Open boundaries

We would like the radiation to leave at the free streaming limit. So

Clearly if we set and we should get the correct flux.

This corresponds to an

So we would just modify and zero out the matrix coefficient to the ghost zone

Thermally emitting boundary

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.

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.

Reflecting Boundary

Reflecting boundary should be fairly straightforward. This an be achieved by setting which zeros out any flux - and has the same effect as setting

Constant radiative flux

To have a constant radiative flux we must have

Which we can solve for

but when we plug this into the coefficient matrix the terms with cancel and we just get in the source vector

Summary

Boundary
Open 0
User-Defined opacity and Temperature
Reflecting
User-Defined Flux

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.