Results 1 to 5 of 5

Thread: Help with Blender fluids

  1. #1
    Super Member inkpen3d's Avatar
    Join Date
    Jun 2003
    Location
    amersham, Buckinghamshire, UK
    Posts
    776

    Help with Blender fluids

    I am using the Blender's fluid simulation capabilities, which are awesome btw, to animate a pill dropping into a conical flask half full of water. The flask, pill, and volume of water have been modelled in LW and then imported into Blender, where the fluid simulation is implemented. The resulting baked fluid meshes are imported into Layout using the Splotch Blender liquid importer.

    Animation-wise, the pill drops into the water okay simulating the splash and ripples. However, the sides of the volume of water are always rough instead of being the nice smooth surface one would expect it to be from contact with the interior of the flask. The attached images, showing just the volume of water, illustrate the problem.

    I have experimented with many different settings in Blender's fluid simulation (e.g. upping the bake resolution) to try and eliminate the rough sides of the water, but to no avail.

    Has anyone any suggestions as to how to overcome this problem?

    Thanks in advance,
    Peter
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	flask-fluid-surface.jpg 
Views:	193 
Size:	40.3 KB 
ID:	75419   Click image for larger version. 

Name:	flask-fluid-render.jpg 
Views:	225 
Size:	109.1 KB 
ID:	75420  
    iemedia solutions:
    Web Site
    YouTube Channel
    Scavengers SciFi novel:
    Amazon UK
    Amazon USA

  2. #2
    Electron wrangler jwiede's Avatar
    Join Date
    Aug 2007
    Location
    San Jose, CA
    Posts
    7,122
    That's very odd, it almost looks like the SPH particle volume is being adjusted for gravity, but not for the collision with the container. Are the "rough sides" of the volume shown actually projecting into the volume of the fluid container (e.g. do the two volumes now intersect)? Or is the fluid volume disjoint from the volume of the container itself?

    Also, is the bottom of the fluid volume rough or smooth?

    [edit]Is the container represented in the fluid simulation, or did you just limit the domain of the simulation such that it can't go beyond the volume of the "interior" of the container?

    BTW, you might want to attach the blender simulation files to the thread, if not too ridiculously huge, so that folks can look at how you set it up.
    Last edited by jwiede; 07-21-2009 at 05:10 AM.
    John W.
    LW2015.3UB/2019.1.5 on MacPro(12C/24T/10.13.6),64GB RAM, NV 980ti

  3. #3
    Super Member inkpen3d's Avatar
    Join Date
    Jun 2003
    Location
    amersham, Buckinghamshire, UK
    Posts
    776
    Hi John,

    Many thanks for taking the time to reply to my plea for help.

    The top and bottom surfaces of the Blender fluid mesh are smooth - it's only the sides that are rough!

    All the LW objects imported into Blender are completely contained with in a cubic fluid domain object (I seem to recall that the shape of the domain object is not important for the baking process - it only needs to be sized to just enclose all the objects in the fluid simulation).

    The fluid volume in the LW model fits within the walls of the flask with a small gap between the two surfaces. Note, I have also tried it with no gap between the surfaces. However, in both instances the resulting Blender fluid mesh has rough sides.

    Attached is a zip file containing the LW and Blender project files.

    Regards,
    Peter
    Attached Files Attached Files
    iemedia solutions:
    Web Site
    YouTube Channel
    Scavengers SciFi novel:
    Amazon UK
    Amazon USA

  4. #4
    Newbie Member
    Join Date
    May 2008
    Location
    berlin
    Posts
    1


    surface subdive -> 0

    surface smoothing -> 3-4


  5. #5
    Super Member inkpen3d's Avatar
    Join Date
    Jun 2003
    Location
    amersham, Buckinghamshire, UK
    Posts
    776
    Hi nudel,

    That is a mega-improvement - many thanks!

    Also, thanks to everyone else, such as John, who've spent time looking at this problem.

    Regards,
    Peter
    iemedia solutions:
    Web Site
    YouTube Channel
    Scavengers SciFi novel:
    Amazon UK
    Amazon USA

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •