[yt-dev] Question about vorticity and divergence plots

Matthew Turk matthewturk at gmail.com
Fri Mar 7 05:44:44 PST 2014


Hi Jia-Hung,

Interesting.  With cell-centered data, it ought to produce correct results.

Would you be able to send me a small sample dataset (off-list) and I
can take a look?  Or feel free to stop by our hangout at 11AM Eastern
and I can try it out there.

-Matt

On Wed, Mar 5, 2014 at 1:31 PM, 吳佳鴻 <r00222055 at ntu.edu.tw> wrote:
> Hi Matt,
>
>
>
> I am sorry that somehow my mailbox could not receive the mail successfully,
> so I copy and paste the previous discussion at the bottom of this email.  I
> think my data is cell-centered, and I give YT my velocity field in the name
> of ["velx", "vely", "velz"].  Is there anything wrong?
>
>
>
> Jia-Hung
>
>
>
>
>
> --------------------------------------previous
> ------------------------------------------
>
> Hi Jia-Hung,
>
>
>
> Are values stored as face-centered or cell-centered in your output?
>
>
>
> -Matt
>
>
>
> On Wed, Mar 5, 2014 at 5:21 AM, 吳佳鴻 <r00222055 at ntu.edu.tw> wrote:
>
>> Dear all,
>
>>
>
>>
>
>>
>
>> I’m new to YT. I encountered a problem when trying to plot the
>
>> divergence and vorticity of a velocity field with an octree data
>
>> structure similar to FLASH.
>
>>
>
>>
>
>>
>
>> I put a cylindrically symmetric velocity field into YT. So far I could
>
>> get Velocity Magnitude Plot correctly and the Velocity vector looks
>
>> also fine (see the attachment). However, the VorticityMagnitude and
>
>> DivV plots have a offset toward the top right corner. I was wondering
>> where I did it wrong.
>
>> Any suggestion will be welcome, and thanks for the help in advance.
>
>>
>
>>
>
>>
>
>> Sincerely,
>
>>
>
>> Jia-Hung
>
>>
>
>>
>
>>
>
>>
>
>>
>
>>
>
>> _______________________________________________
>
>> yt-dev mailing list
>
>> yt-dev at lists.spacepope.org
>
>> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>
>>
>
> _______________________________________________
>
> yt-dev mailing list
>
> yt-dev at lists.spacepope.org
>
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>
>
>
>
>
>
> _______________________________________________
> yt-dev mailing list
> yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>



More information about the yt-dev mailing list