wiki:ModulesDataExplained

Version 2 (modified by trac, 12 years ago) ( diff )

modules.data Explained

The modules.data file provides the data that AstroBEAR uses to set up the ambient medium. The file is read by the ModuleObjectsInit() subroutine and the data is used to populate the ModulesData namelist. This data is then used by the InitAmbient() subroutine to set up the values for a constant ambient medium that is applied to the domain by GridInitAmbient().

While modules.data must be present in the problem directory, the user is not required to make use of it. In fact, problems with complex setups (for complex, domain-wide perturbation that is too complex for a perturbation object) are probably better off being initialized within ProblemGridInit(). Nonetheless, the modules.data file must be present or AstroBEAR will crash.

  • rhoOut: The ambient density.
  • pOut: The ambient pressure.
  • vxOut: The ambient x-direction velocity. InitAmbient() will combine this with rhoOut to produce px.
  • vyOut: The ambient y-direction velocity. InitAmbient() will combine this with rhoOut to produce py.
  • vzOut: The ambient z-direction velocity. InitAmbient() will combine this with rhoOut to produce pz.
  • BxOut: The x-component of the ambient magnetic field.
  • ByOut: The y-component of the ambient magnetic field.
  • BzOut: The z-component of the ambient magnetic field.
Note: See TracWiki for help on using the wiki.