Settings#
Generated reference
- Source file:
ansys/api/fluent/v1/settings.proto- Proto package:
ansys.api.fluent.v1.settings- Contains:
1 service, 33 messages
Services
Service: Settings
Settings service provides methods for reading, writing, and commanding the Fluent solver settings hierarchy. The caller must explicitly use root=”fluent” within every PathInfo message.
GetSchema- Request:
- Response:
Returns the API schema for the settings hierarchy, describing object types, children, commands, queries, and arguments.
GetState- Request:
- Response:
Returns the state of the settings object at the specified path.
SetState- Request:
- Response:
Updates the state of the settings object at the specified path.
Rename- Request:
- Response:
Renames the named object at the specified path.
CreateObject- Request:
- Response:
Creates a new named object at the specified path.
DeleteObject- Request:
- Response:
Deletes the named object at the specified path.
GetObjectNames- Request:
- Response:
Returns the names of all named objects at the specified path.
GetListSize- Request:
- Response:
Returns the number of elements in the list object at the specified path.
ResizeListObject- Request:
- Response:
Resizes the list object at the specified path.
ExecuteCommand- Request:
- Response:
Executes the named command on the settings object at the specified path.
ExecuteQuery- Request:
- Response:
Executes the named query on the settings object at the specified path and returns the result.
GetAttrs- Request:
- Response:
Returns named attributes of the settings object at the specified path.
IsWildcard- Request:
- Response:
Checks whether the provided string is treated as a wildcard by the solver.
Messages
Value
Value represents the state of a settings object, as returned by GetState and accepted by SetState.
boolean(2)oneof valueboolBoolean value
integer(3)oneof valueint64Integer value
real(4)oneof valuedoubleReal (double-precision floating-point) value
string(5)oneof valuestringString value
value_list(10)oneof value ValueListList of values
value_map(11)oneof value ValueMapMap of values
Value.ValueList
ValueList represents a list of Value objects
lsts(1)repeated ValueThe list of values
Value.ValueMap
ValueMap represents a map with string keys and Value values
m(1)repeatedMEntryThe map entries
PathInfo
PathInfo represents the location of a settings object in the hierarchy.
root(1)stringThe root of the settings tree.
path(2)stringThe path to the object from the root.
SchemaMap
SchemaMap represents a named entry in the settings API schema.
name(1)stringThe name of the entry.
value(2)SchemaThe schema information for this entry.
StringPair
String-String pair.
key(1)stringThe name of the entry.
value(2)stringThe value for this entry.
Schema
Schema contains the static API description of a settings object, including its type, children, commands, and queries.
type(1)stringType identifier for the current object (for example, “group” or “named-object”).
children(2)repeated SchemaMapChildren of the current object.
commands(3)repeated SchemaMapCommands available for the current object.
arguments(4)repeated SchemaMapArguments associated with the current command or query object.
object_type(5)SchemaClass template for a named-object instance.
help(6)stringHelp text for the current object.
has_allowed_values(7)boolTrue if the current object restricts its value to an allowed-values list.
include_child_named_objects(8)boolTrue if named-object instances of child objects are also accessible on this object (for example, on boundary_conditions).
list_size(9)int32Fixed size of the list object; zero for variable-length lists.
user_creatable(10)boolTrue if the user can create new instances of this named object.
queries(11)repeated SchemaMapQueries available for the current object.
return_type(12)stringReturn type of the object.
deprecated_version(13)stringVersion in which the object was deprecated.
api_exposure_level(14)stringAPI exposure level of the object.
child_aliases(15)repeated StringPairAliases for child objects of the current object.
command_aliases(16)repeated StringPairAliases for commands of the current object.
query_aliases(17)repeated StringPairAliases for queries of the current object.
arguments_aliases(18)repeated StringPairAliases for arguments of the current object.
file_purpose(19)stringPurpose/category specification for file settings.
optional_attrs(20)OptionalAttrsOptional information for the current object, retrieved based on GetSchemaRequest.optional_attrs.
OptionalAttrs
OptionalAttrs contains optional information for a settings object, as requested in GetSchemaRequest.optional_attrs.
allowed_values(1)repeatedstringList of allowed values for the current object.
has_migration_adapter(2)boolTrue if the current object has a migration adapter.
GetSchemaRequest
GetSchemaRequest is the request message for GetSchema.
root(1)stringRoot path of the settings tree whose schema will be returned.
optional_attrs(2)repeatedstringOptional attributes to include in the returned schema. Valid values correspond to the field names of the OptionalAttrs message (e.g., “allowed_values”, “has_migration_adapter”).
GetSchemaResponse
GetSchemaResponse is the response message for GetSchema.
info(1)SchemaThe API schema for the requested settings tree root.
GetStateRequest
GetStateRequest is the request message for GetState.
path_info(1)PathInfoThe path to the variable whose state to retrieve.
GetStateResponse
GetStateResponse is the response message for GetState.
value(1)ValueThe state of the requested variable.
SetStateRequest
SetStateRequest is the request message for SetState.
SetStateResponse
SetStateResponse is the response message for SetState.
CreateObjectRequest
CreateObjectRequest is the request message for creating a new object
path_info(1)PathInfoThe path where the new object should be created
name(2)stringThe name of the new object to create
CreateObjectResponse
CreateObjectResponse is the response message for a create object operation
RenameRequest
RenameRequest is the request message for renaming an object
path_info(1)PathInfoThe path containing the object to rename
old_name(2)stringThe current name of the object
new_name(3)stringThe new name for the object
RenameResponse
RenameResponse is the response message for a rename object operation
DeleteObjectRequest
DeleteObjectRequest is the request message for deleting an object
path_info(1)PathInfoThe path containing the object to delete
name(2)stringThe name of the object to delete
DeleteObjectResponse
DeleteObjectResponse is the response message for a delete object operation
GetObjectNamesRequest
GetObjectNamesRequest is the request message for retrieving object names
path_info(1)PathInfoThe path to retrieve object names from
GetObjectNamesResponse
GetObjectNamesResponse is the response message containing object names
names(1)repeatedstringThe list of object names at the specified path
GetListSizeRequest
GetListSizeRequest is the request message for retrieving the size of a list object
path_info(1)PathInfoThe path to the list object
GetListSizeResponse
GetListSizeResponse is the response message containing the list size
size(1)int32The number of elements in the list
ResizeListObjectRequest
ResizeListObjectRequest is the request message for resizing a list object
path_info(1)PathInfoThe path to the list object to resize
size(2)int32The new size for the list
ResizeListObjectResponse
ResizeListObjectResponse is the response message for a resize list object operation
ExecuteCommandRequest
ExecuteCommandRequest is the request message for executing a command
path_info(1)PathInfoThe path to the object on which to execute the command
command(2)stringThe name of the command to execute
args(3)ValueArguments to pass to the command
ExecuteCommandResponse
ExecuteCommandResponse is the response message containing command execution results
reply(1)ValueThe return value from the executed command
ExecuteQueryRequest
ExecuteQueryRequest is the request message for executing a query
path_info(1)PathInfoThe path to the object on which to execute the query
query(2)stringThe name of the query to execute
args(3)ValueArguments to pass to the query
ExecuteQueryResponse
ExecuteQueryResponse is the response message containing query execution results
reply(1)ValueThe return value from the executed query
GetAttrsRequest
GetAttrsRequest is the request message for retrieving attributes
path_info(1)PathInfoThe path to the object to retrieve attributes from
attrs(2)repeatedstringThe list of attribute names to retrieve
recursive(3)boolIf true, retrieves attributes recursively from child objects.
AttrInfoMap
AttrInfoMap represents a named entry in attribute information maps
name(1)stringThe name of the child object
value(2)GetAttrsResponseThe attribute information for this child object
GetAttrsResponse
GetAttrsResponse is the response message containing attribute values
values(1)ValueThe attribute values for the requested object
group_children(2)repeated AttrInfoMapAttribute information for child objects (when recursive is true)
IsWildcardRequest
IsWildcardRequest is the request message for IsWildcard.
input(1)stringThe string to test.
IsWildcardResponse
IsWildcardResponse is the response message for IsWildcard.
is_wildcard(1)boolTrue if the input string is treated as a wildcard by the solver.