start_time#
- data.start_time(p0: int) int #
When reading transient data load the timestep indicated as the initial time step.
It is not possible to specify a fractional timestep.The value specified is a step number, not a time value.- Args:
- p0:
‘step_number’ timestep to use for the initial data load. Values range from 1 (the first timestep) to N where N is the total number of timesteps supplied.
- Examples:
# # Read a geometry file and a measured particle file # at the first timestep, then create a part. # ensight.data.format("ensight") ensight.data.path("/usr/tmp") ensight.data.geometry("cube.geom") ensight.data.measured("cube.mres") ensight.data.start_time(1) ensight.data.read() ensight.data_partbuild.begin() ensight.data_partbuild.data_type("unstructured") ensight.data_partbuild.select_begin(1) ensight.data_partbuild.create() ensight.data_partbuild.end()
- Returns:
zero on success, non-zero on error