[FLASH-USERS] Defining a species in the Sod example

Klaus Weide klaus at flash.uchicago.edu
Thu Sep 6 22:55:50 EDT 2018


On Fri, 7 Sep 2018, shuang liu wrote:

> Dear flash users
> 
> I was trying to define a species in the Sod example that is described in
> the user's guide. I typed './setup Sod -auto species=he' in the command
> line. I aslo added these lines to the flash.par file:
> 
> ms_heA = 4
> ms_heZ = 2
> ms_heNeutral = 2
> ms_heNegative = 2
> ms_heBindEnergy = 25
> ms_heGamma = 5/3
> 
> However, it seems that I didn't success. The flash.h file shows:
> 
> #define SPECIES_BEGIN (PROP_VARS_END + CONSTANT_ONE)
> #define NSPECIES 0
> #define SPECIES_END (SPECIES_BEGIN + NSPECIES - CONSTANT_ONE)
> 
> Where could be the problem?

Probably you did not include the Multispecies unit in your configuration,
via either the setup command line or a Config file.

Also note that if you use the Multispecies unit, you should use an Eos 
implementation other than EosMain/Gamma; you probably want to start with
EosMain/Multigamma.

Klaus



More information about the flash-users mailing list