[FLASH-BUGS] How to define mass scalars in FLASH 2.4?

Peter Woitke woitke at strw.leidenuniv.nl
Wed Sep 8 06:24:57 CDT 2004


Dear developers,

the option to include "mass scalars" is new in FLASH 2.4, which obey
the conservation equations

  d/dt(\rho\phi_i) + \nabla(\rho\phi_i u) = 0

with the option to include user-defines source terms. Fine. However, I
could not find much information about the usage of mass scalars in the
user manual. (The EOS=0-species I used before to advect my variables in
FLASH 2.3 are no longer supported in 2.4).  After defining the number of
mass scalars in Config by e.g.

NUMMASSSCALARS 5

I need to specify the names of these quantities, don't I?
(Otherwise I don't know how to get an output of these variables
in the plotfiles)

- How can I do this?


Further questions:

- How can I avoid/circumvent the 0<=\phi_i<=1 condition? What is
  the CMA-flag in hydro_1d?

- How are these variables "prolonged"? Are they part of the 1...nvar
  variables in the unk-vector? Can I use a CONSERVED treatment in
  amr_prolong_gen_unk_fun.F90?

Thank you for your help,

Peter Woitke



More information about the flash-bugs mailing list