Version 2 (modified by 10 years ago) ( diff ) | ,
---|
- The following equations are based on blog:bliu01092014. and Scales in AstroBEAR
1. Equations and Parameters
Equation solved in Betti's code (SI units and Temperature in Joules)
Betti's document and is the normal specific heat capacity. And the flux is
where is Boltzmann constant and as inTo convert this to cgs units we write
That is
Here the term
was put for the convenience of scale convert in the code which will be explained in the part of computational scales.In AstroBEAR we define
andComparing the definition of
and we haveIn Betti's data, and so
2. Computational Scales
In AstroBEAR code, everything is in computational scales. In this part, I summarize the relations of scales for different physics quantities. The details can be found in Parameters and Scales for the Ablative RT problem (and in the code).
The following table gives scales the relationship to physics variables in C.U. in the code
Variable | scale | relationship in cu |
length | lScale | |
time | timeScale | |
velocity | velScale | v=l/t |
density | rScale | |
temperature | TempScale | |
pressure | pScale | |
energy |
More details about physics relations in the code can be found in the visit expressions
The above heat diffusion equation (everything is in C.U.) in AstroBEAR is
The reason the
is there because we want the left-hand-side to be energy where gives pressure in C.U.