Skip to content

Modeling fluid with different viscosity using Taichi_mpm #53

@ytimber

Description

@ytimber

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 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! :))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions