[FLASH-USERS] Fwd: How can I add density property to the particle
Tristan
juwj at mail2.sysu.edu.cn
Thu May 27 12:33:31 EDT 2021
Oh,I forgot this useful PARAMETER
It solved my question, @Klaus Weide , Thanks you
Best wishes!
> Begin forwarded message:
>
> From: Klaus Weide <klaus at flash.uchicago.edu>
> Subject: Re: [FLASH-USERS] How can I add density property to the particle
> Date: May 27, 2021 at 11:56:38 PM GMT+8
> To: flash-users at flash.uchicago.edu
>
> On Thu, 27 May 2021, Tristan wrote:
>
>> I am doing a simulation about the characteristic of the high mach
>> turbulence. I want to add some passive Lagrangian particles into the
>> simulation. But the default properties of particles include velocity and
>> position, not the density. I want to know the density of the trajectory
>> the particles draw. Maybe use the Runge-Kutta method.
>>
>> I have reading the guide and add the two line to the ParticlesMain unit Config :
>>
>> ```
>> PARTICLEPROP dens REAL
>> PARTICLEMAP TO dens FROM VARIABLE dens
>> ```
>
> You need something like this in addition:
>
> D particle_attribute_1 specification of which particle_attributes
> D & to output. The same description is valid for particles_attributes_2...etc
> PARAMETER particle_attribute_1 STRING "dens"
> PARAMETER particle_attribute_2 STRING "temp"
> ...
>
>
> Klaus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20210528/671fce2d/attachment-0001.htm>
More information about the flash-users
mailing list