PETSC error appearing after coloring #661
-
Hello everyone. I am trying to make my first simulation using DAFoam. However, I am meeting some issues after the first coloring steps. On the first screenshot, we can see that there is a first error occuring about "addGeoDVLocal" (addGeoDVLocal will be deprecated, use addLocalDV instead). I tried to update to pygeo 1.13.1 as mentionned on the following discussion (Compile from source problem : #309 have obtained the same result and I have finally solved that part by replacing with addLocalDV in my script. However, I have still an issue mentionning PETSC and the following error : (UnicodeDecodeError : 'utf-8' codec can't decode byte 0x89 in position 48 : invalid start byte) at the bottom. Can you help me with that bug ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Which case are you running? and which DAFoam version are you using? |
Beta Was this translation helpful? Give feedback.
-
The addGeoDVLocal is an old API. Please use the latest DAFoam version and the latest tutorials. We never test the code on a virtual machine, so the Petsc error is probably related to the virtual machine environment. |
Beta Was this translation helpful? Give feedback.
Hello Sir.
It seems that my team has successfully solved the problem on our virtual machines. For some reasons, I was missing a script indicating the standard procedure for our simulations. The problem was not linked to DAFoam fortunately. Thank you very much for your help and your amazing software.
Have a good day.