01-03-2023, 02:00 PM (This post was last modified: 01-03-2023, 02:03 PM by JuhaHo.)
Has anyone ever tried to simulate cyclone physics. I'm getting some results, but I have quite a few issues too. The liquid infeed is on the lower and the outfeed is on top of the cyclone. The liquid contains some stones, which should drop at the bottom. The particles leave the spiral path too early and drop when they should still be inside the cyclone. The particles are driven by liquid, so maybe it's a PhoenixFD problem.
I have had this issue with other animations too. I wonder, what I should do to keep the particles inside the liquid. As far as I know, the force affecting to particles are generated by the Phoenid liquid.
Can't you simply create helix, turn on "enable in viewport", so you get it as mesh object, animate helix spinning, then use Tyflow surface force with helix to attract particles to it?
(or maybe even path find target, instead of surface force)
The only force apart from gravity is Phoenix FD. The Helix path controls Phoenix and the particles are born at the same place where the Phoenix Emitter is. The path follow in tyFlow has been deactivated. The liquid is picking up the speed when going down and starts rising in the middle of the cyclone. The particles being heavy continue down eventually ending to particle trap under the cyclone.
It's hard to say what the cause is from just single screenshots...or even what the problem is. Are you trying to get the particles to follow the helix more closely? Or be more spread out while still following the overall path of the helix? Is this meant to be a realistic sim or more illustrative?
(01-22-2023, 01:20 AM)tyFlow Wrote: It's hard to say what the cause is from just single screenshots...or even what the problem is. Are you trying to get the particles to follow the helix more closely? Or be more spread out while still following the overall path of the helix? Is this meant to be a realistic sim or more illustrative?
Thanks,
On the contrary, the particles are supposed the follow the liquid all the way down. The helix is for Phoenix FD path force. The problem is that particles are following the Helix path force while they should be evenly distributed in liquid. Of course if Phoenix behaved like in real physics, we would not need additional path force. I have seen advanced simulation results made with industrial simulators, but I don't know if the vectors can be used here. Those results are quite different to Phoenix results.
I'm trying to get some level of realism to the fluid/particle behavior, how ever in rendering realism is not needed, because we want to show what is happening inside the cyclone.
If you want particles to follow a fluid sim, the Fluid Force is the operator you want to start with.
Clear all your other PhysX/Speed/etc operators out, and start with Fluid Force....then work your way forward with collisions and whatever else you need.
I thought PhysX fluid is needed for this kind of two-way simulation. Anyway, I modified the geometry to decrease the counter pressure at the bottom. Now I hope, most of the fluid will go up in the middle while the particles continue fall down. The conical shape in the middle is a collision geometry for shapes only, so they wouldn't follow the fluid upwards.
01-22-2023, 06:14 PM (This post was last modified: 01-22-2023, 06:14 PM by tyFlow.)
For fine-tuned animation like this - especially when you're having trouble getting the very basic motion working - you're not going to want to go with a 2-way solution, which is going to be difficult to control. If you really need to see interactions between your fluid and the particles, I would suggest doing a starting fluid simulation, then advecting particles through it with the Fluid Force operator, then doing a secondary fluid simulation using the particles as colliders. The particles will be moving with the overall (primary) fluid giving the illusion of 2-way interactions, even though interactions with the secondary fluid sim will only be 1-way.
I have now finished first tests by using the fluid force instead of PhysX fluid. I also replaced PhysX collision with collision. This caused a new issue; small portion of particles follow the liquid through one collider. This didn't happen with PhysX collision.
Can Fluid force and PhysX collision be used simultaneously?
I have made quite a few simulation runs recently. There's one thing that ruins things. No matter what I do the particles are escaping the container. They follow the liquid, but outside the container. Is there anything I should know. I want the particles to stay inside the fluid which is inside the container.
So, how should I tell the particles, that they should stay inside the container, not fly around? I know how and where the particles should be traveling, but I don't know how to tell that to tyFlow.
02-12-2023, 07:05 PM (This post was last modified: 02-12-2023, 07:05 PM by tyFlow.)
You can prevent particles from leaving the container with several operators, depending on your needs. For example, you can use a Collision operator to have the particles bounce off the container. You could use a Surface Test to test for particles that leave the container and delete them. Or you could use a Push In/Out operator to just push any outside particles back in. Make sure the timing of whichever operator you choose is set to continuous.
I'm now using Collosion objects and the situation is that not a single particle of tens of thousands finds it's way to the final destination. Would it be better to use PhysX particles&collision?
Earlier when using PFlow&Orbaz tools, I baked the particles into individual meshes to separate scene file. Then I opened the scene and deleted the particles manually there. This produced very large files, that made the scenes non renderable due to backburner timeouts. Of course I would now be able to read the particles into tyCache.
Here's a screenshot of my system. I hope this tells something. It seems PhysX collision is much better than Collision. There's also timing, where I want the particles stop following the liquid.
03-03-2023, 08:58 AM (This post was last modified: 03-03-2023, 09:01 AM by JuhaHo.)
I still don't get it. Any ideas what I'm doing wrong here.
1. The particles go trough bottom valve, while the liquid stays there.
2. Particles inside the cyclone are in tight chain around the Phoenix path force splines.