# Project Chrono libraries linked to GPUSPH

**URL:** <https://gpusph.discourse.group/t/project-chrono-libraries-linked-to-gpusph/49>\
**Category:** Applications\
**Created:** [August 27, 2019, 3:59pm UTC](https://gpusph.discourse.group/t/project-chrono-libraries-linked-to-gpusph/49 "2019-08-27T15:59:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sph\_tudelft\_nl](https://yyz2.discourse-cdn.com/free1/user_avatar/gpusph.discourse.group/sph_tudelft_nl/32/19_2.png) [@sph\_tudelft\_nl](https://gpusph.discourse.group/u/sph_tudelft_nl)\
**Post date:** [August 27, 2019, 3:59pm UTC](https://gpusph.discourse.group/t/project-chrono-libraries-linked-to-gpusph/49/1 "2019-08-27T15:59:16Z")

</div>

Dear GPUSPH

If understood correctly, the Project Chrono (PCh) is a collection of several libraries that tackle specific situations in body dynamics. Accordingly, the coupling of a SPH solvers with PCh means, concretely, the individual coupling with such component libraries.

From the list in the Feature pages [https://www.gpusph.org/features/](https://www.gpusph.org/features/) I gather the following _functionalities_ have been implemented:

```
Floating objects
Objects with joints
Moving objects (imposed motion)
Collision detection
Planes

```

If the question makes sense, would it be possible to know a more specific list of _PCh libraries_ that have been linked with GPUSH? Are these native libraries connected to GPUSPH with open-source wrappers?

---

<div class="post-metadata">

**Author:** ![vito.zago](https://yyz2.discourse-cdn.com/free1/user_avatar/gpusph.discourse.group/vito.zago/32/30_2.png) [@vito.zago](https://gpusph.discourse.group/u/vito.zago)\
**Post date:** [August 28, 2019, 1:45pm UTC](https://gpusph.discourse.group/t/project-chrono-libraries-linked-to-gpusph/49/2 "2019-08-28T13:45:51Z")

</div>

Hello @sph_tudelft_nl,

GPUSPH 5.0 uses Project Chrono to solve for the motion rigid bodies and their reciprocal interaction, whereas GPUSPH itself takes care of the coupled interaction of the rigid bodies with the fluid. The Project Chrono libraries that we use in GPUSPH are mainly those defining ChBody and ChLink, to handle floating bodies, optional joints and body collisions (for the latter, user callbacks can be defined in GPUSPH to interact with Chrono as preferred). GPUSPH interacts with Project Chrono without using any wrappers, and the underlying Chrono objects are available for manipulation by the user.

We are also currently working on the development within GPUSPH of a coupled SPH-FEM model that will allow simulating deformable solid bodies and their interaction with fluids. The Finite Elements analysis is executed by Project Chrono using the chrono\_fea libraries.

Thank you for your interest in GPUSPH

---

<div class="post-metadata">

**Author:** ![James](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@James](https://gpusph.discourse.group/u/James)\
**Post date:** [September 5, 2019, 6:09am UTC](https://gpusph.discourse.group/t/project-chrono-libraries-linked-to-gpusph/49/3 "2019-09-05T06:09:17Z")

</div>

Hi, can the current version of GPUSPH support mooring line simulations? When the deformable bodies can be used? Do you have any estimate now?

---

<div class="post-metadata">

**Author:** ![giuseppe.bilotta](https://yyz2.discourse-cdn.com/free1/user_avatar/gpusph.discourse.group/giuseppe.bilotta/32/72_2.png) [@giuseppe.bilotta](https://gpusph.discourse.group/u/giuseppe.bilotta)\
**Post date:** [September 10, 2019, 3:03pm UTC](https://gpusph.discourse.group/t/project-chrono-libraries-linked-to-gpusph/49/4 "2019-09-10T15:03:03Z")

</div>

Hello @James, with the current version of GPUSPH mooring lines can be implemented semi-analytically. We’re currently working on adding an example on how to do it to the repository. For an approach based on deformable bodies we first have to finalize the integration with the Chrono/FEA module. I’m afraid we do not have an estimate on when these will be completed.
