# Best way to render smooth liquids using Phoenix ver 2.25.01 ?

**URL:** <https://forums.chaos.com/t/best-way-to-render-smooth-liquids-using-phoenix-ver-2-25-01/57219>\
**Category:** Issues\
**Tags:** liquid, particles, phoenix, flip, smooth\
**Created:** [February 18, 2016, 3:29pm UTC](https://forums.chaos.com/t/best-way-to-render-smooth-liquids-using-phoenix-ver-2-25-01/57219 "2016-02-18T15:29:39Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThomasHorsley](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/thomashorsley/32/10103_2.png) [@ThomasHorsley](https://forums.chaos.com/u/ThomasHorsley)\
**Post date:** [February 18, 2016, 3:29pm UTC](https://forums.chaos.com/t/best-way-to-render-smooth-liquids-using-phoenix-ver-2-25-01/57219/1 "2016-02-18T15:29:39Z")

</div>

Hi All,

I’m back using Phoenix now after a few months so am trying to get used to the new workflow with Nightly build version 2.25.01

Using the new PhoenixFDLiquid001 simulator (rather than enabling ‘liquids’ in the official build) with Liquid source PHXSource001.

My first question --- is the liquid specific simulator based on the FLIP solver? - I can only see FLIP in the Advection method options in the new ‘FireSmokeSim’ PhoenixFDFire001

The reason for my question is that I used to render liquid particles (generated from the standard / universal grid simulator) by using PHXFoam, with the liquid particles set to ‘splashes’ mode. I found that it gave a smoother result than rendering the grid cells using the ‘mesh’ mode.

With the new setup in ver 2.25.01 what is the best way in practice to acheive a smooth surface on the liquid surface? (I am currently rendering the PhoenixFDLiquid001 in Mesh mode using particles to smooth the result but it’s a but ‘wobbly’)

Thanks for any help!

Thomas

---

<div class="post-metadata">

**Author:** ![Ivaylo\_Katev](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/ivaylo_katev/32/3695_2.png) [@Ivaylo\_Katev](https://forums.chaos.com/u/Ivaylo_Katev)\
**Post date:** [February 21, 2016, 9:21am UTC](https://forums.chaos.com/t/best-way-to-render-smooth-liquids-using-phoenix-ver-2-25-01/57219/2 "2016-02-21T09:21:30Z")

</div>

the liquid simulator is based only on flip solver, the reason that you can see flip in the fire simulator is because we used initially one simulator object for all kind of simulations (liquid and fire), andwe had to add a temporary way to access the flip solver, the most logical one is to add it as advection method, because technically it is exactly this.  
the usual way uo render liquid is in mesh mode, sometimes splash mode particle shader also can be applied, but this is rather an exception (for example [this](https://vimeo.com/129956368)veido)  
the mash mode has tools for additional smooth, but first you must be sure that the simulation itself is smooth enough. the way you using, mesh + particle based smooth is the best one. can you show an image and to share more details what are trying to do?

---

<div class="post-metadata">

**Author:** ![ThomasHorsley](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/thomashorsley/32/10103_2.png) [@ThomasHorsley](https://forums.chaos.com/u/ThomasHorsley)\
**Post date:** [February 22, 2016, 4:08pm UTC](https://forums.chaos.com/t/best-way-to-render-smooth-liquids-using-phoenix-ver-2-25-01/57219/3 "2016-02-22T16:08:35Z")

</div>

Hi Ivaylo Katev,

Thanks for your reply and explanations.  
Here are some images showing what I’m trying to do and the Phoenix settings being used.  
Basically I am trying to create an ‘Oil Pour’ sim showing engine oil pouring out of a bottle.  
The scene units are in cm, models are at correct physical size but I am using a ‘scene scale’ in dynamics of 10 to try and make the oilpour look a bit slower/smoother.  
I did try playing with the Timescale parameter but it didn’t seem to help. (Sorry can’t remember what happened but I reset that to 1.0)

Key parameters I have being playing with are - Viscosity, Non-newtoniam, Surface tension.

I also tried icreasing the number of cells but seemed to get more problems so returned to this fairly low-res solution.

Do you have any advice on how I can improve this? - ie) make a nice smooth sim without the bumps / wobbles?  
I am particularly keen on improving the realism of the shape of the oil at the edge of the ‘spout’ - as this is what the camera is focusing on.

Thanks again,  
Thomas

 ![031_oilpour_Ver017_PHX_settings.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/2/3/237f834c3afd9daba1465c84bf9de3b9b5d78ff1.jpeg)  
 ![frame_095.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/1/d/1d6fc9835b70cb4ecdc0692877967d7f8b64daab.jpeg)  
 ![frame_164.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/e/5/e59a26965f38a215dd3d47a7bc9ec58ef87383ec.jpeg)  
 ![frame_203.jpg](https://europe1.discourse-cdn.com/chaosprd/original/2X/6/6e473ac16ee4c90fdd1841682123dfd431587d5d.jpeg)  
 ![frame_328.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/9/9/99cdf997c4039b34089511afb657a9113e368141.jpeg)

---

<div class="post-metadata">

**Author:** ![ThomasHorsley](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/thomashorsley/32/10103_2.png) [@ThomasHorsley](https://forums.chaos.com/u/ThomasHorsley)\
**Post date:** [February 22, 2016, 4:10pm UTC](https://forums.chaos.com/t/best-way-to-render-smooth-liquids-using-phoenix-ver-2-25-01/57219/4 "2016-02-22T16:10:58Z")

</div>

Phoenix settings again as that image looks hard to read :

 ![031_oilpour_Ver017_PHX_settings_crop.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/f/1/f141ecfdc6d316ca6f9a419109717a278ee2e8d9.jpeg)

---

<div class="post-metadata">

**Author:** ![Ivaylo\_Katev](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/ivaylo_katev/32/3695_2.png) [@Ivaylo\_Katev](https://forums.chaos.com/u/Ivaylo_Katev)\
**Post date:** [February 22, 2016, 6:27pm UTC](https://forums.chaos.com/t/best-way-to-render-smooth-liquids-using-phoenix-ver-2-25-01/57219/5 "2016-02-22T18:27:32Z")

</div>

what kind of bumps you are trying to avoid, the mesh looks smooth for me

---

<div class="post-metadata">

**Author:** ![ThomasHorsley](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/thomashorsley/32/10103_2.png) [@ThomasHorsley](https://forums.chaos.com/u/ThomasHorsley)\
**Post date:** [February 23, 2016, 3:30pm UTC](https://forums.chaos.com/t/best-way-to-render-smooth-liquids-using-phoenix-ver-2-25-01/57219/6 "2016-02-23T15:30:16Z")

</div>

See images - the ‘waves’ and the spikes (this is not the only one).

I guess these issues are physically correct in terms of the maths going on… but I’m just wondering if I’m going about this the right way?..adjusting the correct parameters in order to get the right look.  
My aim is to produce a smooth oily liquid that ‘looks’ like oil pouring.  
At real scale the liquid seemed to pour too fast so I increased the scene scale to 10 in the hope it would calm things down a bit.

Do you think the waves on the top liquid surface are due to the the large scene scale?

Are the spikes most likely caused by a wrong surface tension or viscosity?

Do you have any guidance on the relationship between real materials viscosity and the viscosity?  
Any pointers much appreciated.

 ![frame_203_text.jpg](https://europe1.discourse-cdn.com/chaosprd/original/2X/a/ac0032a71623894d596517bf0758a398847c8624.jpeg)  
 ![frame_328_text.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/8/d/8d33469baa115862e05fbc319cb185265fabe01a.jpeg)

---

<div class="post-metadata">

**Author:** ![Ivaylo\_Katev](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/ivaylo_katev/32/3695_2.png) [@Ivaylo\_Katev](https://forums.chaos.com/u/Ivaylo_Katev)\
**Post date:** [February 23, 2016, 4:54pm UTC](https://forums.chaos.com/t/best-way-to-render-smooth-liquids-using-phoenix-ver-2-25-01/57219/7 "2016-02-23T16:54:46Z")

</div>

now it’s clear what you mean 🙂  
about the waves -it may be simulation related, if you use initial fill up with a shape geometry object, the particles are created ordered, it is good when the liquid will be disturbed suddenly (splash or fast movement), but is bad for slow changes, it’s visible how the order disappears. you can shake the object and wait until the order is destroyed, and then start the animation.  
about the leak - it’s almost sure that is geometry related. i can’t see the geometry, how can we see it together with the liquid?  
about the spike - have no idea, it may be also geometry related. perhaps is a good idea to see the movement of the particles in this spike

---

<div class="post-metadata">

**Author:** ![ThomasHorsley](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/thomashorsley/32/10103_2.png) [@ThomasHorsley](https://forums.chaos.com/u/ThomasHorsley)\
**Post date:** [February 25, 2016, 10:41am UTC](https://forums.chaos.com/t/best-way-to-render-smooth-liquids-using-phoenix-ver-2-25-01/57219/8 "2016-02-25T10:41:12Z")

</div>

Thanks again for your help Ivaylo.

FYI the initial fill up is created by dropping a large ‘box’ of fluid inside of the pouring geometry and allowing it to almost settle before animating the pour geometry - slow, gradual rotation to one side.  
The pour geometry is shown in the first set of images I posted - shown in blue wireframe. (A simple editable poly with turbosmooth - but no thickness so maybe that’s the cause of the leak.)  
I hadn’t had much trouble recently with leaks when using the FLIP solver so hadn’t bothered here with thickness but will try and see if that helps.

I get the feeling I still have some playing with parameters to do in order to learn better how they all interact.  
Will run some tests in the background whilst I work on other shots.

Here is a render :

 ![031_shot_04_oilpour_AND_LID_0146.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/e/6/e6b33bb7ebeca8fc4f9eb72279e90a8bbc533493.jpeg)
