wiki:u/johannjc/scratchpad22

Version 2 (modified by Jonathan, 8 years ago) ( diff )

Scaling

The equations in physical units look like

And in computational units

Dividing the first equation gives

where and are the number density and length scales in the code.

This gives

And dividing the second equation by the first, gives

which gives

Test problem

2D version of Tripathi without atmosphere

embedded in a lower density pressure balanced ambient with a density ratio

With a cross section for photo-ionization of 6.3e-18 and our clump's column density of 9e18, we would expect the clump to be optically thick

And with a flux of 2e14, we would expect photo-ionization of the column to take 4.5e4 seconds

Attachments (4)

Note: See TracWiki for help on using the wiki.