Python Wrapper Custom Displacements not Working Properly in Parallel #2052
kursatyurt
started this conversation in
General
Replies: 1 comment 1 reply
-
You have a bug in your code, you are storing point indices but using them as vertices. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to deform a NACA0012 Airfoil using the Python interface, I am skipping the halo nodes at the interface assuming
CommunicateMeshDisplacements
handle communication as halo nodes can be problematic in my case. The code works well on a single core but creates problems at the boundaries between processors when run on multi-core as seen below. If I plot the undeformed coordinates and displacement individually, I don't have a problem.The total number of base points for both single-core and multi-core cases is 798 points. I have checked that incase I am skipping some base points.
I use following loop to get physical point:
and later it deformed in the following part
Beta Was this translation helpful? Give feedback.
All reactions