PeriodicXPIC Custom Task
Jump to navigation
Jump to search
A custom task to use XPIC(m) method on selected time steps
Introduction
The XPIC(m) method is an advanced damping method that filters out unwanted noise (in the null space) without damping out useful information. Its drawback is that it adds calculation time as m in XPIC(m) increases. In some simulations, it may not be necessary to use XPIC(m) update methods on every time step. This custom tasks lets you convert such simulations to use XPIC(m) periodically instead of on every time step.
Task Scheduling
The first step is to select default update method. Normally, the default method would be a standard FLIP method select using Damping commands be setting (fractionPIC) to 1.
In scripted files, a ThermalRamp custom task is scheduled by starting with
CustomTask ThermalRamp Parameter time,(time) Parameter start,(start) Parameter sigmoidal,(style)