Time Integration
FLOWVPM.euler — Functioneuler(pfield::ParticleField, dt::Real; relax::Bool=false, custom_UJ=nothing)Convects the pfield by timestep dt using a forward Euler step.
Arguments
pfield::ParticleFieldThe particle field to integrate.dt::RealThe time step.relax::BoolWhether to apply relaxation (default: false).custom_UJOptional custom function for updating U and J.
FLOWVPM.rungekutta3 — FunctionSteps the field forward in time by dt in a third-order low-storage Runge-Kutta integration scheme. See Notebook entry 20180105.
rungekutta3(pfield::ParticleField, dt::Real; relax::Bool=false, custom_UJ=nothing)Steps the field forward in time by dt in a third-order low-storage Runge-Kutta integration scheme using the VPM reformulation. See Notebook entry 20180105 (RK integration) and notebook 20210104 (reformulation).
Arguments
pfield::ParticleFieldThe particle field to integrate.dt::R3The time step.relax::BoolWhether to apply relaxation (default: false).custom_UJOptional custom function for updating U and J.