Hi prof Price,

Thank you! Are there any plans to implement the overlaying for rendered
plots?

Cheers,
Amanda

On Thu, Jun 9, 2022 at 11:27 AM Daniel Price <[email protected]>
wrote:

> Hi Amanda,
>
>
> > On 9 Jun 2022, at 6:17 pm, Amanda Rubio <[email protected]> wrote:
> >
> > 
> > Hi prof Price,
> >
> > First of all, thank you once again for SPLASH; what a great tool!
> >
> > I have a couple questions that I hope you'll be able to help me with.
> > About splash rendered plots: I am unable to plot rendered versions of
> the radial and azimuthal velocities of the particles. When I change the
> coord system to polar, v_r and v_phi are calculated, but I'm not able to do
> a polar plot in r and phi, and render is not working for a cartesian plot
> with v_r and v_phi. My binary files come from Matthew Bate's old SPH code,
> by the way.
>
> This is easy, just define new data columns (d menu) and define:
>
> R = sqrt(x**2 + y**2)
> Vr = vx*x/r + vy*y/r
> Vphi = -vx*y/r + vy*x/r
>
> Then you can just render these as usual in Cartesian coords.
> >
> > Another question (which I think is not implemented in SPLASH because
> mine might be the only case where it's useful....): I'm doing simulations
> of Be stars in binary systems. Nice coplanar, non eccentric binaries, with
> a Be disk that is continuously replenished. There comes a time when the
> system reaches a steady state. At this point, it really changes very little
> from phase to phase. Thus, I'd be really cool if I could use splash to plot
> subsequent timesteps of the simulation on top of each other, as if all
> particles belonged to the same time step, keeping the two stars fixed on
> the x axis (freezing the rotation of the system). Can this be done with the
> current version of the code somehow?
> >
>
> Also easy, in recent versions* you can just add the —corotate flag, e.g.
>
> splash —corotate file000
>
> Then for plotting multiple steps on top of each other just select more
> than one time step per panel (p menu, option 1). Note this will only work
> with particle plots as rendered plots cannot currently be overlaid.
>
> Best wishes,
>
> Daniel
>
> *in older versions you had to set an environment variable
> SPLASH_COROTATE=yes. I deprecated all environment variables and replaced
> them with command line flags based on the text after the last underscore.
> So for example to centre the plot on sink particle 2 you can now type :
>
> splash —sink=2 file000
>
> Instead of the previous “export SPLASH_CENTRE_ON_SINK=2”
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"SPLASH users forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/splash-users/CAAu9cA6C6txRU3BvpRYrTP1Asyg0LyNz4oToa0SUZDgQqg4rKA%40mail.gmail.com.

Reply via email to