[FLASH-USERS] Multispecies heterogeneous set up with USM

Robert Crowston rhc504 at york.ac.uk
Thu Aug 30 11:56:56 EDT 2012


Yes that's great thanks.

Is there a way of adding a plot variable that keeps track of where each
fluid species is? So I can see how the two species are mixing as the
simulation progresses.

Cheers,
Rob Crowston

On 29 August 2012 19:56, Milad Fatenejad <milad at flash.uchicago.edu> wrote:

> Hi Rob:
>
> Yes, if you have defined two species with the names FOIL and GAS then
> there will be two variables called FOIL_SPEC and GAS_SPEC which represent
> the mass fractions of each species in each cell. In the
> Simulation_initBlock.F90 file, you just have to set these two variables
> such that they sum to one. If you create the species using the
> "species=foil,gas" setup variable, you can set the properties of each
> species (A, Z, etc...) in the flash.par file. Follow the link below for a
> description:
>
>
> http://flash.uchicago.edu/site/flashcode/user_support/flash_ug_devel/node17.html#SECTION05440000000000000000
>
> This link goes through an example of how to set the species properties in
> the flash.par file:
>
>
> http://flash.uchicago.edu/site/flashcode/user_support/flash_ug_devel/node34.html#SECTION08175000000000000000
>
> Once you set the values of FOIL_SPEC and GAS_SPEC in the
> Simulation_initBlock.F90 file and the species properties in the flash.par
> file, then the EOS unit itself will take care of setting things like YE and
> SUMY for you - if you use an appropriate EOS, such as Multigamma or MTMMMT.
>
> Is that helpful?
>
> Thanks
> Milad
>
>
> On Wed, Aug 29, 2012 at 12:27 PM, Robert Crowston <rhc504 at york.ac.uk>wrote:
>
>> Hi, when using the unstaggered mesh MHD solver, is it possible to specify
>> that different species start in different places in space? I am trying to
>> model the explosion of an aluminium (say) foil into a magnetised hydrogen
>> gas. I've been looking at the LaserSlab example problem to understand how
>> to configure different species. As I understand it, the calls to
>> Grid_putPointData( ..., ..., YE_MSCALAR, ..., zbar/abar) and similarly with
>> SUMY_MSCALAR are setting up the mass fractions in these blocks. Is that
>> right? But I don't know how to get these constants defined with USM.
>>
>> Thanks for your help!
>> Rob Crowston
>>
>
>


-- 
Robert Crowston
York Plasma Institute, Dept of Physics
University of York
Genesis 2, Innovation Way
YO10 5DQ
United Kingdom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20120830/42152751/attachment.htm>


More information about the flash-users mailing list