end_simtime#

solution_time.end_simtime(p0: float) int#

Sets the solution time to be used as the beginning/ending time for subsequent time use.

This is used when the “solution_time: show_as” command is set to “time”. Also, it will be truncated to a solution time directly associated with a time step if “solution_time: update_type” is set to “discrete”.
Can be greater/lesser or equal to the smallest/largest time available.
Args:
p0:

‘time’ solution time to use as the beginning/ending time

Examples:
#
# This sets several of the attributes using simulation time
#
ensight.solution_time.show_as("time")
ensight.solution_time.update_type("continuous")
ensight.solution_time.begin_simtime(0.0000e+00)
ensight.solution_time.end_simtime(1.6000e+01)
ensight.solution_time.current_simtime(9.0000e+00)
ensight.solution_time.update_to_current()
ensight.solution_time.number_of_cycles(1)
ensight.solution_time.increment(2.0000e+00)
Returns:

zero on success, non-zero on error