Difference between revisions of "PeriodicXPIC Custom Task"

From OSUPDOCS
Jump to navigation Jump to search
Line 7: Line 7:
== Task Scheduling ==
== Task Scheduling ==


The first step is to select default update method. Normally, the default method would be a standard FLIP method select using [[Damping Options#Damping Commands|Damping commands]] be setting (fractionPIC) to 1.
The first step is to select default update method. Normally, the default method would be a standard FLIP method select using [[Damping Options#Damping Commands|Damping commands]] be setting <tt>(fractionPIC)</tt> to 1. Next, you select an XPIC order (the m in XPIC(m)) and frequency to run the XPIC(m) calculations. In scripted files, a <tt>PeriodicXPIC</tt> custom task is scheduled with


In scripted files, a <tt>ThermalRamp</tt> custom task is scheduled by starting with
CustomTask PeriodicXPIC
 
  Parameter periodicSteps,(stepInterval)
  CustomTask ThermalRamp
  Parameter periodicTime,(timeInterval)
  Parameter time,(time)
  Parameter XPICOrder,(order)
  Parameter start,(start)
  Parameter fractionPIC,(fractionPIC)
  Parameter sigmoidal,(style)
Parameter verbose,{verbose}

Revision as of 00:49, 30 January 2018

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. Next, you select an XPIC order (the m in XPIC(m)) and frequency to run the XPIC(m) calculations. In scripted files, a PeriodicXPIC custom task is scheduled with

CustomTask PeriodicXPIC
Parameter periodicSteps,(stepInterval)
Parameter periodicTime,(timeInterval)
Parameter XPICOrder,(order)
Parameter fractionPIC,(fractionPIC)
Parameter verbose,{verbose}