[Paraview] viewing Gadget2 simulations

George Zagaris george.zagaris at kitware.com
Tue Sep 3 11:25:02 EDT 2013


Hi Tim,

I was able to open the dataset you provided. Here are a couple of
suggestions:

(1) Make sure to uncheck the "Cosmo Format" checkbox -- this will ensure
that the underlying reader will read in the data as a Gadget file.

(2) Set "rL", i.e., the box-size of the simulation data accordingly

(3) Set overlap to 0 -- This parameter creates ghost zones between
inter-processor and periodic boundaries which you may need if you are
running this in parallel, depending on what you want to do after you read
in the data.

Attached is an image of what the output looks like when I do the above with
rL=100.

Best,
George


On Sat, Aug 31, 2013 at 11:04 PM, Tim Haines <thaines at astro.wisc.edu> wrote:

>  @David,
>
> I put a snapshot file on github ( https://github.com/hainest/Gadget2_test).
> Let me know if you need more of them.
>
> @George,
>
> My apologies, I realize now that my description wasn't specific enough. I
> put a screenshot of the snapshot in the github repo I linked above. When I
> color the particles by mass, it appears that they are being rendered using
> the velocity values rather than the position values to determine their
> coordinate in the volume. I hope that clarifies things a bit more.
>
> Many thanks for all of your help!
>
> - Tim
>
>
> On 08/31/2013 11:00 AM, paraview-request at paraview.org wrote:
>
> Message: 2
> Date: Sat, 31 Aug 2013 11:19:17 -0400
> From: George Zagaris <george.zagaris at kitware.com> <george.zagaris at kitware.com>
> Subject: Re: [Paraview] viewing Gadget2 simulations
> To: Tim Haines <thaines at astro.wisc.edu> <thaines at astro.wisc.edu>
> Cc: ParaView <paraview at paraview.org> <paraview at paraview.org>
> Message-ID:
> 	<CAP6Wa3gkiTtmJHnOKALccaM7vk46us5q=8A6evz+KWdTOXaSgg at mail.gmail.com> <CAP6Wa3gkiTtmJHnOKALccaM7vk46us5q=8A6evz+KWdTOXaSgg at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Tim,
>
> I believe the position vector is used as the xyz position of the particles
> that are being rendered, so, you cannot color by the position. Do you see
> any particles when you open the file?
>
> Best,
> George
>
> ------------------------------
>
> Message: 3
> Date: Sat, 31 Aug 2013 11:19:35 -0400
> From: David E DeMarle <dave.demarle at kitware.com> <dave.demarle at kitware.com>
> Subject: Re: [Paraview] viewing Gadget2 simulations
> To: Tim Haines <thaines at astro.wisc.edu> <thaines at astro.wisc.edu>
> Cc: "paraview at paraview.org" <paraview at paraview.org> <paraview at paraview.org> <paraview at paraview.org>
> Message-ID:
> 	<CANjZAi9cQtyYszXBa1z8xgr+HKAzGOd5g-Z6nG85vMyHR_4o=g at mail.gmail.com> <CANjZAi9cQtyYszXBa1z8xgr+HKAzGOd5g-Z6nG85vMyHR_4o=g at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Can you share or point us to a url for a small Gadget2 data set that we can
> try with?
>
>
>
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130903/f9c92cc3/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GadgetTest.png
Type: image/png
Size: 5338998 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130903/f9c92cc3/attachment-0001.png>


More information about the ParaView mailing list