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
297 stars 222 forks source link

RelaxationStepLevelSetCorrectionInner doesn't work for 3d multi-resolution #663

Open WeiyiVirtonomy opened 4 days ago

WeiyiVirtonomy commented 4 days ago

The relaxation using RelaxationStepLevelSetCorrectionInner produces weird particle distribution

Lattice: Screenshot 2024-09-20 130113

After relaxation: Screenshot 2024-09-20 130120

Gaps: Screenshot 2024-09-20 130126

RelaxationStepInner doesn't have this problem:

image

There might be a bug in the 3d level-set shape of this beam

Xiangyu-Hu commented 4 days ago

@WeiyiVirtonomy yes. It seems like. @Nafug22 could you have check on the implementation? Thanks.

Xiangyu-Hu commented 33 minutes ago

@WeiyiVirtonomy Could you make small test case for multi-resolution relaxation? Thanks,