Session meshing#

Module containing class encapsulating Fluent connection.

Classes:

Meshing(fluent_connection, scheme_eval[, ...])

Encapsulates a Fluent meshing session.

class ansys.fluent.core.session_meshing.Meshing(fluent_connection, scheme_eval, file_transfer_service=None, start_transcript=True, launcher_args=None)#

Bases: PureMeshing

Encapsulates a Fluent meshing session.

A tui object for meshing TUI commanding, and meshing and workflow objects for access to task-based meshing workflows are all exposed here. A switch_to_solver method is available in this mode.

Methods:

__init__(fluent_connection, scheme_eval[, ...])

Meshing session.

switch_to_solver()

Switch to solver mode and return a solver session object.

__init__(fluent_connection, scheme_eval, file_transfer_service=None, start_transcript=True, launcher_args=None)#

Meshing 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_serviceOptional

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 the Session object.

switch_to_solver()#

Switch to solver mode and return a solver session object. Deactivate this object’s public interface and streaming services.

Returns:
Solver