openworm / sibernetic

This is a C++/OpenCL implementation of the PCISPH algorithm supplemented with a set of biomechanics related features applied to C. elegans locomotion
Other
361 stars 105 forks source link

For new surface tension force calculation method conservation energy law doesn't work. #83

Closed skhayrulin closed 9 years ago

skhayrulin commented 9 years ago

In viscousFrictionTest branch we implement new method of calculation surface tension force. Add two addition kernels pcisph_computeNormales and pcisph_calcSurfaceTension. When turn off all external forces you can see that body is moving so it means that conservation method doesn't work. Now gravity is turned off you can turn it on back just uncomment this line

to run testing configuration you need run Sibernetic by following command

./Release/Sibernetic -f v_test_liquid 
or
./Release/Sibernetic -f v_test_elastic