5858from ansys .fluent .core .session_pure_meshing import PureMeshing
5959from ansys .fluent .core .session_solver import Solver
6060from ansys .fluent .core .session_solver_icing import SolverIcing
61+ from ansys .fluent .core .types import PathType
6162from ansys .fluent .core .utils .deprecate import all_deprecators
6263from ansys .fluent .core .utils .fluent_version import FluentVersion
6364
@@ -162,14 +163,14 @@ def launch_fluent(
162163 graphics_driver : (
163164 FluentWindowsGraphicsDriver | FluentLinuxGraphicsDriver | str | None
164165 ) = None ,
165- case_file_name : str | None = None ,
166- case_data_file_name : str | None = None ,
166+ case_file_name : "PathType | None" = None ,
167+ case_data_file_name : "PathType | None" = None ,
167168 lightweight_mode : bool | None = None ,
168169 mode : FluentMode | str | None = None ,
169170 py : bool | None = None ,
170171 gpu : bool | list [int ] | None = None ,
171- cwd : str | None = None ,
172- fluent_path : str | None = None ,
172+ cwd : "PathType | None" = None ,
173+ fluent_path : "PathType | None" = None ,
173174 topy : str | list | None = None ,
174175 start_watchdog : bool | None = None ,
175176 scheduler_options : dict | None = None ,
@@ -254,9 +255,9 @@ def launch_fluent(
254255 ``"null"``, ``"x11"``, ``"opengl2"``, ``"opengl"`` or ``"auto"``. The default is
255256 ``FluentWindowsGraphicsDriver.AUTO`` in Windows and
256257 ``FluentLinuxGraphicsDriver.AUTO`` in Linux.
257- case_file_name : str, optional
258+ case_file_name : :class:`os.PathLike` or str, optional
258259 If provided, the case file at ``case_file_name`` is read into the Fluent session.
259- case_data_file_name : str, optional
260+ case_data_file_name : :class:`os.PathLike` or str, optional
260261 If provided, the case and data files at ``case_data_file_name`` are read into the Fluent session.
261262 lightweight_mode : bool, optional
262263 Whether to run in lightweight mode. In lightweight mode, the lightweight settings are read into the
@@ -278,9 +279,9 @@ def launch_fluent(
278279 clamped to the value of ``processor_count``. Please refer to
279280 *Starting the Fluent GPU Solver* section in *Fluent's User Guide* for more
280281 information like how to determine the GPU IDs.
281- cwd : str, Optional
282+ cwd : :class:`os.PathLike` or str, optional
282283 Working directory for the Fluent client.
283- fluent_path: str, Optional
284+ fluent_path: :class:`os.PathLike` or str, optional
284285 User provided Fluent installation path.
285286 topy : bool or str, optional
286287 A boolean flag to write the equivalent Python journal(s) from the journal(s) passed.
0 commit comments