[FLASH-USERS] Particle property issue
Broxton Miles
bjmiles at crimson.ua.edu
Thu Apr 27 11:48:30 EDT 2017
(resending because for to reply all)
Hi Klaus,
Thanks for the reply.
I checked Flash.h, and it appears only once as a variable GAMC_VAR and once
as the particle property GAMC_PART_PROP.
Simulation_mapParticlesVar.F90 looks normal: integer, dimension(1:11),
parameter :: part_keys = (/&
& TEMP_PART_PROP,&
DENS_PART_PROP,&
GAMC_PART_PROP,&
SHK_PART_PROP,&
PRES_PART_PROP,&
O16_PART_PROP,&
NI56_PART_PROP,&
S32_PART_PROP,&
CA40_PART_PROP,&
C12_PART_PROP,&
SI28_PART_PROP&
&/)
integer, dimension(1:11), parameter :: var_keys = (/&
& TEMP_VAR,&
DENS_VAR,&
GAMC_VAR,&
SHK_VAR,&
PRES_VAR,&
O16_SPEC,&
NI56_SPEC,&
S32_SPEC,&
CA40_SPEC,&
C12_SPEC,&
SI28_SPEC&
&/)
gamc appears to be stored in the grid correctly because I can pull it out
of the checkpoint files, but for whatever reason is not being mapped into
the particle files correctly.
I'm using the helmholtz eos and the split hydro if that helps.
On Wed, Apr 26, 2017 at 6:44 PM, Klaus Weide <klaus at flash.uchicago.edu>
wrote:
> On Wed, 26 Apr 2017, Broxton Miles wrote:
>
> > This may be something pretty trivial, but I think I just need some other
> > eyes to catch what I've done wrong.
> >
> > I'm running some calculations with tracer particles. In my config file, I
> > have my particle properties defined like this:
> >
> > PARTICLEPROP dens REAL
> > PARTICLEMAP TO dens FROM VARIABLE dens
> ...
> > PARTICLEPROP SHK REAL
> > PARTICLEMAP TO SHK FROM VARIABLE SHK
> > PARTICLEPROP gamc REAL
> > PARTICLEMAP TO gamc FROM VARIABLE gamc
>
> Some ideas:
>
> Check your Flash.h . Are there definitions for all your variables and all
> you particle properties? Also check that each symbols is defiend only
> once.
>
> You should also have a file Simulation_mapParticlesVar.F90 generated by
> setup. Do you notice anything suspicious in there?
>
> Klaus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20170427/af1ac011/attachment-0001.htm>
More information about the flash-users
mailing list