Setting Scales in AstroBEAR

I added the ability to set the TimeScale in physics.data, however this requires more careful testing of which combination of parameters can be set…

There are some constraints between scales… ie

pScale=nScale*TempScale*Boltzmann

rScale=nScale*Xmu*amu

lScale/TimeScale=sqrt(pScale/rScale)

and so on…

There are currently 7 scales that can be set - and three equations that constrain them.

Xmu, rScale, nScale, TempScale, TimeScale, pScale, and lScale

Therefore there can be 4 parameters set in physics.data - though not certain combinations. To test this we can construct a linear system in the log of each parameter…

log(pScale) - log(nScale) - log(TempScale) = log(Boltzmann)

log(TimeScale) = log(1d10)…

Which would give a 7x7 linear system that can potentially be solved. If the determinant is zero, then the 4 parameters that were set by the user are not independent. If they are - then the matrix can be inverted and solved for the remaining parameters.

Comments

No comments.