Dealing with solid and transparent liquids is quite tricky and won't work well when using only the Grid Texture. Mapping the fog color for the refraction works only on the surface of the material and this won't look great. What you can do instead is to separate the different liquids by the color of the particles and then create two separate meshes. Here is a video of how this works - https://www.youtube.com/watch?v=jfE66K-vqYE
Announcement
Collapse
No announcement yet.
Creating particles inside the PhoenixFD liquid
Collapse
X
-
Thanks again,
I have not yet have the possibility to test your interesting solution with my animation. It's an answer for rendering issue and will be investigated later.
However I have a new issue. I also need to have a particle mattress in the surface of the simulated liquid. Once I got decent liquid simulation results I tried resimulation to create some foam to be used as an additional particle source. However resimulation crashes Max at the very first frame. I have searched for information on how to use resimulation to generate foam to an existing simulation. I think I got it right, Anyway, is there available any material or tutorials on how to do this correctly?
Comment
-
Hmm,
Can you try if the resimulation crashes with the latest Phoenix nightly build? If it still does, please send over the file and we will take a look. It shouldn't crash Max not matter what.
As for the workflow - check this out - https://docs.chaos.com/display/PHX4M...toresimulatingGeorgi Zhekov
Phoenix Product Manager
Chaos
Comment
-
Thanks,
I updated Phoenix to the latest nightly build, but it didn't change. Max had crashed when I came back to see what's going on. I don't know - should I disable resimulation and run whole simulation again with foam enabled? It will take something between week or two, which I might not have. I don't have permission to send any geometry.
Or should I change foam parameters in a way, it will generate foam next to nothing and then gradually increase the amount to see if it's there.
Comment
-
Oh, okay. Yes, using a small amount foam will be a good test to check if the foam amount makes it crash.
Generally using the resimulation will be faster if the liquid calculation is taking a big portion of the simulation time. If it is not, using the regular sim shouldn't be a lot slower compared to the resim.Last edited by georgi.zhekov; 09-12-2021, 07:16 AM.Georgi Zhekov
Phoenix Product Manager
Chaos
Comment
-
Uuuhhhhmmm, 21 days and 6 hours? The grid looks super low resolution and the particles are very few as well, so this sim should be almost realtime. How many frames will you simulate? Also, are you sure you can't exclude some scene nodes from the interaction list? Could it be that tyFlow is slowing it down so much?Svetlin Nikolov, Ex Phoenix team lead
Comment
-
Actually, to keep things simple, I have created several scenes for this animation. I have the render scene, where's the renderable CAD-model, Presimulated PhoenixFD grid anf tyflow cache object. Then I have PhoenixFD scene, where is my simulation dummy geometry, that I have modeler mostly from scratch for simulation only. Then I have tyFlow scene, where is the same Presimulated grid and some dummy collision geometry, I have created. So the PhoenixFD simulation scene don't have any tyFlow things at all. Once I have decent PhoenixFD simulation, I create tyFlow particle cache in separate scene and then copy both (tyFlow and PhoenixFD) caches to file server where all of my bacburner rendering servers will find those during render time. To keep things simple, I have created several separate PhoenixFD scenes for each individual phenomena I want to show in my animation.
This way the liquid and and particles are always in sync. Then I have one dedicated workstation as a framestore and Premiere video editing so I can at any time render the animation to my video streaming account with the latest changes in animation, graphic elements and sound.
Edit: The simulation has total of 2000 frames.Last edited by JuhaHo; 10-12-2021, 07:04 AM.
Comment
-
Hmm, can you paste us the Cache File content info from your simulation rollout for one of the large frames?Last edited by georgi.zhekov; 13-12-2021, 02:00 AM.Georgi Zhekov
Phoenix Product Manager
Chaos
Comment
-
I don't have those frames anymore. I reduced the foam amount to 0,1 and increased the Birth Threshold to 100. Now it's estimating the simulation time to be something like three days. The Aur file size seems to be now only 50 MB bigger/frame than earlier.
Comment
Comment