[yt-users] Error with derived field
Britton Smith
brittonsmith at gmail.com
Mon Jul 2 06:46:57 PDT 2012
Ok, excellent. We'll take this discussion off list now.
Britton
On Mon, Jul 2, 2012 at 9:35 AM, Nathan Butcher <butchernate at gmail.com>wrote:
> Hello Britton,
>
> Running the script you posted, I found that no cells in a
> smooth_covering_grid have a dPhidx value of zero, and that 4501200 cells in
> a covering_grid have dPhidx of zero.
>
> Nathan
>
>
> On Sun, Jul 1, 2012 at 11:59 AM, Britton Smith <brittonsmith at gmail.com>wrote:
>
>> Hi Nathan,
>>
>> This could be an issue with how you set up your covering_grid or
>> smoothed_covering_grid. Can you try out this script?
>> http://paste.yt-project.org/show/2512/
>> This depends on the script that you included in your post, so make sure
>> it's in the same directory. This will add up the number of cells in your
>> grid object for which the dPhidx field is zero.
>>
>> Britton
>>
>> On Fri, Jun 29, 2012 at 3:19 PM, Nathan Butcher <butchernate at gmail.com>wrote:
>>
>>> Hello,
>>>
>>> I am having trouble using a derived field with a CoveringGrid. I am
>>> making fields for dPhi/dx, dPhi/dy, dPhi/dz using the PotentialField from
>>> ENZO. The derivative fields do not get passed into the CoveringGrid and get
>>> recalculated. This leads to the derivative being zero in areas that were
>>> originally in coarse cells.
>>>
>>> Density and DivV fields were passed to the CoveringGrid properly. As a
>>> test I defined a field that was Density^2 and that was passed to the
>>> CoveringGrid properly, so I think it is a problem specific to derived
>>> fields based on the ENZO-specific PotentialField. I have included the
>>> source for my derivative functions.
>>>
>>> Thank you,
>>> Nathan Butcher
>>>
>>> _______________________________________________
>>> yt-users mailing list
>>> yt-users at lists.spacepope.org
>>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>>
>>>
>>
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
>>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20120702/fb737e59/attachment.html>
More information about the yt-users
mailing list