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 x-y 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!

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 x-y 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
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.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://yt-project.org/docs/dev/analyzing/objects.html#combining-objects-bool... 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 x-y 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
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org

Thanks a lot!
On Sun, Mar 2, 2014 at 12:31 AM, Britton Smith brittonsmith@gmail.comwrote:
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://yt-project.org/docs/dev/analyzing/objects.html#combining-objects-bool... 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.comwrote:
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 x-y 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
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (3)
-
Britton Smith
-
Matthew Turk
-
Yi Feng