---
title: "Liquid Resimulation"
canonical: "https://documentation.chaos.com/space/PHX4MAYA/125701768/Liquid%20Resimulation"
format: markdown
---
This page provides information on the Resimulation rollout.

## **Overview**

---

Resimulation is a process that uses existing cache files (with exported [Grid Velocity](https://documentation.chaos.com/space/PHX4MAYA/125899086/Liquid+Output#Output-Grid-Channels)) as a base for a new simulation pass. It works differently for Fire/Smoke and Liquid simulations.

> Macro (ui-text-box)
> 
> You can resimulate over the already resimulated cache files. By default Phoenix reads from a cache sequence and creates another resimulated cache sequence. But you can also use the same path as Resimulation Input and Ouput and overwrite the simulated cache sequence each time you run a new resimulation. For example, this way you can keep increasing the resolution every time you run a new resimulation, and repeat this many times.

> Macro (ui-text-box)
> 
> <span style="color: #003366">Due to the difference between the compression algorithms used by Phoenix's AUR format and the OpenVDB format, the resimulation process may produce a different result when using exported VDB caches as opposed to Aura caches if the Storage Quality option in the</span><span style="color: #6a4920"> </span><span style="color: #6a4920">[Liquid Output](https://docs-chaos.atlassian.net/wiki/spaces/PHX4MAYA/pages/125899086)</span><span style="color: #6a4920"> i</span><span style="color: #003366">s not the maximum 20 (i.e. is not Lossless).</span>

<span style="color: #666666">Select </span><span style="color: #666666">**Resimulation**</span><span style="color: #666666"> → </span><span style="color: #666666">**Enable Particle Resimulation**</span><span style="color: #666666"> and select the respective particle system below (i.e. Splash and Mist, Foam or Wetting).</span>

![image](media://2ad50ef4-221f-4c28-a1af-dd1e2b3299a1)

Modify the particle system's settings - e.g. for Foam, go to the [Liquid Foam](https://docs-chaos.atlassian.net/wiki/spaces/PHX4MAYA/pages/125964038) rollout and tweak the parameters there.

![image](media://26b3e777-dc12-4d79-b1b9-b9a598636e03)

Hit **Start** to run the simulation again - repeat this process until you are happy with the result.

![image](media://00e1f5de-8f38-4119-afa4-7643ecd06bdc)

<span style="color: #666666">Select </span><span style="color: #666666">**Resimulation**</span><span style="color: #666666"> → </span><span style="color: #666666">**Enable Particle Resimulation**</span><span style="color: #666666"> and select the respective particle system below (i.e. Splash and Mist, Foam or Wetting).</span>

![image](media://2ad50ef4-221f-4c28-a1af-dd1e2b3299a1)

Make sure the particle system's simulation is *Enabled*, e.g. for Foam open the [Liquid Foam](https://docs-chaos.atlassian.net/wiki/spaces/PHX4MAYA/pages/125964038) rollout → select the **Enable Foam** option.

![image](media://0992453a-f1fd-42f4-a318-d0e56289c469)

Hit **Start** to run the simulation again - the particle system will be added to the cache sequence.

![image](media://00e1f5de-8f38-4119-afa4-7643ecd06bdc)

<span style="color: #666666">Select </span><span style="color: #666666">**Resimulation**</span><span style="color: #666666"> → </span><span style="color: #666666">**Enable Particle Resimulation**</span><span style="color: #666666"> and select the respective particle system below (i.e. Splash and Mist, Foam or Wetting).</span>

![image](media://2ad50ef4-221f-4c28-a1af-dd1e2b3299a1)

Make sure the particle system's simulation is *Disabled*, e.g. for Foam open the [Liquid Foam](https://docs-chaos.atlassian.net/wiki/spaces/PHX4MAYA/pages/125964038) rollout → deselect the **Enable Foam** option.

![image](media://91791771-6945-411c-a6d5-9cdbc73bc87b)

Hit **Start** to run the simulation again - the particle system will be removed from the cache sequence.

![image](media://00e1f5de-8f38-4119-afa4-7643ecd06bdc)

> Macro (ui-text-box)
> 
> UI Path: ||Select [PhoenixFDSim](https://docs-chaos.atlassian.net/wiki/spaces/PHX4MAYA/pages/125765148)|| **> Attribute Editor > Resimulation rollout**


## **Parameters**

---


### **Particle Resimulation**

---


### **Resimulation Cache**

---

> Macro (ui-text-box)
> 
> During resimulation, Phoenix reads cache files from the **Base Cache Files Path**, performs resimulation operations, and then saves a new cache sequence in the **Output and Render Path**.
> 
> For information on changing the default paths for resimulation, see the [Tips and Tricks page](https://docs-chaos.atlassian.net/wiki/spaces/PHX4MAYA/pages/126028463/Tips+and+Tricks#ResimPaths).

> Macro (ui-text-box)
> 
> You can use the same **Output and Render Path** as the **Base Cache Files Path**, and this way Phoenix will not create a separate cache sequence for resimulation, but will overwrite the base simulation caches instead. It's valid to do so if you need a more complicated setup or when not enough disk space is available. This way you can increase the resolution more and more each time you start a resimulation.

> Macro (ui-text-box)
> 
> The following error message may appear when you start a re-simulation:
> 
> "Cannot start the Re-Simulation! Please make sure the simulation was run with the 'Velocity' channel checked under the 'Output' rollout, and that the cache files in the Simulation Input path exist."
> 
> The reason may be that either the files in the Input Simulation Path do not exist at all, or they do not have Grid Velocity Channel exported when you have simulated them beforehand. Of course, you may use more complicated setups where you resimulate over an already resimulated cache file, or you may Load an existing base cache file as the initial state of the re-simulation. These are all possible; you just need to have velocity in the base cache and an existing path to it.