jenzou/Fluid-Simulator

Vorticity updated with corrective force

Closed this issue · 1 comments

p.vorticity_W = p.vorticity_N.cross(p.vorticity_W) * VORTICITY_EPSILON;

Why is the vorticity updated with the corrective force? Also, after the corrective force is calculated, shouldn't it be applied to the velocity?

zzw96 commented

Why is the vorticity updated with the corrective force?
I tried adding vorticity_F as a new field in Particle.h, was failing. So just placing the value in W as a placeholder.

Also, after the corrective force is calculated, shouldn't it be applied to the velocity?
Took out the part which applies it cause it wasn't working, this way the demo would run sans vorticity.