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@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@lists.spacepope.org

> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org

> 

_______________________________________________

yt-dev mailing list

yt-dev@lists.spacepope.org

http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org