0
$\begingroup$

I would like to create a small but accurate fluid simulation that I could then repeat in a loop for additional frames. Consider a dripping faucet where for a given period the identical drips continue, until perhaps it gets turned off of flows at some higher rate.

enter image description here

enter image description here

enter image description here

I've considered perhaps creating an external script that could copy external cache files and change key-frame portion of filenames for such a loop. Would that work... if I then increase the simulation end-frame so these files are used in rendering? Or is there some internal indicator of what external cache files are valid and these would be ignored?

Is this when I should purchase Flip Fluids add-on or some other that includes such looping features?

Other suggestions welcome in order to save large amounts of simulation time.

Attached is an example file that has a short (22ish) frame simulation of a drip that I'd like to repeat over and over for hundreds of frames without the simulation overhead of simulating more that these few frames.

While this example simulates in a short time, I have a more detailed simulation with Diffusion and High Visc Solver settings that takes quite a while over some 80 frames; therefore my motivation to find a low-cost, imperfect repeat-mode solution.

I am aware of some solutions for cloth using an MDD export and Mesh Cache modifier, but of course cloth generally deals with a single closed (manifold?) mesh.

$\endgroup$
3
  • 2
    $\begingroup$ To help the loop be seamless, I might suggest duplicating the simulation, applying one copy at the first frame, hiding it, and have the other copy cast to it somehow with increasing influence over the past few frames. Try a shrink wrap modifier after the simulation modifier. As for changing cash file names to “stretch” the simulation, I’ve had scripts before that reversed the cached frames successfully just by changing the names, so it’s worth a try. $\endgroup$ Commented Jan 1 at 23:28
  • $\begingroup$ @TheLabCat -- thanks for your input. Just to understand clearly, what do you mean to "duplicating the simulation"? Is that with an external duplication of the files? Or some modifier within the blend file? $\endgroup$ Commented Jan 2 at 17:05
  • 1
    $\begingroup$ I meant duplicating the domain. The goal is to have a solid version of the first frame to cast to. $\endgroup$ Commented Jan 2 at 18:31

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.