Different Solutions Running in Serial v. Parallel Using Python Wrapper w/ Mesh Deformation #1931
-
Hi, I am obtaining quite different solutions in parallel v. in serial when using the Python wrapper with mesh deformation. I set up a simple test case to aid in helping resolve this issue. I have attached my Python script as a .txt file at the bottom. This simple test case is just flow in a channel, where I use the Python wrapper to enforce an oscillating wall. I use an initial flowfield from a steady, nondeforming solution. Below is the video of the pressure through time: 1core.mp4When I run the same setup but on 3 processes, I get the following result: 3processes.mp4There are very unusually sharp pressure gradients at the side as can be seen. This problem is occurring directly at the interface of domains decomposed onto different ranks: Is there something I am missing in the Python file? Any help is really appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
What branch are you using? How do you compile it? Run it (python script)? |
Beta Was this translation helpful? Give feedback.
-
I see, the deformation looks smooth in both videos. |
Beta Was this translation helpful? Give feedback.
-
Took a bit but I found it #1933 Can we use your example as a regression test? |
Beta Was this translation helpful? Give feedback.
Took a bit but I found it #1933
It was just a problem with euler markers + deforming markers, not related to the wrapper or MPI.
We recently changed the python wrapper for version 8... so your script will not work directly with the branch in the PR.
You can use this script run.py.txt or git-cherrypick my commit into master and continue using yours.
Can we use your example as a regression test?