That demo is a poorly written piece of code. It expects you to give just the name of the JSON file, not the full path to it. In other words, invoke it as: ./demo_GPU_terrainBox_SMC demo_GPU_terrainBox_SMC.json I’ll try to find some time to clean up these Chrono::GPU demos and their associated data files.
--Radu From: [email protected] <[email protected]> On Behalf Of Chiny Lan Sent: Tuesday, 20 December 2022 05:27 To: ProjectChrono <[email protected]> Subject: Re: [chrono] Can't run FSI module correctly Thanks for your work. I also noticed that the demo_GPU_terrainBox_SMC can't run after passing the JSON file in ../data/gpu. The error is Invalid JSON file. Moreover, I'm a biginner to Chrono. I want to simulate wheel-soil interaction using DEM or SPH with Chrono, and I would like to ask which demo I can refer to. :-) 在2022年12月20日星期二 UTC+8 01:27:28<Radu Serban> 写道: There was indeed a bug in Chrono::FSI. I pushed a fix (to the ‘main’ branch of the GitHub repository). Please let me know if you encounter any other problems. --Radu From: [email protected] <[email protected]> On Behalf Of Chiny Lan Sent: Monday, 19 December 2022 12:52 To: ProjectChrono <[email protected]> Subject: [chrono] Can't run FSI module correctly Hi, I installed Chrono on Windows and tried the demos. All demos run correctly, except the FSI demos. Only demo_FSI_BCE.exe can run and generate files in the folder DEMO_OUTPUT. The other FSI demos and utest run like this with no visulization, and the output folder is empty. My configuration is like this. I also test the main/release/fsi branches on Windows and Ubuntu 20.04, they all can't work correctly. On Ubuntu, it put out segmentation fault. [Image removed by sender.][Image removed by sender.] -- You received this message because you are subscribed to the Google Groups "ProjectChrono" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/1dc0241b-9a23-4a41-9ef0-d87470c56fcdn%40googlegroups.com<https://groups.google.com/d/msgid/projectchrono/1dc0241b-9a23-4a41-9ef0-d87470c56fcdn%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "ProjectChrono" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/549bec9c-8d07-465e-a83c-4c7b9895b309n%40googlegroups.com<https://groups.google.com/d/msgid/projectchrono/549bec9c-8d07-465e-a83c-4c7b9895b309n%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "ProjectChrono" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/PH0PR06MB82374D077086CF046B09133AA7EA9%40PH0PR06MB8237.namprd06.prod.outlook.com.
