<div dir="ltr">Thanks for the tip! <br></div><br><div class="gmail_quote"><div dir="ltr">Klaus Weide <<a href="mailto:klaus@flash.uchicago.edu">klaus@flash.uchicago.edu</a>> 于2018年9月7日周五 上午10:55写道:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, 7 Sep 2018, shuang liu wrote:<br>
<br>
> Dear flash users<br>
> <br>
> I was trying to define a species in the Sod example that is described in<br>
> the user's guide. I typed './setup Sod -auto species=he' in the command<br>
> line. I aslo added these lines to the flash.par file:<br>
> <br>
> ms_heA = 4<br>
> ms_heZ = 2<br>
> ms_heNeutral = 2<br>
> ms_heNegative = 2<br>
> ms_heBindEnergy = 25<br>
> ms_heGamma = 5/3<br>
> <br>
> However, it seems that I didn't success. The flash.h file shows:<br>
> <br>
> #define SPECIES_BEGIN (PROP_VARS_END + CONSTANT_ONE)<br>
> #define NSPECIES 0<br>
> #define SPECIES_END (SPECIES_BEGIN + NSPECIES - CONSTANT_ONE)<br>
> <br>
> Where could be the problem?<br>
<br>
Probably you did not include the Multispecies unit in your configuration,<br>
via either the setup command line or a Config file.<br>
<br>
Also note that if you use the Multispecies unit, you should use an Eos <br>
implementation other than EosMain/Gamma; you probably want to start with<br>
EosMain/Multigamma.<br>
<br>
Klaus<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><div style="font-family:arial;font-size:small">Shuang Liu</div><div style="font-family:arial;font-size:small">Tsinghua University<br></div><div style="font-family:arial;font-size:small">Department of Engineering Physics<br></div><div style="font-family:arial;font-size:small">Mail Address: <a href="mailto:inovaliu@gmail.com" style="color:rgb(17,85,204)" target="_blank">inovaliu@gmail.com</a></div><div style="font-family:arial;font-size:small">Cellphone:(+86)18611015676</div></div><div><br></div>刘爽<br>清华大学工程物理系<br><a href="mailto:inovaliu@gmail.com" target="_blank">inovaliu@gmail.com</a><br>电话:+86 18611015676<br>住址:北京市海淀区清华大学</div></div></div></div></div>