[FLASH-USERS] delaying particle initiation

Ryan Farber rjfarber at umich.edu
Fri Apr 2 09:17:56 EDT 2021


Hi Jon,

I would think initializing dust particles some time into the simulation
would be analogous to modeling star formation.

We have our star particle model called by Particles_advanceModel. And one
of the first lines of the star particle model subroutine handles star
particle formation.

So the traceback is:

Driver_evolveFlash
 -> Particles _advance
 -> -> Particles_advanceModel
 -> -> -> Particles_advanceStarParticleModel
 -> -> -> -> stars_createStars

Hope that helps.

Best,
--------
Ryan


On Fri, Apr 2, 2021 at 5:49 AM Slavin, Jonathan <jslavin at cfa.harvard.edu>
wrote:

> Hi all,
>
> I'm trying to figure out if there's some way that I can delay particle
> initiation. Essentially I'm trying to set up the simulation with
> pre-evolution of the environment but I'm only really interested in the
> evolution after a certain time. I'm calculating the evolution of dust
> particles (I've created a dust unit that evolves the position, velocity,
> and mass of the particles) so I don't want them to evolve prior to the main
> simulation.
>
> It seems that particle initiation occurs at the start of the simulation
> via calls from Driver_initFlash. I wrote my own pt_initPositions and it
> works fine to initialize the particles at the beginning of the simulation.
> I just don't know how to delay that initialization - though I have some
> ideas for kludgy workarounds. I'd appreciate hearing ideas for the proper
> way to do this.
>
> Thanks,
> Jon
>
> --
> Jonathan D. Slavin
> Astrophysicist - High Energy Astrophysics Division
> Center for Astrophysics | Harvard & Smithsonian
> Office: (617) 496-7981 | Cell: (781) 363-0035
> 60 Garden Street | MS 83 | Cambridge, MA 02138
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20210402/42446011/attachment-0001.htm>


More information about the flash-users mailing list