[Paraview-developers] GUI not updating for OpenFOAM reader in v4.0.1
Paul Edwards
paul.m.edwards at gmail.com
Wed Jul 10 12:05:46 EDT 2013
Btw the patch list isn't empty - it just used to update once "Apply"
had been clicked and now it doesn't (for some reason it doesn't have
all the patches until RequestData has been called...). Does anyone
have any hints where to look in order to fix this?
Thanks,
Paul
On 9 July 2013 18:51, Paul Edwards <paul.m.edwards at gmail.com> wrote:
> Hi,
>
> In the latest version of ParaView I do not see all the patches for a
> decomposed OpenFOAM solution. This used to work in previous versions
> although I am not sure why it used to get called - I can't see any
> obvious changes to the OpenFOAM reader. Has anything changed with the
> way the ArraySelectionDomains work?:
>
> <StringVectorProperty information_only="1"
> name="PatchArrayInfo">
> <ArraySelectionInformationHelper attribute_name="Patch" />
> </StringVectorProperty>
> <StringVectorProperty animateable="0"
> command="SetPatchArrayStatus"
> element_types="2 0"
> information_property="PatchArrayInfo"
> name="MeshRegions"
> number_of_elements="0"
> number_of_elements_per_command="2"
> repeat_command="1">
> <ArraySelectionDomain name="array_list">
> <RequiredProperties>
> <Property function="ArrayList"
> name="PatchArrayInfo" />
> </RequiredProperties>
> </ArraySelectionDomain>
> </StringVectorProperty>
>
> A workaround for the moment is to use the python shell - I can see the
> properties by doing:
>
> s = GetActiveSource()
> s.GetProperty('PatchArrayInfo')
>
> And, I can even get the GUI to update with:
>
> s.MeshRegions = []
>
> Any ideas how I can fix this?
>
> Thanks,
> Paul
More information about the Paraview-developers
mailing list