Open greschd opened 1 year ago
The following bugs have been reported to dpf core:
https://github.com/pyansys/pydpf-core/issues/766 https://github.com/pyansys/pydpf-core/issues/765
https://github.com/pyansys/pydpf-core/issues/766 which caused the missing elements, is now fixed.
Hi @greschd , is this issue resolved with the recent improvements in vtk? Thanks, RenΓ©
No, I can still reproduce this issue.
Updated the main dependencies with
poetry lock; poetry install --all-extras --sync
and VTK with
pip install vtk -U --pre --index-url https://gitlab.kitware.com/api/v4/projects/13/packages/pypi/simple
The tessellation looks cleaner, but the grey and missing elements are still there:
@greschd @roosre The missing/gray element is due to dpf-core. I should be fixed as soon as the next version is released.
@janvonrickenbach with the current master
, I get the missing element being fixed, but not the grey ones:
Installed with pip install git+https://github.com/ansys/pydpf-core.git
.
Plotting with nan_color="#ffffff", opacity=0.5
options reveals that the data is there, but obscured by other elements:
I think this means it's not really a bug, but we should consider features that make this case easier to detect and deal with:
.plot()
option be restricted to plot only the parts of the mesh on which the field is defined? Maybe this already exists, but I didn't find it with a cursory search..NaN
values only? Setting an RGBA color (e.g. #ffffff00
) on the nan_color
doesn't seem to have any effect.This could be related to https://github.com/ansys/pydpf-core/issues/925 @rlagha @greschd
π Before submitting the issue
π Description of the bug
When running the kiteboard example with only the max stress criterion, the plot contains grey elements, and other cells which are missing:
π Steps to reproduce
π» Which operating system are you using?
Linux
π Which Python version are you using?
3.8
π¦ Installed packages