Can't run FSI module correctly

69 views
Skip to first unread message

Chiny Lan

unread,
Dec 19, 2022, 6:52:25 AM12/19/22
to ProjectChrono

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.

FSI demo run.jpgConfiguration.jpg

Radu Serban

unread,
Dec 19, 2022, 12:27:28 PM12/19/22
to ProjectChrono

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

--
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 projectchron...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/1dc0241b-9a23-4a41-9ef0-d87470c56fcdn%40googlegroups.com.

Chiny Lan

unread,
Dec 19, 2022, 11:27:13 PM12/19/22
to ProjectChrono
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. :-)

Radu Serban

unread,
Dec 20, 2022, 4:23:55 AM12/20/22
to ProjectChrono

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: projec...@googlegroups.com <projec...@googlegroups.com> On Behalf Of Chiny Lan
Sent: Tuesday, 20 December 2022 05:27
To: ProjectChrono <projec...@googlegroups.com>
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. :-)

20221220日星期二 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: projec...@googlegroups.com <projec...@googlegroups.com> On Behalf Of Chiny Lan
Sent: Monday, 19 December 2022 12:52
To: ProjectChrono <projec...@googlegroups.com>
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 projectchron...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/1dc0241b-9a23-4a41-9ef0-d87470c56fcdn%40googlegroups.com.

--
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 projectchron...@googlegroups.com.

Radu Serban

unread,
Dec 21, 2022, 4:04:52 PM12/21/22
to ProjectChrono

FYI, I cleaned up the Chrono::Gpu demos.  Note that I also made some name changes (e.g., that demo_GPU_terrainBox_SMC is now called demo_GPU_soilBin).

 

As for your question about simulating wheel-soil interaction, you should look at the Chrono::Vehicle co-simulation framework and the various associated demos (demo_VEH_Cosim_***).  Those allow you to co-simulate a wheeled or tracked vehicle with any of the terrain representations in Chrono, including granular or SPH.

 

--Radu

Reply all
Reply to author
Forward
Message has been deleted
0 new messages