Problems after modifying the code
Dear Editor,
Recently, I modified the code here to correct the density of boundary(solid) particles and refer to the modification tutorial provided in the folder. After compiling, I tried to run an example, but an error occurred:
*** Exception (JForces2::FilterCreate)
Text: Particle-i was not found in Partlicle-j array.
I can't find the corresponding solution in the published version 4.2 code, so I want to ask if you have any good suggestions.
In addition, if necessary, I can provide detailed code to find the problem, although I don't modify much of the program.
Best regards😊,
Jiaming Liu
Comments
Try rerunning the simulation, I've seen that error in some cases where DualSPHysics was not succesful in saving the complete data. I.e. imagine that you ran for a bit and have:
Part_0000.bi4 - 1 mb
Part_0001.bi4 - 1 mb
Part_0002.bi4 - 0.756 mb
Then post-processing will break down since it cannot find particle i in particle j array.
Kind regards
Thank you for your reply!
I have implemented this function in a higher version.🙂
Best regards,
Jiaming Liu
@JiamingLiu Hello ,Liu Jiaming, I'm Chinese. I want to try to modify the source code recently. I have some questions. Can you give me a contact information? Such as QQ, Wechat or email. Thank you!
Hello, I'm sorry to see this message just now. I've replied to your email.