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

Shell test for singularity in shell model #240

Closed DongWuTUM closed 11 months ago

Xiangyu-Hu commented 1 year ago

@DongWuTUM we probably update this draft pull request to shown at least 2D is working.

DongWuTUM commented 1 year ago

@SchrodingersAlphaGo @BenceVirtonomy @FabienPean-Virtonomy @Xiangyu-Hu

https://github.com/Xiangyu-Hu/SPHinXsys/assets/100197018/b93fb80d-074b-46fc-8949-1ff80a7fdf41

Xiangyu-Hu commented 1 year ago

Great!

BenceVirtonomy commented 1 year ago

Very cool!

DongWuTUM commented 1 year ago

@BenceVirtonomy Hi Bence, thank you for sharing the petal deformation case! The new simulation result is shown in the video below. Could you please elaborate on how you obtain the initial particle positions and normals?

https://github.com/Xiangyu-Hu/SPHinXsys/assets/100197018/82b9af79-849a-4352-95f8-b7b7970bb8c1

BenceVirtonomy commented 12 months ago

Awesome:) It's from our CVT particle generator.

DongWuTUM commented 12 months ago

Awesome:) It's from our CVT particle generator.

Will it be open source?

BenceVirtonomy commented 12 months ago

I think we need a discussion there, because it would involve adding more 3rd party dependencies.

Xiangyu-Hu commented 12 months ago

What is that 3rd party lib? Actually we are considering add OCCT already for more generalized geometric modeling.

DongWuTUM commented 12 months ago

@SchrodingersAlphaGo @BenceVirtonomy @FabienPean-Virtonomy @Xiangyu-Hu

I found a problem in the shell dynamic case.

2D plate with low resoluton:

https://github.com/Xiangyu-Hu/SPHinXsys/assets/100197018/e144c2a9-a5a7-47b1-84ec-9d1fc63c49a2

2D plate with high resoluton:

https://github.com/Xiangyu-Hu/SPHinXsys/assets/100197018/1f026a92-b663-4092-b306-44b8f616bee0

3D plate with high resoluton:

https://github.com/Xiangyu-Hu/SPHinXsys/assets/100197018/a2519a4e-5d20-4214-a176-586604b5e557

Xiangyu-Hu commented 12 months ago

@DongWuTUM you need pull the master so that the conflict will disappear.

BenceVirtonomy commented 11 months ago

OCCT

Geogram. Please discuss with Fabien before deciding on adding major dependencies, he has a lot of experience here. @FabienPean-Virtonomy

DongWuTUM commented 11 months ago

Updates:

FabienPean-Virtonomy commented 11 months ago

OCCT looks like a huge beast, if you need only a small part of it, I would prefer you find a smaller alternative. Besides, it is LGPL, so it must necessarily be built as a shared library to not propagate its license to consumers of the lib. In any case, it must be an optional dependency.