[yt-users] Inclined rotator

Sushilkumar sushil.sush19us at gmail.com
Mon Mar 28 08:14:35 PDT 2016


Dear yt:

I am trying to numerically solve the region around a pulsar. Now since
pulsar is an inclined rotator with inclination angle between rotation axis
and dipole axis I would like to include in my yt script.

My original code written in FORTRAN incorporated this inclination but how
would I incorporate it into my visualization using yt without changing my
data.

Could you suggest ways for the same?

The google drive link to my script (streamline.py) and streamline plot
(streamline_t000.png) is included

https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc

Thanks in advance




On Sun, Mar 27, 2016 at 1:07 PM, <yt-users-request at lists.spacepope.org>
wrote:

> Send yt-users mailing list submissions to
>         yt-users at lists.spacepope.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> or, via email, send a message with subject or body 'help' to
>         yt-users-request at lists.spacepope.org
>
> You can reach the person managing the list at
>         yt-users-owner at lists.spacepope.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of yt-users digest..."
>
>
> Today's Topics:
>
>    1. Re: Plotting mesh cells (cell edges) (Matthew Turk)
>    2. Re: Plotting mesh cells (cell edges) (Matthew Turk)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 27 Mar 2016 09:42:44 -0500
> From: Matthew Turk <matthewturk at gmail.com>
> To: Discussion of the yt analysis package
>         <yt-users at lists.spacepope.org>
> Subject: Re: [yt-users] Plotting mesh cells (cell edges)
> Message-ID:
>         <CALO3=
> 5Hpndt85jra405LCQ4KP1ugYyX_GkAv-6dWXn865u2HPw at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Xinsheng,
>
> Right now this isn't possible -- it tends not to be something that comes up
> too often.  But, I think it should be relatively straightforward.  I've
> added an issue for it, and I'm going to try to take a look at it tomorrow.
>
>
> https://bitbucket.org/yt_analysis/yt/issues/1198/add-ability-to-plot-cell-edges
>
> I've marked it a blocker for our next release.
>
> -Matt
>
> On Sun, Mar 27, 2016 at 1:00 AM, Shawn Qin <xsqin at uw.edu> wrote:
>
> > Hello,
> >
> > Does anybody know if yt can plot mesh cells (cell edges) besides edges of
> > patches in a 2D slice plot (with AMR grid data), like the one below (only
> > cell edges in some patches were plotted)?  I was able to plot edges of
> > different AMR grid patches with the *annotate_grids* method of
> > *OffAxisSlicePlot* object. I checked all annotate_* methods but didn't
> > find any method that seems to do this job?
> >
> >
> > I am using yt 3.2.3.
> >
> > Any suggestions and discussion will be appreciated.
> >
> > Thank you!
> >
> > Best,
> >
> > --
> > ~~~~~~~~~~~~~~~~~
> >
> > Xinsheng Qin
> > Ph.D. candidate
> > Department of Civil and Environmental Engineering
> > University of Washingtonxsqin at uw.edu
> >
> >
> > _______________________________________________
> > yt-users mailing list
> > yt-users at lists.spacepope.org
> > http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160327/fdc6b683/attachment.html
> >
>
> ------------------------------
>
> Message: 2
> Date: Sun, 27 Mar 2016 10:36:52 -0500
> From: Matthew Turk <matthewturk at gmail.com>
> To: Discussion of the yt analysis package
>         <yt-users at lists.spacepope.org>
> Subject: Re: [yt-users] Plotting mesh cells (cell edges)
> Message-ID:
>         <CALO3=5HO7gQEF=71Y+6ObG=
> uCwd2KzjnDivLdO6QpbLi4ALAQw at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> I've found a few minutes and issued a pull request:
>
>
> https://bitbucket.org/yt_analysis/yt/pull-requests/2088/adding-annotate_cell_edges-closes-1198/diff
>
>
> On Sun, Mar 27, 2016 at 9:42 AM, Matthew Turk <matthewturk at gmail.com>
> wrote:
>
> > Hi Xinsheng,
> >
> > Right now this isn't possible -- it tends not to be something that comes
> > up too often.  But, I think it should be relatively straightforward.
> I've
> > added an issue for it, and I'm going to try to take a look at it
> tomorrow.
> >
> >
> >
> https://bitbucket.org/yt_analysis/yt/issues/1198/add-ability-to-plot-cell-edges
> >
> > I've marked it a blocker for our next release.
> >
> > -Matt
> >
> > On Sun, Mar 27, 2016 at 1:00 AM, Shawn Qin <xsqin at uw.edu> wrote:
> >
> >> Hello,
> >>
> >> Does anybody know if yt can plot mesh cells (cell edges) besides edges
> of
> >> patches in a 2D slice plot (with AMR grid data), like the one below
> (only
> >> cell edges in some patches were plotted)?  I was able to plot edges of
> >> different AMR grid patches with the *annotate_grids* method of
> >> *OffAxisSlicePlot* object. I checked all annotate_* methods but didn't
> >> find any method that seems to do this job?
> >>
> >>
> >> I am using yt 3.2.3.
> >>
> >> Any suggestions and discussion will be appreciated.
> >>
> >> Thank you!
> >>
> >> Best,
> >>
> >> --
> >> ~~~~~~~~~~~~~~~~~
> >>
> >> Xinsheng Qin
> >> Ph.D. candidate
> >> Department of Civil and Environmental Engineering
> >> University of Washingtonxsqin at uw.edu
> >>
> >>
> >> _______________________________________________
> >> yt-users mailing list
> >> yt-users at lists.spacepope.org
> >> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> >>
> >>
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160327/6d4971ff/attachment-0001.htm
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
> ------------------------------
>
> End of yt-users Digest, Vol 97, Issue 32
> ****************************************
>



-- 
*SK2*

*"**Claiming that something can move faster than light is a good
conversation-stopper in physics. People edge away from you in cocktail
parties; friends never return phone calls. You just don’t mess with Albert
Einstein.**"*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160328/eea89645/attachment-0001.htm>


More information about the yt-users mailing list