<div dir="ltr">Hello,<div><br></div><div>For all particle properties, you can define the variables in the Config file as you did and initialize them easily in flash.par. Since you said the variables are -1, that means you've defined them but you did not give them any values neither initial value nor dependent value based on an equation. </div><div>If you are using an equation in the mentioned root, please make sure you put this directory in the Config file to be able to call that. The easiest approach is checking the file inside your object folder, if it's there so your new subroutine (pt_advanceRK.f90) is overwritten correctly but you need to check your variables.</div><div><br></div><div>regards,</div><div><br></div><div><p style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px;margin-top:0px;margin-bottom:0px">Hanif Zargarnezhad</p><p style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px;margin-top:0px;margin-bottom:0px">Fluid Mixing at Extreme conditions Laboratory</p><p style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px;margin-top:0px;margin-bottom:0px"><span style="font-size:12pt;font-style:inherit;font-weight:inherit">Doherty Bldg 110A</span></p><p style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px;margin-top:0px;margin-bottom:0px"><span style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:12pt;line-height:inherit;vertical-align:baseline">Texas A&M Dept. of Mechanical Engineering</span></p><p style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px;margin-top:0px;margin-bottom:0px"><span style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:12pt;line-height:inherit;vertical-align:baseline">Graduate Research Assistant </span></p></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 27, 2021 at 10:20 AM Tristan <<a href="mailto:juwj@mail2.sysu.edu.cn">juwj@mail2.sysu.edu.cn</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello, everyone:<br>
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.<br>
Maybe use the Runge-Kutta method.<br>
<br>
I have reading the guide and add the two line to the ParticlesMain unit Config :<br>
<br>
```<br>
PARTICLEPROP dens REAL<br>
PARTICLEMAP TO dens FROM VARIABLE dens<br>
```<br>
<br>
I can get the particles output file, it includes the density property, but all the values are -1. I guess the density is initialized but not updated each step.<br>
<br>
Do I need to change the pt_advanceRK.F90 in the ParticlesMain/passive/RungeKutta directory? If someone have done the same thing. Please give me some advice. <br>
Thanks!<br>
Best wishes!<br>
<br>
<br>
</blockquote></div>