ApplicationRuntime#
Generated reference
- Source file:
ansys/api/fluent/v1/application_runtime.proto- Proto package:
ansys.api.fluent.v1.application_runtime- Contains:
1 service, 37 messages, 6 enums
Services
Service: ApplicationRuntime
ApplicationRuntime service provides methods that span the Fluent application lifecycle but do not belong to a domain-specific service. Typical uses include retrieving version and build metadata, managing feature flags, and controlling application startup and shutdown.
GetProductVersion- Request:
- Response:
Returns the product version of the running application.
GetBuildInfo- Request:
- Response:
Returns build metadata for the running application (build time, build id, and other related information).
GetControllerProcessInfo- Request:
- Response:
Retrieves Controller process information when running in client-server mode (Controller -> Solver) i.e., the Controller process commanding the Solver process.
GetSolverProcessInfo- Request:
- Response:
Returns solver-process information for the running application.
GetMode- Request:
- Response:
Returns the current application mode (for example, meshing or solver).
GetDimension- Request:
- Response:
Returns the current application dimension (for example, 2d or 3d).
GetPrecision- Request:
- Response:
Returns the current application precision (for example, single or double).
GetProcessorCount- Request:
- Response:
Returns the current application processor count.
GetUIMode- Request:
- Response:
Returns the current application UI mode.
GetGraphicsDriver- Request:
- Response:
Returns the current application graphics driver.
GetGPUConfig- Request:
- Response:
Returns the current application GPU configuration.
StartPythonJournal- Request:
- Response:
Starts a Python journal recording session. If a journal file name is provided, the journal is written to that file.
StopPythonJournal- Request:
- Response:
Stops a Python journal recording session.
IsBetaEnabled- Request:
- Response:
Checks whether beta/experimental features are enabled for this session.
EnableBeta- Request:
- Response:
Enables beta/experimental features for this session.
Exit- Request:
- Response:
Terminates the application.
SetWorkingDirectory- Request:
- Response:
Changes the application’s current working directory.
SetIdleTimeout- Request:
- Response:
Sets the session idle timeout. When the session has been idle for the specified duration, Fluent will exit. Pass a zero duration to disable the idle timeout.
Messages
GetProductVersionRequest
Request to retrieve product version information.
GetProductVersionResponse
Contains the product version information.
major(1)int64Major version number.
minor(2)int64Minor version number.
patch(3)int64Patch version number.
GetBuildInfoRequest
Request to retrieve build information.
GetBuildInfoResponse
Contains the build information.
build_time(1)stringBuild timestamp (format is server-defined).
build_id(2)int64Build identifier (server-defined).
vcs_revision(3)stringVersion-control revision identifier (for example, a commit hash).
vcs_branch(4)stringVersion-control branch name.
GetControllerProcessInfoRequest
Request to retrieve Controller process information.
GetControllerProcessInfoResponse
Contains the Controller process information.
hostname(1)stringHostname where the Controller process is running.
process_id(2)int64Operating-system process id of the Controller process.
working_directory(3)stringController process working directory.
GetSolverProcessInfoRequest
Request to retrieve Solver process information.
GetSolverProcessInfoResponse
Contains the Solver process information.
hostname(1)stringHostname where the Solver process is running.
process_id(2)int64Operating-system process id of the Solver process.
working_directory(3)stringSolver process working directory.
GetModeRequest
Request to retrieve the application mode.
GetModeResponse
Contains the application mode.
mode(1)ModeCurrent application mode.
GetDimensionRequest
Request to retrieve the application dimension.
GetDimensionResponse
Contains the application dimension.
dimension(1)DimensionCurrent application dimension.
GetPrecisionRequest
Request to retrieve the application precision.
GetPrecisionResponse
Contains the application precision.
precision(1)PrecisionCurrent application precision.
GetProcessorCountRequest
Request to retrieve the application processor count.
GetProcessorCountResponse
Contains the application processor count.
processor_count(1)uint64Current application processor count.
GetUIModeRequest
Request to retrieve the application UI mode.
GetUIModeResponse
Contains the application UI mode.
ui_mode(1)UIModeCurrent application UI mode.
GetGraphicsDriverRequest
Request to retrieve the application graphics driver.
GetGraphicsDriverResponse
Contains the application graphics driver details.
windows_graphics_driver(1)oneof driver WindowsGraphicsDriverCurrent Windows application graphics driver.
linux_graphics_driver(2)oneof driver LinuxGraphicsDriverCurrent Linux application graphics driver.
GetGPUConfigRequest
Request to retrieve the application GPU configuration.
GetGPUConfigResponse
Contains the application GPU configuration details.
auto_allocate(1)oneof configboolTrue when the GPUs are allocated automatically based on availability.
specific_gpu_ids(2)oneof config GpuIdListA list of specific GPU device IDs explicitly allocated to the application.
GpuIdList
Wrapper message to hold a collection of GPU device IDs.
gpu_ids(1)repeateduint32List of integer IDs corresponding to the allocated GPUs.
StartPythonJournalRequest
Initiates a Python journal recording session.
journal_name(1)oneof _journal_namestringOptional journal output file name.
If set, the journal is written to this file on the server side. If not set, the journal text can be retrieved from StopPythonJournal.
StartPythonJournalResponse
Contains the result of starting a Python journal.
journal_id(1)oneof _journal_idstringOptional journal identifier.
Returned when no journal file name was provided and the journal is tracked in-memory/session state. Provide this id to StopPythonJournal to stop the correct recording session.
StopPythonJournalRequest
Terminates a Python journal recording session.
journal_id(1)oneof _journal_idstringOptional journal identifier to stop.
Required when StartPythonJournal did not provide a file name and returned a journal_id.
StopPythonJournalResponse
Contains the result of stopping a Python journal.
journal_str(1)stringJournal content.
Typically populated when StartPythonJournal did not specify a file name. If the journal was written to a file, this string may be empty (server-defined behavior).
IsBetaEnabledRequest
Request to check if beta features are enabled.
IsBetaEnabledResponse
Indicates whether beta features are enabled.
is_beta_enabled(1)boolTrue if beta/experimental features are enabled for this session.
EnableBetaRequest
Requests to enable beta features.
EnableBetaResponse
Result of enabling beta features.
ExitRequest
Requests to exit the application.
ExitResponse
Result of an exit request.
SetWorkingDirectoryRequest
Changes the application’s working directory.
path(1)stringNew working directory path.
SetWorkingDirectoryResponse
Result of setting the working directory.
SetIdleTimeoutRequest
Requests to set the session idle timeout.
timeout(1)DurationIdle timeout duration. When the session has been idle for this duration, Fluent will exit. Pass a zero duration to disable the idle timeout.
SetIdleTimeoutResponse
Result of setting the idle timeout.
Enumerations
Mode (enum)
Application operating mode.
MODE_UNSPECIFIED(0)Unspecified application mode.
MODE_MESHING(1)Meshing mode.
MODE_SOLVER(2)Solver mode.
MODE_SOLVER_ICING(3)Solver icing mode.
MODE_SOLVER_AERO(4)Solver aero mode.
Dimension (enum)
Application operating dimension.
DIMENSION_UNSPECIFIED(0)Unspecified application dimension.
DIMENSION_TWO(1)Two dimensional.
DIMENSION_THREE(2)Three dimensional.
Precision (enum)
Application operating precision.
PRECISION_UNSPECIFIED(0)Unspecified application precision.
PRECISION_SINGLE(1)Single precision.
PRECISION_DOUBLE(2)Double precision.
UIMode (enum)
Application UI mode.
UI_MODE_UNSPECIFIED(0)Unspecified application UI mode.
UI_MODE_NO_GUI_OR_GRAPHICS(1)No gui or graphics UI mode.
UI_MODE_NO_GRAPHICS(2)No graphics UI mode.
UI_MODE_NO_GUI(3)No gui UI mode.
UI_MODE_HIDDEN_GUI(4)Hidden gui UI mode.
UI_MODE_GUI(5)Gui UI mode.
LinuxGraphicsDriver (enum)
Application graphics driver (Linux specific).
LINUX_GRAPHICS_DRIVER_UNSPECIFIED(0)Unspecified graphics driver.
LINUX_GRAPHICS_DRIVER_NULL(1)Null graphics driver.
LINUX_GRAPHICS_DRIVER_X11(2)X11 graphics driver.
LINUX_GRAPHICS_DRIVER_OPENGL2(3)OpenGL2 graphics driver.
LINUX_GRAPHICS_DRIVER_OPENGL(4)OpenGL graphics driver.
LINUX_GRAPHICS_DRIVER_AUTO(5)Automatically choose graphics driver.
WindowsGraphicsDriver (enum)
Application graphics driver (Windows specific).
WINDOWS_GRAPHICS_DRIVER_UNSPECIFIED(0)Unspecified graphics driver.
WINDOWS_GRAPHICS_DRIVER_NULL(1)Null graphics driver.
WINDOWS_GRAPHICS_DRIVER_MSW(2)MSW graphics driver.
WINDOWS_GRAPHICS_DRIVER_DX11(3)DX11 graphics driver.
WINDOWS_GRAPHICS_DRIVER_OPENGL2(4)OpenGL2 graphics driver.
WINDOWS_GRAPHICS_DRIVER_OPENGL(5)OpenGL graphics driver.
WINDOWS_GRAPHICS_DRIVER_AUTO(6)Automatically choose graphics driver.