Hi,
I did this test starting from the chocolate cookie sample scene. I used vray 3.0 new skin shader for the chocolate.
I would like to get rid of the ripples forming at the top. I guess they are due to the voxel grid. Should I increase resolution or just play with the render settings. Or maybe I could animated a clipping gizmo to place it at the top but it may be difficult to have a seamless cut and a perfectly smooth surface.
could you share the scene?
we will try to find a solution, but will be better if you make few experiments changing the following parameters:
- non newtonian
- sharpness
- advection method
- surface tension
advection method: I tried the slow moving advection method, but it was giving a too much different sim. The liquid was getting spiky. I was using
sharpness: I had “strong surface mode” checked, so sharpness is not used.
non newtonian: I am simulating with a slight increase of the non newtonian parameter (1.8 to 2.2) I am waiting…
surface tension: I will try after with the surface tension (I try to change one parameter at a time at first).
In the meantime I have a question: would it be possible to mesh the liquid with frost (I got it) and then apply a relax on the mesh (with soft volume selection). If yes that would be the fastest fix I think.
well, i forgot to mention to exclude slow moving method, only classic and FT
frost is a particle mesher, the liquid is grid based, so it wouldn’t work.
i remember that have observed this issue but can’t remember in what situation.
Increasing non newtonian gives a liquid less visquous and the ripples happened a little later but still there. Increasing surface tension give a liquid with bigger drop and it result in bigger ripples too. Almost same ripples but with a bigger scale.
I also tried to fix the ripples by using the phoenix mesh output and using a gizmo cutter and it worked well on a single frame but now i have to try it by animating the gizmo to see if I can get a perfect animation that way. I also tried with a volume selection and a relax but for some reason the relax has a hard time making the ripple disapear completely.
But is Hybrido also grid based? Why can it use frost and not phoenix?
i just looked into your scene
i think your scene is based on the old chocolate sample, the viscosity is 0.97
so, my suggestion is to start from the new chocolate sample, that must be included in the current nightlies.
the viscosity in the new sample is 0.9 , because some a bug that decreases the viscosity effect was fixed.
the non newtonian is 0.1, if the scene is not installed for some reason
I started from the new scene. But i increased non newtonian to 1.8 at some point to get the result in the video v001 posted at the first post here.
FT is very strange. The source keeps emiting in places were it was not anymore. And too many drops are created.
Non newtonian at 1.8 gives me the amount of spilling that I want at the end (around the cookie) If I increase it , the spill get larger. So I guess if I lower it the spill will be shorter.
I will try with non newtonian 1.8 and zero surface tension.
I am curious to try with same settings as my v001 (visc: 0.97; non N: 0.18; s.f.: 1.0) but with increased steps per frame let’s say 25 instead of 8.
well, in the original scene there are no ripples. at which point you got them?
let start from the point which part of the sample scene result you would change?
What I wanted to change in the sample scene was this:
1- the chocolate hit the floor instead of passing through it
2- liquid a bit thicker.
2.5- I also changed the gravity from 1 to 1.1
3- the source has a small back and forth motion to give the impression a human hand is holding the source.
4- I did not do yet in my v001 but I want the source to stop emiting a bit earlier. I tried animating discharge, but it did not work. It is working by animating the source out the box.
to change that I added the floor, animated the source and made it a little bigger. Increased viscosity from 0.9 to 0.97, increased non newtonian from 0.1 to 0.18 and then came the rilpples.
I will try to start back from the sample scene and see where the ripples got introduced. Maybe I should keep viscosity at 0.9 and lower non newtonian instead.
(p.s.: increasing steps to 25 from 8 gives the exact same result…)
I took the sample scene and just animated the source so it got out around frame 230 and i simulated until 371. we can see some grid artifact but not really going into ripple. It’s easy to get rid of them by just rendering with a mesh and applying a relax.
I have still to try with viscosity at 0.9 and lower non newtonian.
I will have to redo the test with more sample (25 instead of 8) cause my first test in that regard was invalid (I forgot that I changed the input for rendering on the farm… so the simulation was calculating but it was still showing me the old one from the network!!!)
I did not remember :mrgreen:, but I scale the cookie by 150% to get the scale I wanted. By scaling it , each polygon became bigger in regard to the cel size. I now added a subdivision level to the meshsmooth and it seems to create far less ripple. I will be able to get my same v001 sim but be able to remove the ripple with the relax. I’ll post the result as soon as I get it!
ok,
the floor is nothing special, just add it
about the scale - the scene have non realistic scale. we always say to the users “use realistic scale”, and now we violate our own rule
why? the simulation of small scaled and big scaled scenes is not equal by performance. the small scaled scenes simulate slower, because the higher dynamics that they usually have. this scene have no high dynamics, but nevertheless it will simulate very slow if it is set in realistic scale, because it will require higher viscosity to achieve the same look. in fact, small scale is equal to higher gravity (measured in simulator units) and in real scale you will have higher gravity and higher viscosity to oppose it. this is a waste of performance, so the better solution is just to make unrealistic scale (or use gravity multiplier) in order to save calculations. now, how to recognize the cases when we can simulate in non realistic scale?
the rule is - you shouldn’t have free falling liquid or good visible waves. the free falling liquid and the waves betray the real scale and the observer feels that something is wrong.
and now about your increase of the viscosity and non newtonian parameter.
actually for thicker chocolate you need to decrease the non newtonian parameter. the viscosity must be increased but not as high. value 1 of the viscosity means infinite viscosity. it would take infinite time to calculate, so we have a limitation. viscosity 0.9 is about three times higher than viscosity 0.7. why? the first one needs 0.1 to reach 1, the second needs 0.03 to reach 1. 0.1 is about three times bigger than 0.03
what i observe in your simulation - despite the three times higher viscosity (that takes three times more time to calculate), you actually have lack of viscosity, you lose the coiling , that is present in the original sample. this is because the higher non newtonian cancels the viscosity efforts.
By increasing the meshsmooth level by one iteration on the colliding cookie I could finally get rid of the big ripples. But I can still see those grid artifacts that were also in the original sample scene: here you can see my render and the almost original sample scene both using implicit surface (I only activated the floor collision on the sample scene):
To get rid of those grid artifact, I use the mesh instead of the implicit surface so I can add modifier on top. I use a vol. select and a relax to relax only the top part. The problem now is that I the perfect highlights that I had in tthe implicit surface became jaggy. I can’t remove that jaggyness with a meshsmooth or a relax… it’s not so bad on a frame, but in the animation it’s even worse.
By changing the isosurface level from 0.5 to 0.25, the jaggynes is reduced in some parts but appears in other parts…
the options are:
-makes 2 render (one with implicit and one with mesh) and try to fix that in comp
-find a way to add modifier on implicit surface (is that possible?)
-generate particles on the geo, exctract prt from that and send it to frost. I still have to figure out how to do that…
well, you are now at point which i have never reached. what about to increase a bit the surface level and to use push or turbosmooth modifier? the increased surface level will make the chocolate thinner, but the push modifier will return its original size
I tried relax push turbosmooth and different isosurface level, everything on the mesh and when animated it looks really ugly. For now I will do 2 renders just to get a perfect result fast (or see if i really can that way). But I will then try to use stoke and frost to generate particles from the volume of the mesh and try to mesh it with frost.
From that I see that phoenixFD really needs a way to tweak the isosurface with modifiers or a way to be meshed rapidly with frost.
there is a technique that i forgot to mention, it was used in the previous chocolate sample (of 2.1) but in the last sample is not used because it looks smooth enough. i speak about the smoothing feature placed in the input panel. this feature modifies the input data before it is passed for rendering
see the attached image, there is a big difference