session_pre#

Module containing the class encapsulating the CFX-Pre connection.

Classes:

PreProcessing(cfx_connection[, ...])

Encapsulates a CFX pre-processing session.

class ansys.cfx.core.session_pre.PreProcessing(cfx_connection: CFXConnection, file_transfer_service: Any | None = None)#

Bases: BaseSession

Encapsulates a CFX pre-processing session. This object exposes the CFX-Pre CCL and scripting (Power Syntax) capabilities in a Pythonic manner.

Methods:

__init__(cfx_connection[, file_transfer_service])

Instantiate an instance of the PreProcessing class.

get_cmd_name()

Get the CFX command name related to the session.

get_name()

Get the session name.

__init__(cfx_connection: CFXConnection, file_transfer_service: Any | None = None)#

Instantiate an instance of the PreProcessing class.

Args:

cfx_connection (cfx_connection): Encapsulates a CFX connection. file_transfer_service: Supports file upload and download.

classmethod get_cmd_name() str | None#

Get the CFX command name related to the session.

classmethod get_name() str | None#

Get the session name.