Events#
Generated reference
- Source file:
ansys/api/fluent/v1/events.proto- Proto package:
ansys.api.fluent.v1.events- Contains:
1 service, 33 messages, 1 enum
Services
Service: Events
Events service provides streaming of solver and workflow events to clients.
BeginStreaming- Request:
- Response:
stream of BeginStreamingResponse
Streams solver events to the client.
PauseSolveFor- Request:
- Response:
Registers a solution-event pause trigger; the solver pauses when the selected event occurs and waits until the client calls ResumeSolve.
ResumeSolve- Request:
- Response:
Resumes solver execution after it was paused by a PauseSolveFor trigger.
CancelPauseSolve- Request:
- Response:
Unregisters a pause trigger previously registered with PauseSolveFor.
Messages
TimestepStartedEvent
Event at start of the time step.
index(1)sint64Time step index.
size(2)doubleTime step size.
TimestepEndedEvent
Event at end of the time step.
index(1)sint64Time step index.
size(2)doubleTime step size.
IterationStartedEvent
Event at start of the iteration.
index(1)sint64Iteration index.
IterationEndedEvent
Event at end of the iteration.
index(1)sint64Iteration index.
CalculationsStartedEvent
Event at start of calculation.
CalculationsEndedEvent
Event at end of calculation.
CalculationsPausedEvent
Event when calculations are paused.
CalculationsResumedEvent
Event when calculations are resumed.
PreReadCaseEvent
Event before a case file is read.
case_file_path(1)stringCase file path.
CaseReadEvent
Event after a case file is read.
case_file_path(1)stringCase file path.
PreReadDataEvent
Event before a data file is read.
data_file_path(1)stringData file path.
DataReadEvent
Event after a data file is read.
data_file_path(1)stringData file path.
PreInitializeEvent
Event before solution initialization.
InitializedEvent
Event after solution initialization.
ReportDefinitionChangedEvent
Event when a report definition changes.
PlotSetChangedEvent
Event when a plot set changes.
ResidualPlotChangedEvent
Event when residual plot settings change.
ClearSettingsDoneEvent
Event after settings are cleared.
AutoPauseEvent
Event when auto-pause occurs.
level(1)sint32Auto-pause level.
index(2)sint64Associated iteration or time-step index.
ProgressEvent
Event during solution progress.
message(1)stringProgress message text.
percent_complete(2)sint32Estimated solution progress, expressed as a percentage (0–100). This value is an estimate of the solution run progress only and does not apply to other operations. Percent completed.
SolverTimeEstimateEvent
Event estimating remaining solver time.
hours(1)doubleEstimated hours remaining.
minutes(2)doubleEstimated minutes remaining.
seconds(3)doubleEstimated seconds remaining.
ErrorEvent
Event when a fatal error is encountered.
message(1)stringError message.
error_code(2)sint32Error code.
CommandCompletedEvent
Event when a command completes.
BeginStreamingRequest
Request to begin streaming solver events.
PauseSolveForRequest
Request to register a solution-event pause trigger. protolint:disable:next MESSAGE_NAMES_EXCLUDE_PREPOSITIONS
solution_event(1)SolutionEventSolution event that triggers a pause.
PauseSolveForResponse
Contains the registration identifier. protolint:disable:next MESSAGE_NAMES_EXCLUDE_PREPOSITIONS
registration_id(1)int64Registration id used to resume and/or unregister this pause registration.
ResumeSolveRequest
Request to resume solver execution after a PauseSolveFor trigger.
registration_id(1)int64Identifier of the registration to resume.
ResumeSolveResponse
Response for ResumeSolve.
CancelPauseSolveRequest
Request to unregister a PauseSolveFor trigger.
registration_id(1)int64Identifier of the registration to unregister.
CancelPauseSolveResponse
Response for CancelPauseSolve.
DataModelChangedEvent
Event when the data model changes.
paths(1)repeatedstringData model paths that changed.
ClientExecuteEvent
Event to execute a function call in the client. Internal event used by Fluent workflows to request a client-side function call. Not intended for end-user integrations; user-facing clients should ignore this event.
function(1)stringClient-side function to invoke.
arguments(2)repeated SchemePointerArguments passed to the function.
BeginStreamingResponse
BeginStreamingResponse contains the server-streamed event union.
pre_read_case_event(1)oneof as PreReadCaseEventBefore reading a case file.
case_read_event(2)oneof as CaseReadEventAfter reading a case file.
pre_initialize_event(3)oneof as PreInitializeEventBefore solution initialization.
initialized_event(4)oneof as InitializedEventAfter solution initialization.
pre_read_data_event(5)oneof as PreReadDataEventBefore reading a data file.
data_read_event(6)oneof as DataReadEventAfter reading a data file.
iteration_started_event(7)oneof as IterationStartedEventIteration start.
iteration_ended_event(8)oneof as IterationEndedEventIteration end.
timestep_started_event(9)oneof as TimestepStartedEventTime step start.
timestep_ended_event(10)oneof as TimestepEndedEventTime step end.
calculations_started_event(11)oneof as CalculationsStartedEventCalculations start.
calculations_ended_event(12)oneof as CalculationsEndedEventCalculations end.
report_definition_changed_event(13)oneof as ReportDefinitionChangedEventReport definition changed.
plot_set_changed_event(14)oneof as PlotSetChangedEventPlot set changed.
residual_plot_changed_event(15)oneof as ResidualPlotChangedEventResidual plot changed.
clear_settings_done_event(16)oneof as ClearSettingsDoneEventSettings cleared.
auto_pause_event(17)oneof as AutoPauseEventAuto-pause occurred.
calculations_paused_event(18)oneof as CalculationsPausedEventCalculations paused.
calculations_resumed_event(19)oneof as CalculationsResumedEventCalculations resumed.
progress_event(20)oneof as ProgressEventSolver progress.
error_event(21)oneof as ErrorEventFatal error encountered.
command_completed_event(22)oneof as CommandCompletedEventCommand completed.
data_model_changed_event(23)oneof as DataModelChangedEventData model changed.
solver_time_estimate_event(24)oneof as SolverTimeEstimateEventRemaining time estimate.
client_execute_event(25)oneof as ClientExecuteEventInternal workflow event; ignore in end-user clients.
Enumerations
SolutionEvent (enum)
Solution-related events that can be used to pause/resume execution.
SOLUTION_EVENT_UNSPECIFIED(0)Unspecified solution event.
SOLUTION_EVENT_ITERATION(1)Fired after an iteration completes.
SOLUTION_EVENT_TIME_STEP(2)Fired after a time step completes.