ansys.fluent.core.session_solver#
Module containing class encapsulating Fluent connection.
Classes:
|
Encapsulates a Fluent solver session. |
- class ansys.fluent.core.session_solver.Solver(fluent_connection, scheme_eval, file_transfer_service=None, start_transcript=True, launcher_args=None)#
Bases:
BaseSession
Encapsulates a Fluent solver session.
A
tui
object for solver TUI commanding, and solver settings objects are all exposed here.Methods:
__init__
(fluent_connection, scheme_eval[, ...])Solver session.
Get the state of the object.
read_case_lightweight
(file_name)Read a case file using light IO mode.
set_state
([state])Set the state of the object.
Attributes:
Datamodel root of preferences.
Reduction
handle.Root settings object.
SolutionVariableData
handle.SolutionVariableInfo
handle.System coupling object.
Instance of
main_menu
on which Fluent's SolverTUI methods can be executed.Datamodel root for workflow.
- __init__(fluent_connection, scheme_eval, file_transfer_service=None, start_transcript=True, launcher_args=None)#
Solver session.
- Parameters:
- fluent_connection (:ref:`ref_fluent_connection`):
Encapsulates a Fluent connection.
- scheme_eval: SchemeEval
Instance of
SchemeEval
to execute Fluent’s scheme code on.- file_transfer_service
Optional
Service for uploading and downloading files.
- start_transcriptbool,
optional
Whether to start the Fluent transcript in the client. The default is
True
, in which case the Fluent transcript can be subsequently started and stopped using method calls on theSession
object.
- get_state()#
Get the state of the object.
- property preferences#
Datamodel root of preferences.
- read_case_lightweight(file_name)#
Read a case file using light IO mode.
- Parameters:
- file_name
str
Case file name
- file_name
- property reduction#
Reduction
handle.
- set_state(state=None, **kwargs)#
Set the state of the object.
- property settings#
Root settings object.
- property svar_data#
SolutionVariableData
handle.
- property svar_info#
SolutionVariableInfo
handle.
- property system_coupling#
System coupling object.
- property tui#
Instance of
main_menu
on which Fluent’s SolverTUI methods can be executed.
- property workflow#
Datamodel root for workflow.