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

shuang liu inovaliu at gmail.com
Fri Sep 7 02:00:57 EDT 2018


Thanks for the tip!

Klaus Weide <klaus at flash.uchicago.edu> 于2018年9月7日周五 上午10:55写道:

> 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
>


-- 
Shuang Liu
Tsinghua University
Department of Engineering Physics
Mail Address: inovaliu at gmail.com
Cellphone:(+86)18611015676

刘爽
清华大学工程物理系
inovaliu at gmail.com
电话:+86 18611015676
住址:北京市海淀区清华大学
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20180907/6b7777af/attachment.htm>


More information about the flash-users mailing list