delta_time#

ptrace.delta_time(p0: float) int#

Specifies the time interval between emissions from the emitters.

Particles will be traced starting at the current time step or the time specified with ptrace: start_time. Additional particles will be released every “emit_delta” time units.
Most useful for pathline generation.
Args:
p0:

‘emit_delta’ the time interval between emissions. (The default is 0.0, which will cause only the initial emission to take place

Examples:
#
# Selecting the parent part
#
ensight.part.select_begin(1)
#
# Setting some attributes before creation
# (the delta_time is being set here, to emit
#  every 2.5 time units)
#
ensight.ptrace.begin()
ensight.ptrace.variable("VITESSE")
ensight.ptrace.type("streamline")
ensight.ptrace.component(1.0000e+00,1.0000e+00,1.0000e+00)
ensight.ptrace.representation("line")
ensight.ptrace.start_time(1.5000e+01)
ensight.ptrace.delta_time(2.5000e+00)
ensight.ptrace.end()
#
# Creating trace from a point
#
ensight.ptrace.create_pt()
Returns:

zero on success, non-zero on error