session_solver#
Module containing a class encapsulating the CFX connection.
Classes:
|
Encapsulates a CFX-Solver session. |
- class ansys.cfx.core.session_solver.Solver(**argvals)#
Bases:
BaseSessionEncapsulates a CFX-Solver session.
This object exposes the CFX-Solver in a Pythonic manner.
Methods:
__init__(**argvals)Instantiates an instance of the
BaseSessionclass.exit(**kwargs)Exit session.
Get the CFX version.
Get the CFX command name related to the session.
get_name()Get the session name.
Check if the session can connect to a remote server.
Attributes:
The
solutionobject is used to control the CFX-Solver.- __init__(**argvals)#
Instantiates an instance of the
BaseSessionclass.- Args:
cfx_connection (cfx_connection): Encapsulates a CFX connection. file_transfer_service: Supports file upload and download.
- get_cfx_version() CFXVersion#
Get the CFX version.
- solution: SolverController#
The
solutionobject is used to control the CFX-Solver. For example,<Solver>.solution.start_run()will start a CFX-Solver run.