ansys.dyna.core.pre.internals.defaults#

Default configuration for PyDYNA pre.

Functions#

ip()

Get the default IP address used throughout the library.

port()

Get the default port used throughout the library.

connection_timeout()

Get the default connection timeout used throughout the library.

print_communicator_stats()

Get the flag to decide whether to print communicator stats(INTERNAL ONLY).

max_message_length()

Get the maximum message length for a grpc channel.

get_examples_path()

Get the client-side default container path.

get_examples_path_for_containers()

Get the server-side default container path in case of containers.

get_output_path()

Get the client-side output directory used by containers.

get_output_path_for_containers()

Get the server-side output directory used by containers.

Module Contents#

ansys.dyna.core.pre.internals.defaults.ip()[source]#

Get the default IP address used throughout the library.

ansys.dyna.core.pre.internals.defaults.port()[source]#

Get the default port used throughout the library.

ansys.dyna.core.pre.internals.defaults.connection_timeout()[source]#

Get the default connection timeout used throughout the library.

ansys.dyna.core.pre.internals.defaults.print_communicator_stats()[source]#

Get the flag to decide whether to print communicator stats(INTERNAL ONLY).

ansys.dyna.core.pre.internals.defaults.max_message_length()[source]#

Get the maximum message length for a grpc channel.

ansys.dyna.core.pre.internals.defaults.get_examples_path()[source]#

Get the client-side default container path.

ansys.dyna.core.pre.internals.defaults.get_examples_path_for_containers()[source]#

Get the server-side default container path in case of containers.

In case of a container, the user data directory is mounted within the container image.

ansys.dyna.core.pre.internals.defaults.get_output_path()[source]#

Get the client-side output directory used by containers.

ansys.dyna.core.pre.internals.defaults.get_output_path_for_containers()[source]#

Get the server-side output directory used by containers.