General

 

 

Solver - FumeFX offers two solvers: CG and QCG.

Both solvers are based on the conjugate gradient method and the main difference between those two solvers is the solving speed. QCG is much faster than the original CG which was left inside the FumeFX for backward compatibility. We strongly recommend usage of the QCG solver.

 

Quality -  This defines simulation realism.  Higher quality increases realism at the cost of increased computation and slower simulation performance.  This is sometimes necessary for example, it is advisable to increase quality for fast moving objects.


Higher Quality values will enable the Solver to perform more simulation iterations to achieve a more accurate solution of the fluid dynamics equations. Using a low value for Maximum Iterations may limit the number of iterations when using high Quality values.

 

To allow the solver to always reach the quality set by the user, you might want to keep Maximum Iterations at maximum value.


Simulation Status Window message ???CG done with nnn iterations??? will tell you if solver iterations are limited by Maximum Iterations parameter.

 

Maximum Iterations - This parameter sets the maximum number of iterations the solver can complete.  If not bounded by this parameter, the solver will automatically stop when it reaches an acceptable level of accuracy defined with Quality parameter.  The CG solver does not need many iterations to achieve good results (20-30 for small grids, 100 for bigger grids, or fast sources/objects). To create sample images, we used Quality=5 and solver required more than 100 iterations to reach it.

 

Max. Iterations: 10

Max. Iterations: 30

Max. Iterations: 100

 

CFL Condition - This value defines the maximum distance allowed for any cell data (velocity, smoke, fire, etc..) to travel in one simulation step. This number has a direct influence on the number of Simulation Steps. For example, if you use the CFL number 5, it would mean that if the system detects any velocity inside the voxel grid that will result in a field to travel more than 5 voxels in one simulation step, the simulation step will be divided so that the the distance does not exceed this number. Generally, simulation is stable when CFL number is kept between 4 and 5, but unless you notice artifacts, much bigger values can be used as well. If you choose too small values you can expect the effect of blurring.

You have to keep in mind that by decreasing the Spacing value you actually decrease voxel dimensions. This will result in increase of simulation steps required to satisfy the CFL Condition, because velocities will be able to carry cell data to through more voxels.

It is not always an imperative to have many simulation steps as fluid motion can look convincing even with one. You always need to find the balance between simulation time and "mathematical correctness" of the simulation.

 

Min. Simulation Steps ??? This parameter will set the minimum number of simulation steps, regardless of the CFL Condition value.

 

Max. Simulation Steps ??? The number of steps is directly controlled through CFL Condition value, but with this parameter you can limit maximum number of steps.

 

Variable Density Solver - We all know that high density fluid will be able to penetrate into the low density fluid much more that the way around. In FumeFX you can account for temperature and smoke density to simulate such behavior. For easier effect control, we recommend that you either use vd Smoke Multiplier or vd Temp Multiplier. To disable Variable Density solver for either smoke of temperature, simply set vd Multiplier to zero. Keep in mind that enabling this option could increase time for solver to get to the solution as it has to account for additional divergence that is created.

 

Advection - Default advection is a good all-purpose advection but it generates visible dissipation.

Advanced (fields) advection results in lower dissipation than the Default one. This advection operates on fire, smoke and temperature fields, while velocities are still advected using Default advection.

Advanced (fields and vels) advection operates on all fields and velocities as well. This type of advection is excellent for slow moving fluids while highly divergent and fast moving fields might result in artifacts in the form of lines or crosses (see image below). Keep in mind that this advection is very good in preserving small scale detail, so the vorticity value can be kept really low (around 0.1).

 

On the image above you can notice horizontal lines caused by the fast smoke motion using Advanced (fields and vels) advection.

 

TIP: Here are few approaches that might help to get rid of artifacts if they show up. First of all, you can try lowering the adaptive grid sensitivity to 0.01 or even to 0.0. This should help because velocity fields close to the grid boundaries tend to be much smoother. If that does not help, you can try to switch to the Advanced (fields) advection, increase solver Quality or even switch back to the Default advection.


Advection Stride - The lower this stride is, the less dissipation of velocity and smoke will happen, but it will take more time to compute advection. This value is relative to Grid Spacing.

 

TIP: For smoke with many small curls you may want to decrease this number to 0.1 or less.

 

Cubic Interpolation - If you need better quality, you will want to check this option. Simulation times will rise considerably, but less dissipation will occur and more swirls will be created. Whenever you use any type of Advanced advection, cubic interpolation will be used for the velocity field, while linear interpolation will be used for smoke, fire and temperature.

 

Time Scale - Use this to speed up or slow down the passage of time during simulation.  If you set it to 0, the simulation comes to a halt; set a higher value to increase speed.  If you accelerate time by some significant amount (>1.5x), you will have to increase the simulation steps as well to preserve stability and continuity.  Also, note that you can animate this parameter.

 

Use Grid Motion ??? Enable this option if you want FumeFX fields to be affected by the grid motion. It allows user to create effects like falling comet, rocket launch etc. by using container that is linked to the source.

 

Use for N-Sim ??? FumeFX supports simulation of nested grids. To be able to use N-Sim, this option has to be enabled. Also, grids have to overlap and they must be axis aligned (no rotation) as shown on the image below.

You should arrange grids to overlap by at least 10% as too little overlap may cause more abrupt transitions from one grid to another.

If using ???Boundless??? grid option, the expansion along overlapping axis will be disabled.

 

 

In the case that ???Use for N-Sim??? option is disabled, the FumeFX grid will not participate in N-Sim even if it overlaps with the master grid. On the image below we have selected A grid as a ???master??? grid which automatically drives simulation of ???child??? grids B1 and B2.

 

 

 

Master Grid ??? Select the grid that will always be the main grid in the simulation. Other grids with only Use for N-Sim option selected will not be able to run simulations.

 

N-Sim Syncing ??? This option allows a user to sync all child parameters with the master grid. This comes in handy if you keep changing parameters in your master grid and want to propagate those to all children automatically.

If selected, Rendering, Shader and Illumination parameters will be synced during Preview Window update as well as during rendering. There is no undo for this type of sync operation.

 

There are following sync options:

Sc (Simulated Channels) ??? sync which channels are going to be simulated.

Ec (Exported Channels) ??? sync channels that will be exported (Output rollout).

Gp - sync General Parameters, except Width, Length, Height and Boundless parameters.

Sp ??? sync parameters from the Simulation rollout. It will preserve the on/off states of the child???s simulated channels like Fire, Smoke and Color which can be controlled by enabling ???Sc??? option. Blocking Sides parameters won???t be synced as well.

Wp ??? sync Wavelet Turbulence and Post Processing rollout parameters.

Rp ??? sync Rendering Setting rollut parameters.

Sh ??? sync Shading (Fire,Smoke,Fuel) parameters.

Im ??? sync Illumination Parameters, including lights.

 

You can enable all of the buttons if you hold the left Shift key and left mouse click on any of the sync options. They can all be disabled if you hold the left Ctrl key down and left mouse click on any of the sync options.