-
Notifications
You must be signed in to change notification settings - Fork 2
Added postprocessing visualization example. #112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #112 +/- ##
=======================================
Coverage 60.46% 60.46%
=======================================
Files 24 24
Lines 817 817
=======================================
Hits 494 494
Misses 323 323 ☔ View full report in Codecov by Sentry. |
examples/01-advanced-pyansys-examples/using_meshobject_with_field_data.py
Outdated
Show resolved
Hide resolved
examples/01-advanced-pyansys-examples/using_meshobject_with_field_data.py
Outdated
Show resolved
Hide resolved
examples/01-advanced-pyansys-examples/using_meshobject_with_field_data.py
Outdated
Show resolved
Hide resolved
examples/01-advanced-pyansys-examples/using_meshobject_with_field_data.py
Outdated
Show resolved
Hide resolved
examples/01-advanced-pyansys-examples/using_meshobject_with_field_data.py
Outdated
Show resolved
Hide resolved
examples/01-advanced-pyansys-examples/using_meshobject_with_field_data.py
Show resolved
Hide resolved
examples/01-advanced-pyansys-examples/using_meshobject_with_field_data.py
Outdated
Show resolved
Hide resolved
examples/01-advanced-pyansys-examples/using_meshobject_with_field_data.py
Outdated
Show resolved
Hide resolved
…eld_data.py Co-authored-by: Roberto Pastor Muela <37798125+RobPasMue@users.noreply.github.com>
…eld_data.py Co-authored-by: Roberto Pastor Muela <37798125+RobPasMue@users.noreply.github.com>
…eld_data.py Co-authored-by: Roberto Pastor Muela <37798125+RobPasMue@users.noreply.github.com>
…eld_data.py Co-authored-by: Roberto Pastor Muela <37798125+RobPasMue@users.noreply.github.com>
…eld_data.py Co-authored-by: Roberto Pastor Muela <37798125+RobPasMue@users.noreply.github.com>
…eld_data.py Co-authored-by: Roberto Pastor Muela <37798125+RobPasMue@users.noreply.github.com>
…eld_data.py Co-authored-by: Roberto Pastor Muela <37798125+RobPasMue@users.noreply.github.com>
…eld_data.py Co-authored-by: Roberto Pastor Muela <37798125+RobPasMue@users.noreply.github.com>
|
Thanks for adding this example @abhishekchitwar 🙂 I'm a bit worried about having the fluent dependency in this repo. I believe it might cause dependency issues if we integrate this repo into fluent. Is it possible to include the required example files directly in this repository? If not, that's fine, we can always revisit this if PyFluent incorporates this tool. |
Well, since it is inside the |
|
Looks like automerge was activated by @abhishekchitwar - sorry @AlejandroFernandezLuces, should have let it up to you to merge. I didn't see that automerge was active |
|
Thank you! This issue can be resolved by incorporating a download API in this library to facilitate downloading sample data from the PyAnsys example-data repository. There are no direct dependencies of Fluent apart from downloading example data. |
No worries, it's good to go from my side 🙂 |
We can do that if we have any conflicts with fluent at some point. For now let's keep it simple, thanks gain for adding the example 🚀 |
|
@RobPasMue @AlejandroFernandezLuces, Sorry for the auto-merged. I simply try used it 🙂. Thanks for the review & Feedback! Appreciate it! |
|
@abhishekchitwar, do note that this dataset has the bug that VTK still considers the mesh cells to be invalid. The values in these cells ought to be zero, not 0x34 (dec 52). |
|
Is this bug coming from PyVista @ahernsean? Or is it because the VTK file has that invalid info? |
|
@ahernsean, The number from the previous snapshot shared by you or the one below suggests that the issue is related to FacesAreOrientedIncorrectly, as we previously discussed. Any suggestions! |
|
@RobPasMue, yes, I believe DPF is likely orienting the faces of polyhedra incorrectly in some cases. @abhishekchitwar and I were working with Paul Profizi on this, who said he'd try a few things and get back to us. |
The mapping is clear. Your image suggests that the majority of your cells have a ValidityState of 48 (dec), which is 30 (hex). This corresponds to NoncontiguousEdges and Nonconvex. Precisely what that means about the input mesh is less clear. I would want to restrict down to one or two cells to see what might be happening. |


Example to showcase the postprocessing with Ansys Flagship Simulations Results. (VTK is generated using pydpf-core).