Xiangyu-Hu / SPHinXsys

SPHinXsys provides C++ APIs for engineering simulation and optimization. It aims at complex systems driven by fluid, structure, multi-body dynamics and beyond. The multi-physics library is based on a unique and unified computational framework by which strong coupling has been achieved for all involved physics.
https://www.sphinxsys.org/
Apache License 2.0
259 stars 199 forks source link

Question about test_3d_taylor_bar in SPHinxsys #567

Closed jiajunzhang98 closed 1 week ago

jiajunzhang98 commented 2 weeks ago

Describe the bug I used your software SPHinxsys to simulate the Taylor bar test. But I had some trouble when I ran the test_3d_taylor_bar. When I run other examples, they all work fine. But when I run the test_3d_taylor_bar, the program will report an error as shown in the attachment. In fact, I just installed SPHinxsys following the YouTube tutorial and didn't make any changes to the program. Could you please help me point out where I made a mistake?

To Reproduce 1.Install SPHinxsys according to the tutorial on YouTube (https://www.youtube.com/watch?v=ipGDMLK9TYI) 2.When I run other examples, they all work fine. But when I run the test_3d_taylor_bar, the program will report an error as shown in the attachment. error_message

Desktop (please complete the following information):

Xiangyu-Hu commented 2 weeks ago

As this test case has 2 steps. 1 generate and relax particle to fit geometry. 2. compute the physical problem. You can use Ctest to carried out the 2 step sequentially. If you run directly, you need add command parameters to run the two steps sequentially. Please check the Cmake file for this case.