sliceplot of a cylinder surface
Hi, I have done a 3D accretion disk simulation in cartesian coordinate. The disk is centered at the origin and the disk plane is xy plane. I want to know the disk structure at a fixed radius R, i.e. sqrt(x*x+y*y) equals a constant. It is something like the surface of a cylinder. A slice plot of cylinder surface is helpful. But sliceplot only applies to a flat plane. So how to do a slice plot of a cylinder surface? Thanks a lot!  Sincerely Yi Feng Department of Astronomy&Astrophysics,UC Santa Cruz
Hi Yi, On Fri, Feb 28, 2014 at 7:35 PM, Yi Feng <yfen12@ucsc.edu> wrote:
Hi, I have done a 3D accretion disk simulation in cartesian coordinate. The disk is centered at the origin and the disk plane is xy plane. I want to know the disk structure at a fixed radius R, i.e. sqrt(x*x+y*y) equals a constant. It is something like the surface of a cylinder. A slice plot of cylinder surface is helpful. But sliceplot only applies to a flat plane. So how to do a slice plot of a cylinder surface? Thanks a lot!
This is an interesting question. I think it is possible, but I am not entirely sure yet how one might do it the simplest. I know Nathan has done some extractions at fixed R, but I am not sure offhand the best way to do it such that you get back an image. In essence, you'd be transforming the data such that you'd have a sequence of new, variably sized cells. Can you file an issue on our issue tracker, which will help make sure we come back to this? I am going to be traveling the next few days but I think I can work something out. Matt
 Sincerely Yi Feng Department of Astronomy&Astrophysics,UC Santa Cruz
_______________________________________________ ytusers mailing list ytusers@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/ytusersspacepope.org
Hi Yi, What about something like the following: Make a boolean object out of two disk objects with slightly larger and slightly smaller radius than the radius you want to analyze. http://ytproject.org/docs/dev/analyzing/objects.html#combiningobjectsbool... This boolean object would then encompass just the cylindrical shell you're interested in. Then, once you have this object, do a PhasePlot where the x and y fields are 'theta' and 'z' and the z field of the PhasePlot is whatever field you want to see. This should be, in essence, like taking a slice in constant radius. Britton On Sat, Mar 1, 2014 at 4:03 PM, Matthew Turk <matthewturk@gmail.com> wrote:
Hi Yi,
On Fri, Feb 28, 2014 at 7:35 PM, Yi Feng <yfen12@ucsc.edu> wrote:
Hi, I have done a 3D accretion disk simulation in cartesian coordinate. The disk is centered at the origin and the disk plane is xy plane. I want to know the disk structure at a fixed radius R, i.e. sqrt(x*x+y*y) equals a constant. It is something like the surface of a cylinder. A slice plot of cylinder surface is helpful. But sliceplot only applies to a flat plane. So how to do a slice plot of a cylinder surface? Thanks a lot!
This is an interesting question. I think it is possible, but I am not entirely sure yet how one might do it the simplest. I know Nathan has done some extractions at fixed R, but I am not sure offhand the best way to do it such that you get back an image. In essence, you'd be transforming the data such that you'd have a sequence of new, variably sized cells.
Can you file an issue on our issue tracker, which will help make sure we come back to this? I am going to be traveling the next few days but I think I can work something out.
Matt
 Sincerely Yi Feng Department of Astronomy&Astrophysics,UC Santa Cruz
_______________________________________________ ytusers mailing list ytusers@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/ytusersspacepope.org
_______________________________________________ ytusers mailing list ytusers@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/ytusersspacepope.org
Thanks a lot! On Sun, Mar 2, 2014 at 12:31 AM, Britton Smith <brittonsmith@gmail.com>wrote:
Hi Yi,
What about something like the following: Make a boolean object out of two disk objects with slightly larger and slightly smaller radius than the radius you want to analyze.
http://ytproject.org/docs/dev/analyzing/objects.html#combiningobjectsbool... This boolean object would then encompass just the cylindrical shell you're interested in. Then, once you have this object, do a PhasePlot where the x and y fields are 'theta' and 'z' and the z field of the PhasePlot is whatever field you want to see. This should be, in essence, like taking a slice in constant radius.
Britton
On Sat, Mar 1, 2014 at 4:03 PM, Matthew Turk <matthewturk@gmail.com>wrote:
Hi Yi,
Hi, I have done a 3D accretion disk simulation in cartesian coordinate. The disk is centered at the origin and the disk plane is xy plane. I want to know the disk structure at a fixed radius R, i.e. sqrt(x*x+y*y) equals a constant. It is something like the surface of a cylinder. A slice plot of cylinder surface is helpful. But sliceplot only applies to a flat
On Fri, Feb 28, 2014 at 7:35 PM, Yi Feng <yfen12@ucsc.edu> wrote: plane. So
how to do a slice plot of a cylinder surface? Thanks a lot!
This is an interesting question. I think it is possible, but I am not entirely sure yet how one might do it the simplest. I know Nathan has done some extractions at fixed R, but I am not sure offhand the best way to do it such that you get back an image. In essence, you'd be transforming the data such that you'd have a sequence of new, variably sized cells.
Can you file an issue on our issue tracker, which will help make sure we come back to this? I am going to be traveling the next few days but I think I can work something out.
Matt
 Sincerely Yi Feng Department of Astronomy&Astrophysics,UC Santa Cruz
_______________________________________________ ytusers mailing list ytusers@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/ytusersspacepope.org
_______________________________________________ ytusers mailing list ytusers@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/ytusersspacepope.org
_______________________________________________ ytusers mailing list ytusers@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/ytusersspacepope.org
 Sincerely Yi Feng Department of Astronomy&Astrophysics,UC Santa Cruz
participants (3)

Britton Smith

Matthew Turk

Yi Feng