I'm a newcomer to computer graphics, so please correct me if I make any mistakes. :)
I'm trying to model liquid with different viscosity for my new project. I noticed that from Python API end, the two parameters user can change are bulk modulus and gamma, but I found that in this file \src\particle.cpp, line 47 to 49 defined a class ViscoParticle with the following parameters
real visco_tau;
real visco_nu;
real visco_kappa;
Is this what I should be looking for if I want to change the viscosity of fluid? If so, how should I implement this in Taichi Python API? Or will that constrain me to use c++ API only?
Many thanks in advance for answering my questions! :))
Hi,
I'm a newcomer to computer graphics, so please correct me if I make any mistakes. :)
I'm trying to model liquid with different viscosity for my new project. I noticed that from Python API end, the two parameters user can change are bulk modulus and gamma, but I found that in this file
\src\particle.cpp
, line 47 to 49 defined aclass ViscoParticle
with the following parametersIs this what I should be looking for if I want to change the viscosity of fluid? If so, how should I implement this in Taichi Python API? Or will that constrain me to use c++ API only? Many thanks in advance for answering my questions! :))